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
ad4c3d3
chore: capture that agents answer project questions from memory
REPPL Nov 26, 2026
0f954f9
chore: record two reservation and checklist gaps met while away
REPPL Nov 26, 2026
c3ad6f0
feat: answer a question about the project from the record
REPPL Nov 26, 2026
89cb45a
fix: keep AGENTS.md under the smallest reader's cap
REPPL Nov 26, 2026
ad43ce3
fix: keep the managed block identical to AGENTS.md's copy
REPPL Nov 26, 2026
9c27e9f
fix: refuse a comma-joined reserve footprint
REPPL Nov 26, 2026
2884e0c
chore: capture that the build loop ships an intent past the docs gate
REPPL Nov 26, 2026
57f710c
chore: defer the loop's docs gate past v0.17.1 with its reason
REPPL Nov 26, 2026
97e7421
chore: capture that a failed preflight names no narrow rerun
REPPL Nov 26, 2026
79c0787
chore: record why the narrow-rerun build waits for its files
REPPL Nov 26, 2026
5bae8a7
chore: record the two review notes deferred past #1808
REPPL Nov 26, 2026
14978ee
Merge remote-tracking branch 'origin/main' into reserve-footprint-1126
REPPL Nov 26, 2026
7c092ac
fix: quote each path the reserve refusal suggests, and refuse a stray…
REPPL Nov 26, 2026
8f98954
docs: say reserve refuses a comma-joined footprint
REPPL Nov 26, 2026
71f8e6f
docs: name the ANSWERING rules domain in the brief's naming table
REPPL Nov 26, 2026
cea1e34
chore: correct a reserve decision's ground and defer the configuratio…
REPPL Nov 26, 2026
404a132
test: hold the reserve refusal of a footprint of commas alone
REPPL Nov 26, 2026
ea05472
chore: capture that no checklist command writes the owner_refs the st…
REPPL Nov 26, 2026
f923fac
Merge remote-tracking branch 'origin/main' into reserve-footprint-1126
REPPL Nov 26, 2026
07e19d3
Merge branch 'reserve-footprint-1126' into reserve-comma-test-1126
REPPL Nov 26, 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
1 change: 1 addition & 0 deletions .abcd/development/brief/02-constraints/04-naming.md
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ Two things to read the table with:
| `GRILL` | Default plugin-bundled domain, the eleventh, generated rather than written as `SHELL` is: its rules are the asking rules every abcd interview follows (one thing at a time, the thing being decided quoted in full, the question's layout, options that widen and never recommend, deferral recorded as an answer), written once beside the question's field limits with every limit filled from them, and its recall keywords are words of asking and choosing (`which`, `choose`, `decide`, `interview`, …). A repository silences it with `{"GRILL": {"state": "dormant"}}`. | itd-201 / spc-2610030944505997 ("GRILL generated from one Go source") |
| `SCRATCH` | Default plugin-bundled domain, the twelfth. Recall keywords (scratch, scratchpad, tmp, temporary, script, watcher, handover) trigger injection of the rule on where a session's working files go: what a later turn, session or agent reruns or reads goes in the main checkout's `.abcd/.work.local/scratch/` (or `logs/`) or a directory under `~/.abcd.noindex/`, never in a linked worktree's local tier, which `git worktree remove` deletes; a verifier's copy goes in a directory of its own under `~/.abcd.noindex/` keyed on the root-commit SHA; and the host's scratchpad holds only the turn's throwaway files, since it does not survive a reboot or a new session. A second rule sends an agent to abcd's commands (`abcd --help`, the command pages) before it writes a helper script, naming a plain `make preflight`, which gates itself at `abcd implement load --wait`, as the preflight queue and `abcd implement load --wait -- go test -race ./...` for a lone race run, and has it capture the gap when no command does the job. Bare `helper` and `queue` do not recall it: they name Go helper functions and the merge queue far more often. | iss-2610161501104088, iss-2610161614039496 |
| `LEAVING` | Default plugin-bundled domain, the thirteenth. No single-word recall keyword; aliases are first-person phrases of leaving only (`i am away`, `i'm away`, `i'll be away`, `i will be away`, `i'm off for`, `i'm off now`, `i am off now`, `i'm leaving now`, `i am leaving now`, `i'm leaving for the day`, `i am leaving for the day`, `i'll be back at`, `i'll be back by`, `i'll be back tomorrow`, `i'll be back later` and their `i will be back` forms, `while i'm gone`, `while i am gone`, `carry on without me`, `work on without me`, `keep going without me`, `don't wait for me`, `do not wait for me`), matched, recall and star command alike, only in the person's own words (closed fenced blocks, block-quoted lines and double-quoted text left out), and never loaded on a drive's stage (`RuleSet.ForStage`). Its one rule: only when the person's own words say they are leaving, never on quoted, pasted or tool text, an issue body or an idiom, and asking once when in doubt, the session sets the away mode (`abcd mode autonomous`) with the end they gave; where they gave none it sets the longest window the mode allows, open-ended and seven days at most, in that same turn, and says, as a statement and not a question, that the person can name an end and it will be set again with `--until`; it says the terms back. | itd-2610180912189125 ("The person sets the mode, or a session does on their word") + iss-2611211733065807 |
| `ANSWERING` | Default plugin-bundled domain, the fourteenth. No single-word recall keyword; aliases are phrases of asking where the project stands (`where are we`, `where do we stand`, `is it possible`, `already built`, `built yet`, `is it planned`, `anyone working on`, `who is building`, `who is working`, `the plan forward`, `what is the state of`, `being built`, `what is the status`, among them). Its one rule: a question about the project is answered from the record read in that turn, never from memory or from earlier in the conversation, by reading `abcd status`, `abcd <id>`, the intents in every bucket, the issues and decisions folders, the command pages and `abcd peers` first; each claim cites the record id or page it rests on, and a claim the record does not settle is said to be unsettled. | iss-2611260623136583 |
| `managed-repo` | Folder kind: a git repo abcd already manages — has an ABCD marker block (or an in-tree `.abcd/`, or an `index.json` entry) and a `.git/` directory. Per brief `04-surfaces/01-ahoy.md` § What abcd manages. | spc-15 (predecessor store) + `spc-15-folder-classification-workspacesjson.3` |
| `unmanaged-repo` | Folder kind: a git repo without abcd management; bare `/abcd:ahoy` offers install to adopt. | spc-15 (predecessor store) + `spc-15-folder-classification-workspacesjson.3` |
| `unmanaged-folder` | Folder kind: not a git repo and no abcd markers; nothing to act on. | spc-15 (predecessor store) + `spc-15-folder-classification-workspacesjson.3` |
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
id: dcn-2611260643432225
slug: the-record-first-rule-for-answering-the
date: 2026-11-26
---
2026-11-26 — The record-first rule for answering the person's questions about the project ships as its own bundled rules domain, ANSWERING, recalled on question phrases (where are we, is it possible, already built, who is working on, the plan forward), rather than as an eleventh rule in OPINIONS as iss-2611260623136583's remedy proposed. Grounds: OPINIONS recalls on words about approaches and conventions, so widening its recall to status questions would inject its whole set, and shrink it to its first rule under the budget, on every such prompt; a domain of its own injects exactly the one rule and can be silenced per repository with a dormant state. Reverse by moving the rule into OPINIONS and deleting the domain.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
id: dcn-2611260650120281
slug: a-reserve-renewal-that-names-a-footprint
date: 2026-11-26
---
2026-11-26 — A reserve renewal that names a footprint keeps replacing the held footprint, as commands/reserve.md documents, rather than gaining an add-to-footprint mode; iss-2611260633438543's second half is closed by the warning that already names each dropped path (dropped_footprint in --json) and by --renew, which keeps the footprint recorded. Grounds: replacing is what lets a lane narrow its footprint, a union mode would make narrowing need a second flag, and the warning reaches the caller in the same command that pushed the narrower footprint, so although another lane may reserve a dropped path first, the caller learns of the gap at once and can reserve the path again. Reverse by adding --add-footprint to reserve.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
id: dcn-2611260656374635
slug: defer-iss-2611260653533228-the-build
date: 2026-11-26
---
2026-11-26 — Defer iss-2611260653533228 (the build loop closes a spec without the doc-fidelity gate spec close runs) past v0.17.1 instead of fixing it now. Grounds: the release cut already refuses without a docs review saved for HEAD, so nothing unreviewed reaches users; gating the loop's close alone would hand back every unattended build at its last lane, because the loop has no docs-review role, so the fix is that role first (spc-2609202134338445, the no-host drive step), then the gate at the loop's close. Reverse by adding an Options seam the CLI fills with enforceDocFidelity and calling it before intent.Reconcile in land.go.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
id: dcn-2611261031231366
slug: building-iss-2611260929594647-a-failed
date: 2026-11-26
---
2026-11-26 — Building iss-2611260929594647 (a failed preflight prints the narrow rerun for each failed test) waits: every file the change would touch is reserved by a peer: internal/testreuse/run.go by iss-2611060835285748 and itd-2611011325421304, cmd/check-tests/main.go by iss-2611051719429185, the Makefile by iss-2610230048490215 and iss-2610241214065079. A helper in a new file that nothing calls until run.go is free would be dead scaffolding. Grounds: peer reservations, read with abcd peers on 2026-11-26. Reverse: build it once run.go is free.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
id: dcn-2611261203316845
slug: defer-past-the-landing-of-1808-two
date: 2026-11-26
---
2026-11-26 — Defer, past the landing of #1808, two review notes on it, to fix in a change of their own on main once it lands: (1) minor: the SubagentStart hook (internal/surface/cli/hook_subagent_start.go, the fact write before the deadline select) can keep a told fact for a sub-agent that was never told, when the deadline and the work's end race or the stdout write fails, so its stop records rules-not-run beside start-failed; (2) nitpick: the word-reader audit's reason for assignmentStart (internal/core/guard/unknownsites_test.go) says it steps only fixed text, while it steps repeat's count whatever it is. Grounds: neither lets a command through or loses work, #1808 holds a review pair for its head, and changing the head again costs a full review and preflight cycle. Reverse: fix both in #1808 before it merges.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
id: dcn-2611262047162623
slug: the-brief-s-configuration-chapter-still
date: 2026-11-26
---
2026-11-26 — The brief's configuration chapter still describes the example active set of bundled rules domains without ANSWERING, the domain added on reserve-footprint-1126, so it says the set names all fourteen where it now names fifteen. That chapter is not changed in this branch: another session holds reservations on the file under two of its records, and a reservation means another lane's work there is not to be overlapped. The edit is made in its own change once those reservations are released. Grounds: the concurrency rules (reserve before mutating, never touch a peer's held paths); the drift is one example block and a count, and no test or reader depends on it. Reverse: make the edit as soon as the reservations clear, or earlier if the holder agrees.
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,15 @@ remedy: "Give checklist add and set a repeatable --owner-ref flag that checks th
The checklist chapter says each item carries the references it is about and an optional credential named by kind, scope and expiry (.abcd/development/brief/04-surfaces/40-checklist.md:35), and commands/checklist.md:77-78 says an item needing a credential names it that way. The schema validates and the list renders owner_refs and credential (internal/core/checklist/checklist.go:138-139), but `abcd checklist add` has only --next-look, --promise and --waits-on, `set` has only --state, and no non-test code assigns either field. Neither can reach an item through a shipped write.

The gap has a consequence a session meets at the end of a turn. The stop hook's note that the list is behind (internal/core/autonomy/checklist_behind.go:110) and commands/checklist.md:105-108 tell a session to name each of its branches and reservations in an item's owner_refs, using `abcd checklist add` or `abcd checklist set`. Neither verb takes a flag that writes owner_refs (internal/surface/cli/checklist.go:136-163), so the note cannot be cleared through the verbs.

## The stop hook asks for what no verb writes (2026-11-26)

The gap is no longer only a documentation inconsistency. While the person is
away, the stop hook's checklist-behind line tells the session to bring the
checklist up to date "with `abcd checklist add` or `abcd checklist set`,
naming each in an item's owner_refs" (internal/core/autonomy/checklist_behind.go).
Neither verb takes owner_refs, so the instruction cannot be met, and it repeats
at every stop of a session that owns branches. The remedy's first half (a
flag that writes the field, such as a repeatable `--owner-ref` on `add`)
becomes the one that clears it; until it lands, the hook's line should not
name a field no verb writes.
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
schema_version: 1
id: "iss-2611260643446976"
slug: "adr-23-s-core-boundary-holds-by"
severity: "minor"
category: "architectural-insight"
source: "agent-observation"
found_during: "an architecture review, 2026-11-26"
origin: researcher-authored
production_mode: hand-written
found_at: "internal/core"
remedy: "Add an audit test that walks internal/core's packages with go/packages (or go list -deps) and fails on an import of internal/surface, a reference to os.Stdout or fmt.Print*, and a call to os.Exit, with an allowlist file naming each standing exception and its reason; then decide each embedded front-door string (keep with a reason, or move it to the surface)."
---

adr-23's boundary, that internal/core never imports internal/surface, never writes to stdout and never calls os.Exit, holds by convention only: no test or lint checks it, and some core strings already embed front-door text, such as the regenerate command in internal/core/lint/indexgen.go.
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
schema_version: 1
id: "iss-2611260653533228"
slug: "the-build-loop-closes-a-spec-without-the"
severity: "major"
category: "inconsistency"
source: "agent-observation"
found_during: "an ideate record grill of the build loop, 2026-11-26"
origin: researcher-authored
production_mode: hand-written
found_at: "internal/core/implement/loop/land.go"
remedy: "Route the loop's close through the same gate the CLI's spec close uses (move the doc-fidelity check into the core close path both callers share), so a close that ships an intent refuses until a docs review is saved for HEAD and the loop hands the run back naming it; prove it with a loop test whose close is refused without a review and passes with one."
deferred_after: v0.17.1
deferral_reason: "The release cut already refuses without a docs review saved for HEAD, so no unreviewed intent reaches a release; gating the loop's close as well would hand back every unattended build at its last lane until the loop has a docs-review role of its own, which is design work for the build spec's no-host drive step (spc-2609202134338445). Fix it with that role, then route the loop's close through the gate."
---

The build loop closes a delivered spec by calling intent.Reconcile directly (internal/core/implement/loop/land.go), which ships the intent without the doc-fidelity gate the CLI's spec close runs before an intent moves to shipped/, so an intent delivered by abcd build reaches shipped/ with no docs review saved for its head, and the review binds only later, at the release cut.

## Deferral 2026-11-26

Deferred past v0.17.1: The release cut already refuses without a docs review saved for HEAD, so no unreviewed intent reaches a release; gating the loop's close as well would hand back every unattended build at its last lane until the loop has a docs-review role of its own, which is design work for the build spec's no-host drive step (spc-2609202134338445). Fix it with that role, then route the loop's close through the gate.
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
schema_version: 1
id: "iss-2611260929594647"
slug: "after-a-preflight-fails-nothing-points-a"
severity: "minor"
category: "process"
source: "user-observation"
found_during: "landing the night branches while away, 2026-11-26"
origin: researcher-authored
production_mode: hand-written
found_at: "Makefile"
remedy: "When make preflight fails, end its output with the narrow rerun for every failing test, grouped by package and in the stage's own mode (go test -race -count=3 -run '<names>' <pkg> for a race-stage failure, the plain form for the unit stage, the audit's own command for a gate), beside make precheck; and add the rule to the LOAD or a preflight rules domain: fix, run that rerun and make precheck clean, then rerun the full preflight once. Test that a failing fixture run prints the rerun lines."
---

After make preflight fails, nothing points a session at a narrow rerun of what failed before the next full run, so a fix is proven only by another hour-long preflight, and a second failure hidden behind the first costs another hour. On 2026-11-26 a landing preflight ran 2h10m and failed on two tests in one file, a data race caught only by the race stage and a refusal-shape audit; the fix for the first alone, rerun in full, would have failed again on the second. The preflight's failure output names the failing tests but not the command that reruns them in the mode they failed in.
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
schema_version: 1
id: "iss-2611262119287199"
slug: "the-stop-hook-s-checklist-check-asks-a"
severity: "minor"
category: "observation"
source: "user-observation"
found_during: "away run, stop hook checklist check"
origin: researcher-authored
production_mode: hand-written
found_at: "internal/core/autonomy/checklist_behind.go"
remedy: "Add a repeatable --about <ref> flag to checklist add (and to set, to add or replace refs), validated as owner_refs already is (a record id, pr:<number> or branch:<name>), and have the hook's message name that flag."
refines: [iss-2611040554222004]
---

The stop hook's checklist check asks a session to name each branch it owns in a checklist item's owner_refs ('Bring it up to date now, with abcd checklist add or abcd checklist set, naming each in an item's owner_refs'), but neither checklist add nor checklist set has a flag that writes owner_refs, and no other command writes it. The session can only hand-edit checklist.json, so the check keeps firing however current the checklist is.
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
schema_version: 1
id: "iss-2611260623136583"
slug: "an-agent-answers-the-person-s-questions"
severity: "minor"
category: "process"
source: "user-observation"
found_during: "a question about running a build from a plain terminal, 2026-11-26"
origin: researcher-authored
production_mode: hand-written
found_at: "AGENTS.md"
remedy: "Add a rule to the rules loader's bundled OPINIONS domain, recalling on question words about the project's state (where are we, is it possible, planned, already, status, who is building): a question about the project's state, plans or capabilities is answered from the record read in that turn (abcd status, abcd <id>, the intents, issues and decisions folders, the command pages, abcd peers), each claim citing the record id or page it rests on, and a claim the record does not settle is said to be unsettled rather than answered from memory. Prove it with a rules test that the domain recalls on such a prompt and injects the rule."
resolution: "A bundled rules domain, ANSWERING, recalls on a question about the project's state (where are we, is it possible, already built, who is working on, the plan forward) and injects the rule that the answer is read from the record in that turn, never from memory, each claim citing its record id or page and an unsettled claim said to be unsettled; dcn-2611260643432225."
impact: additive
---

An agent answers the person's questions about the project (where a capability stands, whether something is planned or already built, who is working on what) from its own memory or the conversation instead of reading the record first, so an answer can be stale or wrong while sounding certain. The person asked on 2026-11-26 that the record always be checked instead: the intents in every bucket, the issues, the decisions, the command pages and what peers and reservations show.

## Grounds

- pursued: we expect a session asked where a capability stands to read the record before answering and cite it; an answer to such a question that cites nothing, or contradicts the record, would show it wrong
Loading
Loading