You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit c2d85e4
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: packages/guardrails/README.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,7 +46,8 @@ Current contents focus on the first thin-distribution slice:
46
46
- managed enterprise defaults
47
47
- packaged custom config dir profile
48
48
- packaged plugin for runtime guardrail hooks
49
-
- scenario coverage for managed config precedence, project-local asset compatibility, and plugin behavior
49
+
- guarded `implement` and `review` agents plus packaged `/implement`, `/review`, `/ship`, and `/handoff` workflow commands
50
+
- scenario coverage for managed config precedence, project-local asset compatibility, plugin behavior, and workflow safety defaults
50
51
51
52
Planned next slices are tracked in the fork:
52
53
@@ -69,6 +70,8 @@ opencode-guardrails
69
70
70
71
It respects an existing `OPENCODE_CONFIG_DIR` so project- or environment-specific overrides can still replace the packaged profile when needed.
71
72
73
+
The packaged profile defaults to the `implement` agent. Review and release-readiness work should run through the packaged `/review`, `/ship`, and `/handoff` commands so the workflow stays read-only at the gate layer.
74
+
72
75
## Managed deployment
73
76
74
77
Copy [managed/opencode.json](/Users/teradakousuke/Developer/opencode/packages/guardrails/managed/opencode.json) into the system managed config directory:
Copy file name to clipboardExpand all lines: packages/guardrails/profile/AGENTS.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,3 +8,5 @@
8
8
- Push checks to the fastest reliable layer first, then fall back to command workflows and CI for authoritative gates.
9
9
- Keep project-local `.opencode` assets working; use them for repo-specific workflows instead of editing this profile unless the rule is organization-wide.
10
10
- Treat `.opencode/guardrails/` as plugin-owned runtime state, not a manual editing surface.
11
+
- Use `implement` as the guarded default primary agent. Route review, ship, and handoff work through the packaged `/review`, `/ship`, and `/handoff` commands instead of freeform release flows.
12
+
- Keep review paths read-only. If a workflow needs edits, return to `implement` or a project-local implementation agent instead of widening the review agent.
0 commit comments