A record from the Factory repository, docs/factory-bet-digest-draft.json, shown as committed except that its local paths appear as placeholders in angle brackets, such as <local evidence archive>, standing for files that are not published. Every hash, date and count is as recorded. The build review says what the Factory's receipts support.
{
"component": "factory-bet-owner-digest-commands",
"base": "d73b06e",
"branch": "claude/w1-09-owner-digest-cli",
"packet": "W1-09-OWNER-DIGEST-CLI",
"disposition": "implemented-awaiting-independent-review",
"recordedAt": "2026-10-01T22:53:59.085Z",
"scope": "factory:bet owner-digest batch, digest and note over an existing journal: Factory OwnerDigest adapter with the clock fixed to --at, a strictly parsed signed commission, and the digest asks read from the ask ledger in the same journal",
"files": {
"scripts/factory-bet.ts": "59ce58d99cd9899d203420c108d7c32f0a1e0ba21aabeec828d9ab59920d9cdd",
"test/factory-bet-digest.test.ts": "838e04f4cf9937b82383741e4678a2fcdb0952dfaacd4055ca3fa38ac596b7ac",
"docs/how-to/run-factory-commands.md": "a43affa9bdc4694710d8057af34d6bee259eed02bbeb9f615037d28cfbe389c9",
"site/reference/how-to/run-factory-commands.html": "868c161edaaec3262f9be1cb36e5cfb14153fd6f0c1276013e25f2c14e923210",
"site/build-manifest.json": "df4b94b27afcbfa24bc0d793fe4ba726804dcebb4da22e8850ec44696d9a64cb"
},
"review": [
{
"round": 1,
"finding": "P1: a ledger record claiming an instant after --at (a later or future-dated answer, or a channel list recorded after --at) could give complete:true, 'none open' and 'Nothing needs you' from the ledger's later state",
"resolution": "digestAsks answers unknown (ASKS_UNKNOWN.ahead) when the ledger's lastRecordedAt is later than --at; coverage weeks end at --at; regression tests for an answer after --at, a future-dated answer and a live list after --at, and a replay that never rereads the ledger"
}
],
"decisions": {
"asks": "No ledger, a ledger whose time (lastRecordedAt, the latest instant any record claims) is later than --at, or a rehearsal ledger is unknown with a fixed reason; the ledger keeps only its latest state, so later answers, asks or channel lists would otherwise be read as the state at --at. Otherwise the subjects of open live asks, read through every listAsks page, with source owner-policy:ledger@<aggregate version>/channels/<revision>; a ledger that moves while read is CONTENDED (75).",
"complete": "True only when, in every week from the first live channel list to --at (the ledger time is then at or before --at), the ledger week coverage gives none of channel-not-writing, unlisted-channel or ledger-full, and every live list has every channel writing. A week also holding a rehearsal list counts that list too (only ever false). Over 104 weeks the answer is false (at least), never an exact count.",
"limit": "More than 1,000 open live asks (checkInput bound on asks.open) is LIMIT (75) before anything forms; nothing is recorded or shortened.",
"lazyAsks": "Asks are passed through a getter that the core reads only when forming a new digest, so quiet, not-due and replay answers never read or depend on the ledger.",
"foreignJournal": "UNSUPPORTED_SCHEMA now exits 66 (unavailable store) in every factory:bet domain; previously 70. Existing tests asserted only a non-zero exit."
},
"checks": [
{
"command": "node --test test/factory-bet-digest.test.ts (base scripts/factory-bet.ts from d73b06e)",
"result": "failed: the script provides no owner-digest exports or domain",
"log": "<local evidence archive>"
},
{
"command": "npm run typecheck",
"result": "passed",
"log": "<local evidence archive>"
},
{
"command": "node --test test/factory-bet-digest.test.ts test/factory-bet-cli.test.ts test/owner-digest*.test.ts",
"result": "75 passed, 0 failed/cancelled/skipped",
"log": "<local evidence archive>"
},
{
"command": "rm -rf site && npm run docs; node --test test/docs-site.test.ts test/documentation.test.ts",
"result": "135 pages built; 28 passed, 0 failed",
"log": "<local evidence archive>"
},
{
"command": "node --test --test-name-pattern='later than --at' test/factory-bet-digest.test.ts (with the lastRecordedAt guard removed)",
"result": "failed: asks recorded complete with none open, reproducing the finding"
},
{
"command": "npm run typecheck",
"result": "passed",
"log": "<local evidence archive>"
},
{
"command": "node --test test/factory-bet-digest.test.ts test/factory-bet-cli.test.ts test/owner-digest*.test.ts",
"result": "77 passed, 0 failed/cancelled/skipped",
"log": "<local evidence archive>"
},
{
"command": "rm -rf site && npm run docs; node --test test/docs-site.test.ts test/documentation.test.ts",
"result": "135 pages built; 28 passed, 0 failed",
"log": "<local evidence archive>"
}
],
"compatibility": {
"ownerDigest": "src/owner-digest*.ts unchanged; sf-owner-digest/2 and sf-digest-commission/1 unchanged",
"historicalReceipts": "docs/factory-bet-commands-receipt.json unmodified and now stale for scripts/factory-bet.ts, docs/how-to/run-factory-commands.md and the site"
},
"limits": [
"Implementation candidate awaiting independent Astra review; the implementer has not verified its own work",
"Fixture journals only: no run against <local Portfolio journal>, which would be a live append needing the owner commission",
"No full suite, distribution test or CI run here; the coordinator owns those",
"Nothing is sent, scheduled or delivered; no dashboard edit; no live provider, gh call or network effect",
"The 1,000-ask bound mirrors an unexported constant in src/owner-digest-core.ts and must move with it"
]
}
