feat(queue): queue as data A1, journal, lock, CLI and verify (#1508)

packages/queue, scripts/queue-commit.sh, scripts/git-hooks and
scripts/test-queue.sh, plus docs/plans/BRIEF-TEMPLATE.md. There is no
queue.json yet, so verify skips until the genesis commit after A2.

Darkwing built it, and Filbert reviewed R0 (6933b885, changes requested)
and r1 (e464be6c, approved). The 20 files match manifest 85a8a453. The
nine suites passed on an index export, including the new queue suite.
test-queue.sh joins the suite list in AGENTS.md. Lead decisions 20, 23
and 26.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
2026-09-26 19:07:48 -05:00
co-authored by Claude Opus 5.5
parent 91df7d6b54
commit 34a72af912
32 changed files with 11592 additions and 1 deletions
+21
View File
@@ -3245,3 +3245,24 @@ History for researcher showed the reply in one block, the same 2,618
characters, with no clipping and no horizontal overflow. Screenshot:
agents/dewey/work/chat-02/evidence/console/live-check-2026-09-26.png.
CHAT-02 is done. CHAT-03 goes to Jason before anyone starts it.
## 2026-09-27: Queue as data, A1 (#1508, Darkwing, Filbert reviewed)
A1 is the queue journal, lock, CLI and verify, plus `queue-commit.sh`, the
hook source and `scripts/test-queue.sh`. It is the first half of
Filbert's plan (282fabbb), split per lead decision 20. There is no
`queue.json` yet: verify prints a skip line until the genesis commit,
which waits for A2. Filbert's R0 review (6933b885) requested three fixes.
Darkwing's r1 (delta b733b894, manifest 85a8a453) made them, and moved the
review issue to an explicit `--issue` as ruled in lead decision 23.
Filbert approved r1 (e464be6c).
Sage checked the 20 files against manifest 85a8a453 and committed them
with the build notes and both reviews. The nine suites passed on an index
export: config 24, task 90, foundation 43, conductor 17, release 14,
auth 15, discord 63, extension-package 18, queue 19 checks. Darkwing
reports 107/107 node tests and 22/22 mutations caught. The canonical
`.git` has no hooks and no `core.hooksPath`. `test-queue.sh` joins the
suite list in AGENTS.md. Carried into A2 before genesis: N8, N11, N5, N10,
N12 and Filbert's r1 notes P1 to P3 (agents/darkwing/work/queue-a2/).
The nested `node --test` fix (N13) is a separate commit.