Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 31 additions & 7 deletions .abcd/development/brief/04-surfaces/34-build.md
Original file line number Diff line number Diff line change
Expand Up @@ -347,16 +347,17 @@ intent's grounds entry is left as written.

A run is paced without being told: a working window, a pause after it, a
ceiling on the run's lanes and validators alive at once, and the fix rounds a
lane may take before it is handed back (ruling DR1, 2026-09-29: a per-run value
set beside the pace, default 3). The four numbers are
lane may take before its cap is judged (ruling DR1, 2026-09-29: a per-run value
set beside the pace, default 3, raised to 5 by the product thinker's ruling of 2 December
2026). The four numbers are
resolved once, when a new run is created, through the one layered configuration
reader (`internal/core/layered`), each key on its own, highest layer first:
the build's own pace, sub-agent and fix-round flags, the pace written as
`<work-minutes>/<pause-minutes>`; `pace.work_minutes`, `pace.pause_minutes`, `pace.sub_agents` and
`pace.fix_rounds` in the
repository's `.abcd/config.json`; the same keys in `~/.abcd.noindex/config.json`; and
the bundled default, 120 minutes of work, no pause, 2 sub-agents and 3 fix
rounds (decision 5, the pause removed by the ruling of 2026-10-10, and ruling DR1), held in one set of constants. The files are read through the
the bundled default, 120 minutes of work, no pause, 2 sub-agents and 5 fix
rounds (decision 5, the pause removed by the ruling of 2026-10-10, and ruling DR1 as the ruling of 2 December 2026 raised it), held in one set of constants. The files are read through the
reader's guards (a regular file inside the checkout; on the machine, one the
caller owns and nobody else can write), and the reader claims the `pace`
namespace, so a key under it the loop does not read is refused rather than
Expand Down Expand Up @@ -1136,9 +1137,32 @@ the work, never closes like a pass). A return the loop cannot read as a verdict
records nothing and is refused, so it starts no fix round and counts against
nothing.

**The fix-round bound** (ruling DR1; itd-50, criterion 2). A round that does not
pass once the lane has taken the run's cap of fix rounds starts no further fix
round: the lane stops at the `handed-back` stage with a `hand_back` record (the
**The fix-round bound** (ruling DR1; itd-50, criterion 2; the product thinker's
ruling of 2 December 2026). A round that does not pass once the lane
has taken the run's cap of fix rounds starts no further fix round. When every
finding it leaves is minor or nitpick, the lane goes to its landing, and the
landing's records commit files each finding as an open issue through the
ledger's capture: found at the finding's location, with its severity and the
remedy the reviewer named (or the ledger's machine remedy), and found during a
line naming the lane, the run, the round and the head it judged, by which a
killed landing finds what it already filed. A finding carries no severity of its
own, so the cap reads the narrowest sound one (dcn-2612021257543635): a failing
security reviewer is a security finding, a failing intent-auditor a major one,
and a ruthless reviewer's finding carries the tag its bullet gives it after its
location (`[critical]`, `[major]`, `[minor]` or `[nitpick]`, which its brief
asks for), an untagged finding, a failing return that locates none, and any
bullet under Findings that does not lead with its `file:line` reading as major,
and two findings at one location keeping the worse tag; a ruthless finding
tagged `[security]` or worded on security holds the lane as a security finding
does and is never filed in public; a finding naming no file the lane's worktree
holds, or a reviewer whose model the records commit cannot disclose, holds the
lane too. A round a landing's sync opens that passes withdraws nothing the cap
round left, and one that fails hands the lane back. The records commit that
files the findings goes to a review round of its own in every facilitator mode
and is pushed only once that round passes; a round of it that does not pass
hands the lane back with nothing pushed. A capture refusal that would recur
hands the lane back at its landing with nothing committed. Otherwise the
lane stops at the `handed-back` stage with a `hand_back` record (the
verdict `unachievable`, the round, the cap, the last round's verdicts, the
returns of the validators that did not pass, and the criteria the audit judged
not met or could not decide). The step's result carries it and says so first;
Expand Down
2 changes: 1 addition & 1 deletion .abcd/development/brief/04-surfaces/35-drain.md
Original file line number Diff line number Diff line change
Expand Up @@ -1465,7 +1465,7 @@ The drain then routes each hand-back:
| `user-visible` | the issue is promoted to an intent draft by the capture verb's promotion | the draft, and the issue's `related_intents` naming it; nothing else |
| `trust-rule` | flagged as needing a decision record, the lane's reason as the question | `decision_needed:` on the open issue, holding the question; nothing else; no record is minted |
| `design-finding`, `second-package` | flagged with the home the lane names | nothing |
| a lane stopped after its fix rounds | flagged, the issue staying open with the last findings | nothing |
| a lane stopped after its fix rounds (a security, major or critical finding left; one leaving only minor or nitpick findings lands and files each as an open issue, by the ruling of 2 December 2026) | flagged, the issue staying open with the last findings | nothing |
| a lane handed back as stuck (`stuck`) | flagged, the issue staying open, naming the discard of its run | nothing |
| a lane whose pull request closed unmerged (`closed`) | flagged, the issue staying open, naming the discard of its run | nothing |

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
id: dcn-2612021257543635
slug: at-a-lane-s-fix-round-cap-the-loop-reads
date: 2026-12-02
---
2026-12-02 — At a lane's fix-round cap the loop reads a finding's severity narrowly, since review findings carry none of their own: a failing security reviewer is a security finding and a failing intent-auditor a major one, so either hands the lane back; a ruthless reviewer's finding carries the ledger severity its bullet tags after its location ([critical], [major], [minor] or [nitpick]), which the reviewer's brief now asks for, and an untagged finding, a failing return that locates none, a finding naming no file in the lane's worktree, or a reviewer whose model the records commit cannot disclose in Assisted-by all hold the lane as major. Only a round whose every remaining finding is minor or nitpick lands, and the landing's records commit files each through the ledger's capture as an open issue (found_at the finding's location, remedy the reviewer's or the machine remedy, found_during naming lane, run, round and judged head, which also makes a killed landing file each once). Nothing new enters the run's state: the round is re-read from the returns as recorded. The reading fails closed and reads every line of the Findings section, a heading indented inside a list item included, and every list item after a heading that ends the section: a list item that does not lead with a file:line (no location, a tag before it, a directory, a file with no line, an indented bullet under no finding or opening with a tag or a location), a sub-heading or paragraph attached to no finding (the FIX-FIRST and NOTES labels excepted), a finding bullet a code fence or comment hides anywhere in the section (any list item at the top level, or one at any indent with a location or a tag), and a list item with a bold location or a tag after a heading that ended the section each hold the lane as major; a line at column 0 straight after a finding, or an indented line of its text, continues it, its tag and words read with it; two findings at one location are both read, the worse tag deciding. A ruthless finding that bears on security is never filed in public: one tagged [security], or whose bullet or a line under it carries one of twenty stems (security, vulnerab, inject, traversal, secret, credential, token, privileg, bypass, CWE, attacker, exploit, leak, symlink, untrusted, sanitiz, escap, overflow, password, auth), matched as a substring anywhere in any case so that an identifier counts (access_token, api_secret, oauth, unsanitized), with two exceptions only: cwe and leak match at the start of a word, and auth does not match where or follows it (author, authored, authority), save in authoris and authoriz, so authorization and unauthorized still count. A word-boundary reading tried in between hid the stems inside identifiers, so the coordinator returned to substrings; an escaped string or a tokenizer is an accepted false hold, holds the lane as a failing security reviewer does, and the hand-back names neither the finding nor its place. The run's coordinator, acting for the facilitator in auto mode, chose this narrowest safe rule and its first ten words on 2 December 2026 and added the other ten in the next review round from the security reviewer's note; its false holds are the accepted cost. A round a landing's sync opens over a merged default branch and that passes withdraws nothing, since the sync changed none of the lane's own work: the landing still files from the cap round; one that fails, on findings of any severity, hands the lane back, since the cap files one round's findings and never one round's in place of another's. A records commit carrying cap filings goes to a review round of its own in every facilitator mode, and a round of it that does not pass, or a records commit that would go to a person's pull request unread, hands the lane back with nothing pushed, so no filed record reaches the forge unjudged. A capture refusal that a later call meets again (a refused request or field, a missing remedy, a span the redactor cannot resolve or no scanner) hands the lane back at its landing with each record that call filed taken back out, while one that may pass later (the ledger's lock) leaves the lane at land; a finding citing a record id the lane's tree does not hold (an ADR by the number its file in the ADR store carries, an ordinal padded to four digits), which record-lint would refuse once filed, holds the lane at the cap. What the capture says of a record it altered or could not redact reaches the run's record, not the commit. The cap's route to the landing refuses a lane whose report states a verdict, as the passing route does. Applies the product thinker's ruling of 2 December 2026 on the fix-round cap.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ origin: researcher-authored
production_mode: hand-written
found_at: "internal/core/implement/loop/pace.go"
remedy: "Raise BundledFixRounds to 5, keeping pace.fix_rounds and --fix-rounds as the repository and run layers; at the cap, hand the lane back only when a review still reports a security finding or a major or critical one, and otherwise capture each remaining minor or nitpick finding as an open issue that names the lane's intent or issue and the reviewed head, then let the lane go on to preflight and landing; state both rules where a run starts and in the drain and build pages, with tests for each outcome at the cap."
resolution: "A lane now runs up to five fix rounds by default, and a security finding at any severity holds the lane rather than spending rounds on it."
impact: fix
resolved_by:
commit: "6e8a929f15d61d374f2bf11e130a2cc128c3d438"
---

A lane's fix rounds stop at three by default and the lane is then handed back whatever the remaining findings are, so a lane whose reviews ask only small fixes is stranded as surely as one with an open security finding. In the autonomous run of 25 November to 2 December, three lanes were set aside on one small finding each after their third round and two later steps never opened. The product thinker ruled on 2 December that the default becomes five rounds, still settable per repository, and that what happens at the cap depends on what is left: a lane stops only while a security finding or a major or critical finding persists, and otherwise its remaining minor and nitpick findings are captured as open issues linked to the lane and the lane lands. This replaces the default of three ruled on 29 September (DR1, itd-50 Decision 6), and it applies to every lane of a run, whether abcd or a host session drives it.
19 changes: 17 additions & 2 deletions commands/build.md
Original file line number Diff line number Diff line change
Expand Up @@ -661,15 +661,30 @@ naming the lane and making no commit:

A new run is paced without being told: a working window, a pause after it, a
ceiling on the run's lanes and validators alive at once, and the fix rounds a
lane may take before it is handed back. The four numbers are read once, when the
lane may take before its cap is judged. The four numbers are read once, when the
run starts, each from the highest layer that sets it:

1. `--pace <work-minutes>/<pause-minutes>` (for example `--pace 90/240`),
`--sub-agents <n>` and `--fix-rounds <n>` (0 to 64), for this run only;
2. `pace.work_minutes`, `pace.pause_minutes`, `pace.sub_agents` and
`pace.fix_rounds` in the repository's `.abcd/config.json`;
3. the same keys in `~/.abcd.noindex/config.json`, for every checkout on the machine;
4. the bundled 120/0 (no pause) with 2 sub-agents and 3 fix rounds.
4. the bundled 120/0 (no pause) with 2 sub-agents and 5 fix rounds.

At the cap, a lane whose round still does not pass is handed back only while a
security finding, or a major or critical one, stands. Otherwise every finding
it leaves is minor or nitpick, and the lane lands: its records commit files
each finding as an open issue through the ledger's capture, at the finding's
location and with its remedy, naming the lane, the run and the head the round
judged. A failing security reviewer counts as a security finding, a failing
intent-auditor as a major one, and a ruthless reviewer's finding carries the
severity its tag gives it (`[minor]`, `[nitpick]`, `[major]`, `[critical]`),
an untagged one, or a bullet that does not lead with its `file:line`, counting
as major. A ruthless finding tagged `[security]` or worded on security holds
the lane as a security finding does and is never filed. The records commit
that files the findings is reviewed in a round of its own before anything is
pushed, and a round of it that does not pass hands the lane back. Tell the user
both rules when a run starts.

The payload's `pace` carries each number as `value`, `layer` (`flag`, `repo`,
`machine` or `bundled`) and `origin` (the flag as typed, or the file), and the
Expand Down
2 changes: 1 addition & 1 deletion commands/drain.md
Original file line number Diff line number Diff line change
Expand Up @@ -1287,7 +1287,7 @@ it still holds is handed back. The drain routes each hand-back:
| `user-visible` | `promoted`: an intent draft seeded from the issue (`capture promote`) | the draft, and the issue's `related_intents`; nothing else |
| `trust-rule` | `decision-record`: flagged, with the lane's reason as `question` | `decision_needed:` on the open issue, holding the question; nothing else; no record is minted |
| `design-finding`, `second-package` | `home`: flagged with the `home` the lane names | nothing |
| (fix rounds exhausted) | `home`: flagged, the issue staying open | nothing |
| (fix rounds exhausted with a security, major or critical finding left; a lane leaving only minor or nitpick findings lands, filing each as an open issue) | `home`: flagged, the issue staying open | nothing |
| `stuck` (the lane kept refusing) | `home`: flagged, the issue staying open, naming the discard of the lane's run | nothing |
| `closed` (its pull request closed unmerged) | `home`: flagged, the issue staying open, naming the discard of the lane's run | nothing |

Expand Down
6 changes: 5 additions & 1 deletion commands/implement.md
Original file line number Diff line number Diff line change
Expand Up @@ -934,7 +934,11 @@ the host. A routing table or provider configuration `step` cannot read is
refused at `routing`, and its non-fatal reports are said on stderr; nothing is
written by a refusal. A round's `routes` is state schema
version 16's. A lane that has taken
the run's fix rounds (`build --fix-rounds`, bundled 3) and still does not pass
the run's fix rounds (`build --fix-rounds`, bundled 5) and still does not pass
lands when every finding the round leaves is minor or nitpick: the step goes to
`land`, and the records commit files each finding as an open issue (a failing
security reviewer or intent-auditor, a finding tagged `[major]` or
`[critical]`, and an untagged one count as more). Otherwise it
is handed back: the result's `hand_back` names the verdict `unachievable` and
the last findings, and the loop starts nothing further for it. Its sibling
lanes finish under the same ceiling, window and fix rounds; no new lane opens,
Expand Down
Loading
Loading