@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.
- package/CHANGELOG.md +140 -0
- package/README.md +33 -16
- package/dist/api/index.d.ts +3 -0
- package/dist/api/index.d.ts.map +1 -1
- package/dist/api/index.js +2 -0
- package/dist/api/index.js.map +1 -1
- package/dist/cli/cli-error.d.ts.map +1 -1
- package/dist/cli/cli-error.js +22 -3
- package/dist/cli/cli-error.js.map +1 -1
- package/dist/cli/command-parser.d.ts.map +1 -1
- package/dist/cli/command-parser.js +62 -6
- package/dist/cli/command-parser.js.map +1 -1
- package/dist/cli/dead-symbols-render.d.ts +2 -0
- package/dist/cli/dead-symbols-render.d.ts.map +1 -0
- package/dist/cli/dead-symbols-render.js +23 -0
- package/dist/cli/dead-symbols-render.js.map +1 -0
- package/dist/cli/doctor-render.d.ts +2 -0
- package/dist/cli/doctor-render.d.ts.map +1 -0
- package/dist/cli/doctor-render.js +80 -0
- package/dist/cli/doctor-render.js.map +1 -0
- package/dist/cli/entrypoint.d.ts +1 -0
- package/dist/cli/entrypoint.d.ts.map +1 -1
- package/dist/cli/entrypoint.js +1 -0
- package/dist/cli/entrypoint.js.map +1 -1
- package/dist/cli/git-graft-enhance-model.d.ts +33 -3
- package/dist/cli/git-graft-enhance-model.d.ts.map +1 -1
- package/dist/cli/git-graft-enhance-model.js +38 -0
- package/dist/cli/git-graft-enhance-model.js.map +1 -1
- package/dist/cli/git-graft-enhance-render.d.ts.map +1 -1
- package/dist/cli/git-graft-enhance-render.js +13 -0
- package/dist/cli/git-graft-enhance-render.js.map +1 -1
- package/dist/cli/git-graft-enhance.d.ts.map +1 -1
- package/dist/cli/git-graft-enhance.js +44 -1
- package/dist/cli/git-graft-enhance.js.map +1 -1
- package/dist/cli/index-cmd.d.ts +1 -0
- package/dist/cli/index-cmd.d.ts.map +1 -1
- package/dist/cli/index-cmd.js +3 -0
- package/dist/cli/index-cmd.js.map +1 -1
- package/dist/cli/main.d.ts +2 -0
- package/dist/cli/main.d.ts.map +1 -1
- package/dist/cli/main.js +24 -2
- package/dist/cli/main.js.map +1 -1
- package/dist/cli/peer-command.d.ts.map +1 -1
- package/dist/cli/peer-command.js +25 -0
- package/dist/cli/peer-command.js.map +1 -1
- package/dist/cli/review-cooldown.d.ts +15 -0
- package/dist/cli/review-cooldown.d.ts.map +1 -0
- package/dist/cli/review-cooldown.js +136 -0
- package/dist/cli/review-cooldown.js.map +1 -0
- package/dist/cli/structural-blame-render.d.ts +2 -0
- package/dist/cli/structural-blame-render.d.ts.map +1 -0
- package/dist/cli/structural-blame-render.js +39 -0
- package/dist/cli/structural-blame-render.js.map +1 -0
- package/dist/cli/structural-review-render.d.ts +2 -0
- package/dist/cli/structural-review-render.d.ts.map +1 -0
- package/dist/cli/structural-review-render.js +56 -0
- package/dist/cli/structural-review-render.js.map +1 -0
- package/dist/cli/structural-test-coverage-render.d.ts +2 -0
- package/dist/cli/structural-test-coverage-render.d.ts.map +1 -0
- package/dist/cli/structural-test-coverage-render.js +46 -0
- package/dist/cli/structural-test-coverage-render.js.map +1 -0
- package/dist/contracts/capabilities.d.ts +9 -6
- package/dist/contracts/capabilities.d.ts.map +1 -1
- package/dist/contracts/capabilities.js +40 -1
- package/dist/contracts/capabilities.js.map +1 -1
- package/dist/contracts/causal-ontology.d.ts +17 -17
- package/dist/contracts/output-schema-cli.d.ts +103 -41
- package/dist/contracts/output-schema-cli.d.ts.map +1 -1
- package/dist/contracts/output-schema-cli.js +29 -0
- package/dist/contracts/output-schema-cli.js.map +1 -1
- package/dist/contracts/output-schema-fragments.d.ts +76 -76
- package/dist/contracts/output-schema-mcp.d.ts +87 -62
- package/dist/contracts/output-schema-mcp.d.ts.map +1 -1
- package/dist/contracts/output-schema-mcp.js +43 -21
- package/dist/contracts/output-schema-mcp.js.map +1 -1
- package/dist/contracts/output-schema-meta.d.ts +2 -2
- package/dist/contracts/output-schema-meta.d.ts.map +1 -1
- package/dist/contracts/output-schemas.d.ts +7 -7
- package/dist/contracts/output-schemas.d.ts.map +1 -1
- package/dist/contracts/output-schemas.js +69 -1
- package/dist/contracts/output-schemas.js.map +1 -1
- package/dist/git/version-guard.d.ts +17 -0
- package/dist/git/version-guard.d.ts.map +1 -0
- package/dist/git/version-guard.js +51 -0
- package/dist/git/version-guard.js.map +1 -0
- package/dist/hooks/posttooluse-read.js +2 -2
- package/dist/hooks/posttooluse-read.js.map +1 -1
- package/dist/mcp/burden.d.ts.map +1 -1
- package/dist/mcp/burden.js +2 -0
- package/dist/mcp/burden.js.map +1 -1
- package/dist/mcp/daemon-server.d.ts.map +1 -1
- package/dist/mcp/daemon-server.js +2 -0
- package/dist/mcp/daemon-server.js.map +1 -1
- package/dist/mcp/persisted-local-history-graph.d.ts.map +1 -1
- package/dist/mcp/persisted-local-history-graph.js +2 -1
- package/dist/mcp/persisted-local-history-graph.js.map +1 -1
- package/dist/mcp/persisted-local-history.d.ts +5 -5
- package/dist/mcp/repo-tool-job.d.ts.map +1 -1
- package/dist/mcp/repo-tool-job.js +2 -0
- package/dist/mcp/repo-tool-job.js.map +1 -1
- package/dist/mcp/server-invocation.d.ts.map +1 -1
- package/dist/mcp/server-invocation.js +206 -147
- package/dist/mcp/server-invocation.js.map +1 -1
- package/dist/mcp/server.d.ts.map +1 -1
- package/dist/mcp/server.js +184 -116
- package/dist/mcp/server.js.map +1 -1
- package/dist/mcp/stdio-server.d.ts.map +1 -1
- package/dist/mcp/stdio-server.js +2 -0
- package/dist/mcp/stdio-server.js.map +1 -1
- package/dist/mcp/tool-registry.d.ts.map +1 -1
- package/dist/mcp/tool-registry.js +4 -0
- package/dist/mcp/tool-registry.js.map +1 -1
- package/dist/mcp/tools/changed-since.d.ts.map +1 -1
- package/dist/mcp/tools/changed-since.js +10 -3
- package/dist/mcp/tools/changed-since.js.map +1 -1
- package/dist/mcp/tools/dead-symbols.d.ts +3 -0
- package/dist/mcp/tools/dead-symbols.d.ts.map +1 -0
- package/dist/mcp/tools/dead-symbols.js +33 -0
- package/dist/mcp/tools/dead-symbols.js.map +1 -0
- package/dist/mcp/tools/map.d.ts.map +1 -1
- package/dist/mcp/tools/map.js +2 -0
- package/dist/mcp/tools/map.js.map +1 -1
- package/dist/mcp/tools/precision-warp.d.ts.map +1 -1
- package/dist/mcp/tools/precision-warp.js +2 -6
- package/dist/mcp/tools/precision-warp.js.map +1 -1
- package/dist/mcp/tools/refactor-difficulty.d.ts.map +1 -1
- package/dist/mcp/tools/refactor-difficulty.js +2 -0
- package/dist/mcp/tools/refactor-difficulty.js.map +1 -1
- package/dist/mcp/tools/safe-read.d.ts.map +1 -1
- package/dist/mcp/tools/safe-read.js +10 -105
- package/dist/mcp/tools/safe-read.js.map +1 -1
- package/dist/mcp/tools/structural-test-coverage.d.ts +3 -0
- package/dist/mcp/tools/structural-test-coverage.d.ts.map +1 -0
- package/dist/mcp/tools/structural-test-coverage.js +35 -0
- package/dist/mcp/tools/structural-test-coverage.js.map +1 -0
- package/dist/operations/cached-file.d.ts +6 -2
- package/dist/operations/cached-file.d.ts.map +1 -1
- package/dist/operations/cached-file.js +30 -6
- package/dist/operations/cached-file.js.map +1 -1
- package/dist/operations/export-surface-diff.d.ts.map +1 -1
- package/dist/operations/export-surface-diff.js +2 -0
- package/dist/operations/export-surface-diff.js.map +1 -1
- package/dist/operations/file-outline.js +2 -2
- package/dist/operations/file-outline.js.map +1 -1
- package/dist/operations/graft-diff.d.ts.map +1 -1
- package/dist/operations/graft-diff.js +2 -0
- package/dist/operations/graft-diff.js.map +1 -1
- package/dist/operations/projection-safety.d.ts.map +1 -1
- package/dist/operations/projection-safety.js +2 -0
- package/dist/operations/projection-safety.js.map +1 -1
- package/dist/operations/repo-workspace.d.ts.map +1 -1
- package/dist/operations/repo-workspace.js +26 -8
- package/dist/operations/repo-workspace.js.map +1 -1
- package/dist/operations/review-cooldown-status.d.ts +27 -0
- package/dist/operations/review-cooldown-status.d.ts.map +1 -0
- package/dist/operations/review-cooldown-status.js +115 -0
- package/dist/operations/review-cooldown-status.js.map +1 -0
- package/dist/operations/safe-read.js +2 -2
- package/dist/operations/safe-read.js.map +1 -1
- package/dist/operations/sludge-detector.d.ts.map +1 -1
- package/dist/operations/sludge-detector.js +2 -1
- package/dist/operations/sludge-detector.js.map +1 -1
- package/dist/operations/structural-review.js +8 -8
- package/dist/operations/structural-review.js.map +1 -1
- package/dist/operations/structural-test-coverage-map.d.ts +44 -0
- package/dist/operations/structural-test-coverage-map.d.ts.map +1 -0
- package/dist/operations/structural-test-coverage-map.js +331 -0
- package/dist/operations/structural-test-coverage-map.js.map +1 -0
- package/dist/operations/structured-buffer-compare.d.ts.map +1 -1
- package/dist/operations/structured-buffer-compare.js +4 -1
- package/dist/operations/structured-buffer-compare.js.map +1 -1
- package/dist/operations/structured-buffer-model.d.ts +15 -13
- package/dist/operations/structured-buffer-model.d.ts.map +1 -1
- package/dist/operations/structured-buffer-model.js +24 -5
- package/dist/operations/structured-buffer-model.js.map +1 -1
- package/dist/operations/structured-buffer-query.d.ts.map +1 -1
- package/dist/operations/structured-buffer-query.js +21 -12
- package/dist/operations/structured-buffer-query.js.map +1 -1
- package/dist/parser/extractors/common.d.ts +16 -0
- package/dist/parser/extractors/common.d.ts.map +1 -0
- package/dist/parser/extractors/common.js +23 -0
- package/dist/parser/extractors/common.js.map +1 -0
- package/dist/parser/extractors/go.d.ts +18 -0
- package/dist/parser/extractors/go.d.ts.map +1 -0
- package/dist/parser/extractors/go.js +200 -0
- package/dist/parser/extractors/go.js.map +1 -0
- package/dist/parser/extractors/graphql.d.ts +26 -0
- package/dist/parser/extractors/graphql.d.ts.map +1 -0
- package/dist/parser/extractors/graphql.js +239 -0
- package/dist/parser/extractors/graphql.js.map +1 -0
- package/dist/parser/extractors/index.d.ts +4 -0
- package/dist/parser/extractors/index.d.ts.map +1 -0
- package/dist/parser/extractors/index.js +26 -0
- package/dist/parser/extractors/index.js.map +1 -0
- package/dist/parser/extractors/json.d.ts +10 -0
- package/dist/parser/extractors/json.d.ts.map +1 -0
- package/dist/parser/extractors/json.js +75 -0
- package/dist/parser/extractors/json.js.map +1 -0
- package/dist/parser/extractors/python.d.ts +16 -0
- package/dist/parser/extractors/python.d.ts.map +1 -0
- package/dist/parser/extractors/python.js +145 -0
- package/dist/parser/extractors/python.js.map +1 -0
- package/dist/parser/extractors/rust.d.ts +12 -0
- package/dist/parser/extractors/rust.d.ts.map +1 -0
- package/dist/parser/extractors/rust.js +122 -0
- package/dist/parser/extractors/rust.js.map +1 -0
- package/dist/parser/extractors/toml.d.ts +10 -0
- package/dist/parser/extractors/toml.d.ts.map +1 -0
- package/dist/parser/extractors/toml.js +74 -0
- package/dist/parser/extractors/toml.js.map +1 -0
- package/dist/parser/extractors/typescript.d.ts +13 -0
- package/dist/parser/extractors/typescript.d.ts.map +1 -0
- package/dist/parser/extractors/typescript.js +179 -0
- package/dist/parser/extractors/typescript.js.map +1 -0
- package/dist/parser/extractors/yaml.d.ts +13 -0
- package/dist/parser/extractors/yaml.d.ts.map +1 -0
- package/dist/parser/extractors/yaml.js +93 -0
- package/dist/parser/extractors/yaml.js.map +1 -0
- package/dist/parser/lang.d.ts +2 -2
- package/dist/parser/lang.d.ts.map +1 -1
- package/dist/parser/lang.js +19 -1
- package/dist/parser/lang.js.map +1 -1
- package/dist/parser/outline.d.ts +4 -0
- package/dist/parser/outline.d.ts.map +1 -1
- package/dist/parser/outline.js +32 -221
- package/dist/parser/outline.js.map +1 -1
- package/dist/parser/runtime.d.ts +7 -0
- package/dist/parser/runtime.d.ts.map +1 -1
- package/dist/parser/runtime.js +99 -10
- package/dist/parser/runtime.js.map +1 -1
- package/dist/parser/types.d.ts +1 -1
- package/dist/parser/types.d.ts.map +1 -1
- package/dist/parser/types.js.map +1 -1
- package/dist/ports/provenance-timeline.d.ts +10 -0
- package/dist/ports/provenance-timeline.d.ts.map +1 -0
- package/dist/ports/provenance-timeline.js +17 -0
- package/dist/ports/provenance-timeline.js.map +1 -0
- package/dist/ports/semantic-enrichment.d.ts +47 -0
- package/dist/ports/semantic-enrichment.d.ts.map +1 -0
- package/dist/ports/semantic-enrichment.js +2 -0
- package/dist/ports/semantic-enrichment.js.map +1 -0
- package/dist/warp/ast-import-resolver.d.ts.map +1 -1
- package/dist/warp/ast-import-resolver.js +2 -1
- package/dist/warp/ast-import-resolver.js.map +1 -1
- package/dist/warp/dead-symbols.d.ts.map +1 -1
- package/dist/warp/dead-symbols.js +4 -7
- package/dist/warp/dead-symbols.js.map +1 -1
- package/dist/warp/index-head.d.ts +4 -0
- package/dist/warp/index-head.d.ts.map +1 -1
- package/dist/warp/index-head.js +255 -22
- package/dist/warp/index-head.js.map +1 -1
- package/dist/warp/observers.d.ts.map +1 -1
- package/dist/warp/observers.js +3 -2
- package/dist/warp/observers.js.map +1 -1
- package/dist/warp/refactor-difficulty.d.ts.map +1 -1
- package/dist/warp/refactor-difficulty.js +4 -9
- package/dist/warp/refactor-difficulty.js.map +1 -1
- package/dist/warp/references.d.ts.map +1 -1
- package/dist/warp/references.js +2 -1
- package/dist/warp/references.js.map +1 -1
- package/dist/warp/semantic-enrichment.d.ts +14 -0
- package/dist/warp/semantic-enrichment.d.ts.map +1 -0
- package/dist/warp/semantic-enrichment.js +55 -0
- package/dist/warp/semantic-enrichment.js.map +1 -0
- package/dist/warp/structural-queries.d.ts.map +1 -1
- package/dist/warp/structural-queries.js +7 -14
- package/dist/warp/structural-queries.js.map +1 -1
- package/dist/warp/sym-id-codec.d.ts +14 -0
- package/dist/warp/sym-id-codec.d.ts.map +1 -0
- package/dist/warp/sym-id-codec.js +47 -0
- package/dist/warp/sym-id-codec.js.map +1 -0
- package/dist/warp/symbol-timeline.d.ts.map +1 -1
- package/dist/warp/symbol-timeline.js +6 -14
- package/dist/warp/symbol-timeline.js.map +1 -1
- package/dist/warp/warp-structural-churn.d.ts.map +1 -1
- package/dist/warp/warp-structural-churn.js +6 -10
- package/dist/warp/warp-structural-churn.js.map +1 -1
- package/dist/warp/warp-structural-log.d.ts.map +1 -1
- package/dist/warp/warp-structural-log.js +8 -10
- package/dist/warp/warp-structural-log.js.map +1 -1
- package/docs/CLI.md +63 -5
- package/docs/MCP.md +2 -1
- 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
|
|
82
|
-
|
|
83
|
-
|
|
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.
|
|
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": "
|
|
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
|
}
|