Files
troupe-standup/wizard-work/ledger/workqueue-census-v2/README.md
T

50 lines
2.1 KiB
Markdown

# Work queue census v2
Corrected, complete census of every numbered work-queue item in
`WORK-QUEUE.md`, extracted for the **Extract** lane (data extraction and
tables).
## What this is
One row per `## Q<n> ...` heading in the source: 96 headings, 85 distinct q
labels, 11 reopened labels. Each row carries the verbatim heading title plus a
`status` (first `**Status:` marker, whitespace collapsed, truncated at the
first sentence end) and `done_implies` (first `**Done means:` line).
## Artifacts (in this directory)
| File | Purpose |
|---|---|
| `workqueue-census.tsv` | Tab-separated table of all 96 rows (artifact of record). |
| `workqueue-census.md` | Markdown table of the same rows. |
| `extract_manifest.json` | Schema + counts + provenance. `extracted_at_utc` is the measured run moment, not a constant. |
| `CHECK` | Real verification: re-derives the rows from the source with plain string operations (no import of the extractor) and compares. Exits 0 only if correct. |
| `extract_workqueue.py` | The extractor that produced the TSV/MD/manifest. |
## Verification
`bash CHECK` re-derives the expected rows from `WORK-QUEUE.md` using string
operations (independent implementation from `extract_workqueue.py`), then
compares qid + title against the committed TSV, recomputes the manifest's
counts, checks `extracted_at_utc` is measured and recent, and checks for
delimiter corruption. It exits 0 only if every check passes.
## Why a new census
The earlier `2026-10-28-workqueue-census/` failed its own contract:
1. Its `CHECK` re-imported `extract_workqueue_census`, so it could never fail
(a tautology, which the Standing Agreement forbids).
2. Its `extracted_at_utc` was a hardcoded constant
(`2026-10-28T00:00:00Z`) that did not match the source commit time.
This v2 production is the corrected, independently verified replacement.
## Evidence
- Source: `/root/troupe-standup/WORK-QUEUE.md` (repo root, HEAD).
- Extracted: `2026-10-28T18:31:34Z` UTC (measured at generation).
- Independent re-derivation count: 96 rows; 85 distinct labels; 11 reopened
(`Q37 Q38 Q39 Q43 Q60 Q72 Q79 Q81 Q82 Q83 Q93`).
- CHECK exit code: 0.