@hegemonart/get-design-done 1.30.0 → 1.30.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/marketplace.json +2 -2
- package/.claude-plugin/plugin.json +1 -1
- package/CHANGELOG.md +103 -0
- package/README.de.md +2 -0
- package/README.fr.md +2 -0
- package/README.it.md +2 -0
- package/README.ja.md +2 -0
- package/README.ko.md +2 -0
- package/README.md +3 -1
- package/README.zh-CN.md +2 -0
- package/agents/design-authority-watcher.md +42 -1
- package/agents/design-integration-checker.md +1 -1
- package/agents/design-planner.md +1 -1
- package/agents/gdd-graph-refresh.md +90 -0
- package/bin/gdd-graph +261 -0
- package/connections/connections.md +10 -9
- package/connections/graphify.md +65 -54
- package/package.json +4 -2
- package/reference/capability-gap-stage-gate.md +7 -4
- package/reference/known-failure-modes.md +337 -1
- package/reference/model-tiers.md +2 -2
- package/reference/schemas/events.schema.json +61 -0
- package/reference/start-interview.md +1 -1
- package/scripts/detect-stale-refs.cjs +6 -0
- package/scripts/lib/apply-reflections/incubator-proposals.cjs +10 -3
- package/scripts/lib/authority-watcher/index.cjs +201 -0
- package/scripts/lib/failure-mode-matcher.cjs +460 -0
- package/scripts/lib/graph/atomic-write.mjs +68 -0
- package/scripts/lib/graph/build.mjs +124 -0
- package/scripts/lib/graph/diff.mjs +90 -0
- package/scripts/lib/graph/index.mjs +14 -0
- package/scripts/lib/graph/query.mjs +155 -0
- package/scripts/lib/graph/schema.json +69 -0
- package/scripts/lib/graph/schema.mjs +47 -0
- package/scripts/lib/graph/status.mjs +88 -0
- package/scripts/lib/graph/token-estimate.mjs +27 -0
- package/scripts/lib/graph/upsert.mjs +210 -0
- package/scripts/lib/{gsd-health-mirror → health-mirror}/index.cjs +1 -1
- package/scripts/lib/install/interactive.cjs +27 -2
- package/scripts/lib/reflector-capability-gap-aggregator.cjs +32 -0
- package/scripts/lib/reflector-kfm-proposer.cjs +468 -0
- package/scripts/mcp-servers/gdd-mcp/tools/gdd_health.ts +3 -3
- package/skills/apply-reflections/SKILL.md +4 -0
- package/skills/apply-reflections/apply-reflections-procedure.md +38 -4
- package/skills/connections/connections-onboarding.md +6 -6
- package/skills/graphify/SKILL.md +11 -10
- package/skills/scan/scan-procedure.md +9 -8
- package/agents/gdd-graphify-sync.md +0 -110
- /package/scripts/lib/{gsd-health-mirror → health-mirror}/index.d.cts +0 -0
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: gdd-graphify-sync
|
|
3
|
-
description: "Feeds the Graphify knowledge graph from .design/intel/ slices. Converts intel store graph.json nodes and edges into Graphify-compatible format and upserts them. Run after gdd-intel-updater to keep the semantic graph current."
|
|
4
|
-
tools: Bash, Read, Write
|
|
5
|
-
color: green
|
|
6
|
-
default-tier: haiku
|
|
7
|
-
tier-rationale: "Sync operation is deterministic JSON → graph DB — cheap Haiku is enough"
|
|
8
|
-
parallel-safe: false
|
|
9
|
-
typical-duration-seconds: 20
|
|
10
|
-
reads-only: false
|
|
11
|
-
writes:
|
|
12
|
-
- .design/intel/graph.json
|
|
13
|
-
---
|
|
14
|
-
|
|
15
|
-
@reference/shared-preamble.md
|
|
16
|
-
|
|
17
|
-
# gdd-graphify-sync
|
|
18
|
-
|
|
19
|
-
**Role:** Bridge between the flat intel store and the Graphify semantic knowledge graph. Reads `graph.json` from the intel store and upserts nodes/edges into Graphify using the `gsd-tools.cjs graphify` CLI.
|
|
20
|
-
|
|
21
|
-
## When to invoke
|
|
22
|
-
|
|
23
|
-
- After `gdd-intel-updater` completes (intel store updated)
|
|
24
|
-
- After a phase plan that adds new skill/agent/reference files
|
|
25
|
-
- When semantic graph queries return stale results
|
|
26
|
-
|
|
27
|
-
## Protocol
|
|
28
|
-
|
|
29
|
-
### Step 1 — Check intel store graph slice
|
|
30
|
-
|
|
31
|
-
```bash
|
|
32
|
-
ls .design/intel/graph.json 2>/dev/null && echo "ready" || echo "missing"
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
If missing: print "Intel store graph.json not found — run node scripts/build-intel.cjs --force first." and stop.
|
|
36
|
-
|
|
37
|
-
### Step 2 — Check Graphify availability
|
|
38
|
-
|
|
39
|
-
```bash
|
|
40
|
-
node "$HOME/.claude/get-shit-done/bin/gsd-tools.cjs" graphify status 2>/dev/null | head -5
|
|
41
|
-
```
|
|
42
|
-
|
|
43
|
-
If Graphify is unavailable or returns an error: print "Graphify unavailable — skipping sync. Intel store remains the primary lookup source." and stop gracefully (exit 0, do not fail).
|
|
44
|
-
|
|
45
|
-
### Step 3 — Read graph.json
|
|
46
|
-
|
|
47
|
-
Read `.design/intel/graph.json`. Extract `nodes` and `edges` arrays.
|
|
48
|
-
|
|
49
|
-
### Step 4 — Upsert nodes
|
|
50
|
-
|
|
51
|
-
For each node in `nodes`:
|
|
52
|
-
|
|
53
|
-
```bash
|
|
54
|
-
node "$HOME/.claude/get-shit-done/bin/gsd-tools.cjs" graphify upsert-node \
|
|
55
|
-
--id "<node.id>" \
|
|
56
|
-
--type "<node.type>" \
|
|
57
|
-
--label "<node.name>" \
|
|
58
|
-
--source "gdd-intel-store"
|
|
59
|
-
```
|
|
60
|
-
|
|
61
|
-
Batch in groups of 20 to avoid CLI argument limits. Report total nodes upserted.
|
|
62
|
-
|
|
63
|
-
### Step 5 — Upsert edges
|
|
64
|
-
|
|
65
|
-
For each edge in `edges`:
|
|
66
|
-
|
|
67
|
-
```bash
|
|
68
|
-
node "$HOME/.claude/get-shit-done/bin/gsd-tools.cjs" graphify upsert-edge \
|
|
69
|
-
--from "<edge.from>" \
|
|
70
|
-
--to "<edge.to>" \
|
|
71
|
-
--kind "<edge.kind>" \
|
|
72
|
-
--source "gdd-intel-store"
|
|
73
|
-
```
|
|
74
|
-
|
|
75
|
-
Batch in groups of 20. Report total edges upserted.
|
|
76
|
-
|
|
77
|
-
### Step 6 — Verify sync
|
|
78
|
-
|
|
79
|
-
```bash
|
|
80
|
-
node "$HOME/.claude/get-shit-done/bin/gsd-tools.cjs" graphify status
|
|
81
|
-
```
|
|
82
|
-
|
|
83
|
-
Print the status response. Report node/edge counts in Graphify vs intel store.
|
|
84
|
-
|
|
85
|
-
### Step 7 — Summary
|
|
86
|
-
|
|
87
|
-
```
|
|
88
|
-
━━━ Graphify sync complete ━━━
|
|
89
|
-
Nodes upserted: <N>
|
|
90
|
-
Edges upserted: <M>
|
|
91
|
-
Graphify status: <status line>
|
|
92
|
-
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
93
|
-
```
|
|
94
|
-
|
|
95
|
-
## Required reading (conditional)
|
|
96
|
-
|
|
97
|
-
@.design/intel/graph.json (if present)
|
|
98
|
-
@.design/intel/files.json (if present)
|
|
99
|
-
|
|
100
|
-
## GRAPHIFY-SYNC COMPLETE
|
|
101
|
-
|
|
102
|
-
## Record
|
|
103
|
-
|
|
104
|
-
At run-end, append one JSONL line to `.design/intel/insights.jsonl`:
|
|
105
|
-
|
|
106
|
-
```json
|
|
107
|
-
{"ts":"<ISO-8601>","agent":"<name>","cycle":"<cycle from STATE.md>","stage":"<stage from STATE.md>","one_line_insight":"<what was produced or learned>","artifacts_written":["<files written>"]}
|
|
108
|
-
```
|
|
109
|
-
|
|
110
|
-
Schema: `reference/schemas/insight-line.schema.json`. Use an empty `artifacts_written` array for read-only agents.
|
|
File without changes
|