LensReading which lens this session carries.

Standard operating procedure · EN4B · Engineering

Quality Debt Sweep

Transactional procedure owned by Code Review & Quality in Engineering. 4 numbered steps, 1 of them a person deciding and 3 of them agent work …

Procedure code

EN4B

Transactional

Rule versions in force

v3.7 · v4.1 · v2.1

3 governing rules stacked over it

In force since

2025-05-15

Earliest effective date across those rules

Last reviewed

2026-06-24

Latest review date across those rules

Rules approved by

1

Director, Engineering Quality

Rule health

2/3

1 under review · 0 superseded

There is no document register behind this header. The version, the dates and the approver names are read off the governing rules this procedure runs inside, which is the closest thing the estate holds to a document control record. Nobody wrote these procedures. There is no document library behind this page and no Word file anywhere in the estate. Every procedure below is generated from rows this platform already holds: the line and its ordered stations, the owning team and the person accountable for it, the policy items bound to that team, and the governance gates seeded against the function. The steps, the owners, the gates, the approvers, the dwell times and the volumes are read straight off those rows. The sentences that join them together are generated. Read a procedure as the estate describing itself, not as a document somebody signed.

Purpose and scope

What this procedure is for and where it stops

To run quality debt sweep to one repeatable standard inside Code Review & Quality, part of Engineering.

Entry condition

Runs transactional. Starts when a request lands in the queue.

Exit condition

The unit clears owner triage, released by Director, Engineering Quality.

In scope

  • Every unit of quality debt sweep raised inside Code Review & Quality, from the trigger below through to the final step.
  • 3 of the 4 steps, which run without a person present.
  • 1 decision that stops the line until a named person releases it.

Out of scope

  • Anything outside the envelope set by the owning team. It leaves the line at a gate and becomes the named approver's decision.
  • Work that belongs to another function. This line records no handoff, so nothing leaves it mid-flow.
  • The 2 steps carried on the shared AI GBS spine. They are done for this line but not by this function.

Who owns it

Runs the line

Code Quality Orchestrator

Accountable person

Director, Engineering Quality

The end of the escalation path. Above them sits Engineering Chief of Staff for the function.

That team’s remit

Owns pull request work end to end inside Engineering.

That remit describes the whole team, not this one procedure, so its counts are larger than the ones on this page.

Autonomy

82% now · ceiling 88%

Analysis and comment generation are fully agentic and never get tired.

The procedure, step by step

4 numbered steps · 1 of them stop for a person

A step is one station on the line.

No.StepWho does itWhat happensSystem of recordTime on the stepIn flight
01

Scan

GBSgbs

Code Quality Orchestrator

Code Quality Orchestrator performs this step unattended on the shared AI GBS transaction spine, outside the function, inside the envelope its owning team has set, and writes an evidence record naming the actor, the authority it acted under and the digests of what it read and wrote.Group ERP — Materials and Inventory3.0 hrsstandard 3.5 hrs21
02

Rank by risk

Agentworkflow

Review Comment Agent

Review Comment Agent performs this step unattended at the workflow layer, inside the envelope its owning team has set, and writes an evidence record naming the actor, the authority it acted under and the digests of what it read and wrote.Configuration Management Database1.8 hrsstandard 4.3 hrs38
03

File issues

GBSgbs

Review Comment Agent

Review Comment Agent performs this step unattended on the shared AI GBS transaction spine, outside the function, inside the envelope its owning team has set, and writes an evidence record naming the actor, the authority it acted under and the digests of what it read and wrote.Group ERP — Materials and Inventory1.0 hrsstandard 1.6 hrs29
04

Owner triage

HumanpolicyDecision

Director, Engineering Quality

Releases: Director, Engineering Quality

Work stops. Director, Engineering Quality reviews what the line has produced and either releases the unit or sends it back. Nothing downstream of this step runs until that decision is made.Holds until: Held for a named human when the unit exceeds the pull request decision envelope, when confidence falls below the floor, or when a policy clause is engaged.Group ERP — Materials and Inventory55 minstandard 1.5 hrs7

The swimlane

The same steps, laid out by who is holding the work

Three lanes: a person deciding, an agent working, and the shared services spine.

Person1 station and 14% of the dwellAgent1 station and 27% of the dwellShared spine2 stations and 60% of the dwell3 crossings between lanes
Human
decides
Agent
does the work
GBS
shared spine
System
attributed by rule
Group ERP — Materials and Inventory
Configuration Management Database
Group ERP — Materials and Inventory
Group ERP — Materials and Inventory
Click any station to see who does it, what it costs in time, the rule that gates it and the system attributed to it.

Run the procedure

One unit walked along that swimlane on the happy viable agentified path

Press run and a single unit enters at station 01. Each station takes exactly the dwell this platform records for it and is held by whoever the estate says holds it.

speed
worked clock
00:00
allowance clock
00:00
stations cleared
0/4
the happy path, worked time0 min of 6.8 hrs
the same run against its allowance0 min of 11 hrs
Human
decides · 1
Agent
does the work · 1
GBS
shared spine · 2
run log

Nothing has happened yet.

where the worked time goes6.8 hrs a unit
Person55 min · 14%Agent1.8 hrs · 27%Shared spine4.1 hrs · 60%3 crossings between lanes
what makes this path viable
  • The lanes are the recorded lanes. 1 of the 4 stations stop for a person and every one of them still does on this run.
  • Every one of the 1 decision is still taken by the person who holds it. The happy path is that each one is released first time, not that it is skipped.
  • The owning team is held to a 88% autonomy ceiling and this run sits at 86% unattended, inside it.
  • 2 systems are attributed across the stations, and 0 of them are connected. Nothing in this run has been watched executing against a real system of record.
what would have to change

One decision, held by Director, Engineering Quality.

stays with a person
  • 04 Owner triage — The last decision on the line. Something on every procedure ends with a person, so this one is never offered.
what this run is, and what it is not

This is a run, not a forecast.

Happy means nothing goes wrong: no station raises an exception, no gate sends the unit back, no rework loop fires and nothing sits in a queue between stations.

The second clock is the allowance.

A decision may be handed to the agent lane only if two things hold …

The run reads the station rows only.

What this run does not model: arrival patterns, contention between procedures for the same person, shift patterns, weekends, learning curves, and the cost of anything.

Run it again, going wrong

The same unit, the same stations, broken the way the estate already records breaking

This is the same unit on the same stations, breaking.

No break below was chosen.

One play head, two tracks, the same scale. The clean run stops when it runs out of stations; the other one keeps going.

As written

4 stations, nothing waiting, nothing sent back

0 min of 6.8 hrs

now Scan · Code Quality Orchestrator · 3.0 hrs

As the ledger has it

the same stations, plus 4 categories the estate already counts

0 min of 21 hrs

now Scan · Code Quality Orchestrator · 3.0 hrs

personagentshared spinework the break addsnobody working it

What breaks, and where it is counted

No break below was chosen.

What the two runs say together

4 counted categories land on this procedure.

What this run cannot claim

These breaks are shown together on one unit so the shape of a bad day fits on one screen.

The separation register records a duty conflict against a sub-function and a named post, not against one procedure.

Two clocks run. Worked time is the sum of the time the work is actually being done …

Roles and responsibilities

4 named parties

The responsibility grid is assigned by a rule, not lifted from a chart.

PartyRACIStepsDutyEscalates to

Code Quality Orchestrator

orchestrator

Runs the line0Sequences this line, holds its timetable and decides what has to surface to a person. Raises to Director, Engineering Quality when a unit falls outside the envelope or confidence drops below the floor.

Code Quality Orchestrator

agent

A3% autonomy · ceiling A4%

90% clean · 9% overridden

Responsible1Owns the code review & quality lane end to end. Escalates to Director, Engineering Quality when the unit falls outside the decision envelope or confidence drops below the floor.

Review Comment Agent

agent

A4% autonomy · ceiling A4%

93% clean · 3% overridden

Responsible2Executes the code review & quality step it owns, posts its evidence, and hands the unit to the next stage.Escalates to Director, Engineering Quality when the unit falls outside the decision envelope or confidence drops below the floor.

Director, Engineering Quality

person

Accountable and responsible1Holds 1 decision on this line. Accountable to Director, Engineering Quality for the decisions held here.

Decision points and escalation

1 places this procedure stops

04 · Owner triage

55 min

Held for a named human when the unit exceeds the pull request decision envelope, when confidence falls below the floor, or when a policy clause is engaged.

Director, Engineering Quality

Handoffs out of this procedure

Nothing leaves this procedure for another function. It completes inside Code Review & Quality.

The rules this procedure runs inside

3 governing rules

Code Review & Quality Decision Envelope

under review

EN4-POL-200 · envelope · vv3.7

Agents in this lane may act without a human when the pull request sits inside the stated value, risk and confidence envelope.

Approved by Director, Engineering Quality · in force 2025-12-30 · reviewed 2026-06-24

Binds Static Analysis Agent, Review Comment Agent, Coverage Agent, Convention Enforcement Agent

US · Canada

Code Review & Quality Evidence Standard

active

EN4-POL-201 · evidence · vv4.1

Every autonomous decision writes inputs, the rule version applied, the model and prompt version, the output and a reversal path.

Approved by Director, Engineering Quality · in force 2025-05-15 · reviewed 2026-05-13

Binds Static Analysis Agent, Review Comment Agent, Coverage Agent, Convention Enforcement Agent

Global · EU

Code Review & Quality Escalation Rule

active

EN4-POL-202 · escalation · vv2.1

Escalation is mandatory when confidence falls below the floor, when two options sit inside the confidence band, or when a break condition on a ratified position fires.

Approved by Director, Engineering Quality · in force 2025-06-28 · reviewed 2026-05-14

Binds Static Analysis Agent, Review Comment Agent, Coverage Agent, Convention Enforcement Agent

LATAM · US

Systems this procedure touches

2 named · 0 connected

System attribution is a rule, not a reading.

SystemVendorDomainCriticalityStepsConnection
Group ERP — Materials and InventorySAP S/4HANA MMsupplyhigh3modeled
Configuration Management DatabaseServiceNow CMDBitsmhigh1modeled

0 of the 2 systems on this procedure is connected to the platform, and none of the twenty-six in the estate register is. 1 of them are marked as taking a write back, which is a property of the system, not a live path from here.

How it performs

End to end

6.8 hrs

Summed from the time each step sits, standard 10.9 hrs — running at 62% of the standard.

Touchless

86%

Agent share

75%

A week

304

In flight

95

Effort a week

55 human minutes · 352 agent minutes

Volume multiplied by the time on each step.

Assurance over this procedure

4 governance gates sit above it

The twenty-four controls and eighteen exception classes in this platform are held at estate level …

GateWhat trips itWho releases itClockWaivable

Production release authorization

approval

Any deployment to a production environmentRelease manager and service owner1 business dayNo

Security-sensitive or public API change

approval

Authentication, cryptography, payment paths or any published interface contractSenior engineer and security engineer1 business dayNo

Database migration

approval

Any schema change or irreversible data operationData owner and CTO delegate2 business daysNo

Agent-authored code sample review

oversight

Weekly review of 10% of agent-authored merged changesEngineering governanceWeeklyYes

Next to it on the same team

Code Review & Quality

All of Engineering

What this document is and is not

These procedures describe the modeled estate.

Actions

What is waiting on a person

What one procedure document gives you, and what to check before you treat it as the standard.

Operations

What this desk is allowed to start

A surface that only reports is not operable.

Trigger and bound

A procedure document prints purpose, scope, entry and exit, the numbered steps with the actor on each, the roles and their RACI position, the swimlane, the decision points and escalation, the handoffs, the governing rules with version and approver, the systems by rule and the timings.

Live observability

What the record shows right now

The whole library, by lane, so a single document can be read against the estate it came from.

Current distribution

2,748 steps

Agent, inside the function1,38951%
Agent, on the shared spine85131%
Person deciding at a gate50818%

Is policy and strategy coming to fruition

Whether the written intent is holding here

Half. The document is complete and every actor on it is measured

Not holding on the record

A procedure here carries a version, an approver, an in-force date and a last-review date.