2026-07-31 00:13:55 +02:00
|
|
|
# Work Records — clay-borg
|
|
|
|
|
|
|
|
|
|
> Generated by `statehub fix-consistency` (CUST-WP-0061-T04, work-record
|
|
|
|
|
> stage 3). Do not edit by hand — edit the source file/block listed for
|
|
|
|
|
> each record and re-run fix-consistency to refresh this index. Archived
|
|
|
|
|
> workplans are omitted; closed decisions/intakes/engagements stay listed
|
|
|
|
|
> so recently-resolved work is still visible. [auto]
|
|
|
|
|
|
|
|
|
|
| Kind | ID | Status | Lane | Source |
|
|
|
|
|
| --- | --- | --- | --- | --- |
|
Amend CB-EV-0001; add CB-WP-0002 for cost accounting
AM-4: measured what each remediation option actually buys, rather than
leaving one recommendation unquantified. serde_yaml optional removes 6
crates, not 5 — ryu belongs to that group, since serde_json now uses
zmij for floats. Full ladder: -6 to 27, serde_json -4 more to 23,
inlining SHA-256 -8 to 19, inlining ChaCha12 -4 to 15. Only
reimplementing a primitive gets under 20, so the target is unreachable
without undoing K5/K7.
Also records that crate count compares badly across ecosystems, and
offers the alternative the count is a proxy for: 307,317 lines of
third-party source under audit against 3,398 of our own.
AM-12: corrected from "uncomputable" to measured. The refusal to
estimate was right; the claim that no instrument existed was wrong.
Session transcripts carry exact per-message usage including the cache
breakdown. This session cost $248.46 at Fable 5 rates, of which 53% is
cache reads — cost is driven by context size times turn count, not by
output volume. What is still missing is per-task attribution, since
nothing marks task boundaries in a transcript.
CB-WP-0002 makes cost measurable and attributable: survey the
instruments, decide the attribution model by ADR, spec metrics that
include cost composition rather than a bare total, build a collector
whose positive control refuses to emit unreconciled numbers, and prove
it by answering a question that could not be answered before.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-07-31 03:26:03 +02:00
|
|
|
| workplan | CB-WP-0001 | done | — | workplans/CB-WP-0001-inner-loop.md |
|
AM-4: gate scenario YAML, retarget on audited source, re-measure
Adopts both remediations from CB-EV-0001 §4 (maintainer decision).
Option A — serde_yaml is now optional behind cb-game-runtime's
`scenarios` feature. The scenario module, the ScenarioGame impl and the
string parsers behind it are cfg-gated; cb-sim opts in explicitly. Both
configurations compile and lint clean under -D warnings.
A trap worth recording: `default-features = false` on a *member*
dependency is silently ignored when the workspace dependency does not
specify it. The first attempt gated nothing while looking correct — the
build succeeded and cargo tree still showed all six YAML crates. Fixed
by setting it on the workspace dependency. This is the positive-control
failure mode in miniature: success was not evidence the change applied.
Retarget — AM-4 now measures third-party source under audit, split by
build configuration, replacing a crate count that was unreachable
without undoing K5/K7 and that does not compare across ecosystems.
Re-measured via the new `make dep-weight`, whose own positive control
refuses to report when any crate's source cannot be located:
shipped runtime 23 crates 246,250 lines target <=250,000 met
dev toolchain 29 crates 317,021 lines target <=350,000 met
own source 3,408 lines
Scenario tooling costs 70,771 lines a shipped game never compiles —
the split the single number was hiding.
Targets are set at current measurement plus headroom, so they bind on
future growth rather than retroactively passing what had failed.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-07-31 03:35:41 +02:00
|
|
|
| workplan | CB-WP-0002 | proposed | — | workplans/CB-WP-0002-cost-accounting.md |
|
2026-07-31 04:17:59 +02:00
|
|
|
| workplan | CB-WP-0003 | proposed | — | workplans/CB-WP-0003-loop-hardening.md |
|
2026-07-31 00:48:22 +02:00
|
|
|
| task | CB-WP-0001-T01 | done | — | workplans/CB-WP-0001-inner-loop.md |
|
|
|
|
|
| task | CB-WP-0001-T02 | done | — | workplans/CB-WP-0001-inner-loop.md |
|
Amend CB-EV-0001; add CB-WP-0002 for cost accounting
AM-4: measured what each remediation option actually buys, rather than
leaving one recommendation unquantified. serde_yaml optional removes 6
crates, not 5 — ryu belongs to that group, since serde_json now uses
zmij for floats. Full ladder: -6 to 27, serde_json -4 more to 23,
inlining SHA-256 -8 to 19, inlining ChaCha12 -4 to 15. Only
reimplementing a primitive gets under 20, so the target is unreachable
without undoing K5/K7.
Also records that crate count compares badly across ecosystems, and
offers the alternative the count is a proxy for: 307,317 lines of
third-party source under audit against 3,398 of our own.
AM-12: corrected from "uncomputable" to measured. The refusal to
estimate was right; the claim that no instrument existed was wrong.
Session transcripts carry exact per-message usage including the cache
breakdown. This session cost $248.46 at Fable 5 rates, of which 53% is
cache reads — cost is driven by context size times turn count, not by
output volume. What is still missing is per-task attribution, since
nothing marks task boundaries in a transcript.
CB-WP-0002 makes cost measurable and attributable: survey the
instruments, decide the attribution model by ADR, spec metrics that
include cost composition rather than a bare total, build a collector
whose positive control refuses to emit unreconciled numbers, and prove
it by answering a question that could not be answered before.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-07-31 03:26:03 +02:00
|
|
|
| task | CB-WP-0001-T03 | done | — | workplans/CB-WP-0001-inner-loop.md |
|
|
|
|
|
| task | CB-WP-0001-T04 | done | — | workplans/CB-WP-0001-inner-loop.md |
|
|
|
|
|
| task | CB-WP-0001-T05 | done | — | workplans/CB-WP-0001-inner-loop.md |
|
|
|
|
|
| task | CB-WP-0001-T06 | done | — | workplans/CB-WP-0001-inner-loop.md |
|
|
|
|
|
| task | CB-WP-0001-T07 | done | — | workplans/CB-WP-0001-inner-loop.md |
|
|
|
|
|
| task | CB-WP-0001-T08 | done | — | workplans/CB-WP-0001-inner-loop.md |
|
|
|
|
|
| task | CB-WP-0001-T09 | done | — | workplans/CB-WP-0001-inner-loop.md |
|
AM-4: gate scenario YAML, retarget on audited source, re-measure
Adopts both remediations from CB-EV-0001 §4 (maintainer decision).
Option A — serde_yaml is now optional behind cb-game-runtime's
`scenarios` feature. The scenario module, the ScenarioGame impl and the
string parsers behind it are cfg-gated; cb-sim opts in explicitly. Both
configurations compile and lint clean under -D warnings.
A trap worth recording: `default-features = false` on a *member*
dependency is silently ignored when the workspace dependency does not
specify it. The first attempt gated nothing while looking correct — the
build succeeded and cargo tree still showed all six YAML crates. Fixed
by setting it on the workspace dependency. This is the positive-control
failure mode in miniature: success was not evidence the change applied.
Retarget — AM-4 now measures third-party source under audit, split by
build configuration, replacing a crate count that was unreachable
without undoing K5/K7 and that does not compare across ecosystems.
Re-measured via the new `make dep-weight`, whose own positive control
refuses to report when any crate's source cannot be located:
shipped runtime 23 crates 246,250 lines target <=250,000 met
dev toolchain 29 crates 317,021 lines target <=350,000 met
own source 3,408 lines
Scenario tooling costs 70,771 lines a shipped game never compiles —
the split the single number was hiding.
Targets are set at current measurement plus headroom, so they bind on
future growth rather than retroactively passing what had failed.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-07-31 03:35:41 +02:00
|
|
|
| task | CB-WP-0002-T01 | todo | — | workplans/CB-WP-0002-cost-accounting.md |
|
|
|
|
|
| task | CB-WP-0002-T02 | todo | — | workplans/CB-WP-0002-cost-accounting.md |
|
|
|
|
|
| task | CB-WP-0002-T03 | todo | — | workplans/CB-WP-0002-cost-accounting.md |
|
|
|
|
|
| task | CB-WP-0002-T04 | todo | — | workplans/CB-WP-0002-cost-accounting.md |
|
|
|
|
|
| task | CB-WP-0002-T05 | todo | — | workplans/CB-WP-0002-cost-accounting.md |
|
|
|
|
|
| task | CB-WP-0002-T06 | todo | — | workplans/CB-WP-0002-cost-accounting.md |
|
|
|
|
|
| task | CB-WP-0002-T07 | todo | — | workplans/CB-WP-0002-cost-accounting.md |
|
2026-07-31 04:17:59 +02:00
|
|
|
| task | CB-WP-0003-T01 | todo | — | workplans/CB-WP-0003-loop-hardening.md |
|
|
|
|
|
| task | CB-WP-0003-T02 | todo | — | workplans/CB-WP-0003-loop-hardening.md |
|
|
|
|
|
| task | CB-WP-0003-T03 | todo | — | workplans/CB-WP-0003-loop-hardening.md |
|
|
|
|
|
| task | CB-WP-0003-T04 | todo | — | workplans/CB-WP-0003-loop-hardening.md |
|
|
|
|
|
| task | CB-WP-0003-T05 | todo | — | workplans/CB-WP-0003-loop-hardening.md |
|
|
|
|
|
| task | CB-WP-0003-T06 | todo | — | workplans/CB-WP-0003-loop-hardening.md |
|
|
|
|
|
| task | CB-WP-0003-T07 | todo | — | workplans/CB-WP-0003-loop-hardening.md |
|
|
|
|
|
| task | CB-WP-0003-T08 | todo | — | workplans/CB-WP-0003-loop-hardening.md |
|
|
|
|
|
| task | CB-WP-0003-T09 | todo | — | workplans/CB-WP-0003-loop-hardening.md |
|
|
|
|
|
| task | CB-WP-0003-T10 | todo | — | workplans/CB-WP-0003-loop-hardening.md |
|