Skip to content

Commit c607158

Browse files
Release v4.6.4: close-turn contract and cycle close command.
Adds cycle close, doctor cycle_unclosed warnings, Builder→Reviewer handoff rules, and gate stop advisory for tasks stuck in doing/ with role=builder. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 1b8d8f8 commit c607158

25 files changed

Lines changed: 21931 additions & 8469 deletions

.cursor/rules/graphstack.mdc

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
2-
description: GraphStack v4.6 — Orchestrated, graph-first, GNAP-tracked AI development (cross-platform)
2+
description: GraphStack v4.6.4 — Orchestrated, graph-first, GNAP-tracked AI development (cross-platform)
33
alwaysApply: true
44
---
55

6-
# GraphStack Core Rules (v4.6)
6+
# GraphStack Core Rules (v4.6.4)
77

88
## 🎯 Default Mode: Orchestrated
99

@@ -138,3 +138,23 @@ SHIP → checklist + commit (strict gate: role=ship)
138138
```
139139

140140
Never jump from graph exploration directly to implementation.
141+
142+
## ⛔ Close-turn contract (implementation done ≠ cycle done)
143+
144+
When Builder finishes acceptance criteria:
145+
146+
```
147+
FORBIDDEN: stop with task in doing/, role=builder, or "I'm done" to the user
148+
FORBIDDEN: append STATE.md without matching state set + board commands
149+
REQUIRED: [BUILDER → REVIEWER] → QA → SHIP → board complete → role=idle
150+
```
151+
152+
After Ship checklist:
153+
```bash
154+
python -m graphstack board complete <task-id>
155+
python -m graphstack state set --role idle
156+
# or: python -m graphstack cycle close <task-id>
157+
```
158+
159+
**"devam" / "bitir" after implementation** means advance to **Reviewer**, not close the cycle.
160+
**"devam" after brief approval** (Architect phase) means enter **Builder** only.

.cursor/skills/builder/BUILDER.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,13 @@ Out-of-scope notes: [any issues flagged, or "None"]
160160
Ready for Reviewer.
161161
```
162162

163+
**Immediately transition — do NOT end the session here:**
164+
```bash
165+
python -m graphstack state set --role reviewer --task <task-id>
166+
```
167+
Announce `[BUILDER → REVIEWER]` and execute Reviewer logic in the same session.
168+
Never leave the task in `doing/` with `role=builder` after implementation.
169+
163170
---
164171

165172
## Token Rules (Builder)

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,20 @@ All notable changes to GraphStack are documented here.
44

55
---
66

7+
## [v4.6.4] — 2026-06-12
8+
9+
### Added
10+
- **`graphstack cycle close <task-id>`**`board complete` + BRIEF Complete + `state idle` (requires `Verdict: Approved` unless `--force`).
11+
- **Doctor `cycle_unclosed` warning**`doing/` + `role=builder` (or reviewer/qa) without REVIEW Verdict.
12+
13+
### Changed
14+
- **Close-turn contract** in `graphstack.mdc` — implementation done ≠ cycle done; Ship must run `board complete`.
15+
- **`ORCHESTRATOR.md`** — close-turn misinterpretation guards; `devam` after brief ≠ close cycle.
16+
- **`BUILDER.md`** — mandatory `[BUILDER → REVIEWER]` + `state set --role reviewer` after implementation.
17+
- **Gate `stop` hook** — advisory when task stuck in `doing/` with `role=builder` and no REVIEW Verdict.
18+
19+
---
20+
721
## [v4.6.2] — 2026-06-11
822

923
### Changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -408,6 +408,7 @@ Requires `graphify` on PATH (`pip install -r requirements.txt`). Agents should p
408408
```bash
409409
python -m graphstack cycle start my-feature "Add email verification"
410410
python -m graphstack cycle enter-builder my-feature # after Architect writes BRIEF
411+
python -m graphstack cycle close my-feature # after Reviewer/QA/Ship (or --force)
411412
python -m graphstack gate check # CI / manual — exit 1 on violation
412413
python -m graphstack state set --role builder --task my-feature
413414
GRAPHSTACK_GATE=off # emergency bypass (one session)

graphify-out/.graphify_labels.json

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
{
2+
"0": "Community 0",
3+
"1": "Community 1",
4+
"2": "Community 2",
5+
"3": "Community 3",
6+
"4": "Community 4",
7+
"5": "Community 5",
8+
"6": "Community 6",
9+
"7": "Community 7",
10+
"8": "Community 8",
11+
"9": "Community 9",
12+
"10": "Community 10",
13+
"11": "Community 11",
14+
"12": "Community 12",
15+
"13": "Community 13",
16+
"14": "Community 14",
17+
"15": "Community 15",
18+
"16": "Community 16",
19+
"17": "Community 17",
20+
"18": "Community 18",
21+
"19": "Community 19",
22+
"20": "Community 20",
23+
"21": "Community 21",
24+
"22": "Community 22",
25+
"23": "Community 23",
26+
"24": "Community 24",
27+
"25": "Community 25",
28+
"26": "Community 26",
29+
"27": "Community 27",
30+
"28": "Community 28",
31+
"29": "Community 29",
32+
"30": "Community 30",
33+
"31": "Community 31",
34+
"32": "Community 32",
35+
"33": "Community 33",
36+
"34": "Community 34",
37+
"35": "Community 35",
38+
"36": "Community 36",
39+
"37": "Community 37",
40+
"38": "Community 38",
41+
"39": "Community 39",
42+
"40": "Community 40",
43+
"41": "Community 41",
44+
"42": "Community 42",
45+
"43": "Community 43",
46+
"44": "Community 44",
47+
"45": "Community 45",
48+
"46": "Community 46",
49+
"47": "Community 47",
50+
"48": "Community 48",
51+
"49": "Community 49",
52+
"50": "Community 50",
53+
"51": "Community 51",
54+
"52": "Community 52",
55+
"53": "Community 53",
56+
"54": "Community 54",
57+
"55": "Community 55",
58+
"56": "Community 56",
59+
"57": "Community 57",
60+
"58": "Community 58",
61+
"59": "Community 59",
62+
"60": "Community 60",
63+
"61": "Community 61",
64+
"62": "Community 62",
65+
"63": "Community 63",
66+
"64": "Community 64",
67+
"65": "Community 65",
68+
"66": "Community 66",
69+
"67": "Community 67",
70+
"68": "Community 68"
71+
}

graphify-out/.graphify_root

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
C:\Users\elife\Desktop\Mert_Proje\graphstack
1+
.

0 commit comments

Comments
 (0)