ce087533fa
Codify authorize → plan → build → review → check → local-only save so Grok Build stays on process without the user naming every slash command.
2.0 KiB
2.0 KiB
Execution loop (mandatory — Salon_Assistant)
Full SSOT: repository root AGENTS.md → Execution loop (mandatory) and Git hygiene (mandatory).
This rule exists so agents stay on rails without the user naming every slash command.
Default loop
Authorize → Plan (if needed) → Build → Review → Check → Local commit (only if asked) → User pushes
Hard rails
- No product implementation until the user says build or implement. Docs/design/agent-rules work is fine without that.
- Do not require the user to restate process. If they authorize a slice, run plan (when needed) → build → independent review → check yourself.
- Review + check on multi-file / non-trivial work. Prefer
/review --localand/check-work. Equivalent: read-only reviewer subagent + verifier subagent /make verify. Same agent editing and saying “LGTM” is not enough. - Commit only when asked. Never push, open/merge PR, or tag unless the user explicitly orders it. User owns
git pushby default. - Scope lock. Implement only the authorized slice. No drive-by packages, no silent redesign of
design/SSOT. - Subagents: implementers edit; reviewers/explorers/verifiers are read-only. Parallel writers use worktrees. Inject product hard rules into every implementer prompt.
- Multi-PR / execute-plan: only with a PR Plan DAG;
--dry-runfirst when using execute-plan; this product → no Graphite default, no auto-PR, no push/merge unless user overrides in writing. Remote MCP = gitea_vps only. - Stop when the slice is done, blocked on a user decision, or would require secrets / destructive git / forge mistakes — report, do not steamroll.
- Platform-first:
nemohermes/openshellonly; no parallel control API; no owner terminal/Docker instructions; no agent pay / silent send.
Tiny exception
Trivial one-file typo/docs nit: plan optional; still no unauthorized build; still no push; still no secrets.