chore(tally): seal write qualification surface#56
Conversation
|
@codex review Please review the canary bootstrap gate for any path that could broaden write authority, weaken approval binding, or expose sensitive Tally data. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: ee7e1cd18a
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
Addressed all three P1 findings in I removed the proposed unknown-capability canary-bootstrap entry point rather than retain a partial authorization model. This restores the existing observed-capability requirement and leaves no bootstrap payload, enrollment bypass, or repeatable reservation path in the PR. The remaining change only seals the existing write crate and qualification tests into the compatibility surface. A future dispatcher will be introduced only with durable enrollment binding, an atomic per-fixture reservation, and a sealed immutable fixture payload. Validated with formatting, write-crate tests, clippy, the compatibility gate, and matrix markdown check. |
|
@codex review The three P1 bootstrap findings were removed rather than partially mitigated. Please review the current head |
|
Codex Review: Didn't find any major issues. Already looking forward to the next diff. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Summary
Why
The write truth layer is safety-critical. Binding its manifest, implementation, and tests into the compatibility surface makes unsanctioned drift fail the compatibility gate.
Validation
cargo fmt --all --checkcargo test --locked -p bridge-tally-writecargo clippy --locked -p bridge-tally-write --all-targets -- -D warningsMigration and rollback
No schema, command, transport, or live-write behavior changes. Revert the isolated compatibility-surface entries to roll back.
Security impact
No Tally traffic or write API is added. The observed-capability, explicit opt-in, synthetic-fixture, backup-acknowledgement, company-binding, and digest-approval gates remain unchanged. A future canary dispatcher must bind durable enrollment and an atomic per-fixture reservation before it may be introduced.
Review checklist