Git-aware Auto Approval for long-running coding tasks #5717
raylei50653
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
TL;DR
Use Git as the code-change approval boundary: reversible local repo changes
can run automatically, while destructive or externally visible transitions
ask first.
The problem
For long-running coding tasks, the permission model often leaves two
extremes, and neither works well for a 30-minute run:
The proposal
An Auto mode where a lightweight reviewer checks whether an action is
still within the user's original task. Deterministic policies remain the
real safety boundary; the reviewer only cuts down on prompt fatigue.
For coding work, Git gives a natural line to draw:
The idea is to treat the local Git workspace as a reversible transaction
boundary.
Git is not the sandbox. The CLI/sandbox still controls filesystem, network,
credentials, and other external capabilities. Git only defines how far
code changes can progress before a human needs to look.
Why it matters
This would make 10–30 minute autonomous coding tasks practical without
turning Auto mode into unrestricted YOLO mode.
All reactions