@weftlet/toolkit 0.6.1 → 0.7.1
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 +191 -18
- package/THIRD_PARTY_NOTICES.md +3 -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 +38 -18
- 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 +43 -29
- 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/application/semantic-run.d.ts +1 -1
- 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.d.ts +2 -0
- package/dist/extraction/ontology.js +28 -13
- 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 +8 -84
- 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 +6 -0
- package/dist/graph/code-rdf.js +79 -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/partitioned-shacl.d.ts +14 -0
- package/dist/graph/partitioned-shacl.js +66 -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-partitions.d.ts +24 -0
- package/dist/graph/rdf-partitions.js +170 -0
- package/dist/graph/rdf-projection.d.ts +7 -0
- package/dist/graph/rdf-projection.js +27 -0
- package/dist/graph/rdf-records.d.ts +12 -0
- package/dist/graph/rdf-records.js +90 -0
- package/dist/graph/rdf.d.ts +10 -10
- package/dist/graph/rdf.js +84 -89
- 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/graph/validation-progress.d.ts +4 -1
- package/dist/index.d.ts +23 -0
- package/dist/index.js +22 -0
- package/dist/infrastructure/json-digest.d.ts +3 -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.d.ts +3 -0
- package/dist/storage/storage.js +37 -13
- package/dist/storage/streaming-json.d.ts +5 -0
- package/dist/storage/streaming-json.js +45 -0
- 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 +48 -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/ADR-040-bounded-graph-io.md +90 -0
- package/docs/GRAPHIFY-EVALUATION.md +21 -4
- package/docs/PRE-1.0-BASELINE.md +49 -2
- package/docs/RELEASE-1.0-PLAN.md +14 -2
- package/docs/RELEASING.md +3 -3
- package/docs/ROADMAP.md +27 -6
- package/docs/VALIDATION.md +521 -14
- package/docs/benchmarks/large-graph-2026-11-02/result.json +156 -0
- package/docs/extraction-manifest.json +266 -23
- package/package.json +10 -4
- package/templates/context-graph-development/SKILL.md +30 -1
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"workload": "Generated committed public TypeScript, actual SCIP, deterministic prose provider",
|
|
4
|
+
"environment": {
|
|
5
|
+
"os": "Linux x64",
|
|
6
|
+
"node": "24.19.0",
|
|
7
|
+
"pnpm": "10.18.2",
|
|
8
|
+
"nodeHeapLimitMiB": 8192,
|
|
9
|
+
"cpuQuota": 4,
|
|
10
|
+
"cgroupMemoryBytes": 34359738368
|
|
11
|
+
},
|
|
12
|
+
"command": "NODE_OPTIONS=--max-old-space-size=8192 pnpm exec tsx scripts/large-graph/run.ts 1100 40 --require-large",
|
|
13
|
+
"qualificationScope": "The capacity process started before the final negative-path shape/error guards and test-harness corrections. Those changes, and the newly embedded legacy-hash assertion, passed separately in hosted Linux/Windows checks at 4bc41fd1eee4169934fc8e50960bb60b7c8ff617. This is not an exact-final-head large-corpus rerun.",
|
|
14
|
+
"result": {
|
|
15
|
+
"status": "passed",
|
|
16
|
+
"elapsedMs": 8841003,
|
|
17
|
+
"modules": 1100,
|
|
18
|
+
"functions": 40,
|
|
19
|
+
"factCount": 554516,
|
|
20
|
+
"nodeCount": 143044,
|
|
21
|
+
"bytes": 1021806445,
|
|
22
|
+
"logicalCharacters": 938267270,
|
|
23
|
+
"rdfBytes": 5331139680,
|
|
24
|
+
"quadCount": 21522256,
|
|
25
|
+
"contentDigest": "2f75e3dbc16e7ca856d177264046034f40a1560b8a39e5df8b998c653c7b8e81",
|
|
26
|
+
"immutableDigest": "4f48702636a5499e2bfde70f2cca189d2d67836531180685515b4eb3d10ca3f2",
|
|
27
|
+
"providerCalls": 0,
|
|
28
|
+
"deterministicProviderExtractions": 18,
|
|
29
|
+
"repeatReused": 18,
|
|
30
|
+
"cleanReused": 18,
|
|
31
|
+
"extractorVersions": {
|
|
32
|
+
"assembly": "standalone-graph-v12",
|
|
33
|
+
"repository-contract-extractor": "1.2.0",
|
|
34
|
+
"scip-symbol-extractor": "2.1.0",
|
|
35
|
+
"typescript-call-extractor": "1.0.0",
|
|
36
|
+
"repository-node-identity": "1",
|
|
37
|
+
"document-linker": "2.0.0",
|
|
38
|
+
"document-code-binding-extractor": "1.0.0",
|
|
39
|
+
"document-obligation-extractor": "1.0.0",
|
|
40
|
+
"semantic": "1.1.0",
|
|
41
|
+
"scip": "0.4.0",
|
|
42
|
+
"ontology": "rdf-record-v1",
|
|
43
|
+
"repository-file-extractor": "2.0.0"
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"legacyCanonicalDigestParity": {
|
|
47
|
+
"status": "passed",
|
|
48
|
+
"facts": 554516,
|
|
49
|
+
"canonicalCharacters": 938267270,
|
|
50
|
+
"digest": "e6965407b8a8d76ed6d2d7ef8d2daa0297059b5fb327723cd49e73233865c001",
|
|
51
|
+
"method": "legacy per-record stableJson plus exact array separators vs stableJsonDigest"
|
|
52
|
+
},
|
|
53
|
+
"completedPhases": [
|
|
54
|
+
{
|
|
55
|
+
"totalElapsedMs": 112233,
|
|
56
|
+
"phase": "validate-identities",
|
|
57
|
+
"status": "completed",
|
|
58
|
+
"factCount": 554516,
|
|
59
|
+
"nodeCount": 143044,
|
|
60
|
+
"elapsedMs": 1118
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"totalElapsedMs": 138845,
|
|
64
|
+
"phase": "build-rdf-evidence",
|
|
65
|
+
"status": "completed",
|
|
66
|
+
"factCount": 554516,
|
|
67
|
+
"nodeCount": 143044,
|
|
68
|
+
"elapsedMs": 1
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"totalElapsedMs": 344926,
|
|
72
|
+
"phase": "build-validation-union",
|
|
73
|
+
"status": "completed",
|
|
74
|
+
"factCount": 554516,
|
|
75
|
+
"elapsedMs": 206080,
|
|
76
|
+
"nodeCount": 143044
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"totalElapsedMs": 2444694,
|
|
80
|
+
"phase": "validate-shacl",
|
|
81
|
+
"status": "completed",
|
|
82
|
+
"factCount": 554516,
|
|
83
|
+
"elapsedMs": 2099768,
|
|
84
|
+
"nodeCount": 143044
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"totalElapsedMs": 3525345,
|
|
88
|
+
"phase": "validate-identities",
|
|
89
|
+
"status": "completed",
|
|
90
|
+
"factCount": 554516,
|
|
91
|
+
"nodeCount": 143044,
|
|
92
|
+
"elapsedMs": 754
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"totalElapsedMs": 3555601,
|
|
96
|
+
"phase": "build-rdf-evidence",
|
|
97
|
+
"status": "completed",
|
|
98
|
+
"factCount": 554516,
|
|
99
|
+
"nodeCount": 143044,
|
|
100
|
+
"elapsedMs": 1
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"totalElapsedMs": 3783233,
|
|
104
|
+
"phase": "build-validation-union",
|
|
105
|
+
"status": "completed",
|
|
106
|
+
"factCount": 554516,
|
|
107
|
+
"elapsedMs": 227631,
|
|
108
|
+
"nodeCount": 143044
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"totalElapsedMs": 6008326,
|
|
112
|
+
"phase": "validate-shacl",
|
|
113
|
+
"status": "completed",
|
|
114
|
+
"factCount": 554516,
|
|
115
|
+
"elapsedMs": 2225093,
|
|
116
|
+
"nodeCount": 143044
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"totalElapsedMs": 6340553,
|
|
120
|
+
"phase": "validate-identities",
|
|
121
|
+
"status": "completed",
|
|
122
|
+
"factCount": 554516,
|
|
123
|
+
"nodeCount": 143044,
|
|
124
|
+
"elapsedMs": 977
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"totalElapsedMs": 6370727,
|
|
128
|
+
"phase": "build-rdf-evidence",
|
|
129
|
+
"status": "completed",
|
|
130
|
+
"factCount": 554516,
|
|
131
|
+
"nodeCount": 143044,
|
|
132
|
+
"elapsedMs": 0
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"totalElapsedMs": 6575068,
|
|
136
|
+
"phase": "build-validation-union",
|
|
137
|
+
"status": "completed",
|
|
138
|
+
"factCount": 554516,
|
|
139
|
+
"elapsedMs": 204340,
|
|
140
|
+
"nodeCount": 143044
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"totalElapsedMs": 8671949,
|
|
144
|
+
"phase": "validate-shacl",
|
|
145
|
+
"status": "completed",
|
|
146
|
+
"factCount": 554516,
|
|
147
|
+
"elapsedMs": 2096881,
|
|
148
|
+
"nodeCount": 143044
|
|
149
|
+
}
|
|
150
|
+
],
|
|
151
|
+
"limitations": [
|
|
152
|
+
"Capacity and correctness regression; not a 30-minute hydration qualification.",
|
|
153
|
+
"Other local checks overlapped part of the run; this is not an isolated comparative performance benchmark.",
|
|
154
|
+
"No private consumer source, native Windows field acceptance, live model-quality evaluation, or optional openCAESAR runtime is claimed."
|
|
155
|
+
]
|
|
156
|
+
}
|