Repository navigation
feat(grid): ai/generate ACL = Provisional — unblock cross-grid inference - #1649
Merged
Merged
Conversation
…nce without manual trust Cross-grid inference (AircRemoteInferenceAdapter dispatches `ai/generate`, KIND_PEER, to a persona-provider's peer) was DENIED for any non-Owner peer: grid/acl.rs had only Owner-explicit rules + an Owner wildcard, so a remote consumer (IntelMac, future nodes) could only call it after a per-machine `grid/trust <peer> Owner` elevation — the manual-step-outside-the-substrate anti-pattern. Add one durable rule: `ai/generate` requires Provisional (more specific than the `""` Owner wildcard, so it wins). Now every enrolled grid consumer is admitted by POLICY, not manual elevation; Owner still satisfies it (Owner >= Provisional); Blocked/Untrusted still denied; sibling sensitive commands (data/delete, etc.) stay Owner-only. This is the same ACL spot the future capability-discovery handshake will gate. This is the L1 cross-grid-inference floor's auth slice (agreed with BIGMAMA + IntelMac over airc: option (b), durable PR over manual trust). Test `ai_generate_is_provisional_for_cross_grid_consumers`: Provisional/Trusted/ Owner allowed, Blocked denied, no leak to other commands. NOTE (separate, flagged to the grid): this admits Provisional+ peers; whether an enrolled cross-grid peer DEFAULTS to Provisional grid-trust vs needs elevation is the trust-mapping question — tracked separately; this rule is the policy half. Co-Authored-By: Claude Opus 4.8 <[email protected]>
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.
Cross-grid inference (
ai/generateover airc to a persona-provider) was Owner-only → denied for remote consumers unless manually trusted per-machine. Adds one durable rule:ai/generaterequires Provisional. Admits enrolled consumers (IntelMac, future nodes) by policy, not manual elevation; Owner still works, Blocked still denied, sibling sensitive commands stay Owner-only. The L1 cross-grid floor's auth slice (agreed w/ BigMama+IntelMac: durable PR over manual trust). Test pins Provisional-allowed/Blocked-denied/no-leak.NOTE: admits Provisional+; whether an enrolled peer defaults to Provisional vs needs elevation is the separate trust-mapping question, flagged to the grid.
🤖 Generated with Claude Code