feat(ledger): Piece E, queue section in the weekly ledger (row 13, #1508)
The ledger prints a queue section above the weekly table. It checks four things: - open issues named by done rows; - owner registrations for active rows; - closed issues for done rows; - the age of required rows. The result is fail, incomplete or reduced pass. It uses its own Gitea budget of the open list plus at most 10 lookups. A full open page counts only while an issue in some row's closes has no known state (lead decision 40). T3 seats are exempt per run with --unsupported-runtime. The weekly routine is in packages/ledger/README.md. Built by Darkwing (build.patch ab1f12ca, manifest 0b20bbca). Filbert reviewed it: round 1 81f26f2e asked for changes (C1, ISO requiredSince never aged); round 2 ce8ce150 approved. Also carries Filbert's plan amendment for decision 40 (68a25ffe). Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
@@ -137,6 +137,10 @@ Changed:
|
||||
`packages/ledger`, so A leaves a one-line hand-written pointer to the
|
||||
weekly routine below the markers. E moves the routine into
|
||||
`packages/ledger/README.md` and removes the pointer.
|
||||
*Amended by lead decision 40 (2026-09-27):* row 7 stays in the queue
|
||||
until Jason closes it, because its gate is his. E still writes the
|
||||
weekly routine into the ledger README. A left no pointer below the
|
||||
markers, so E has none to remove.
|
||||
- `docs/TOOLS.md`: usage lines. This file carries other owners' uncommitted
|
||||
changes; add a scoped patch the way #1511 did.
|
||||
|
||||
@@ -167,6 +171,8 @@ Changed:
|
||||
that was row 7).
|
||||
- One more Gitea call, `state=open`, one page; a full page fails as today
|
||||
(Q7). Referenced issues absent from that list count as closed.
|
||||
*Superseded by 8.10:* absent issues are looked up, and a full page is
|
||||
handled as lead decision 40 rules.
|
||||
- Reads `docs/plans/queue.json` through the queue validator by relative
|
||||
import (`../../queue/src/queue.mjs`). There are no workspaces, so a bare
|
||||
`@mosaic/queue` import would not resolve (R14).
|
||||
@@ -371,6 +377,10 @@ items have no owner or issue.
|
||||
*Decided:* row 7 moves to `packages/ledger/README.md` as the weekly
|
||||
routine (sequenced across A and E; see 2.A). The parked items become rows
|
||||
with state `parked`, owner `unassigned` and issue null.
|
||||
*Amended by lead decision 40 (2026-09-27):* row 7 stays until Jason
|
||||
closes it. Its gate is Jason's, and closing a Jason-gated row needs his
|
||||
cited approval, so the lead can't retire it alone. E writes the weekly
|
||||
routine into `packages/ledger/README.md` anyway.
|
||||
|
||||
## 5. Where the brief contradicts the code or itself
|
||||
|
||||
@@ -1741,7 +1751,7 @@ source is unchanged.
|
||||
| Calls | Purpose |
|
||||
|---|---|
|
||||
| 1 | Metrics, unchanged. |
|
||||
| 1 | Queue checks: `state=open`, limit 50. A full page makes the queue issue checks "incomplete". |
|
||||
| 1 | Queue checks: `state=open`, limit 50. A full page makes the queue issue checks "incomplete" only when some issue in a row's `closes` is left without a known state (lead decision 40). |
|
||||
| up to 10 | Queue checks: `GET issues/N` for issues in some row's `closes` that are neither in the open list nor shown closed in the metric page. Issues beyond 10 are "unknown (budget)", and the run is incomplete. |
|
||||
|
||||
That is at most 12 calls. `--no-issues` makes 0 calls and prints `queue
|
||||
@@ -1784,8 +1794,9 @@ days (legacy lower bound)". Until then its age is undecidable.
|
||||
`missing`, `invalid` or `pid-gone` owner, and any issue or age violation.
|
||||
- `incomplete`: no known violation, but something couldn't be decided. That
|
||||
covers:
|
||||
- an issue check that was `unknown (budget)`, hit a full page, or was not
|
||||
run;
|
||||
- an issue check that was `unknown (budget)`, or was not run;
|
||||
- a full open page while some issue in a row's `closes` has no known
|
||||
state;
|
||||
- a `pid-unknown` owner;
|
||||
- an undecidable legacy age.
|
||||
- `reduced pass`: nothing known and nothing undecided. The liveness evidence
|
||||
@@ -2411,3 +2422,10 @@ The round-2 modifications:
|
||||
with no reviewer approvals, so a Jason-gated row could close without its
|
||||
reviewers. That move now carries the in-review→done checks on a comment
|
||||
round; the table and 8.9's receipts paragraph say so.
|
||||
- 2026-09-27: amended for lead decision 40 (Piece E questions). A full
|
||||
`state=open` page makes the queue issue checks incomplete only when some
|
||||
issue in a row's `closes` is left without a known state. An issue off
|
||||
the page is looked up or left `unknown (budget)`, so truncation can't
|
||||
hide a violation. 8.10's budget table and result list say so. Row 7
|
||||
stays in the queue until Jason closes it; Q9 and 2.A say so. Section 2's
|
||||
E text points to 8.10.
|
||||
|
||||
Reference in New Issue
Block a user