git-sandbox
Skill1.7k starsChanged 5 months agoApache-2.0View on GitHub
Git workflow protocol for agents in sandbox/worktree environments. Covers local-only operations, worktree-aware branch management, and non-interactive conflict resolution. Injected only for git-associated workspaces.
- Commits and pushes
Trending
More talk lately.about the whole repository
Who's talking about GoogleCloudPlatform/scion
- @jauntywunderkind.bsky.social“A lot of similar ish things keep rolling out from Google. Scion, github.com/GoogleCloudP...”Bluesky · May 21, 2026 · 3 likes
- jdx/mise“fix(go): Query module proxy directly for version resolution”GitHub · Apr 9, 2026 · 2 reactions
- ptone/scion“fix(broker): skip docker runtime initialization when docker binary is unavailable”GitHub · Jul 12, 2026 · 1 reactions
- @jauntywunderkind.bsky.social“+1 more multi-agent system. Scion looking pretty good, covering all the necessary pieces? I appreciate …”Bluesky · Apr 9, 2026 · 1 likes
- shunkakinoki/dotfiles“chore: update dependencies”GitHub · Apr 8, 2026 · 1 reactions
The biggest 5 of 22 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 22
Talked about on GitHub and Bluesky (22 times).
On GitHub · 20
- Apr 9, 2026fix(go): Query module proxy directly for version resolution — jdx/mise2 reactions · 3 comments
- Jul 12, 2026fix(broker): skip docker runtime initialization when docker binary is unavailable — ptone/scion1 reaction · 1 comment
- Apr 8, 2026chore: update dependencies — shunkakinoki/dotfiles1 reaction · 3 comments
- Apr 2, 2026feat(templates): replace bootstrap container sync with direct server-side import — ptone/scion1 reaction
- Oct 5, 2026CI: Build & Test step stalled for 78 min after a test FAIL on GoogleCloudPlatform/scion#2469 (no local repro) — ptone/scion0 reactions · 1 comment
15 more on GitHub
- Oct 3, 2026docs: qualify attach UAT reach as built-in project roles (super-admin and custom roles also authorize) — ptone/scion0 reactions
- Oct 2, 2026test: cover keys API and raw-bridge gaps from the 4.1 plan — ptone/scion0 reactions · 1 comment
- Oct 1, 2026fix(store): SQLite store boundary in UTC (tz-refactor task 2) — ptone/scion0 reactions · 1 comment
- Oct 1, 2026web: gate the agent-detail Exposed Ports card on port_access capability — ptone/scion0 reactions
- Oct 1, 2026feat(authz): grant agent.port_access to project owners and admins — ptone/scion0 reactions · 1 comment
- Sep 30, 2026ci: Build & Test vet fails on main after GoogleCloudPlatform/scion#2088 (authzTestSetup undefined under -tags no_sqlite) — ptone/scion0 reactions · 1 comment
- Sep 30, 2026test(fixturegen): TestFixtureCoverage fails on main (stale table count 60→63; agent_identity_keys and external_identities have no fixture rows) — ptone/scion0 reactions
- Sep 30, 2026test(authzop): TestMutationClassificationBidirectional fails on main after GoogleCloudPlatform/scion#2090 (stale classification entry) — ptone/scion0 reactions
- Sep 29, 2026test(hub): TestEvaluateSAAssignment_CeilingDelegatorLacksPermission fails on main after GoogleCloudPlatform/scion#2062 — ptone/scion0 reactions
- Sep 27, 2026fix(single-node-vm): support custom-mode default network; correct deployer permissions — ptone/scion0 reactions
- Sep 25, 2026Finish grove -> project rename cleanup — ptone/scion0 reactions · 1 comment
- Sep 16, 2026fix(hub): populate scopes in explainAgentIdentity for cross-principal /api/v1/authz/explain — ghchinoy/scion0 reactions
- Jul 28, 2026Question: should the `!no_sqlite` test files run on any cadence at all? — ptone/scion0 reactions · 4 comments
- Apr 8, 2026📱 SNS 콘텐츠 - 2026-04-08 11:32 KST — leaf468/autothreads0 reactions
- Apr 8, 2026🤖 AI 트렌드 리포트 - 2026-04-08 11:32 KST — leaf468/autothreads0 reactions
On Bluesky · 2
- May 21, 2026A lot of similar ish things keep rolling out from Google. Scion, github.com/GoogleCloudP... — @jauntywunderkind.bsky.social3 likes and reposts · 1 reply
- Apr 9, 2026+1 more multi-agent system. Scion looking pretty good, covering all the necessary pieces? I appreciate their runtime flexibility, that… — @jauntywunderkind.bsky.social1 likes and repost · 2 replies
In this repository18 other files it gives its agents.
- AGENTS.mdAGENTS.md
- docs-site/AGENTS.mdAGENTS.md
- examples/adk_scion_agent/templates/adk/agents.mdAGENTS.md
- examples/amp/templates/amp/agents.mdAGENTS.md
- pkg/config/embeds/templates/default/agents.mdAGENTS.md
- .scion/templates/instance-manager/agents.mdAGENTS.md
- .scion/templates/release-notes/agents.mdAGENTS.md
- .scion/templates/web-dev/agents.mdAGENTS.md
- web/AGENTS.mdAGENTS.md
- claude.mdCLAUDE.md
- git-operationsSkill
- scion-agent-manageSkill
- scion-cli-operationsSkill
- scion-conversationSkill
- scion-messagingSkill
- scion-schedulerSkill
- team-creationSkill
- chrome-devtoolsSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 5 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 17
Directive: Always assume the local main branch is the source of truth.
- Distinctive: line 18
Command Pattern: Use git rebase main or git merge main directly without attempting to update from a remote.
- Distinctive: line 32
Directive: Use environment variables and flags to auto-author commit messages and rebase continues.
- Distinctive: line 37
Global Override: If possible at the start of the session, run: git config core.editor true
- Distinctive: line 41
If a rebase or merge results in conflicts:
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Git Workflow Protocol: Sandbox & Worktree Environment
You are operating in a restricted, non-interactive sandbox environment. Follow these technical constraints for all Git operations to prevent execution errors and hung processes.
1. Local-Only Operations (No Network Access)
- Restriction: The environment is air-gapped from
origin. Commands likegit fetch,git pull, orgit pushwill fail. - Directive: Always assume the local
mainbranch is the source of truth. - Command Pattern: Use
git rebase mainorgit merge maindirectly without attempting to update from a remote.
2. Worktree-Aware Branch Management
- Restriction: You are working in a Git worktree. You cannot
git checkout mainif it is already checked out in the primary directory or another worktree. - Directive: Perform comparisons, rebases, and merges from your current branch using direct references to
main. Do not attempt to switch branches to inspect code. - Reference Patterns:
- Comparison:
git diff main...HEAD(to see changes in your branch). - File Inspection:
git show main:path/to/file.ext(to view content on main without switching). - Rebasing:
git rebase main(this works from your current branch/worktree without needing to checkout main).
- Comparison:
3. Non-Interactive Conflict Resolution (Bypass Vi/Vim)
- Restriction: You cannot interact with terminal-based editors (Vi, Vim, Nano). Any command that triggers an editor will cause the process to hang.
- Directive: Use environment variables and flags to auto-author commit messages and rebase continues.
- Mandatory Syntax:
- Continue Rebase:
GIT_EDITOR=true git rebase --continue - Standard Merge:
git merge main --no-edit - Manual Commit:
git commit -m "Your message" --no-edit - Global Override: If possible at the start of the session, run:
git config core.editor true
- Continue Rebase:
4. Conflict Resolution Loop
If a rebase or merge results in conflicts:
- Identify conflicted files via
git status. - Resolve conflicts in the source files.
- Stage changes:
git add <resolved-files>. - Finalize:
GIT_EDITOR=true git rebase --continue.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

