Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
90fcd20
docs: capture the unset dependency re-author App
REPPL Dec 2, 2026
516561b
docs: capture the silent thirty-second bare drain
REPPL Dec 2, 2026
a524c72
docs: capture the hard-to-read embargo publish plan
REPPL Dec 2, 2026
53d8e3c
docs: give the silent bare drain a progress line as its remedy
REPPL Dec 2, 2026
3061ad3
docs: lower the silent bare drain to minor
REPPL Dec 2, 2026
3eaae38
docs: capture the drive start held by month-old runs
REPPL Dec 2, 2026
6180057
fix: let a drive's start pass runs no one has held for a day
REPPL Dec 3, 2026
cee4df1
docs: resolve the drive start held by month-old runs
REPPL Dec 3, 2026
8eb7d08
fix: release only a hold that can still be a let-go run's own
REPPL Dec 3, 2026
5962478
fix: name a let-go run's discard only for a lane id the loop gives
REPPL Dec 3, 2026
c9ddb94
Merge origin/main into drivestart-stale
REPPL Dec 3, 2026
dc032cf
fix: judge the runs at a boundary as the drive's start judges them
REPPL Dec 3, 2026
728a74c
fix: leave a let-go run's own hold to lapse so no renewal revives it
REPPL Dec 3, 2026
8b824b0
fix: keep every take-up and renewal off a run let go for the fast-for…
REPPL Dec 3, 2026
341cd42
fix: let a fast-forward's let-go free the checkout and decide nothing…
REPPL Dec 3, 2026
64651df
fix: name a let-go run's next step only where the drive will take it
REPPL Dec 3, 2026
9e88ce4
fix: promise a let-go run's take-up only where the drive's path takes it
REPPL Dec 3, 2026
0fa3fcc
fix: end a let-go line with what the drive's paths do for every input
REPPL Dec 3, 2026
e207b58
Merge origin/main into drivestart-stale
REPPL Dec 3, 2026
06851c0
fix: read an ended drain's lanes as unlisted in the let-go line
REPPL Dec 3, 2026
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
23 changes: 22 additions & 1 deletion .abcd/development/brief/04-surfaces/35-drain.md
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,28 @@ merge would not), any value of the default branch's `mergeOptions` in any of the
drive cannot read one as git does; `merge.verifySignatures` stays git's to apply), and a lane in progress in any run of the checkout (one parked on its pull
request, handed back, held or discarded aside) each decline it with nothing run, and a
refusal git makes in the gap is declined the same way; a declined fast-forward is one
line, said once while its reason stands, and never ends the start. A fast-forward that
line, said once while its reason stands, and never ends the start. A run's lane in
progress declines it only while the run is held (`ffabandoned.go`, iss-2612022203551074):
its control record names a driver, or a process that recorded an agent's launch, that
the process table reads as alive (a table or a control record that cannot be read
counts as held), or the run last moved (its state's date, its driver's claim, a launch,
its stop) within `lease.Max`, a day, the longest lease a run's reservation takes, since
the state does not record the term its own took. A run held by none of those is let go
only where the checkout is behind the tip and the rest of the judgement found nothing in
the way, immediately before the merge and after the comparison of what the drive holds:
a start declined for any other reason lets nothing go. It is said on one line naming the
run, why, and the discard of each of its lanes in progress that ends it for good; its
worktree, branch and lane are left as they are. Of each hold the run records, only one
this copy's view reads as this copy's, inside its lease and claimed or renewed no later
than the run last moved is released, fenced on the commit the view showed; a hold past
its lease pushes nothing ("its hold had lapsed"), which for a run idle a day is every
hold of its own, and one claimed or renewed after the run last moved is left standing.
A release is written to the run's record as a plain release, and the let-go as its own
mark (`ff_let_go`), both with the run's date left alone, so no later start takes the run
up, the run still reads as idle, and a later start names it no more, counting such runs
on one line. Each run that holds it is named on a line of its own with the act that
frees it, and the hooks' refusal names the same in its remedy in place of a bare
"settle that". A fast-forward that
moved says so on one line, and the drive reads its hold again and proves the checkout's
in-tree hooks against the same answer, so a pull request merged between two asks cannot
refuse a start that has just caught up. Where the fast-forward was declined and the
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
id: dcn-2612022239100187
slug: a-drive-s-start-reads-a-run-with-a-lane
date: 2026-12-02
---
2026-12-02 — A drive's start reads a run with a lane in progress as abandoned for its fast-forward when no driver or agent launch its control record names is alive and the run has not moved within lease.Max, a day: the state does not record the term its own reservation took, so the longest lease a run can hold bounds it, and movement is the latest of the state's date, the driver's claim, a launch and the stop's dates (iss-2612022203551074).
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
id: dcn-2612022239193741
slug: an-abandoned-run-the-start-lets-go-for
date: 2026-12-02
---
2026-12-02 — An abandoned run the start lets go for its fast-forward has any reservation it still records released through the drive's own release path (releaseHolds, shared with releaseRun), but written to its record as a plain release with its date left alone, not as the drive's let-go: a drive_released line would make a later start take a month-old run up and step it, and a new date would make it read as moved within its lease (iss-2612022203551074).
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
id: dcn-2612022239209278
slug: a-run-a-process-table-that-cannot-be
date: 2026-12-02
---
2026-12-02 — A run a process table that cannot be read leaves unjudged holds the drive's fast-forward back, as a run whose control record cannot be read does: a checkout moved under a live session costs more than one left behind for a start; and each run that holds it is said on a line of its own with the act that frees it, which the hooks' refusal carries in place of a bare settle that (iss-2612022203551074).
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
id: dcn-2612030123330618
slug: a-drive-start-lets-a-run-go-for-its
date: 2026-12-03
---
2026-12-03 — A drive start lets a run go for its fast-forward only once the rest of the judgement found nothing in the way and the comparison of what the drive holds has passed, immediately before the merge, so a start declined for another reason lets nothing go; a control record that cannot be read, the checkout not opened included, holds the fast-forward rather than reading as no driver (iss-2612022203551074).
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
id: dcn-2612030123330721
slug: refining-dcn-2612022239193741-a-drive
date: 2026-12-03
---
2026-12-03 — Refining dcn-2612022239193741: a drive start's let-go for its fast-forward pushes nothing for a hold past its lease, which blocks no one and for a run idle a day is every hold of its own, and leaves standing a hold claimed or renewed after the run last moved; only a hold this copy's view reads as this copy's, inside its lease and claimed no later than the run's last movement is released, fenced on the commit the view showed (iss-2612022203551074).
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
id: dcn-2612030123345605
slug: a-run-a-drive-start-let-go-for-its
date: 2026-12-03
---
2026-12-03 — A run a drive start let go for its fast-forward carries an ff_let_go mark in its record, written with its date left alone, so a later start names it no more and counts such runs on one line; the first line names `abcd implement step --run <run> --discard <lane>` for each lane in progress as the act that ends the run for good, since the sweep keeps the worktrees of a run not complete (iss-2612022203551074).
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
id: dcn-2612031056281133
slug: a-drive-s-fast-forward-that-lets-a-run
date: 2026-12-03
---
2026-12-03 — A drive's fast-forward that lets a run go, at its start or between lanes, frees the checkout from that run and decides nothing about whether the run is worked again, which turns on whose the run is: a run the drain lists is the drive's own work and is taken up again as its lane comes to hand, reserved again with a live driver; a run a stop's mark stands on is taken over by a drive's start once the person's stop is lifted, as the stop's rule says; any other run stays let go, taken up by no drive and renewed, logged on or re-dated by nothing, until a person steps it or takes it over. Grounds: the let-go judges only that nothing holds the checkout back; whether the work goes on is the drain's call for its own lanes and the person's for the rest, and a lifted stop is the person's recorded request to resume. The let-go mark is saved before any hold is left to lapse, and a mark that cannot be saved leaves every hold as it was. Reverse: gate takeEarlier and the drain's take-up on the let-go mark for every run (iss-2612022203551074).
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
schema_version: 1
id: "iss-2612022151029279"
slug: "dependency-bumps-cannot-merge-on-their"
severity: "minor"
category: "observation"
source: "user-observation"
found_during: "manual-capture"
origin: researcher-authored
production_mode: hand-written
found_at: ".github/workflows/dependency-reauthor.yml"
remedy: "list the unset re-author App and its two secrets as a gap in abcd ahoy, with the exact creation steps, and post the workflow's refusal reason as one comment on the bump's pull request"
---

Dependency bumps cannot merge on their own: the attribution gate refuses a bot author, and the re-author workflow refuses every bump because the GitHub App it signs with was never created and its two Dependabot secrets (DEPENDENCY_REAUTHOR_APP_ID, DEPENDENCY_REAUTHOR_APP_KEY) are unset. Nothing told the person: three bumps sat for two days failing two checks, and the person asked for them to be auto-merged without knowing a setup step of theirs was missing. The fix is to name the missing App as a gap where the person looks (abcd ahoy and the update news offer), with the steps to create it and set both secrets, and to have the workflow's refusal say the same on the pull request.
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
schema_version: 1
id: "iss-2612022153543895"
slug: "a-bare-abcd-drain-prints-one-ledger-line"
severity: "minor"
category: "ux"
source: "user-observation"
found_during: "manual-capture"
origin: researcher-authored
production_mode: hand-written
found_at: "internal/surface/cli/drain.go"
remedy: "while the bare drain reads its state, show one line with a moving indicator, such as 'Assessing the current state…' with a spinner, on a terminal only (a plain line once when output is not a terminal, nothing under --json); once the state is shown, say that the bare form starts nothing and name abcd drain --drive; then find and remove the thirty seconds of system time from the status path"
---

A bare abcd drain prints one ledger line and then nothing for about thirty seconds (8 s user, 23 s system on this machine, v0.18.0) before it shows the drain's state, so the person took it for a hang and stopped it with two Ctrl-C. The bare form only reports state and starts nothing, which the screen does not say either. The wait has no line saying what it is doing, and the time itself (mostly system time) suggests a walk or a repeated git read that a status view should not need.
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
schema_version: 1
id: "iss-2612022156157064"
slug: "the-embargo-publish-plan-is-a-plain-dump"
severity: "minor"
category: "ux"
source: "user-observation"
found_during: "manual-capture"
origin: researcher-authored
production_mode: hand-written
found_at: "internal/surface/cli/embargo.go"
remedy: "render embargo publish as a summary block (to publish, held back by reason, next step), group the left-out advisories under one heading per reason with the action stated once, colour the groups only on a colour-capable terminal honouring NO_COLOR, and set the approve command apart on its own line; leave --json unchanged"
---

The embargo publish plan is a plain dump the person found hard to read: twenty lines of the same shape, each advisory carrying its id, record id, a twelve-character fix sha, a parenthetical about the store and an affected-range line, with the advisories that will be published and the ones left out in one undifferentiated list, the reasons for leaving one out repeated in full on every line, and the approve command buried at the end after a 64-character digest. A person deciding whether to publish needs a summary first: how many go public, how many are held back and why, grouped by reason (not yet fixed; description names another embargoed advisory, with which one and what to do), then the approve command, set apart. Colour should mark the three groups on a terminal, with the plain text unchanged when output is not a terminal or NO_COLOR is set.
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
schema_version: 1
id: "iss-2612022203551074"
slug: "a-drive-cannot-start-in-a-main-checkout"
severity: "major"
category: "bug"
source: "user-observation"
found_during: "manual-capture"
origin: researcher-authored
production_mode: hand-written
found_at: "internal/core/implement/loop"
remedy: "treat a run with no live driver and no heartbeat within its lease as abandoned for the fast-forward check (say so and let it go, as the drive's start already lets go a run no drain lists), name the command that frees each run that really is held, and add the two-case start test described here to the drive's start tests"
resolution: "A drive's start lets go, for its fast-forward, a run with no live driver or agent that has not moved within a day, saying so on one line and releasing any reservation it still records, and names, for each run that still holds the fast-forward, the act that frees it"
impact: fix
resolved_by:
commit: "61800576c"
---

A drive cannot start in a main checkout that is behind origin and holds old run state, and nothing in its refusal says how to get past it. On 2 December (v0.18.0) the person typed abcd drain --drive in the main checkout, which was 1130 commits behind origin/main. The drive rightly refused to run with hooks that differ from origin's tip, but it also declined to fast-forward because it counted eight runs as having a lane in progress. Those runs date from 23 October to 21 November, no driver has touched them for weeks, and the drain's own state lists every lane as done or handed back. The remedy says to settle that and names no command, so the person is stuck: the only route is a hand pull, after which the drive may try to take up the month-old runs. Test that would have caught it: a drive start in a fixture checkout behind its origin with a stale run state (a lane marked in progress, no live driver, last heartbeat days old, worktree clean) must either let the dead run go with a stated reason and fast-forward, or refuse naming the exact command that frees each run; a second case with a live driver must still hold off the fast-forward.
Loading
Loading