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
Trim SKILL.md and prompt templates — reference CLI instead of duplicating
Replace static node/edge type tables and command examples with references
to lattice help concepts, lattice help workflows, and lattice --json.
Keep only behavioral rules (editing policy, workflow, gap filing) that
the CLI can't teach.
266 lines → 122 lines (54% reduction). No more manual updates needed
when node types or edge types change.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This project uses [Lattice](https://github.com/forkzero/lattice) for knowledge coordination via MCP. The `.lattice/` directory contains sources, theses, requirements, implementations, and messages connected by version-tracked edges.
3
+
This project uses [Lattice](https://github.com/forkzero/lattice) for knowledge coordination via MCP.
4
4
5
5
## MCP Tools
6
6
7
7
| Tool | Purpose |
8
8
|------|---------|
9
-
|`lattice_summary`| Status overview — nodes, resolution, drift, contested theses|
10
-
|`lattice_search`| Find nodes by criteria (text, priority, resolution, tags) |
9
+
|`lattice_summary`| Status overview — start here|
10
+
|`lattice_search`| Find nodes by criteria |
11
11
|`lattice_get`| Full node details with edges |
12
-
|`lattice_list`| List nodes by type (sources, theses, requirements, implementations, messages) |
13
-
|`lattice_resolve`| Mark requirement status (verified, blocked, deferred, wontfix) |
12
+
|`lattice_list`| List nodes by type |
13
+
|`lattice_resolve`| Mark requirement status |
14
14
|`lattice_add_requirement`| Create new requirement |
15
15
|`lattice_drift`| Check for stale edge bindings |
16
16
17
-
## Node Types
18
-
19
-
| Type | ID Pattern | Purpose |
20
-
|------|-----------|---------|
21
-
| Source |`SRC-*`| Research, papers, references |
22
-
| Thesis |`THX-*`| Strategic claims (can be `contested`) |
23
-
| Requirement |`REQ-*`| Testable specifications |
24
-
| Implementation |`IMP-*`| Code that satisfies requirements |
25
-
| Message |`MSG-*`| Persona-specific claims grounded in theses |
26
-
27
17
## Workflow
28
18
29
19
1.**Start**: `lattice_summary` for current state
30
20
2.**Find work**: `lattice_search` with `resolution: "unresolved"`
31
21
3.**Get details**: `lattice_get` for full specification
32
22
4.**Complete**: `lattice_resolve` with `status: "verified"`
33
23
34
-
## Reference Requirements
35
-
36
-
When implementing features, note the requirement ID in commits:
37
-
```
38
-
Implements REQ-XXX-001
39
-
```
24
+
Reference requirement IDs in commits: `Implements REQ-XXX-001`
description: "Lattice knowledge graph integration. Use when working in a project with a .lattice/ directory — for requirements, theses, sources, implementations, drift detection, or lattice CLI commands."
3
+
description: "Lattice knowledge graph integration. Use when working in a project with a .lattice/ directory — for requirements, theses, sources, implementations, messages, drift detection, or lattice CLI commands."
@@ -43,7 +27,7 @@ The CLI handles timestamps, version bumps, edge wiring, and ID validation.
43
27
44
28
If the CLI does not support a required operation, agents MAY edit `.lattice/` YAML files directly, but MUST run `lattice lint` immediately after to verify correctness.
45
29
46
-
If a CLI gap is found, agents SHOULD file an issue on `forkzero/lattice` describing the missing capability:
30
+
If a CLI gap is found, agents SHOULD file an issue on `forkzero/lattice`:
lattice edit IMP-XXX --body "Updated description" --status active
161
-
```
162
-
163
-
Agents MUST use `lattice edit` to modify existing nodes. The `edit` command auto-bumps the patch version and preserves all other fields. Type-specific flags: `--priority` (requirements only), `--files` and `--test-command` (implementations only).
164
-
165
61
## JSON Output
166
62
167
63
All read and write commands accept `--format json` for structured output. Use this when you need to parse results programmatically.
168
64
169
-
## Drift Detection
170
-
171
-
Edges are version-bound. When a node is updated, edges referencing the old version become stale. Run `lattice drift` to detect these. Use `lattice drift --check` in CI (exits non-zero on drift).
172
-
173
65
## Product Owner Agent
174
66
175
67
For backlog triage, strategic critique, and planning work, use the **product-owner** agent (`/product-owner`). It manages the lattice as persistent working memory for product strategy.
0 commit comments