Skip to content

fix(loop): allow exact restore Git probes#123

Merged
codeacme17 merged 1 commit into
devfrom
codex/restore-git-command-policy
Jul 26, 2026
Merged

fix(loop): allow exact restore Git probes#123
codeacme17 merged 1 commit into
devfrom
codex/restore-git-command-policy

Conversation

@codeacme17

Copy link
Copy Markdown
Owner

Summary

  • allow the trusted automation descendant gate to run only the two exact read-only Git probes used by restore-checkpoint
  • keep all broader ls-files and git -c shapes denied
  • add allow/deny routing regressions

Verification

  • pnpm exec eslint loops/issue-dev-loop/scripts/lib/github-identity.mjs loops/issue-dev-loop/tests/github-identity-routing.test.mjs
  • node --test loops/issue-dev-loop/tests/github-identity-routing.test.mjs (47/47)
  • pnpm loop:issue-dev:test (105/105)
  • loop validation: 67 files

Context

This is an owner-reviewed control-plane bootstrap fix discovered while resuming #108. The merged restore cleanliness check invokes these probes through the authenticated descendant Git gate; without the exact allowlist entries, restore-checkpoint is blocked before restoring the durable checkpoint.

This PR must remain Draft. Only codeacme17 may mark it Ready, approve, or merge it.

@codeacme17
codeacme17 marked this pull request as ready for review July 26, 2026 16:34
@codeacme17
codeacme17 merged commit c0972f4 into dev Jul 26, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant