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
This installs GraphStack + Graphify, copies workflow files into **the current project**, refreshes the code graph, and runs `doctor`. Then describe your task in Cursor chat — rules load automatically.
@@ -46,67 +47,55 @@ This installs GraphStack + Graphify, copies workflow files into **the current pr
46
47
47
48
## Quick Start
48
49
49
-
### Step 1 — Install prerequisites
50
+
### Step 1 — Install GraphStack (PyPI)
50
51
51
-
**Python 3.8+** and **Git** are required. Check if you have them:
52
+
**Python 3.8+** and **Git** are required.
52
53
53
54
```bash
54
-
py -3 --version# need 3.8 or higher
55
-
git --version# any recent version is fine
55
+
py -3 --version
56
+
git --version
56
57
```
57
58
58
-
**Install Graphify** — the knowledge graph engine GraphStack is built on. The version range is pinned in [`requirements.txt`](requirements.txt):
59
+
Install GraphStack + Graphify from PyPI, then initialize **your project** (run inside your project folder):
59
60
60
61
```bash
61
-
pip install -r requirements.txt
62
-
# or, equivalently, install Graphify directly with the same pin:
63
-
pip install "graphifyy>=0.7,<0.9"
64
-
65
-
# Optional: install GraphStack CLI from a clone (board / validate / doctor / run)
66
-
pip install -e /path/to/graphstack
67
-
# or with Graphify in one step:
68
-
pip install -e "/path/to/graphstack[graphify]"
62
+
pip install "MertCapkin_GraphStack[graphify]"
63
+
graphstack init . -y --install-deps
69
64
```
70
65
71
-
After installation, register the Cursor slash command (one-time):
72
-
73
-
```bash
74
-
graphify cursor install
75
-
```
66
+
Or use the [one-command bootstrap](#one-command-cursor-terminal) above (same result; installs from PyPI, falls back to GitHub if needed).
> **CLI name:**`graphstack` (unchanged — only the pip package name differs)
90
78
91
-
> Graphify runs **entirely locally** — no API calls, no data sent anywhere.
92
-
> It uses tree-sitter to parse your code and builds the graph on your machine.
79
+
Graphify runs **entirely locally** — tree-sitter AST, no API calls for code graphs.
93
80
94
81
---
95
82
96
-
### Step 2 — Install GraphStack into your project
83
+
### Step 1 (alternative) — Manual Graphify only
97
84
98
-
GraphStack now works natively on Windows, macOS, and Linux. The installer runs through Python (which you already have for Graphify), so no shell-specific tooling is required.
99
-
100
-
#### One command (recommended)
85
+
If you prefer to install Graphify separately first:
Run this once. After that, use `/graphify --update` — it only re-scans changed files and takes a few seconds.
172
161
173
-
**New project with no code yet?** Skip this step — GraphStack's Bootstrap Mode handles it. Just go to Step 4.
162
+
**New project with no code yet?** Skip this step — GraphStack's Bootstrap Mode handles it.
163
+
164
+
**Already ran `graphstack init --install-deps`?** You have a code-only graph in `graphify-out/`; run `/graphify .` in Cursor for the full semantic graph when ready.
174
165
175
166
---
176
167
@@ -344,7 +335,7 @@ GraphStack is a **workflow protocol** (markdown + handoff files), not a runtime
344
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. |
345
336
| Token savings | The table above is **estimated**, not guaranteed. Small repos or undisciplined sessions may use **more** tokens than unstructured chat. |
346
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). |
347
-
| Setup | Graphify + GraphStack install + `/graphify` + Cursor — four steps, not zero-config. |
338
+
| Setup | Graphify + `pip install MertCapkin_GraphStack`+ `graphstack init` — or one bootstrap command. See [PyPI](https://pypi.org/project/MertCapkin_GraphStack/). |
348
339
349
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.
0 commit comments