fix(tier2): undo sandbox file leaks from 00e5a3f2
Tier-2 autonomous sandbox-specific files leaked into the main repo
via an accidental `git add .` in the tier-2 clone. Revert the
selective subset the user identified (not the whole commit):
- Delete .opencode/agents/tier2-autonomous.md and
.opencode/commands/tier-2-auto-execute.md (canonical sources
remain at conductor/tier2/agents/ and conductor/tier2/commands/)
- Restore opencode.json MCP path to manual_slop and restore the
default_agent: tier2-tech-lead
- Restore mcp_paths.toml extra_dirs to ["C:/projects/gencpp"]
The other changes in 00e5a3f2 (4 throwaway scripts under
scripts/tier2/artifacts/, the project_history.toml timestamp) are
out of scope for this fix and remain at HEAD.
This commit is contained in:
+7
-86
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"$schema": "https://opencode.ai/config.json",
|
||||
"model": "zai/glm-5",
|
||||
"small_model": "zai/glm-4-flash",
|
||||
"provider": {
|
||||
"zai": {
|
||||
@@ -15,6 +16,7 @@
|
||||
"conductor/workflow.md",
|
||||
"conductor/tech-stack.md"
|
||||
],
|
||||
"default_agent": "tier2-tech-lead",
|
||||
"mcp": {
|
||||
"manual-slop": {
|
||||
"type": "local",
|
||||
@@ -22,12 +24,12 @@
|
||||
"C:\\Users\\Ed\\scoop\\apps\\uv\\current\\uv.exe",
|
||||
"run",
|
||||
"python",
|
||||
"C:\\projects\\manual_slop_tier2\\scripts\\mcp_server.py"
|
||||
"C:\\projects\\manual_slop\\scripts\\mcp_server.py"
|
||||
],
|
||||
"enabled": true,
|
||||
"timeout": 30000,
|
||||
"environment": {
|
||||
"PYTHONPATH": "C:\\projects\\manual_slop_tier2\\src",
|
||||
"PYTHONPATH": "C:\\projects\\manual_slop\\src",
|
||||
"GIT_TERMINAL_PROMPT": "0",
|
||||
"GCM_INTERACTIVE": "never",
|
||||
"GIT_ASKPASS": "echo",
|
||||
@@ -54,90 +56,11 @@
|
||||
"git log*": "allow"
|
||||
}
|
||||
}
|
||||
},
|
||||
"tier2-autonomous": {
|
||||
"model": "minimax-coding-plan/MiniMax-M3",
|
||||
"temperature": 0.4,
|
||||
"permission": {
|
||||
"edit": "allow",
|
||||
"read": {
|
||||
"*": "deny",
|
||||
"C:\\projects\\manual_slop_tier2\\**": "allow"
|
||||
},
|
||||
"write": {
|
||||
"*": "deny",
|
||||
"C:\\projects\\manual_slop_tier2\\**": "allow"
|
||||
},
|
||||
"bash": {
|
||||
"*": "allow",
|
||||
"*AppData\\*": "deny",
|
||||
"*AppData\\Local\\Temp\\*": "deny",
|
||||
"*$env:TEMP*": "deny",
|
||||
"*$env:TMP*": "deny",
|
||||
"*%TEMP%*": "deny",
|
||||
"*%TMP%*": "deny",
|
||||
"*GetTempPath*": "deny",
|
||||
"*gettempdir*": "deny",
|
||||
"*mkstemp*": "deny",
|
||||
"git push*": "deny",
|
||||
"git checkout*": "deny",
|
||||
"git restore*": "deny",
|
||||
"git reset*": "deny"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"permission": {
|
||||
"edit": "deny",
|
||||
"read": {
|
||||
"*": "deny",
|
||||
"C:\\projects\\manual_slop_tier2\\**": "allow"
|
||||
},
|
||||
"write": {
|
||||
"*": "deny",
|
||||
"C:\\projects\\manual_slop_tier2\\**": "allow"
|
||||
},
|
||||
"bash": {
|
||||
"*": "deny",
|
||||
"git status*": "allow",
|
||||
"git diff*": "allow",
|
||||
"git log*": "allow",
|
||||
"git add*": "allow",
|
||||
"git commit*": "allow",
|
||||
"git switch*": "allow",
|
||||
"git branch*": "allow",
|
||||
"git fetch*": "allow",
|
||||
"git remote*": "allow",
|
||||
"git rev-parse*": "allow",
|
||||
"git show*": "allow",
|
||||
"git config --get*": "allow",
|
||||
"ls*": "allow",
|
||||
"cat*": "allow",
|
||||
"head*": "allow",
|
||||
"tail*": "allow",
|
||||
"find*": "allow",
|
||||
"echo*": "allow",
|
||||
"mkdir*": "allow",
|
||||
"cp*": "allow",
|
||||
"mv*": "allow",
|
||||
"rm*": "allow",
|
||||
"uv run python scripts/run_tests_batched.py*": "allow",
|
||||
"uv run python scripts/tier2/*": "allow",
|
||||
"pwsh -File scripts/tier2/*": "allow",
|
||||
"*AppData\\*": "deny",
|
||||
"*AppData\\Local\\Temp\\*": "deny",
|
||||
"*$env:TEMP*": "deny",
|
||||
"*$env:TMP*": "deny",
|
||||
"*%TEMP%*": "deny",
|
||||
"*%TMP%*": "deny",
|
||||
"*GetTempPath*": "deny",
|
||||
"*gettempdir*": "deny",
|
||||
"*mkstemp*": "deny",
|
||||
"git push*": "deny",
|
||||
"git checkout*": "deny",
|
||||
"git restore*": "deny",
|
||||
"git reset*": "deny"
|
||||
}
|
||||
"edit": "ask",
|
||||
"bash": "ask"
|
||||
},
|
||||
"share": "manual",
|
||||
"autoupdate": true,
|
||||
@@ -159,7 +82,5 @@
|
||||
},
|
||||
"plugin": [
|
||||
"superpowers@git+https://github.com/obra/superpowers.git"
|
||||
],
|
||||
"default_agent": "tier2-autonomous",
|
||||
"model": "minimax-coding-plan/MiniMax-M3"
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user