Repository navigation
xtask gate call-binding: #74 per-call binding, blocking (row in-process RED until #1027) - #1029
Draft
MattJackson wants to merge 1 commit into
Draft
MattJackson wants to merge 1 commit into
MattJackson wants to merge 1 commit into
Conversation
- call-binding:in-process: the unit loop (teller, its impl Kernel token vending aside, and the plane driver's probe) mints no unbound Pass/Grant (named by line); the loop opens the call (next_call), a stage compares it (bound_to), the money cell refuses another call's grant (CallMismatch). - call-binding:abi-handle: no host entry reads a plugin's context as an address; each resolves it through handle::resolve; resolve_in verifies in constant time, refuses revoked and (in a crossing) another instance's entry, and counts a forgery. - call-binding:ticket: worker and inline generations are the keyed permutation of the slot's counter, a mismatched wake is judged by the inverse and blamed on its supplier (worker, inline, and a worker no one runs), a spent counter retires its slot. - selftest: an unbound pass planted on the probe, a host entry reading ctx.ptr, a wake judged without the inverse; unit tests for the mint finder and the impl Kernel exclusion.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
DRAFT, BLOCKING, stacked on #1018 (rule 19). This is the DoD gate-battery entry "Pass/Grant per-call binding (#74)" (BUSBAR-1.6.0.md l.2908).
cargo xtask gate call-bindingreads three rows as lexed code:call-binding:in-processPass/Grant; each one is reported by line. "The loop" means teller production code, minus itsimpl Kerneltoken vending, plus the plane driver's probe. The loop opens the call (next_call), a stage compares it (bound_to), andHoldCell::admitrefuses another call's grant (CallMismatch).call-binding:abi-handlehandle::resolve.resolve_incompares the tag in constant time, refuses a revoked entry, refuses another instance's entry inside a crossing, and counts a forgery.call-binding:ticketjudge_forgeries,Pool::wake, inline). A spent counter retires its slot (next_count).State in this draft. On this branch (#1018, without the in-process binding),
call-binding:in-processis RED by design: the teller's unbound mints are named by line. It goes green when the$binding #1027 lands on predev and predev is merged in here. #1027 is not merged into this head (rule 15: money lands alone). For the same reason, selftest case (a) reports Impossible (its baseline is already red) until then.abi-handleandticketare green on #1018.Selftest:
plane_driver/probe.rs:1:.ctx.ptris RED.ever_minted.Unit tests cover the mint finder (turbofish, bare, nested generics,
mint_boundignored), theimpl Kernelexclusion, and the production-text cut.No CI yet (ModernCI outage); no laptop builds.