You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
scenarios fixture: builds/travel_expense.provenance.jsoncardSha256 is stale after #36320 (card a8a67be3…, provenance 29162eef…) #36491
fix(scenarios): scorer and card defects from the 18.6.0 gallery refresh #36320 (bd22740e) changed one seed date (as_118_2.decided_on, 2026-11-02 → 2026-10-31). That moved the card to a8a67be363e9f0941b9998ae609ae37626d61f07cde87fd8a26f5fa36851af2f, and it did not refresh docs/qa/scenarios/builds/travel_expense.provenance.json.
Effect today: none on the reading. The runner does not read cardSha256, ask mode does not use the build prompt, and the seed loaded 757/757. But every daily record from now on reports a provenance that names a card the fixture is not graded on.
Fix: refresh cardSha256 by PR, because fixtures change only by PR (scenario-eval §5). Optionally, have the loader or summary warn when a template's provenance cardSha256 differs from the card it runs against, so the next card edit cannot leave it stale.
Triage: lands in packages/qa/scenarios (fixture provenance) · pm:queue; rationale: area:ai · Task · builds/travel_expense.provenance.jsoncardSha256 is stale after #36320 → p3 as filed · size XS. Linked under the eval epic #35154.
Claim: PM loop round 8 · 2026-11-25T17:44Z · p3 step-down (seat: no dispatchable area:ai p1/p2 in scope)
Area: a4-A
Session: session_01QSeKYo86w1wqy2z2fMrryr
Account: os-justin
Branch: claude/issue-36491-travel-provenance-card-sha
Worktree: objectstack-issue-36491
Domain: domain:devx
Seat: repo:objectstack#4
File surface: docs/qa/scenarios/builds/travel_expense.provenance.json; optionally the provenance warning in packages/qa/scenarios/src/** (loader or summary) with its pin under packages/qa/scenarios/test/**, its README line and one .changeset/*.md (@objectstack/scenarios patch)
Container & model: S, mode:subagent, model: TIER_DEFAULT (dispatch-gates --tier: no path-derived mandate), effort: medium
Clause-②: no
Metadata-protocol: none
Responsibility: n/a — not a defect card
Thread-read: 7080840702
Premise: holds, and moved (main dbc1765: travel_expense.json sha256 212abedb6b59… after #36617 changed the card again; builds/travel_expense.provenance.json still names 29162eef…)
Serial constraints cleared: no open PR touches docs/qa/scenarios/builds or packages/qa/scenarios (open PRs read at dbc1765a24); overlap-check at push
Pre-claim lane: domain:devx — packages/qa/scenarios/**, docs/qa/scenarios/**
Pre-claim deps: none named on the card
Prior rulings read: scenario-eval skill §5 (fixtures change only by PR)
Dispatched · 2026-11-25T17:45Z · mode:subagent (model at TIER_DEFAULT, effort medium), branch claude/issue-36491-travel-provenance-card-sha, under claim 7169945816. Delivery: refresh the stale cardSha256 (now 212abedb… on main after #36617), check the other build provenances, the optional mismatch warning if small, a draft PR and an os-dev-report comment here.
{
"issue": 36491,
"status": "done",
"branch": "claude/issue-36491-travel-provenance-card-sha",
"pr": "https://github.com/objectstack-ai/objectstack/pull/37339",
"head": "0d4f42ec49",
"session": "session_01QSeKYo86w1wqy2z2fMrryr",
"premise_still_valid": true,
"summary": "Refreshed builds/travel_expense.provenance.json cardSha256 from 29162eefb46055941a0263686c2853246b4c408d41acb90c6abe22f68886a768 to 212abedb6b59a5ac0c6921c25bdcc4dc057cbc25e866a9cd2ed962920368a00d. The value is the sha256 of the card file's raw bytes on dbc1765a24, the same hash the loader computes (loader.ts fileSha256) and run records stamp (CardStamp). There is no canonical form. The issue named a8a67be3; the card moved twice more after that (#36503, #36617). Provenance check: the build was authored from card 9d0c7dad. Between that card and the current one only the prompt and run keys differ; expect and iterate are byte-identical. A scratch scoreGraph re-score of the build gives 61/61 against both the 29162eef card and the current card, so the verified scores still hold. built/author describe a run against an older prompt, and the PR says so in Acceptance notes. builds/ has only one provenance, so there were no others to fix. Guard added: run --template F prints 'warning: template provenance: ...' before the card runs when F.provenance.json names the same card with another cardSha256, names none, or is not JSON. It never refuses the run. The guard is templateProvenanceWarning in src/runner/cli.ts, outside the ./runner export, so the published import surface is unchanged and the claim's Clause-② no still holds. Pin test: test/runner/template-provenance.test.ts (6 cases). README gets one sentence. A @objectstack/scenarios patch changeset carries Clause-② no and Metadata-protocol none. The PR body opens with Fixes #36491; the dispatch said Closes, and os-dev.md says Fixes.",
"tests": "os-verify-lock pnpm --filter @objectstack/scenarios build && typecheck && test on af13a9a6a5 (final src/test tree): VERDICT command-exit 0; Test Files 43 passed (43), Tests 1342 passed (1342). Ablation, committed first: ablation-replace swapped 'if (provenance.cardSha256 === card.sha256) return undefined;' for 'return undefined;' (anchor 1 -> 0, blob 7e5cbb4d8047 -> 6dc167ea53ac). template-provenance.test.ts went 2 failed / 4 passed, the two warning cases red. Restored with git checkout HEAD --; git diff HEAD is empty and the blob hash matches HEAD. Earlier reverse check on a dropped fixture-pin test: putting the old 29162eef value back turned it red (expected 29162eef... to be 212abedb...).",
"gates": "dispatch-gates --commands on af13a9a6a5: exit 0, 65 commands, all run. --ran reconciliation: exit 0, 65 derived, 65 run, 0 UNRUN. 63 exit 0. check:dual-build-cjs-loads exit 3 PREREQUISITE NOT MET (needs a whole-workspace dist), so NOT MEASURED locally and CI owns it. check:dts-closure exit 1 in the batch because plugin-audit's dist was half-built in this shared tree; it exits 0 after pnpm --filter @objectstack/plugin-audit build. check:cross-package-test-inputs exit 0 on the final tree; it was red on a dropped fixture-pin version. On 0d4f42ec49 (changeset lines only) check-changeset-no-major, check-empty-changeset, check-adr-0087-registration, check:changeset-gate-self-tests and check:nul-bytes all exit 0. overlap-check before both pushes: VERDICT clean exit 0. #37314's file list does not intersect this diff. PR check-runs: in_progress when this report was written, not waited on.",
"dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
"mcp_calls": "0",
"api_writes": "2 relay writes: fleet-write pr_create (POST pulls, draft forced, plus the assignees leg, read back identical, #37339), and this os-dev-report comment through post-stamped. git push is not counted.",
"open_questions": [
{ "question": "What does provenance cardSha256 mean: the card the build was authored from, or the card the fixture is current against? #35764 and #36065 refreshed it on card edits with the build unchanged. #36617's body reads it as the card at build time.", "options": ["A: the card the fixture is current against (current practice, this PR); refresh it on every card edit that leaves expect/iterate unchanged", "B: the card at authoring (9d0c7dad); never refresh it, and give the run-time pairing its own field"], "recommendation": "A, with a one-line definition in docs/qa/scenarios/README.md Verified builds. It needs a docs PR because that file is outside this claim." },
{ "question": "Should CI pin each committed provenance's cardSha256 to its card so a stale edit fails in the PR that made it? I wrote such a test. check:cross-package-test-inputs needs the radius docs/qa/scenarios/builds/*.json declared in scripts/cross-package-test-inputs.mjs and in the root turbo.json @objectstack/scenarios#test inputs, both outside this claim's file surface, so I dropped the test.", "options": ["A: a follow-up card with those two declaration lines plus the fixture test", "B: keep only the run-time warning"], "recommendation": "A. It is about 25 lines, and it turns the warning into a PR-time failure." }
],
"security_findings": "none",
"out_of_scope_findings": [
"carrier: PR #37314 · it changes docs/qa/scenarios/builds/travel_expense.json (protocol ^18 to ^19) without touching travel_expense.provenance.json. After it lands, the provenance sha256 4ab7e603 no longer matches the build file and no amended entry records the change · noted, not filed"
],
"deviations": "The PR body opens with Fixes #36491 (os-dev.md), not Closes. I dropped the fixture-reading pin to stay in the file surface; an edit to scripts/cross-package-test-inputs.mjs was refused by the permission classifier, I did not retry it, and nothing was written. test:repo was not run locally (CI)."
}
Closed by PR #37339 (L1 ACCEPT 7171970057), merged as a182fbe377: builds/travel_expense.provenance.jsoncardSha256 now names the current card (212abedb…), and run --template F warns when F.provenance.json names another card hash than the card the run grades (a warning, never a refusal). cardSha256 means the card the fixture is current against; no CI pin card (seat). The build sha256 goes stale again when #37314 lands; that PR's dev refreshes it there. pm:dispatched removed.
Activity
objectstack-fleet commentedon Nov 22, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in
packages/qa/scenarios(fixture provenance) ·pm:queue; rationale: area:ai · Task ·builds/travel_expense.provenance.jsoncardSha256is stale after #36320 → p3 as filed · size XS. Linked under the eval epic #35154.objectstack-fleet commentedon Nov 25, 2026
repo:objectstack#4 · os-justin · session_01QSeKYo86w1wqy2z2fMrryr
Claim: PM loop round 8 · 2026-11-25T17:44Z · p3 step-down (seat: no dispatchable area:ai p1/p2 in scope)
Area: a4-A
Session:
session_01QSeKYo86w1wqy2z2fMrryrAccount:
os-justinBranch:
claude/issue-36491-travel-provenance-card-shaWorktree:
objectstack-issue-36491Domain:
domain:devxSeat:
repo:objectstack#4File surface:
docs/qa/scenarios/builds/travel_expense.provenance.json; optionally the provenance warning inpackages/qa/scenarios/src/**(loader orsummary) with its pin underpackages/qa/scenarios/test/**, its README line and one.changeset/*.md(@objectstack/scenariospatch)Container & model:
S,mode:subagent,model: TIER_DEFAULT (dispatch-gates --tier: no path-derived mandate),effort: mediumClause-②: no
Metadata-protocol: none
Responsibility:
n/a — not a defect cardThread-read: 7080840702
Premise: holds, and moved (main dbc1765:
travel_expense.jsonsha256212abedb6b59…after #36617 changed the card again;builds/travel_expense.provenance.jsonstill names29162eef…)Serial constraints cleared:
no open PR touches docs/qa/scenarios/builds or packages/qa/scenarios (open PRs read at dbc1765a24); overlap-check at pushPre-claim lane:
domain:devx—packages/qa/scenarios/**,docs/qa/scenarios/**Pre-claim deps: none named on the card
Prior rulings read:
scenario-evalskill §5 (fixtures change only by PR)objectstack-fleet commentedon Nov 25, 2026
repo:objectstack#4 · os-justin · session_01QSeKYo86w1wqy2z2fMrryr
Dispatched · 2026-11-25T17:45Z ·
mode:subagent(model at TIER_DEFAULT, effort medium), branchclaude/issue-36491-travel-provenance-card-sha, under claim 7169945816. Delivery: refresh the stalecardSha256(now212abedb…on main after #36617), check the other build provenances, the optional mismatch warning if small, a draft PR and anos-dev-reportcomment here.objectstack-fleet commentedon Nov 25, 2026
repo:objectstack#4 · os-justin · session_01QSeKYo86w1wqy2z2fMrryr
os-dev-report
{ "issue": 36491, "status": "done", "branch": "claude/issue-36491-travel-provenance-card-sha", "pr": "https://github.com/objectstack-ai/objectstack/pull/37339", "head": "0d4f42ec49", "session": "session_01QSeKYo86w1wqy2z2fMrryr", "premise_still_valid": true, "summary": "Refreshed builds/travel_expense.provenance.json cardSha256 from 29162eefb46055941a0263686c2853246b4c408d41acb90c6abe22f68886a768 to 212abedb6b59a5ac0c6921c25bdcc4dc057cbc25e866a9cd2ed962920368a00d. The value is the sha256 of the card file's raw bytes on dbc1765a24, the same hash the loader computes (loader.ts fileSha256) and run records stamp (CardStamp). There is no canonical form. The issue named a8a67be3; the card moved twice more after that (#36503, #36617). Provenance check: the build was authored from card 9d0c7dad. Between that card and the current one only the prompt and run keys differ; expect and iterate are byte-identical. A scratch scoreGraph re-score of the build gives 61/61 against both the 29162eef card and the current card, so the verified scores still hold. built/author describe a run against an older prompt, and the PR says so in Acceptance notes. builds/ has only one provenance, so there were no others to fix. Guard added: run --template F prints 'warning: template provenance: ...' before the card runs when F.provenance.json names the same card with another cardSha256, names none, or is not JSON. It never refuses the run. The guard is templateProvenanceWarning in src/runner/cli.ts, outside the ./runner export, so the published import surface is unchanged and the claim's Clause-② no still holds. Pin test: test/runner/template-provenance.test.ts (6 cases). README gets one sentence. A @objectstack/scenarios patch changeset carries Clause-② no and Metadata-protocol none. The PR body opens with Fixes #36491; the dispatch said Closes, and os-dev.md says Fixes.", "tests": "os-verify-lock pnpm --filter @objectstack/scenarios build && typecheck && test on af13a9a6a5 (final src/test tree): VERDICT command-exit 0; Test Files 43 passed (43), Tests 1342 passed (1342). Ablation, committed first: ablation-replace swapped 'if (provenance.cardSha256 === card.sha256) return undefined;' for 'return undefined;' (anchor 1 -> 0, blob 7e5cbb4d8047 -> 6dc167ea53ac). template-provenance.test.ts went 2 failed / 4 passed, the two warning cases red. Restored with git checkout HEAD --; git diff HEAD is empty and the blob hash matches HEAD. Earlier reverse check on a dropped fixture-pin test: putting the old 29162eef value back turned it red (expected 29162eef... to be 212abedb...).", "gates": "dispatch-gates --commands on af13a9a6a5: exit 0, 65 commands, all run. --ran reconciliation: exit 0, 65 derived, 65 run, 0 UNRUN. 63 exit 0. check:dual-build-cjs-loads exit 3 PREREQUISITE NOT MET (needs a whole-workspace dist), so NOT MEASURED locally and CI owns it. check:dts-closure exit 1 in the batch because plugin-audit's dist was half-built in this shared tree; it exits 0 after pnpm --filter @objectstack/plugin-audit build. check:cross-package-test-inputs exit 0 on the final tree; it was red on a dropped fixture-pin version. On 0d4f42ec49 (changeset lines only) check-changeset-no-major, check-empty-changeset, check-adr-0087-registration, check:changeset-gate-self-tests and check:nul-bytes all exit 0. overlap-check before both pushes: VERDICT clean exit 0. #37314's file list does not intersect this diff. PR check-runs: in_progress when this report was written, not waited on.", "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm", "mcp_calls": "0", "api_writes": "2 relay writes: fleet-write pr_create (POST pulls, draft forced, plus the assignees leg, read back identical, #37339), and this os-dev-report comment through post-stamped. git push is not counted.", "open_questions": [ { "question": "What does provenance cardSha256 mean: the card the build was authored from, or the card the fixture is current against? #35764 and #36065 refreshed it on card edits with the build unchanged. #36617's body reads it as the card at build time.", "options": ["A: the card the fixture is current against (current practice, this PR); refresh it on every card edit that leaves expect/iterate unchanged", "B: the card at authoring (9d0c7dad); never refresh it, and give the run-time pairing its own field"], "recommendation": "A, with a one-line definition in docs/qa/scenarios/README.md Verified builds. It needs a docs PR because that file is outside this claim." }, { "question": "Should CI pin each committed provenance's cardSha256 to its card so a stale edit fails in the PR that made it? I wrote such a test. check:cross-package-test-inputs needs the radius docs/qa/scenarios/builds/*.json declared in scripts/cross-package-test-inputs.mjs and in the root turbo.json @objectstack/scenarios#test inputs, both outside this claim's file surface, so I dropped the test.", "options": ["A: a follow-up card with those two declaration lines plus the fixture test", "B: keep only the run-time warning"], "recommendation": "A. It is about 25 lines, and it turns the warning into a PR-time failure." } ], "security_findings": "none", "out_of_scope_findings": [ "carrier: PR #37314 · it changes docs/qa/scenarios/builds/travel_expense.json (protocol ^18 to ^19) without touching travel_expense.provenance.json. After it lands, the provenance sha256 4ab7e603 no longer matches the build file and no amended entry records the change · noted, not filed" ], "deviations": "The PR body opens with Fixes #36491 (os-dev.md), not Closes. I dropped the fixture-reading pin to stay in the file surface; an edit to scripts/cross-package-test-inputs.mjs was refused by the permission classifier, I did not retry it, and nothing was written. test:repo was not run locally (CI)." }Generated by Claude Code
objectstack-fleet commentedon Nov 25, 2026
repo:objectstack#4 · os-justin · session_01QSeKYo86w1wqy2z2fMrryr
Closed by PR #37339 (L1 ACCEPT 7171970057), merged as
a182fbe377:builds/travel_expense.provenance.jsoncardSha256now names the current card (212abedb…), andrun --template Fwarns whenF.provenance.jsonnames another card hash than the card the run grades (a warning, never a refusal).cardSha256means the card the fixture is current against; no CI pin card (seat). The buildsha256goes stale again when #37314 lands; that PR's dev refreshes it there.pm:dispatchedremoved.