Part of #1025 and blocks #1024.
Problem
The repository-dispatch publisher still fails before reserving a comment after #1026, while a read-only replay of its API-side checks against the same sealed #1024 metadata succeeds. The workflow intentionally collapses every exception to one generic line, so the remaining GitHub-hosted event/environment mismatch cannot be identified without repeated guesses.
Observed failed exact-default-branch publication runs: 35308727611 and metadata-only replay 35308957904. No comment/reservation was written. Source audit 35308536301 produced an exact-head Claude PASS and successful seal for PR #1024 head 942f1b37d7e1d3f1b404af792e7c41e3ace361f2.
Scope
- Give each publication refusal a stable, non-sensitive diagnostic code, or safely expose only allowlisted literal
Refused reasons. Continue collapsing all other exceptions to a generic internal refusal.
- Prove with AST/runtime tests that submitted payloads, paths, response bodies, tokens, URLs, identities and dynamic exception text can never enter the diagnostic.
- Preserve all fail-closed checks, source seals, exact-head checks, replay protection, receipt binding and comment cleanup.
- Keep source/tools helper bytes synchronized and package/release guards current.
- Use the diagnostic to identify and fix the remaining hosted mismatch if the evidence makes the correction unambiguous within this PR; otherwise stop after producing a precise bounded code for the next replay.
Acceptance
No provider rerun, Slack canary, deployment or package publication belongs to this issue. Reuse the already sealed #1024 metadata for the post-merge diagnostic replay.
Part of #1025 and blocks #1024.
Problem
The repository-dispatch publisher still fails before reserving a comment after #1026, while a read-only replay of its API-side checks against the same sealed #1024 metadata succeeds. The workflow intentionally collapses every exception to one generic line, so the remaining GitHub-hosted event/environment mismatch cannot be identified without repeated guesses.
Observed failed exact-default-branch publication runs:
35308727611and metadata-only replay35308957904. No comment/reservation was written. Source audit35308536301produced an exact-head Claude PASS and successful seal for PR #1024 head942f1b37d7e1d3f1b404af792e7c41e3ace361f2.Scope
Refusedreasons. Continue collapsing all other exceptions to a generic internal refusal.Acceptance
Refusedexceptions remain generic.No provider rerun, Slack canary, deployment or package publication belongs to this issue. Reuse the already sealed #1024 metadata for the post-merge diagnostic replay.