mirror of
https://github.com/garrytan/gstack.git
synced 2026-05-18 18:32:28 +08:00
docs: OpenClaw architecture doc + regenerate all SKILL.md with spawned session detection
Add docs/OPENCLAW.md with 4-tier dispatch routing and integration architecture. Generate gstack-lite and gstack-full prompt templates. Regenerate all SKILL.md files with OPENCLAW_SESSION env var check in preamble.
This commit is contained in:
12
openclaw/gstack-full-CLAUDE.md
Normal file
12
openclaw/gstack-full-CLAUDE.md
Normal file
@@ -0,0 +1,12 @@
|
||||
# gstack-full Pipeline
|
||||
|
||||
Injected by Wintermute for complete feature builds. Append to existing CLAUDE.md.
|
||||
|
||||
## Full Pipeline
|
||||
1. Read CLAUDE.md and understand the project context.
|
||||
2. Run /autoplan to review your approach (CEO + eng + design review pipeline).
|
||||
3. Implement the approved plan. Follow the planning discipline above.
|
||||
4. Run /ship to create a PR with tests, changelog, and version bump.
|
||||
5. Report back: PR URL, what shipped, decisions made, anything uncertain.
|
||||
|
||||
Do not ask for human input until the PR is ready for review.
|
||||
12
openclaw/gstack-lite-CLAUDE.md
Normal file
12
openclaw/gstack-lite-CLAUDE.md
Normal file
@@ -0,0 +1,12 @@
|
||||
# gstack-lite Planning Discipline
|
||||
|
||||
Injected by Wintermute into spawned Claude Code sessions. Append to existing CLAUDE.md.
|
||||
|
||||
## Planning Discipline
|
||||
1. Read every file you will modify. Understand existing patterns first.
|
||||
2. Before writing code, state your plan: what, why, which files, test case, risk.
|
||||
3. When ambiguous, prefer: completeness over shortcuts, existing patterns over new ones,
|
||||
reversible choices over irreversible ones, safe defaults over clever ones.
|
||||
4. Self-review your changes before reporting done. Check for: missed files, broken
|
||||
imports, untested paths, style inconsistencies.
|
||||
5. Report when done: what shipped, what decisions you made, anything uncertain.
|
||||
Reference in New Issue
Block a user