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
docs: align README, skills, and CURSOR_PROMPTS with v4.6 cycle and gate v3.
Updates install tree, workflow diagram, limitations, slash command, and role skills to match cycle start/enter-builder handoff.
Co-authored-by: Cursor <cursoragent@cursor.com>
1. Execute **Activation** in `orchestrator/ORCHESTRATOR.md` exactly as written (including step **1a**).
4
-
2. Greet using the scripted format from that section.
5
-
3.Wait for user input (`Activation` wait step). If the user already embedded their goal in the same message as this command, proceed with that goal immediately after greeting.
3.**First-turn routing (step 9):** If the user already embedded a task goal in this message → greet briefly, enter **[ARCHITECT MODE]**immediately (no code on turn 1). If the message is empty → greet and wait.
[REVIEWER] checks criteria → inspects graph neighbors for side effects
263
263
↓ auto (loops to Builder if rejected, max 3×)
@@ -332,12 +332,12 @@ GraphStack is a **workflow protocol** (markdown + handoff files), not a runtime
332
332
333
333
| Topic | Reality |
334
334
|-------|---------|
335
-
| Role automation | Prompts alone cannot guarantee discipline. v4.3+ **`graphstack gate`** + v4.4 Cursor **`preToolUse`**. Hooks block commits and (on Cursor/Claude) code writes without a claimed task;`afterFileEdit` on Cursor remains advisory-only backup. |
335
+
| Role automation | Prompts + **gate v3 (v4.6)**: code edits require `STATE.json role=builder` and a task in `doing/`. **`graphstack cycle`** binds board + state. Strict mode (`GRAPHSTACK_GATE=strict`) also enforces ship/review before code commits.`afterFileEdit` on Cursor remains advisory-only backup. |
336
336
| Token savings | The table above is **estimated**, not guaranteed. Small repos or undisciplined sessions may use **more** tokens than unstructured chat. |
337
337
| Knowledge graph | Value appears on **20+ file** codebases with module boundaries. Meta-repos full of markdown produce noisy graphs — use `.graphifyignore` (included in this repo). |
338
338
| Setup | Graphify + `pip install MertCapkin_GraphStack` + `graphstack init` — or one bootstrap command. See [PyPI](https://pypi.org/project/MertCapkin_GraphStack/). |
339
339
340
-
**v4.1 helpers:**`graphstack doctor`(health report) and `graphstack validate` (exit code for CI). Use `--strict` before Builder handoff; use `--fail-stale-graph` in CI after code changes.
340
+
**Health checks:**`graphstack doctor` and `graphstack validate` (exit code for CI). v4.6 adds handoff sync + `hooks.json` checks. Use `--strict` before Builder handoff; use `--fail-stale-graph` in CI after code changes.
341
341
342
342
```bash
343
343
graphstack doctor
@@ -391,7 +391,7 @@ Requires `graphify` on PATH (`pip install -r requirements.txt`). Agents should p
391
391
392
392
## Process Gate (`graphstack gate`)
393
393
394
-
v4.3+ adds **mechanical enforcement** so Architect → Builder → Reviewer steps are harder to skip silently. v4.4 extends Cursor with `preToolUse` blocking.
394
+
**Gate v3 (v4.6)** adds role-aware enforcement so Architect → Builder → Reviewer steps are harder to skip silently. Cursor `preToolUse` blocks edits before they land; use **`graphstack cycle`** for the mechanical handoff steps.
GRAPHSTACK_GATE=strict # R4–R6 + fail-closed on hook errors
415
415
```
416
416
417
-
**Install** writes `.cursor/hooks.json` and `.claude/settings.json` with OS-specific shim commands (`scripts/gate-hook.ps1` on Windows, `scripts/gate-hook.sh` on macOS/Linux). By default hooks **fail open** if Python is missing — use `GRAPHSTACK_GATE=strict` for teams that prefer blocking over availability.
417
+
**Install** writes or **merges**`.cursor/hooks.json` and `.claude/settings.json` with OS-specific shim commands (`scripts/gate-hook.ps1` on Windows, `scripts/gate-hook.sh` on macOS/Linux). By default hooks **fail open** if Python is missing — use `GRAPHSTACK_GATE=strict` for teams that prefer blocking over availability.
418
418
419
419
> **Framework repo note:** This GitHub repo ships `handoff/` as **templates** (empty brief, no `done/` tasks). Your installed project fills those files during real work. Before contributing here, reset handoff — see [CONTRIBUTING.md](CONTRIBUTING.md).
1. Execute **Activation** in `orchestrator/ORCHESTRATOR.md` exactly as written (including step **1a**).
4
-
2. Greet using the scripted format from that section.
5
-
3.Wait for user input (`Activation` wait step). If the user already embedded their goal in the same message as this command, proceed with that goal immediately after greeting.
3.**First-turn routing (step 9):** If the user already embedded a task goal in this message → greet briefly, enter **[ARCHITECT MODE]**immediately (no code on turn 1). If the message is empty → greet and wait.
0 commit comments