Skip to content

chore(tally): seal write qualification surface#56

Merged
lamemustafa merged 2 commits into
masterfrom
tapish-codex/feat-tally-canary-dispatch
Jul 22, 2026
Merged

chore(tally): seal write qualification surface#56
lamemustafa merged 2 commits into
masterfrom
tapish-codex/feat-tally-canary-dispatch

Conversation

@lamemustafa

@lamemustafa lamemustafa commented Jul 22, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add the Tally write crate, its source, and its qualification tests to the sealed compatibility surface.
  • Correct the earlier bootstrap experiment before merge: ordinary synthetic writes remain strictly gated on an observed capability.

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 --check
  • cargo test --locked -p bridge-tally-write
  • cargo clippy --locked -p bridge-tally-write --all-targets -- -D warnings
  • Compatibility gate and matrix markdown check

Migration 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

@lamemustafa
lamemustafa marked this pull request as ready for review July 22, 2026 20:06

Copy link
Copy Markdown
Owner Author

@codex review

Please review the canary bootstrap gate for any path that could broaden write authority, weaken approval binding, or expose sensitive Tally data.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment thread src-tauri/crates/bridge-tally-write/src/lib.rs Outdated
Comment thread src-tauri/crates/bridge-tally-write/src/lib.rs Outdated
Comment thread src-tauri/crates/bridge-tally-write/src/lib.rs Outdated
@lamemustafa lamemustafa changed the title feat(tally): gate first synthetic canary bootstrap chore(tally): seal write qualification surface Jul 22, 2026

Copy link
Copy Markdown
Owner Author

Addressed all three P1 findings in 1476d16.

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.

Copy link
Copy Markdown
Owner Author

@codex review

The three P1 bootstrap findings were removed rather than partially mitigated. Please review the current head 1476d16 and final two-file diff.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Already looking forward to the next diff.

Reviewed commit: 1476d166bd

ℹ️ 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".

@lamemustafa
lamemustafa merged commit ace9d3e into master Jul 22, 2026
9 checks passed
@lamemustafa
lamemustafa deleted the tapish-codex/feat-tally-canary-dispatch branch July 22, 2026 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant