@flyingrobots/graft 0.7.1 → 0.8.0

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 (283) hide show
  1. package/CHANGELOG.md +140 -0
  2. package/README.md +33 -16
  3. package/dist/api/index.d.ts +3 -0
  4. package/dist/api/index.d.ts.map +1 -1
  5. package/dist/api/index.js +2 -0
  6. package/dist/api/index.js.map +1 -1
  7. package/dist/cli/cli-error.d.ts.map +1 -1
  8. package/dist/cli/cli-error.js +22 -3
  9. package/dist/cli/cli-error.js.map +1 -1
  10. package/dist/cli/command-parser.d.ts.map +1 -1
  11. package/dist/cli/command-parser.js +62 -6
  12. package/dist/cli/command-parser.js.map +1 -1
  13. package/dist/cli/dead-symbols-render.d.ts +2 -0
  14. package/dist/cli/dead-symbols-render.d.ts.map +1 -0
  15. package/dist/cli/dead-symbols-render.js +23 -0
  16. package/dist/cli/dead-symbols-render.js.map +1 -0
  17. package/dist/cli/doctor-render.d.ts +2 -0
  18. package/dist/cli/doctor-render.d.ts.map +1 -0
  19. package/dist/cli/doctor-render.js +80 -0
  20. package/dist/cli/doctor-render.js.map +1 -0
  21. package/dist/cli/entrypoint.d.ts +1 -0
  22. package/dist/cli/entrypoint.d.ts.map +1 -1
  23. package/dist/cli/entrypoint.js +1 -0
  24. package/dist/cli/entrypoint.js.map +1 -1
  25. package/dist/cli/git-graft-enhance-model.d.ts +33 -3
  26. package/dist/cli/git-graft-enhance-model.d.ts.map +1 -1
  27. package/dist/cli/git-graft-enhance-model.js +38 -0
  28. package/dist/cli/git-graft-enhance-model.js.map +1 -1
  29. package/dist/cli/git-graft-enhance-render.d.ts.map +1 -1
  30. package/dist/cli/git-graft-enhance-render.js +13 -0
  31. package/dist/cli/git-graft-enhance-render.js.map +1 -1
  32. package/dist/cli/git-graft-enhance.d.ts.map +1 -1
  33. package/dist/cli/git-graft-enhance.js +44 -1
  34. package/dist/cli/git-graft-enhance.js.map +1 -1
  35. package/dist/cli/index-cmd.d.ts +1 -0
  36. package/dist/cli/index-cmd.d.ts.map +1 -1
  37. package/dist/cli/index-cmd.js +3 -0
  38. package/dist/cli/index-cmd.js.map +1 -1
  39. package/dist/cli/main.d.ts +2 -0
  40. package/dist/cli/main.d.ts.map +1 -1
  41. package/dist/cli/main.js +24 -2
  42. package/dist/cli/main.js.map +1 -1
  43. package/dist/cli/peer-command.d.ts.map +1 -1
  44. package/dist/cli/peer-command.js +25 -0
  45. package/dist/cli/peer-command.js.map +1 -1
  46. package/dist/cli/review-cooldown.d.ts +15 -0
  47. package/dist/cli/review-cooldown.d.ts.map +1 -0
  48. package/dist/cli/review-cooldown.js +136 -0
  49. package/dist/cli/review-cooldown.js.map +1 -0
  50. package/dist/cli/structural-blame-render.d.ts +2 -0
  51. package/dist/cli/structural-blame-render.d.ts.map +1 -0
  52. package/dist/cli/structural-blame-render.js +39 -0
  53. package/dist/cli/structural-blame-render.js.map +1 -0
  54. package/dist/cli/structural-review-render.d.ts +2 -0
  55. package/dist/cli/structural-review-render.d.ts.map +1 -0
  56. package/dist/cli/structural-review-render.js +56 -0
  57. package/dist/cli/structural-review-render.js.map +1 -0
  58. package/dist/cli/structural-test-coverage-render.d.ts +2 -0
  59. package/dist/cli/structural-test-coverage-render.d.ts.map +1 -0
  60. package/dist/cli/structural-test-coverage-render.js +46 -0
  61. package/dist/cli/structural-test-coverage-render.js.map +1 -0
  62. package/dist/contracts/capabilities.d.ts +9 -6
  63. package/dist/contracts/capabilities.d.ts.map +1 -1
  64. package/dist/contracts/capabilities.js +40 -1
  65. package/dist/contracts/capabilities.js.map +1 -1
  66. package/dist/contracts/causal-ontology.d.ts +17 -17
  67. package/dist/contracts/output-schema-cli.d.ts +103 -41
  68. package/dist/contracts/output-schema-cli.d.ts.map +1 -1
  69. package/dist/contracts/output-schema-cli.js +29 -0
  70. package/dist/contracts/output-schema-cli.js.map +1 -1
  71. package/dist/contracts/output-schema-fragments.d.ts +76 -76
  72. package/dist/contracts/output-schema-mcp.d.ts +87 -62
  73. package/dist/contracts/output-schema-mcp.d.ts.map +1 -1
  74. package/dist/contracts/output-schema-mcp.js +43 -21
  75. package/dist/contracts/output-schema-mcp.js.map +1 -1
  76. package/dist/contracts/output-schema-meta.d.ts +2 -2
  77. package/dist/contracts/output-schema-meta.d.ts.map +1 -1
  78. package/dist/contracts/output-schemas.d.ts +7 -7
  79. package/dist/contracts/output-schemas.d.ts.map +1 -1
  80. package/dist/contracts/output-schemas.js +69 -1
  81. package/dist/contracts/output-schemas.js.map +1 -1
  82. package/dist/git/version-guard.d.ts +17 -0
  83. package/dist/git/version-guard.d.ts.map +1 -0
  84. package/dist/git/version-guard.js +51 -0
  85. package/dist/git/version-guard.js.map +1 -0
  86. package/dist/hooks/posttooluse-read.js +2 -2
  87. package/dist/hooks/posttooluse-read.js.map +1 -1
  88. package/dist/mcp/burden.d.ts.map +1 -1
  89. package/dist/mcp/burden.js +2 -0
  90. package/dist/mcp/burden.js.map +1 -1
  91. package/dist/mcp/daemon-server.d.ts.map +1 -1
  92. package/dist/mcp/daemon-server.js +2 -0
  93. package/dist/mcp/daemon-server.js.map +1 -1
  94. package/dist/mcp/persisted-local-history-graph.d.ts.map +1 -1
  95. package/dist/mcp/persisted-local-history-graph.js +2 -1
  96. package/dist/mcp/persisted-local-history-graph.js.map +1 -1
  97. package/dist/mcp/persisted-local-history.d.ts +5 -5
  98. package/dist/mcp/repo-tool-job.d.ts.map +1 -1
  99. package/dist/mcp/repo-tool-job.js +2 -0
  100. package/dist/mcp/repo-tool-job.js.map +1 -1
  101. package/dist/mcp/server-invocation.d.ts.map +1 -1
  102. package/dist/mcp/server-invocation.js +206 -147
  103. package/dist/mcp/server-invocation.js.map +1 -1
  104. package/dist/mcp/server.d.ts.map +1 -1
  105. package/dist/mcp/server.js +184 -116
  106. package/dist/mcp/server.js.map +1 -1
  107. package/dist/mcp/stdio-server.d.ts.map +1 -1
  108. package/dist/mcp/stdio-server.js +2 -0
  109. package/dist/mcp/stdio-server.js.map +1 -1
  110. package/dist/mcp/tool-registry.d.ts.map +1 -1
  111. package/dist/mcp/tool-registry.js +4 -0
  112. package/dist/mcp/tool-registry.js.map +1 -1
  113. package/dist/mcp/tools/changed-since.d.ts.map +1 -1
  114. package/dist/mcp/tools/changed-since.js +10 -3
  115. package/dist/mcp/tools/changed-since.js.map +1 -1
  116. package/dist/mcp/tools/dead-symbols.d.ts +3 -0
  117. package/dist/mcp/tools/dead-symbols.d.ts.map +1 -0
  118. package/dist/mcp/tools/dead-symbols.js +33 -0
  119. package/dist/mcp/tools/dead-symbols.js.map +1 -0
  120. package/dist/mcp/tools/map.d.ts.map +1 -1
  121. package/dist/mcp/tools/map.js +2 -0
  122. package/dist/mcp/tools/map.js.map +1 -1
  123. package/dist/mcp/tools/precision-warp.d.ts.map +1 -1
  124. package/dist/mcp/tools/precision-warp.js +2 -6
  125. package/dist/mcp/tools/precision-warp.js.map +1 -1
  126. package/dist/mcp/tools/refactor-difficulty.d.ts.map +1 -1
  127. package/dist/mcp/tools/refactor-difficulty.js +2 -0
  128. package/dist/mcp/tools/refactor-difficulty.js.map +1 -1
  129. package/dist/mcp/tools/safe-read.d.ts.map +1 -1
  130. package/dist/mcp/tools/safe-read.js +10 -105
  131. package/dist/mcp/tools/safe-read.js.map +1 -1
  132. package/dist/mcp/tools/structural-test-coverage.d.ts +3 -0
  133. package/dist/mcp/tools/structural-test-coverage.d.ts.map +1 -0
  134. package/dist/mcp/tools/structural-test-coverage.js +35 -0
  135. package/dist/mcp/tools/structural-test-coverage.js.map +1 -0
  136. package/dist/operations/cached-file.d.ts +6 -2
  137. package/dist/operations/cached-file.d.ts.map +1 -1
  138. package/dist/operations/cached-file.js +30 -6
  139. package/dist/operations/cached-file.js.map +1 -1
  140. package/dist/operations/export-surface-diff.d.ts.map +1 -1
  141. package/dist/operations/export-surface-diff.js +2 -0
  142. package/dist/operations/export-surface-diff.js.map +1 -1
  143. package/dist/operations/file-outline.js +2 -2
  144. package/dist/operations/file-outline.js.map +1 -1
  145. package/dist/operations/graft-diff.d.ts.map +1 -1
  146. package/dist/operations/graft-diff.js +2 -0
  147. package/dist/operations/graft-diff.js.map +1 -1
  148. package/dist/operations/projection-safety.d.ts.map +1 -1
  149. package/dist/operations/projection-safety.js +2 -0
  150. package/dist/operations/projection-safety.js.map +1 -1
  151. package/dist/operations/repo-workspace.d.ts.map +1 -1
  152. package/dist/operations/repo-workspace.js +26 -8
  153. package/dist/operations/repo-workspace.js.map +1 -1
  154. package/dist/operations/review-cooldown-status.d.ts +27 -0
  155. package/dist/operations/review-cooldown-status.d.ts.map +1 -0
  156. package/dist/operations/review-cooldown-status.js +115 -0
  157. package/dist/operations/review-cooldown-status.js.map +1 -0
  158. package/dist/operations/safe-read.js +2 -2
  159. package/dist/operations/safe-read.js.map +1 -1
  160. package/dist/operations/sludge-detector.d.ts.map +1 -1
  161. package/dist/operations/sludge-detector.js +2 -1
  162. package/dist/operations/sludge-detector.js.map +1 -1
  163. package/dist/operations/structural-review.js +8 -8
  164. package/dist/operations/structural-review.js.map +1 -1
  165. package/dist/operations/structural-test-coverage-map.d.ts +44 -0
  166. package/dist/operations/structural-test-coverage-map.d.ts.map +1 -0
  167. package/dist/operations/structural-test-coverage-map.js +331 -0
  168. package/dist/operations/structural-test-coverage-map.js.map +1 -0
  169. package/dist/operations/structured-buffer-compare.d.ts.map +1 -1
  170. package/dist/operations/structured-buffer-compare.js +4 -1
  171. package/dist/operations/structured-buffer-compare.js.map +1 -1
  172. package/dist/operations/structured-buffer-model.d.ts +15 -13
  173. package/dist/operations/structured-buffer-model.d.ts.map +1 -1
  174. package/dist/operations/structured-buffer-model.js +24 -5
  175. package/dist/operations/structured-buffer-model.js.map +1 -1
  176. package/dist/operations/structured-buffer-query.d.ts.map +1 -1
  177. package/dist/operations/structured-buffer-query.js +21 -12
  178. package/dist/operations/structured-buffer-query.js.map +1 -1
  179. package/dist/parser/extractors/common.d.ts +16 -0
  180. package/dist/parser/extractors/common.d.ts.map +1 -0
  181. package/dist/parser/extractors/common.js +23 -0
  182. package/dist/parser/extractors/common.js.map +1 -0
  183. package/dist/parser/extractors/go.d.ts +18 -0
  184. package/dist/parser/extractors/go.d.ts.map +1 -0
  185. package/dist/parser/extractors/go.js +200 -0
  186. package/dist/parser/extractors/go.js.map +1 -0
  187. package/dist/parser/extractors/graphql.d.ts +26 -0
  188. package/dist/parser/extractors/graphql.d.ts.map +1 -0
  189. package/dist/parser/extractors/graphql.js +239 -0
  190. package/dist/parser/extractors/graphql.js.map +1 -0
  191. package/dist/parser/extractors/index.d.ts +4 -0
  192. package/dist/parser/extractors/index.d.ts.map +1 -0
  193. package/dist/parser/extractors/index.js +26 -0
  194. package/dist/parser/extractors/index.js.map +1 -0
  195. package/dist/parser/extractors/json.d.ts +10 -0
  196. package/dist/parser/extractors/json.d.ts.map +1 -0
  197. package/dist/parser/extractors/json.js +75 -0
  198. package/dist/parser/extractors/json.js.map +1 -0
  199. package/dist/parser/extractors/python.d.ts +16 -0
  200. package/dist/parser/extractors/python.d.ts.map +1 -0
  201. package/dist/parser/extractors/python.js +145 -0
  202. package/dist/parser/extractors/python.js.map +1 -0
  203. package/dist/parser/extractors/rust.d.ts +12 -0
  204. package/dist/parser/extractors/rust.d.ts.map +1 -0
  205. package/dist/parser/extractors/rust.js +122 -0
  206. package/dist/parser/extractors/rust.js.map +1 -0
  207. package/dist/parser/extractors/toml.d.ts +10 -0
  208. package/dist/parser/extractors/toml.d.ts.map +1 -0
  209. package/dist/parser/extractors/toml.js +74 -0
  210. package/dist/parser/extractors/toml.js.map +1 -0
  211. package/dist/parser/extractors/typescript.d.ts +13 -0
  212. package/dist/parser/extractors/typescript.d.ts.map +1 -0
  213. package/dist/parser/extractors/typescript.js +179 -0
  214. package/dist/parser/extractors/typescript.js.map +1 -0
  215. package/dist/parser/extractors/yaml.d.ts +13 -0
  216. package/dist/parser/extractors/yaml.d.ts.map +1 -0
  217. package/dist/parser/extractors/yaml.js +93 -0
  218. package/dist/parser/extractors/yaml.js.map +1 -0
  219. package/dist/parser/lang.d.ts +2 -2
  220. package/dist/parser/lang.d.ts.map +1 -1
  221. package/dist/parser/lang.js +19 -1
  222. package/dist/parser/lang.js.map +1 -1
  223. package/dist/parser/outline.d.ts +4 -0
  224. package/dist/parser/outline.d.ts.map +1 -1
  225. package/dist/parser/outline.js +32 -221
  226. package/dist/parser/outline.js.map +1 -1
  227. package/dist/parser/runtime.d.ts +7 -0
  228. package/dist/parser/runtime.d.ts.map +1 -1
  229. package/dist/parser/runtime.js +99 -10
  230. package/dist/parser/runtime.js.map +1 -1
  231. package/dist/parser/types.d.ts +1 -1
  232. package/dist/parser/types.d.ts.map +1 -1
  233. package/dist/parser/types.js.map +1 -1
  234. package/dist/ports/provenance-timeline.d.ts +10 -0
  235. package/dist/ports/provenance-timeline.d.ts.map +1 -0
  236. package/dist/ports/provenance-timeline.js +17 -0
  237. package/dist/ports/provenance-timeline.js.map +1 -0
  238. package/dist/ports/semantic-enrichment.d.ts +47 -0
  239. package/dist/ports/semantic-enrichment.d.ts.map +1 -0
  240. package/dist/ports/semantic-enrichment.js +2 -0
  241. package/dist/ports/semantic-enrichment.js.map +1 -0
  242. package/dist/warp/ast-import-resolver.d.ts.map +1 -1
  243. package/dist/warp/ast-import-resolver.js +2 -1
  244. package/dist/warp/ast-import-resolver.js.map +1 -1
  245. package/dist/warp/dead-symbols.d.ts.map +1 -1
  246. package/dist/warp/dead-symbols.js +4 -7
  247. package/dist/warp/dead-symbols.js.map +1 -1
  248. package/dist/warp/index-head.d.ts +4 -0
  249. package/dist/warp/index-head.d.ts.map +1 -1
  250. package/dist/warp/index-head.js +255 -22
  251. package/dist/warp/index-head.js.map +1 -1
  252. package/dist/warp/observers.d.ts.map +1 -1
  253. package/dist/warp/observers.js +3 -2
  254. package/dist/warp/observers.js.map +1 -1
  255. package/dist/warp/refactor-difficulty.d.ts.map +1 -1
  256. package/dist/warp/refactor-difficulty.js +4 -9
  257. package/dist/warp/refactor-difficulty.js.map +1 -1
  258. package/dist/warp/references.d.ts.map +1 -1
  259. package/dist/warp/references.js +2 -1
  260. package/dist/warp/references.js.map +1 -1
  261. package/dist/warp/semantic-enrichment.d.ts +14 -0
  262. package/dist/warp/semantic-enrichment.d.ts.map +1 -0
  263. package/dist/warp/semantic-enrichment.js +55 -0
  264. package/dist/warp/semantic-enrichment.js.map +1 -0
  265. package/dist/warp/structural-queries.d.ts.map +1 -1
  266. package/dist/warp/structural-queries.js +7 -14
  267. package/dist/warp/structural-queries.js.map +1 -1
  268. package/dist/warp/sym-id-codec.d.ts +14 -0
  269. package/dist/warp/sym-id-codec.d.ts.map +1 -0
  270. package/dist/warp/sym-id-codec.js +47 -0
  271. package/dist/warp/sym-id-codec.js.map +1 -0
  272. package/dist/warp/symbol-timeline.d.ts.map +1 -1
  273. package/dist/warp/symbol-timeline.js +6 -14
  274. package/dist/warp/symbol-timeline.js.map +1 -1
  275. package/dist/warp/warp-structural-churn.d.ts.map +1 -1
  276. package/dist/warp/warp-structural-churn.js +6 -10
  277. package/dist/warp/warp-structural-churn.js.map +1 -1
  278. package/dist/warp/warp-structural-log.d.ts.map +1 -1
  279. package/dist/warp/warp-structural-log.js +8 -10
  280. package/dist/warp/warp-structural-log.js.map +1 -1
  281. package/docs/CLI.md +63 -5
  282. package/docs/MCP.md +2 -1
  283. package/package.json +5 -2
package/docs/CLI.md CHANGED
@@ -14,10 +14,12 @@ flowchart LR
14
14
  B --> B6[index]
15
15
  B --> B7[migrate local-history]
16
16
  B --> B8[enhance]
17
+ B --> B9[review]
17
18
  C --> C1[read]
18
19
  C --> C2[struct]
19
20
  C --> C3[symbol]
20
21
  C --> C4[diag]
22
+ C --> C5[review]
21
23
  ```
22
24
 
23
25
  ## What it is for
@@ -27,6 +29,10 @@ flowchart LR
27
29
  - read-only daemon status inspection via `graft daemon status`
28
30
  - bounded, lazy WARP refresh via `graft index --path <path>`
29
31
  - one-time legacy import via `graft migrate local-history`
32
+ - human-facing structural review summaries via `graft review`
33
+ - review-loop readiness via `graft review cooldown`
34
+ - structural/reference test coverage maps via `graft struct test-coverage`
35
+ - dead-symbol cleanup candidates via `graft struct dead-symbols`
30
36
  - Git-facing structural review summaries via `git graft enhance`
31
37
  - local debugging and dogfooding of MCP peer commands
32
38
  - human-facing inspection of bounded state such as:
@@ -35,12 +41,14 @@ flowchart LR
35
41
  - `graft diag doctor`
36
42
  - `graft doctor --sludge`
37
43
  - `graft diag stats`
44
+ - `graft symbol history`
38
45
  - `graft symbol difficulty`
39
46
 
40
47
  ## Core namespaces
41
48
  - `read` — bounded reads and change checks
42
- - `struct` — structural diff / since / map
43
- - `symbol` — precision show / find / blame / difficulty
49
+ - `struct` — structural diff / since / map / review / test-coverage / dead-symbols
50
+ - `symbol` — precision show / find / blame / history / difficulty
51
+ - `review` — structural review and review-loop readiness
44
52
  - `diag` — activity, local-history-dag, doctor, explain, stats, capture
45
53
 
46
54
  ## Release-facing commands
@@ -55,9 +63,18 @@ graft diag activity --json
55
63
  graft diag local-history-dag --json
56
64
  graft diag doctor --json
57
65
  graft doctor --sludge --json
66
+ graft review --base HEAD~1
67
+ graft review --base origin/main --head HEAD --json
68
+ graft review cooldown --pr 48
69
+ graft review cooldown --comments-file comments.json --now 2026-05-05T15:10:00.000Z --json
58
70
  graft symbol find 'create*' --json
71
+ graft symbol history createUser --path src/users.ts
59
72
  graft symbol difficulty createUser --path src/users.ts --json
60
73
  graft struct diff --json
74
+ graft struct test-coverage --src src --tests test
75
+ graft struct test-coverage --src src --tests test --json
76
+ graft struct dead-symbols --limit 20
77
+ graft struct dead-symbols --limit 20 --json
61
78
  git graft enhance --since HEAD~1
62
79
  git-graft enhance --since HEAD~1
63
80
  git-graft enhance --since HEAD~1 --json
@@ -73,14 +90,55 @@ pnpm graft diag activity
73
90
 
74
91
  Bare `graft ...` only works when the package is installed or linked onto your `PATH`.
75
92
 
93
+ `graft review --base <ref> [--head <ref>] [--json]` renders the
94
+ repo-local structural review summary backed by the same `graft_review`
95
+ model as MCP and `graft struct review`. Human output separates
96
+ structural files from formatting, test, docs, and config churn. JSON
97
+ output keeps the schema-validated `graft.cli.struct_review` payload for
98
+ agents. GitHub PR-number resolution and comment posting are intentionally
99
+ outside this first slice; check out or fetch the PR branch and compare
100
+ refs locally.
101
+
102
+ `graft review cooldown [--pr <number>] [--comments-file <path>] [--now
103
+ <iso>] [--json]` reads PR comments, detects CodeRabbit rate-limit
104
+ markers, and reports whether another automated review request is ready,
105
+ still cooling down, or unknown. Without `--comments-file` it shells out
106
+ to `gh pr view [<number>] --json comments`; fixtures can use
107
+ `--comments-file` to validate the same logic without network or GitHub
108
+ state. Human output includes local timestamps; JSON output keeps the
109
+ schema-validated `graft.cli.review_cooldown` payload.
110
+
111
+ `graft struct test-coverage [--src <path>] [--tests <path>] [--json]`
112
+ renders a structural/reference coverage map for exported source symbols.
113
+ The default paths are `src` and `test`. Human output lists summary
114
+ counts, limitations, and per-symbol `covered` / `uncovered` status.
115
+ JSON output keeps the schema-validated
116
+ `graft.cli.struct_test_coverage` payload. This command does not run
117
+ tests or claim line, branch, statement, or execution coverage; imports
118
+ and mentions in test files can count as structural references.
119
+
120
+ `graft struct dead-symbols [--limit <n>] [--json]` lists symbols removed
121
+ from indexed WARP history and not subsequently re-added. Human output is
122
+ intended for cleanup and API-surface shrinkage review; JSON output keeps
123
+ the schema-validated `graft.cli.struct_dead_symbols` payload backed by
124
+ the `graft_dead_symbols` MCP peer.
125
+
126
+ `graft symbol history <symbol> [--path <path>] [--json]` renders the
127
+ same provenance-backed history as `graft symbol blame`, with a
128
+ timeline-first human view over creation, signature-change, and reference
129
+ facts. JSON output remains the schema-validated `graft.cli.symbol_blame`
130
+ payload so the alias does not create a second wire shape for the same
131
+ WARP truth.
132
+
76
133
  `git graft enhance --since <ref> [--head <ref>] [--json]` is the
77
134
  installed Git external-command form for the release-facing structural
78
135
  review aggregator. `git-graft enhance --since <ref>` is the direct
79
136
  package binary form. Both route through the same top-level `enhance`
80
137
  parser path. The command composes the shipped structural-since and
81
- export-surface facts into a concise review summary; it does not wrap
82
- arbitrary Git subcommands or expand into provenance, blame, reference, or
83
- write-tool behavior.
138
+ export-surface facts into a concise review summary, plus bounded
139
+ provenance hints for changed symbols when WARP blame data is available.
140
+ It does not wrap arbitrary Git subcommands or expand into unbounded
141
+ reference traversal or write-tool behavior.
84
142
 
85
143
  `graft diag activity` is the current human-facing between-commit surface. It reports bounded local `artifact_history`, not canonical provenance, and now renders a textual operator summary by default. Use `--json` when you want the structured machine-readable form.
86
144
 
package/docs/MCP.md CHANGED
@@ -63,7 +63,8 @@ flow:
63
63
  ## Key Tool Groups
64
64
  - **Bounded Reads**: `safe_read`, `file_outline`, `read_range`, `changed_since`
65
65
  - **Governed Edits**: `graft_edit`
66
- - **Structural History**: `graft_diff`, `graft_since`, `graft_map`
66
+ - **Structural History**: `graft_diff`, `graft_since`, `graft_map`,
67
+ `graft_review`, `graft_test_coverage`, `graft_dead_symbols`
67
68
  - **Structural Metrics**: `graft_churn`, `graft_difficulty`
68
69
  - **Precision**: `code_show`, `code_find`, `code_refs`
69
70
  - **Activity & Footing**: `activity_view`, `causal_status`, `causal_attach`, `doctor`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flyingrobots/graft",
3
- "version": "0.7.1",
3
+ "version": "0.8.0",
4
4
  "description": "Context governor and between-commit activity surface for coding agents",
5
5
  "type": "module",
6
6
  "packageManager": "pnpm@10.30.0",
@@ -90,6 +90,7 @@
90
90
  "@git-stunts/plumbing": "^2.8.0",
91
91
  "@modelcontextprotocol/sdk": "^1.29.0",
92
92
  "picomatch": "^4.0.4",
93
+ "tree-sitter-graphql-grammar-wasm": "1.0.1",
93
94
  "tree-sitter-wasms": "0.1.13",
94
95
  "web-tree-sitter": "^0.20.8",
95
96
  "zod": "4.3.6"
@@ -110,7 +111,9 @@
110
111
  "onlyBuiltDependencies": [],
111
112
  "overrides": {
112
113
  "vite": "^8.0.5",
113
- "hono": ">=4.12.14",
114
+ "hono": "4.12.18",
115
+ "fast-uri": "3.1.2",
116
+ "ip-address": "10.2.0",
114
117
  "postcss": "8.5.12"
115
118
  }
116
119
  }