EXPERIMENTAL: authorization policy prototype β DO NOT LAND#103780
EXPERIMENTAL: authorization policy prototype β DO NOT LAND#103780steipete wants to merge 2 commits into
Conversation
e8eaa80 to
66e90d7
Compare
|
Codex review: needs real behavior proof before merge. Reviewed July 18, 2026, 11:01 PM ET / July 19, 2026, 03:01 UTC. Summary Reproducibility: not applicable. This PR is an exploratory security-feature prototype, not a report of an existing reproducible defect. The branch includes adversarial tests, but its author does not claim integrated live proof or a merge-ready behavior path. Review metrics: 1 noteworthy metric.
Stored data model Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Risk before merge
Maintainer options:
Next step before merge
Maintainer decision needed
Security Review detailsBest possible solution: Preserve the useful adversarial cases and design notes, then sponsor one narrowly scoped successor that reuses the existing typed hook system and adds only the authenticated caller facts demonstrably absent from that hook; require fresh-install and upgrade proof before any new permanent API or fail-closed setting is accepted. Do we have a high-confidence way to reproduce the issue? Not applicable: this PR is an exploratory security-feature prototype, not a report of an existing reproducible defect. The branch includes adversarial tests, but its author does not claim integrated live proof or a merge-ready behavior path. Is this the best way to solve the issue? No: the authorβs own successor plan and current plugin guidance favor a small typed-hook solution with only the authenticated caller context proven necessary, rather than a new cross-runtime policy subsystem and fail-closed configuration family. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against b79c141fc702. Label changesLabel changes:
Label justifications:
Evidence reviewedSecurity concerns:
What I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
Review history (1 earlier review cycle)
|
66e90d7 to
14a57dd
Compare
|
Minimal successor: #111190. This experimental prototype remains DO NOT LAND. Keep it only as a design archive; review and testing should move to the minimal file-hook PR. |
Caution
EXPERIMENTAL PROTOTYPE. DO NOT LAND OR MERGE.
Purpose
Archive the broad authorization-policy exploration for design reference and selective salvage. This branch is intentionally not a landing candidate.
It explores sender-aware authorization across tool calls, message actions, commands, Gateway operations, queued delivery, harnesses, subagents, and channel identity propagation. It also contains adversarial tests for authority forgery, payload mutation, delayed effects, and run-replacement races.
Why this must not land
main.Intended successor
A separate minimal PR will use the existing hook system. Peter-versus-maintainer behavior will live in one local hook file. Core changes will be limited to the smallest authenticated caller context needed by that hook.
Preservation evidence
git diff --check: clean before checkpoint.modelToken; no secret value was present.No landing, merge, deployment, or release is requested from this PR.