fix(docs): the order fields stand on all five surfaces (green)
/trekbrief Phase 7 says the writer adds order_id / order_claimed_at / order_reason (never typed by the model) and that the yardstick joins use on order_id; the fixture row lists them in `fields`, EXPORT_DENYLIST names them, and its stale line_ref (657-672) now reads 961-976; the allowlist header names them as dropped; docs/architecture.md Stats explains them. /trekbrief --approve now runs Phase 7 after a successful stamp, with fixed values (mode "approve", 0 turns, brief_quality/research_topics/auto_research from the brief's frontmatter, auto_result "manual", intent_approved true). Valgt fordi PM 04.10 (point 3): fix the code, not the criterion - the approval must leave the trekbrief record. Measured hole: okf-wiki v1-k has brief-approved 04.10 17:12Z and trekplan 17:29Z, but only a 03.10 trekbrief record with intent_approved false. CLAUDE.md, README.md and docs/command-modes.md say so. The manual path is unchanged. npm test 1309 -> 1362 (1360 pass / 0 fail / 2 skip). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
598ef1b694
commit
3f073b7bd7
7 changed files with 32 additions and 10 deletions
|
|
@ -134,6 +134,11 @@ written by `lib/stats/stats-append.mjs`, which falls back to
|
|||
`~/.claude/plugins/data/voyage-ktg-plugin-marketplace/`, the directory
|
||||
`scripts/yardstick.mjs` reads. A failed write is reported, not skipped.
|
||||
The other commands' stats phases still name the variable in prose only.
|
||||
A brief record also carries `order_id`, `order_claimed_at` and `order_reason`:
|
||||
the coord-queue order the run is working on, added by the writer from the
|
||||
queue's claimed orders (`lib/stats/claimed-order.mjs`), never by the model.
|
||||
`scripts/yardstick.mjs` joins its `use` number on `order_id`; the three fields
|
||||
are never exported.
|
||||
|
||||
## Terminology
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue