@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.
Files changed (49) hide show
  1. package/.claude-plugin/marketplace.json +2 -2
  2. package/.claude-plugin/plugin.json +1 -1
  3. package/CHANGELOG.md +103 -0
  4. package/README.de.md +2 -0
  5. package/README.fr.md +2 -0
  6. package/README.it.md +2 -0
  7. package/README.ja.md +2 -0
  8. package/README.ko.md +2 -0
  9. package/README.md +3 -1
  10. package/README.zh-CN.md +2 -0
  11. package/agents/design-authority-watcher.md +42 -1
  12. package/agents/design-integration-checker.md +1 -1
  13. package/agents/design-planner.md +1 -1
  14. package/agents/gdd-graph-refresh.md +90 -0
  15. package/bin/gdd-graph +261 -0
  16. package/connections/connections.md +10 -9
  17. package/connections/graphify.md +65 -54
  18. package/package.json +4 -2
  19. package/reference/capability-gap-stage-gate.md +7 -4
  20. package/reference/known-failure-modes.md +337 -1
  21. package/reference/model-tiers.md +2 -2
  22. package/reference/schemas/events.schema.json +61 -0
  23. package/reference/start-interview.md +1 -1
  24. package/scripts/detect-stale-refs.cjs +6 -0
  25. package/scripts/lib/apply-reflections/incubator-proposals.cjs +10 -3
  26. package/scripts/lib/authority-watcher/index.cjs +201 -0
  27. package/scripts/lib/failure-mode-matcher.cjs +460 -0
  28. package/scripts/lib/graph/atomic-write.mjs +68 -0
  29. package/scripts/lib/graph/build.mjs +124 -0
  30. package/scripts/lib/graph/diff.mjs +90 -0
  31. package/scripts/lib/graph/index.mjs +14 -0
  32. package/scripts/lib/graph/query.mjs +155 -0
  33. package/scripts/lib/graph/schema.json +69 -0
  34. package/scripts/lib/graph/schema.mjs +47 -0
  35. package/scripts/lib/graph/status.mjs +88 -0
  36. package/scripts/lib/graph/token-estimate.mjs +27 -0
  37. package/scripts/lib/graph/upsert.mjs +210 -0
  38. package/scripts/lib/{gsd-health-mirror → health-mirror}/index.cjs +1 -1
  39. package/scripts/lib/install/interactive.cjs +27 -2
  40. package/scripts/lib/reflector-capability-gap-aggregator.cjs +32 -0
  41. package/scripts/lib/reflector-kfm-proposer.cjs +468 -0
  42. package/scripts/mcp-servers/gdd-mcp/tools/gdd_health.ts +3 -3
  43. package/skills/apply-reflections/SKILL.md +4 -0
  44. package/skills/apply-reflections/apply-reflections-procedure.md +38 -4
  45. package/skills/connections/connections-onboarding.md +6 -6
  46. package/skills/graphify/SKILL.md +11 -10
  47. package/skills/scan/scan-procedure.md +9 -8
  48. package/agents/gdd-graphify-sync.md +0 -110
  49. /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.