Archetype Metadata
archetype: workflow
evidence_tier: smoke
linked_policy:
- docs/dev/worktree_lifecycle.md
- docs/code_review.md
- AGENTS.md
Goal / Problem
PR #8326 provides a Git-level protected review-worktree boundary for ordinary Git invocations,
including configured custom transports, explicit destination refspecs, and --no-verify. The
remaining gap is intentional command-line override behavior: a caller can supply per-command
-c URL/protocol settings and an alternate --receive-pack while skipping hooks, bypassing
worktree-local configuration before Git reaches the repository guard.
This issue tracks the stronger process or operating-system boundary needed if the contract must
protect against a deliberately adversarial caller, rather than only ordinary review-worktree use.
Scope
- In scope: define and implement a bounded process/OS-level isolation mechanism for review and
synthetic-integration worktrees; cover git -c ... push, --receive-pack, --no-verify, and
equivalent direct transport invocation paths; document the supported threat model.
- In scope: prove that ordinary implementation worktrees remain publishable.
- Out of scope: benchmark or scientific behavior, release-branch history rewriting, and globally
disabling pushes from ordinary implementation worktrees.
Definition of Done
Validation / Testing
Related Work
Archetype Metadata
Goal / Problem
PR #8326 provides a Git-level protected review-worktree boundary for ordinary Git invocations,
including configured custom transports, explicit destination refspecs, and
--no-verify. Theremaining gap is intentional command-line override behavior: a caller can supply per-command
-cURL/protocol settings and an alternate--receive-packwhile skipping hooks, bypassingworktree-local configuration before Git reaches the repository guard.
This issue tracks the stronger process or operating-system boundary needed if the contract must
protect against a deliberately adversarial caller, rather than only ordinary review-worktree use.
Scope
synthetic-integration worktrees; cover
git -c ... push,--receive-pack,--no-verify, andequivalent direct transport invocation paths; document the supported threat model.
disabling pushes from ordinary implementation worktrees.
Definition of Done
tests or are explicitly rejected by the documented threat model.
Validation / Testing
-c url.<actual>.insteadOf=<blocked> --receive-pack=... --no-verifypathagainst a temporary bare remote.
explicit narrower contract; do not describe Git-level protection as adversarial isolation.
Related Work