+78
−49
Loading
Walks back v2.1's blanket "Administrator is read-only on the
repository" restriction. The v2.1 design pushed initialization.md
§2.5 (write-capability verification) onto the user or the v1
fallback at the cost of ergonomics — the spirit of the reviewer's
original concern (minimize Administrator's blast radius) is
preserved with a strictly *phase-scoped* allowlist instead.
§3 contract:
- "Administrator is read-only on the remote (v2.1)" replaced
with "Administrator's push capability is phase-scoped (v2.2)".
- Phase 1: may push and delete init-check-<YYYYMMDD-HHMMSS>-*
refs (deleted at end of Phase 1).
- Phase 2: empty allowlist (strictly read-only; ls-remote only).
- Transition is irrevocable: re-init after credential rotation
uses the v1 standalone Initialization-prompt.md fallback.
§5 naming conventions: init-check-* row restored as
"Administrator (Phase 1) or v1 standalone Initialization session";
both authorize the same scratch namespace.
§6.4 Administrator state machine:
- Phase 1 box updated to walk initialization.md §1-§11 in full
(including §2.5 push verification) under the phase-scoped
allowlist; explicit "delete every init-check-* ref at end of
Phase 1" cleanup; explicit irrevocable allowlist drop at the
"Phase 1 complete" boundary.
- Phase 2 box explicitly READ-ONLY.
- "NEVER (any phase)" denial block split into "any phase"
(protocol refs, PRs, worker restarts/state-rewrites) vs
"Phase 2 specifically" (any push at all).
§8 push allowlist:
- Replaced the v2.1 "Administrator (v2.1): no push allowlist"
block with v2.2 phase-scoped split: Phase 1 init-check-* /
Phase 2 empty / always-denied protocol refs.
- The transition is documented as irrevocable.
- v1-fallback note: same allowlist as Administrator Phase 1;
use case narrowed to re-verify after credential rotation
without disturbing a running Phase 2 loop, or three-session-
only deployments.
§9.5 model/effort table:
- Initialization row: clarify "deprecated for routine startup"
(v1 fallback retained for re-init / three-session deployments).
- Administrator row: clarify Phase 1 has a "narrow phase-scoped
push allowlist for §2.5 verification"; Phase 2 read-only.
§13.1 runbook step 1: explicit "walks initialization.md §1-§11 in
full ... all init-check-* refs are deleted at end of Phase 1 ...
Administrator drops to strictly read-only on the remote for the
rest of the session."
Co-Authored-By:
Claude Opus 4.7 (1M context) <noreply@anthropic.com>