@weftlet/toolkit 0.6.0 → 0.7.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/README.md +168 -1
- package/THIRD_PARTY_NOTICES.md +1 -1
- package/dist/application/application.d.ts +10 -0
- package/dist/application/application.js +20 -0
- package/dist/application/document-code-bindings.d.ts +11 -0
- package/dist/application/document-code-bindings.js +25 -0
- package/dist/application/document-obligations.d.ts +8 -0
- package/dist/application/document-obligations.js +11 -0
- package/dist/application/draft-facts.d.ts +3 -0
- package/dist/application/draft-facts.js +37 -0
- package/dist/application/extraction-identity.d.ts +2 -2
- package/dist/application/extraction-identity.js +7 -1
- package/dist/application/extractor-results.d.ts +6 -0
- package/dist/application/extractor-results.js +6 -0
- package/dist/application/hydrator.js +20 -3
- package/dist/application/mapping-proposals.d.ts +108 -0
- package/dist/application/mapping-proposals.js +142 -0
- package/dist/application/mapping-service.d.ts +2 -0
- package/dist/application/mapping-service.js +5 -0
- package/dist/application/overlay.js +36 -22
- package/dist/application/saved-code-coverage.d.ts +40 -0
- package/dist/application/saved-code-coverage.js +20 -0
- package/dist/application/saved-compatibility.d.ts +38 -0
- package/dist/application/saved-compatibility.js +20 -0
- package/dist/application/saved-evidence.d.ts +17 -11
- package/dist/application/saved-evidence.js +44 -40
- package/dist/application/saved-exploration.d.ts +57 -0
- package/dist/application/saved-exploration.js +21 -0
- package/dist/application/saved-paths.d.ts +58 -0
- package/dist/application/saved-paths.js +20 -0
- package/dist/extraction/call-syntax.d.ts +18 -0
- package/dist/extraction/call-syntax.js +61 -0
- package/dist/extraction/canonical-document-links.d.ts +5 -1
- package/dist/extraction/canonical-document-links.js +4 -4
- package/dist/extraction/code-inventory.d.ts +6 -0
- package/dist/extraction/code-inventory.js +26 -0
- package/dist/extraction/document-code-bindings.d.ts +14 -0
- package/dist/extraction/document-code-bindings.js +121 -0
- package/dist/extraction/document-obligations.d.ts +12 -0
- package/dist/extraction/document-obligations.js +112 -0
- package/dist/extraction/mapping-candidates.d.ts +13 -0
- package/dist/extraction/mapping-candidates.js +46 -0
- package/dist/extraction/mapping-output.d.ts +75 -0
- package/dist/extraction/mapping-output.js +53 -0
- package/dist/extraction/mapping-plan.d.ts +7 -0
- package/dist/extraction/mapping-plan.js +117 -0
- package/dist/extraction/mapping-prompt.d.ts +2 -0
- package/dist/extraction/mapping-prompt.js +17 -0
- package/dist/extraction/mapping-provider.d.ts +15 -0
- package/dist/extraction/mapping-provider.js +60 -0
- package/dist/extraction/mapping-request.d.ts +3 -0
- package/dist/extraction/mapping-request.js +32 -0
- package/dist/extraction/ontology.js +2 -2
- package/dist/extraction/routing.js +5 -20
- package/dist/extraction/scip-occurrences.d.ts +3 -0
- package/dist/extraction/scip-occurrences.js +102 -0
- package/dist/extraction/scip-ranges.d.ts +6 -0
- package/dist/extraction/scip-ranges.js +31 -0
- package/dist/extraction/scip-runtime.d.ts +39 -0
- package/dist/extraction/scip-runtime.js +8 -0
- package/dist/extraction/scip-symbols.d.ts +21 -0
- package/dist/extraction/scip-symbols.js +91 -0
- package/dist/extraction/semantic.d.ts +1 -1
- package/dist/extraction/semantic.js +5 -17
- package/dist/extraction/static-calls.d.ts +10 -0
- package/dist/extraction/static-calls.js +133 -0
- package/dist/extraction/static.d.ts +3 -20
- package/dist/extraction/static.js +33 -104
- package/dist/extraction/symbol-resolution.d.ts +12 -0
- package/dist/extraction/symbol-resolution.js +51 -0
- package/dist/extraction/symbol-selectors.d.ts +11 -0
- package/dist/extraction/symbol-selectors.js +51 -0
- package/dist/graph/binding-rdf.d.ts +7 -0
- package/dist/graph/binding-rdf.js +109 -0
- package/dist/graph/call-rdf.d.ts +4 -0
- package/dist/graph/call-rdf.js +94 -0
- package/dist/graph/call-shapes.d.ts +2 -0
- package/dist/graph/call-shapes.js +28 -0
- package/dist/graph/code-coverage-projection.d.ts +9 -0
- package/dist/graph/code-coverage-projection.js +117 -0
- package/dist/graph/code-coverage-renderer.d.ts +2 -0
- package/dist/graph/code-coverage-renderer.js +15 -0
- package/dist/graph/code-coverage-request.d.ts +6 -0
- package/dist/graph/code-coverage-request.js +19 -0
- package/dist/graph/code-coverage.d.ts +6 -0
- package/dist/graph/code-coverage.js +54 -0
- package/dist/graph/code-description.d.ts +4 -0
- package/dist/graph/code-description.js +24 -0
- package/dist/graph/code-rdf.d.ts +5 -0
- package/dist/graph/code-rdf.js +72 -0
- package/dist/graph/compatibility-context.d.ts +2 -0
- package/dist/graph/compatibility-context.js +18 -0
- package/dist/graph/compatibility-renderer.d.ts +2 -0
- package/dist/graph/compatibility-renderer.js +45 -0
- package/dist/graph/compatibility-request.d.ts +3 -0
- package/dist/graph/compatibility-request.js +18 -0
- package/dist/graph/compatibility.d.ts +7 -0
- package/dist/graph/compatibility.js +67 -0
- package/dist/graph/constraint-comparison.d.ts +7 -0
- package/dist/graph/constraint-comparison.js +49 -0
- package/dist/graph/coverage.d.ts +2 -2
- package/dist/graph/coverage.js +8 -3
- package/dist/graph/diagnostics.d.ts +1 -1
- package/dist/graph/diagnostics.js +10 -6
- package/dist/graph/evidence-description.d.ts +3 -0
- package/dist/graph/evidence-description.js +13 -0
- package/dist/graph/identity-preflight.js +1 -1
- package/dist/graph/neighborhood-renderer.d.ts +2 -0
- package/dist/graph/neighborhood-renderer.js +38 -0
- package/dist/graph/neighborhood-request.d.ts +9 -0
- package/dist/graph/neighborhood-request.js +37 -0
- package/dist/graph/neighborhood.d.ts +8 -0
- package/dist/graph/neighborhood.js +100 -0
- package/dist/graph/obligation-rdf.d.ts +5 -0
- package/dist/graph/obligation-rdf.js +67 -0
- package/dist/graph/obligation-shapes.d.ts +2 -0
- package/dist/graph/obligation-shapes.js +32 -0
- package/dist/graph/path-request.d.ts +11 -0
- package/dist/graph/path-request.js +24 -0
- package/dist/graph/path-search.d.ts +45 -0
- package/dist/graph/path-search.js +101 -0
- package/dist/graph/paths-renderer.d.ts +2 -0
- package/dist/graph/paths-renderer.js +36 -0
- package/dist/graph/paths.d.ts +7 -0
- package/dist/graph/paths.js +74 -0
- package/dist/graph/query.js +23 -6
- package/dist/graph/rdf.js +26 -0
- package/dist/graph/shacl-shapes.js +70 -0
- package/dist/graph/snapshot-context.d.ts +3 -0
- package/dist/graph/snapshot-context.js +8 -0
- package/dist/index.d.ts +23 -0
- package/dist/index.js +22 -0
- package/dist/infrastructure/artifact-paths.d.ts +4 -0
- package/dist/infrastructure/artifact-paths.js +14 -0
- package/dist/infrastructure/json-digest.d.ts +2 -0
- package/dist/infrastructure/json-digest.js +3 -0
- package/dist/infrastructure/unique-json.d.ts +2 -0
- package/dist/infrastructure/unique-json.js +20 -0
- package/dist/interfaces/cli.js +33 -1
- package/dist/interfaces/code-coverage.d.ts +46 -0
- package/dist/interfaces/code-coverage.js +18 -0
- package/dist/interfaces/graph-compatibility.d.ts +35 -0
- package/dist/interfaces/graph-compatibility.js +21 -0
- package/dist/interfaces/graph-exploration.d.ts +59 -0
- package/dist/interfaces/graph-exploration.js +27 -0
- package/dist/interfaces/graph-paths.d.ts +77 -0
- package/dist/interfaces/graph-paths.js +31 -0
- package/dist/interfaces/graph-query-args.d.ts +2 -0
- package/dist/interfaces/graph-query-args.js +25 -0
- package/dist/interfaces/mapping-proposals.d.ts +204 -0
- package/dist/interfaces/mapping-proposals.js +74 -0
- package/dist/interfaces/mcp.js +31 -3
- package/dist/storage/mapping-proposals.d.ts +9 -0
- package/dist/storage/mapping-proposals.js +42 -0
- package/dist/storage/storage.js +41 -13
- package/dist/visualization/evidence-sources.d.ts +6 -0
- package/dist/visualization/evidence-sources.js +19 -0
- package/dist/visualization/viewer-interaction.d.ts +5 -8
- package/dist/visualization/viewer-interaction.js +46 -44
- package/dist/visualization/visualization.js +14 -5
- package/docs/1.0-WORK-QUEUE.md +38 -0
- package/docs/ADR-028-bounded-artifact-paths.md +58 -0
- package/docs/ADR-029-exact-graph-neighborhoods.md +70 -0
- package/docs/ADR-030-bounded-evidence-paths.md +97 -0
- package/docs/ADR-031-code-extractor-selection.md +91 -0
- package/docs/ADR-032-scip-code-evidence.md +73 -0
- package/docs/ADR-033-document-symbol-bindings.md +83 -0
- package/docs/ADR-034-mapping-gaps.md +80 -0
- package/docs/ADR-035-static-call-evidence.md +78 -0
- package/docs/ADR-036-contract-obligation-declarations.md +124 -0
- package/docs/ADR-037-selected-contract-compatibility.md +93 -0
- package/docs/ADR-038-monorepo-code-coverage.md +105 -0
- package/docs/ADR-039-mapping-proposals.md +119 -0
- package/docs/CONSUMER-TRIAL.md +6 -4
- package/docs/GRAPHIFY-EVALUATION.md +87 -0
- package/docs/PRE-1.0-BASELINE.md +141 -0
- package/docs/RELEASE-1.0-PLAN.md +37 -15
- package/docs/RELEASING.md +3 -3
- package/docs/ROADMAP.md +39 -11
- package/docs/VALIDATION.md +501 -0
- package/docs/assessments/pre-1.0-2026-10-28.json +200 -0
- package/docs/extraction-manifest.json +258 -23
- package/package.json +8 -4
- package/templates/context-graph-development/SKILL.md +30 -1
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"date": "2026-10-28",
|
|
4
|
+
"runtimeSourceCommit": "9b4acffe1c4d35f9fd2f91132c576f8934658677",
|
|
5
|
+
"releaseSourceCommit": "b4c808b9221c5c82f9f7326a310e966d1fee2888",
|
|
6
|
+
"packageVersions": {
|
|
7
|
+
"@weftlet/core": "0.6.0",
|
|
8
|
+
"@weftlet/toolkit": "0.6.0"
|
|
9
|
+
},
|
|
10
|
+
"environment": {
|
|
11
|
+
"os": "Linux",
|
|
12
|
+
"node": "24.19.0",
|
|
13
|
+
"pnpm": "10.18.2"
|
|
14
|
+
},
|
|
15
|
+
"fixtureProvider": {
|
|
16
|
+
"path": "tests/fixtures/business-context-provider.mjs",
|
|
17
|
+
"sha256": "4261c3261ca2959c89bdec73eda0f6aa5c40ffcb75db4aa64442f67534d8b2f7",
|
|
18
|
+
"mode": "deterministic public prose grammar; no model requests"
|
|
19
|
+
},
|
|
20
|
+
"boundaries": [
|
|
21
|
+
"New test files use unchanged runtime from the recorded source commit.",
|
|
22
|
+
"Real Git and TypeScript SCIP; actual application hydration, RDF/SHACL and MCP facade.",
|
|
23
|
+
"No live provider, actual broker/database execution, service build or private consumer acceptance.",
|
|
24
|
+
"No automatic business compatibility verdict or exact-function binding established.",
|
|
25
|
+
"No autonomous agent trial or new MCP transport exercise.",
|
|
26
|
+
"Graphify source review is separate; no comparative execution."
|
|
27
|
+
],
|
|
28
|
+
"runs": [
|
|
29
|
+
{
|
|
30
|
+
"name": "existing-regressions",
|
|
31
|
+
"command": "pnpm exec vitest run tests/rdf.test.ts tests/routing.test.ts src/extraction/routing.test.ts src/extraction/scip-project.test.ts src/graph/query.test.ts",
|
|
32
|
+
"success": true,
|
|
33
|
+
"passed": 24,
|
|
34
|
+
"failed": 0,
|
|
35
|
+
"pending": 0,
|
|
36
|
+
"suites": [
|
|
37
|
+
{
|
|
38
|
+
"path": "tests/rdf.test.ts",
|
|
39
|
+
"sha256": "2b0f0fd6314ac28d4c64422d5650d56b540c9d391adab5eac0d24ed06a592397",
|
|
40
|
+
"status": "passed",
|
|
41
|
+
"cases": [
|
|
42
|
+
{
|
|
43
|
+
"name": "unified evidence graph extracts public prose and real TypeScript across queue boundaries, with SPARQL/projection equivalence",
|
|
44
|
+
"status": "passed"
|
|
45
|
+
}
|
|
46
|
+
]
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"path": "tests/routing.test.ts",
|
|
50
|
+
"sha256": "bac6081701ada81f422e1b7641a212a3f51b0c44a94bc88deb93d610b4a65c34",
|
|
51
|
+
"status": "passed",
|
|
52
|
+
"cases": [
|
|
53
|
+
{
|
|
54
|
+
"name": "committed routing declarations in independent repositories links a typed upstream change across an explicit boundary without shared-channel cross products",
|
|
55
|
+
"status": "passed"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"name": "committed routing declarations in independent repositories replaces routing edges for source renames/deletions and routing-manifest edits/deletions in drafts",
|
|
59
|
+
"status": "passed"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"name": "committed routing declarations in independent repositories preserves the last valid saved graph when a committed routing manifest is malformed or absent",
|
|
63
|
+
"status": "passed"
|
|
64
|
+
}
|
|
65
|
+
]
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"path": "src/extraction/routing.test.ts",
|
|
69
|
+
"sha256": "7b72aefa770bd217435220fa85bf21d5297e01cbf5e23d3765aed549b9300681",
|
|
70
|
+
"status": "passed",
|
|
71
|
+
"cases": [
|
|
72
|
+
{
|
|
73
|
+
"name": "committed routing declarations joins document, test and production endpoints with actual neutral file and document facts",
|
|
74
|
+
"status": "passed"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"name": "committed routing declarations extracts exact cited bindings with inferred authority while ignoring dirty declarations",
|
|
78
|
+
"status": "passed"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"name": "committed routing declarations keeps binding, scope, case and repository identities separate despite equal channel labels",
|
|
82
|
+
"status": "passed"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"name": "committed routing declarations suppresses every duplicate scoped binding across files, including identical duplicates",
|
|
86
|
+
"status": "passed"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"name": "committed routing declarations does not guess case, extensions or directories, and suppresses the complete missing-endpoint pair",
|
|
90
|
+
"status": "passed"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"name": "committed routing declarations reads Unicode and spaced paths exactly from a nested repository root despite Git quoting",
|
|
94
|
+
"status": "passed"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"name": "committed routing declarations accepts executable blobs but rejects committed symlink modes without creating host symlinks",
|
|
98
|
+
"status": "passed"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"name": "committed routing declarations invalidates deleted or renamed endpoints until the mapping is updated, leaving historical results intact",
|
|
102
|
+
"status": "passed"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"name": "committed routing declarations fails closed on missing source files except explicit draft deletion diagnostics",
|
|
106
|
+
"status": "passed"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"name": "committed routing declarations rejects malformed, ambiguous and unsupported schemas or path forms",
|
|
110
|
+
"status": "passed"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"name": "committed routing declarations enforces file-count, combined declaration-count and source-byte bounds",
|
|
114
|
+
"status": "passed"
|
|
115
|
+
}
|
|
116
|
+
]
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"path": "src/extraction/scip-project.test.ts",
|
|
120
|
+
"sha256": "8a92ffd963ca5818c102aec3487ea21405d75bbaf593b13e2256b6f5a1914b23",
|
|
121
|
+
"status": "passed",
|
|
122
|
+
"cases": [
|
|
123
|
+
{
|
|
124
|
+
"name": "links committed workspace contracts and excluded tests through real SCIP, preserving dirty bytes and rename/delete boundaries",
|
|
125
|
+
"status": "passed"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"name": "fails before indexing on absent aliases, empty/oversized scopes and reserved generated paths",
|
|
129
|
+
"status": "passed"
|
|
130
|
+
}
|
|
131
|
+
]
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"path": "src/graph/query.test.ts",
|
|
135
|
+
"sha256": "7b6653f767c2e7445ec19f0cafc9d3fe97494ae139835ec63d335a7210e62c6c",
|
|
136
|
+
"status": "passed",
|
|
137
|
+
"cases": [
|
|
138
|
+
{
|
|
139
|
+
"name": "impact scan facade rejects snapshot traversal before the service can read outside snapshot storage",
|
|
140
|
+
"status": "passed"
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"name": "impact scan facade returns the same bounded Context Pack through the application service used by CLI and MCP",
|
|
144
|
+
"status": "passed"
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"name": "impact scan facade keeps skill command names aligned with the MCP facade and generic template",
|
|
148
|
+
"status": "passed"
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"name": "impact scan facade expands changed code files through symbols without traversing the project hub",
|
|
152
|
+
"status": "passed"
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"name": "impact scan facade returns the broader Fulfillment policy, PM, execution, worker, and validation purpose chain",
|
|
156
|
+
"status": "passed"
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"name": "impact scan facade uses the owner document as the traversal anchor and task terms to rank connected context",
|
|
160
|
+
"status": "passed"
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"name": "impact scan facade shows observed runtime behavior beside declared intent and flags unmapped observations",
|
|
164
|
+
"status": "passed"
|
|
165
|
+
}
|
|
166
|
+
]
|
|
167
|
+
}
|
|
168
|
+
]
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"name": "business-context-acceptance",
|
|
172
|
+
"command": "pnpm exec vitest run tests/business-context-acceptance.test.ts",
|
|
173
|
+
"success": true,
|
|
174
|
+
"passed": 3,
|
|
175
|
+
"failed": 0,
|
|
176
|
+
"pending": 0,
|
|
177
|
+
"suites": [
|
|
178
|
+
{
|
|
179
|
+
"path": "tests/business-context-acceptance.test.ts",
|
|
180
|
+
"sha256": "c5e196db080cc798dc3abb21fb2cdb4ac3ecb07b4307cc3aa6764f04f60bb9cb",
|
|
181
|
+
"status": "passed",
|
|
182
|
+
"cases": [
|
|
183
|
+
{
|
|
184
|
+
"name": "public business-context acceptance boundaries bridges isolated service code only after the stored-data handoff is documented, retaining both rules and authority",
|
|
185
|
+
"status": "passed"
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"name": "public business-context acceptance boundaries supports bounded MCP-facade pagination and focused follow-up without hiding depth exhaustion",
|
|
189
|
+
"status": "passed"
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"name": "public business-context acceptance boundaries resolves shared contracts across separate workspace packages and TSX, with source and repeat identity intact",
|
|
193
|
+
"status": "passed"
|
|
194
|
+
}
|
|
195
|
+
]
|
|
196
|
+
}
|
|
197
|
+
]
|
|
198
|
+
}
|
|
199
|
+
]
|
|
200
|
+
}
|