Private
Public Access
fix(tier2): remove AppData allow rules from OpenCode permission JSON
Before:
- read/write allow rules for AppData/Local/manual_slop/tier2/ and
AppData/Local/manual_slop/tier2_failures/ existed in both the
top-level and the tier2-autonomous agent's permission blocks.
- Bash deny rules covered only AppData/Local/Temp/.
After:
- read/write allow only the Tier 2 clone (C:\\projects\\manual_slop_tier2\\**).
- Bash deny rules: *AppData\\* (broader) + *AppData\\Local\\Temp\\* (kept for clarity).
The broader *AppData\\* rule catches Local, LocalLow, Roaming, and any
other subdir, not just Temp. The narrower Temp rule is kept as a
self-documenting marker for the original 2026-06-17 regression.
Per the user's 2026-06-18 'NEVER USE APPDATA' directive.
Refs: conductor/tracks/tier2_no_appdata_20260618
This commit is contained in:
@@ -6,15 +6,11 @@
|
|||||||
"edit": "deny",
|
"edit": "deny",
|
||||||
"read": {
|
"read": {
|
||||||
"*": "deny",
|
"*": "deny",
|
||||||
"C:\\projects\\manual_slop_tier2\\**": "allow",
|
"C:\\projects\\manual_slop_tier2\\**": "allow"
|
||||||
"C:\\Users\\Ed\\AppData\\Local\\manual_slop\\tier2\\**": "allow",
|
|
||||||
"C:\\Users\\Ed\\AppData\\Local\\manual_slop\\tier2_failures\\**": "allow"
|
|
||||||
},
|
},
|
||||||
"write": {
|
"write": {
|
||||||
"*": "deny",
|
"*": "deny",
|
||||||
"C:\\projects\\manual_slop_tier2\\**": "allow",
|
"C:\\projects\\manual_slop_tier2\\**": "allow"
|
||||||
"C:\\Users\\Ed\\AppData\\Local\\manual_slop\\tier2\\**": "allow",
|
|
||||||
"C:\\Users\\Ed\\AppData\\Local\\manual_slop\\tier2_failures\\**": "allow"
|
|
||||||
},
|
},
|
||||||
"bash": {
|
"bash": {
|
||||||
"*": "deny",
|
"*": "deny",
|
||||||
@@ -43,6 +39,7 @@
|
|||||||
"uv run python scripts/run_tests_batched.py*": "allow",
|
"uv run python scripts/run_tests_batched.py*": "allow",
|
||||||
"uv run python scripts/tier2/*": "allow",
|
"uv run python scripts/tier2/*": "allow",
|
||||||
"pwsh -File scripts/tier2/*": "allow",
|
"pwsh -File scripts/tier2/*": "allow",
|
||||||
|
"*AppData\\*": "deny",
|
||||||
"*AppData\\Local\\Temp\\*": "deny",
|
"*AppData\\Local\\Temp\\*": "deny",
|
||||||
"git push*": "deny",
|
"git push*": "deny",
|
||||||
"git checkout*": "deny",
|
"git checkout*": "deny",
|
||||||
@@ -58,18 +55,15 @@
|
|||||||
"edit": "allow",
|
"edit": "allow",
|
||||||
"read": {
|
"read": {
|
||||||
"*": "deny",
|
"*": "deny",
|
||||||
"C:\\projects\\manual_slop_tier2\\**": "allow",
|
"C:\\projects\\manual_slop_tier2\\**": "allow"
|
||||||
"C:\\Users\\Ed\\AppData\\Local\\manual_slop\\tier2\\**": "allow",
|
|
||||||
"C:\\Users\\Ed\\AppData\\Local\\manual_slop\\tier2_failures\\**": "allow"
|
|
||||||
},
|
},
|
||||||
"write": {
|
"write": {
|
||||||
"*": "deny",
|
"*": "deny",
|
||||||
"C:\\projects\\manual_slop_tier2\\**": "allow",
|
"C:\\projects\\manual_slop_tier2\\**": "allow"
|
||||||
"C:\\Users\\Ed\\AppData\\Local\\manual_slop\\tier2\\**": "allow",
|
|
||||||
"C:\\Users\\Ed\\AppData\\Local\\manual_slop\\tier2_failures\\**": "allow"
|
|
||||||
},
|
},
|
||||||
"bash": {
|
"bash": {
|
||||||
"*": "allow",
|
"*": "allow",
|
||||||
|
"*AppData\\*": "deny",
|
||||||
"*AppData\\Local\\Temp\\*": "deny",
|
"*AppData\\Local\\Temp\\*": "deny",
|
||||||
"git push*": "deny",
|
"git push*": "deny",
|
||||||
"git checkout*": "deny",
|
"git checkout*": "deny",
|
||||||
|
|||||||
Reference in New Issue
Block a user