|
8 | 8 |
|
9 | 9 | - [doc/DEVELOPMENT.md](doc/DEVELOPMENT.md) — Development setup |
10 | 10 | - [doc/PROJECT_VISION.md](doc/PROJECT_VISION.md) — Full conceptual architecture |
| 11 | +- [doc/NEO4J_COOKBOOK.md](doc/NEO4J_COOKBOOK.md) — Query recipes for exploring the graph |
11 | 12 | - [doc/TELEMETRY.md](doc/TELEMETRY.md) — Enterprise metrics framework |
12 | 13 | - [doc/IMPLEMENTATION_PLAN.md](doc/IMPLEMENTATION_PLAN.md) — Phase 1 build specs |
13 | 14 |
|
@@ -75,19 +76,21 @@ Once containers are running, access: |
75 | 76 | In Neo4j Browser (http://localhost:7474), try these queries: |
76 | 77 |
|
77 | 78 | ```cypher |
78 | | -# See all nodes and relationships |
79 | | -MATCH (n)-[r]->(m) RETURN n, r, m LIMIT 100 |
80 | | -
|
81 | | -# View decisions for a specific project |
82 | | -MATCH (s:Session)-[:HAS_DECISION]->(d:Decision) |
83 | | -WHERE s.projectName = 'your-project' |
| 79 | +// Your decision history — sessions with their decisions |
| 80 | +MATCH (s:Session {project: 'your-project'})-[:DECIDED]->(d:Decision) |
84 | 81 | RETURN s, d |
85 | 82 |
|
86 | | -# See the full session structure |
87 | | -MATCH (s:Session)-[r]->(n) RETURN s, r, n LIMIT 50 |
| 83 | +// Full knowledge graph — sessions, decisions, corrections, insights |
| 84 | +MATCH (s:Session {project: 'your-project'})-[r]->(n) |
| 85 | +RETURN s, r, n |
| 86 | +LIMIT 100 |
| 87 | +
|
| 88 | +// Learning from mistakes — corrections over time |
| 89 | +MATCH (s:Session {project: 'your-project'})-[:CORRECTED]->(c:Correction) |
| 90 | +RETURN s, c |
88 | 91 | ``` |
89 | 92 |
|
90 | | -Click any node in the visualization to expand its connections. The graph view shows how sessions, decisions, corrections, and other memory types relate to each other. |
| 93 | +Click any node to expand connections. See [doc/NEO4J_COOKBOOK.md](doc/NEO4J_COOKBOOK.md) for more queries. |
91 | 94 |
|
92 | 95 | --- |
93 | 96 |
|
|
0 commit comments