You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Refuse GitHub API writes to protected branches in shared policy (T41) #197
Build the independent shared-policy part of #99. Refuse GitHub API writes to main or master through REST ref and contents routes and GraphQL branch mutations. Preserve ordinary GET requests and unrelated issue writes. Refuse opaque request bodies when the shared policy cannot verify a protected destination.
Scope: packages/sage-core/push-policy.mjs, provider bundle tests, and generated copies. Do not edit Claude's hook or any files owned by PR #140. The logbook-writer part remains in #99.
Prove the new regression test fails on detached main. Run build, check, the full local suite with fake process tools, exact-head CI, and two clean code/security/QA cycles. Risk: auth. This does not activate automatic Sage in Codex.
Activity