Stress-test payroll rules drawn from collective agreements

For: Payroll manager or labour relations lead configuring pay rules from collective agreements

Pattern: Adversarial reviewNeeds live modelsDesigned for 12 to 240 agents

The pain today

Overtime, shift premiums and allowances are configured from long collective agreements. A misread clause underpays or overpays a whole site for months before anyone notices.

The ask

I attached our collective agreements and the written payroll rule specification. Build the case that each pay rule matches the agreement text, then try to break it with clauses, exceptions and edge cases the rule ignores. Show me which rules survive and which do not.

Plain words, as you would say it to a colleague. Edit it to fit your case before you send it.

What you attach or connect

  • Collective agreements and side letters
  • Written payroll rule specification
  • Site and shift pattern descriptions

The unit of work

One worker task per one pay rule against one agreement.

Why a swarm fits

Each rule depends on a few clauses of one agreement. Rules and agreements are independent, and an attacker with a different brief finds the exceptions the builder read past.

Not for

Calculating anyone's pay or back pay. It tests written rules against written agreements, not payroll data.

The decision tree

6 typed decisions, each with an action for every answer

At fixed moments in a run, the engine puts one narrow question to a decision model. The decision model never writes text: it answers yes or no with a probability, picks from listed options, or gives a score, about a small slice of the material. The engine then does exactly what this tree says, which is what makes the run auditable. The thresholds are the template's design values, not measured results.

  1. Planner, while planning

    Scope checkYes or no, with a probability

    Before work starts on a unit

    Does this collective agreement's scope clause cover the site and employee group the pay rule is written for?

    Sees only: One pay rule's stated scope and the agreement's scope clause

    Why: Avoids testing a rule against an agreement that never governed it.

    • Yes: 0.60 or higherthenAccept
    • Unsure: 0.30 up to 0.60thenEscalate to a strong model
    • No: below 0.30thenSkip this unit
  2. After workers, the judge checks

    Evidence checkYes or no, with a probability

    After a worker answers

    Does the quoted agreement clause set the same rate, trigger and conditions as the written pay rule, with nothing added or left out?

    Sees only: One written pay rule and the clause the builders quoted

    Why: The builders' case must rest on the clause text, not on how payroll has always done it.

    • Yes: 0.85 or higherthenAccept
    • Unsure: 0.50 up to 0.85thenEscalate to a strong model
    • No: below 0.50thenReject and retry
  3. Evidence checkYes or no, with a probability

    After a worker answers

    Does the clause the breakers quoted create an exception or condition that the written pay rule fails to apply?

    Sees only: One written pay rule and the exception clause the breakers quoted

    Why: An objection only counts if the agreement text really says it; weak objections are retried, not kept.

    • Yes: 0.85 or higherthenAccept
    • Unsure: 0.50 up to 0.85thenMark unresolved
    • No: below 0.50thenReject and retry
  4. Reconciler, while merging

    Conflict checkYes or no, with a probability

    While reconciling

    Does this side letter or later amendment change the clause that the rule was built from?

    Sees only: The quoted clause and one dated side letter or amendment

    Why: Later documents quietly override earlier ones; this catches rules built on superseded text.

    • Yes: 0.70 or higherthenMark unresolved
    • Unsure: 0.30 up to 0.70thenEscalate to a strong model
    • No: below 0.30thenAccept
  5. Run control, between rounds

    Another round?Yes or no, with a probability

    Between rounds

    Did the last round of objections raise any clause that earlier rounds had not already quoted?

    Sees only: The list of clauses quoted in each round for one rule

    Why: Ends the attack when it starts repeating itself.

    • Yes: 0.60 or higherthenContinue
    • Unsure: 0.30 up to 0.60thenStop
    • No: below 0.30thenStop
  6. Accountable person, before anything is settled

    Person decidesYes or no, with a probability

    Before anything is reported as settled

    Would correcting this pay rule change what any group of employees is paid?

    Sees only: One rule's verdict with both sides' quoted clauses

    Why: Pay changes and disputed readings belong to the payroll manager, labour relations and union consultation.

    Accountable: The payroll manager and labour relations lead decide rule changes; disputed readings go through union consultation.

    • Yes: 0.20 or higherthenAsk a person
    • Unsure: 0.05 up to 0.20thenAsk a person
    • No: below 0.05thenAccept

The fleet: who does what

Model tiers by role, not brands: you choose the models. Strong reasoning models plan and reconcile, small fast models do the wide work, and the judge is a decision model from a different family, so it does not share the workers' blind spots.

  1. Planner

    A strong reasoning model pairs each pay rule with the agreements and sites it applies to.

    Decisions here:1. Scope check

  2. Workers

    Small fast workers in two teams: builders cite the clauses behind a rule, breakers search the same agreement for exceptions.

    Designed for 12 to 240 agents, one worker task per one pay rule against one agreement. Each worker receives only its own unit.

  3. Judge, from a different model family

    A decision model from a different family decides whether each objection is supported by the agreement text.

    Decisions here:2. Evidence check3. Evidence check

  4. Reconciler

    A strong reasoning model sorts rules into survived, broken and disputed, with both sides' quotes.

    Decisions here:4. Conflict check5. Another round?

  5. Accountable person

    The payroll manager and labour relations lead decide rule changes; disputed readings go through union consultation.

    Decisions here:6. Person decides

Checked before anything is accepted

  • Builders and breakers must quote the clause; paraphrase alone is rejected
  • Breakers never see the builders' reasoning, only the rule and the agreement
  • Side letters and later amendments are checked for overriding the quoted clause
  • Disputed readings are kept open rather than settled by the reconciler

What comes back

  • Per rule: survived, broken or disputed
  • The clause and the objection for every broken rule
  • Edge cases the specification does not cover
  • Disputed readings for labour relations to take up

What to measure

  • Share of broken rules the payroll manager confirms as real errors
  • Pay rule corrections raised before and after a payroll audit
  • Reviewer hours per agreement
  • Cost per rule tested

Names of measures only. No result is claimed for this template.

Templates open in the workspace chat with the ask filled in. Nothing runs until you send it.

Get early accessSign in to use

Check country handbooks against group people policy

For: Head of people policy or HR compliance lead in a company with staff in many countries

Each country has its own handbook and local policies, written at different times.

Pattern: Map, verify, reduceNeeds scale6 decisionsDesigned for 40 to 600 agents

Check job descriptions against the levelling framework

For: Reward or organisation design lead maintaining a job architecture across functions

Hundreds of job descriptions drift from the levelling framework.

Pattern: Hierarchical decompositionNeeds scale6 decisionsDesigned for 30 to 500 agents

Watch employment law changes against local policies

For: HR compliance lead or employment counsel covering many jurisdictions

Statutory leave, notice, working time and whistleblowing rules change country by country.

Pattern: WatchtowerNeeds a connector5 decisionsDesigned for 20 to 400 agents