Repository navigation
fix(source-control): refuse publishing a contrary event with no discovered time - #12626
Conversation
…vered time publish() allowed the one-time legacy stamp but did not require it, so a contrary event could stay unstamped when collect() had no sidecar to read. Refuse it in publish(), write the tests' legacy fixtures directly, and test that a published re-earn cannot gain the legacy stamp. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VQb9Q296cDKeBR2kaZuHaV
…time refusal Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VQb9Q296cDKeBR2kaZuHaV
…fake HOME Check 95 runs with another HOME, and a version-manager shim for node fails there, so the refusal it reads never prints on a host that uses one. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VQb9Q296cDKeBR2kaZuHaV
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
claude-security-review reviewed Security review: PR #12626I found no security issues. I read the whole change in all 4 files:
None of the changed files matches a The PR context file has no embedded text telling the lane to pass the PR, skip a check, drop a finding or post elsewhere. This lane has no prior findings on this PR (round 0 of 3), so the round cap did not apply. critical-findings: 0 |
|
claude-review reviewed Code review: PR #12626, no findingsI read every hunk of all 4 changed files. To check the change against its callers I also read Closing issue #12450, acceptance criteria
Other changes
Note, not counted as a finding: the Spend: none. This change adds no lane runs, turns, model choice or billing. |
Closes #12450
Summary
The promotion-evidence publisher allowed the one-time legacy
discoveredstamp but did not require it, so a contrary event could stay unstamped whencollect()had no sidecar to read.publish()now refuses that itself.Fix
publish()refuses any non-re-earned event whosediscoveredis missing or does not parse, before it reads or writes anything.publish()no longer writes them.telemetry-upsert.test.shcheck 95 failed on any host whosenodeis a version-manager shim, because it runs under a fakeHOME. Itsnodestub now keeps the realHOME. This blocked the verify gate for every change to this skill on such a host.Verification
publish-promotion-evidence.test.sh: 85 of 85 pass, with two new tests.scripts/promotion-evidence-e2e.test.sh: 39 of 39 pass.resolve-promotion-evidence.test.sh: 45 of 45 pass.event?.event !== "re-earned"clause fails only the new re-earn test (84 pass, 1 fail).Related
Refs #12394, #12434.
🤖 Generated with Claude Code
https://claude.ai/code/session_01VQb9Q296cDKeBR2kaZuHaV