@reqvire-org/ads 0.3.40 → 0.3.42
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 +1 -0
- package/dist/bun-compiler.mjs +8 -4
- package/dist/cli.mjs +7 -4
- package/dist/config.mjs +4 -1
- package/dist/investigations.mjs +27 -8
- package/dist/mcp/context.mjs +1 -1
- package/dist/mcp/execution-context.mjs +38 -0
- package/dist/mcp/execution-coordinator.mjs +220 -0
- package/dist/mcp/execution-results.mjs +108 -48
- package/dist/mcp/mutations.mjs +3 -1
- package/dist/mcp/server.mjs +52 -21
- package/dist/scenarios-compiler.mjs +28 -1
- package/dist/skills/ads-break-ui/references/behaviors.md +4 -5
- package/dist/skills/ads-break-ui/references/evidence.md +12 -8
- package/dist/skills/ads-break-ui/references/validation.md +46 -0
- package/dist/skills/ads-designer/references/behaviors.md +4 -5
- package/dist/skills/ads-designer/references/cli.md +6 -1
- package/dist/skills/ads-designer/references/evidence.md +12 -8
- package/dist/skills/ads-designer/references/validation.md +46 -0
- package/dist/skills/ads-import/references/behaviors.md +4 -5
- package/dist/skills/ads-import/references/cli.md +6 -1
- package/dist/skills/ads-import/references/evidence.md +12 -8
- package/dist/skills/ads-import/references/validation.md +46 -0
- package/dist/skills/ads-motion/references/behaviors.md +4 -5
- package/dist/skills/ads-motion/references/evidence.md +12 -8
- package/dist/skills/ads-motion/references/validation.md +46 -0
- package/dist/skills/ads-port/references/behaviors.md +4 -5
- package/dist/skills/ads-port/references/cli.md +6 -1
- package/dist/skills/ads-port/references/evidence.md +12 -8
- package/dist/skills/ads-port/references/validation.md +46 -0
- package/dist/task-cache.mjs +122 -0
- package/dist/task-worker.mjs +19 -0
- package/dist/validation-checks.mjs +12 -10
- package/dist/validation.mjs +11 -5
- package/dist/verification.mjs +7 -3
- package/docs/ARCHITECTURE.md +23 -3
- package/docs/CACHING.md +99 -0
- package/docs/CHANGELOG.md +38 -12
- package/docs/MCP.md +54 -9
- package/docs/benchmarks/turbo-poc.md +266 -0
- package/docs/plans/execution-coordination.md +57 -0
- package/package.json +4 -3
- package/dist/check-runner.mjs +0 -7
|
@@ -0,0 +1,266 @@
|
|
|
1
|
+
# Turborepo POC: immutable batch tasks
|
|
2
|
+
|
|
3
|
+
Measured locally on 26 October 2026 with ADS 0.3.41, Turbo 2.11.10,
|
|
4
|
+
Bun 1.4.1 and Node 24.13.0 on Linux x64. This is an isolated experiment;
|
|
5
|
+
production ADS, project dependencies, policies, MCP locks and CI were not changed.
|
|
6
|
+
|
|
7
|
+
## Workload and controls
|
|
8
|
+
|
|
9
|
+
The input is a frozen Neezler snapshot: 885 inventoried validation files,
|
|
10
|
+
5,622,703 bytes, plus copied workspace/generated inputs. Inventoried source digest:
|
|
11
|
+
`4666c8a12353d4f60e1cd7828f8ce44a414b802b5dfdde9c18394429346ad9d6`.
|
|
12
|
+
Local workspace imports resolve to the snapshot, not the live terminal-renderer
|
|
13
|
+
checkout. Installed third-party dependencies are shared read-only. The live
|
|
14
|
+
project was used only for reading/preparing this snapshot.
|
|
15
|
+
|
|
16
|
+
Each pipeline executes the same three commands through a small report wrapper:
|
|
17
|
+
|
|
18
|
+
- ADS architecture/source check, capturing its JSON report.
|
|
19
|
+
- The project's complete `tsc --noEmit` typecheck.
|
|
20
|
+
- ADS native Bun preview compilation: **129 scenarios, 318 immutable assets**.
|
|
21
|
+
|
|
22
|
+
Preview compilation still performs its own mandatory ADS checks. This POC does
|
|
23
|
+
not remove that existing duplication. Both direct and Turbo variants perform the
|
|
24
|
+
same work. Direct warm compilation uses ADS's existing persisted preview cache;
|
|
25
|
+
it is not forced to compile again for an artificial comparison.
|
|
26
|
+
|
|
27
|
+
Turbo runs in single-package mode with local caching only and a two-task limit.
|
|
28
|
+
Inputs conservatively include the entire frozen source, lockfile, configuration,
|
|
29
|
+
task wrapper and recorded toolchain. Task outputs contain reports and the compiled
|
|
30
|
+
preview graph/cache. Live build-status files, locks, run journals, acceptance
|
|
31
|
+
baselines and verification outcomes are excluded. No remote service or CI is used.
|
|
32
|
+
|
|
33
|
+
Cold means empty ADS/Turbo build caches, not an empty operating-system disk cache.
|
|
34
|
+
Cold/edit comparisons have one trial per mode; unchanged warm comparisons have
|
|
35
|
+
three. Tests are local observations, not service limits or statistical guarantees.
|
|
36
|
+
|
|
37
|
+
## Results
|
|
38
|
+
|
|
39
|
+
| Workload | Direct sequential | Turbo, two tasks |
|
|
40
|
+
| --- | ---: | ---: |
|
|
41
|
+
| Cold complete pipeline | 18.737 s | 11.645 s |
|
|
42
|
+
| Unchanged pipeline, median of three | 11.059 s | 0.070 s |
|
|
43
|
+
| Component source edit | 17.773 s | 11.228 s |
|
|
44
|
+
| Shared token edit | 17.671 s | 11.257 s |
|
|
45
|
+
|
|
46
|
+
The three unchanged Turbo runs took 81, 70 and 69 ms, executing **zero tasks**.
|
|
47
|
+
Direct unchanged preview compilation alone took 1.585, 1.710 and 1.541 seconds;
|
|
48
|
+
the remaining direct time was the source check and typecheck. Warm runs are much
|
|
49
|
+
faster because Turbo skips matching task execution, not because it compiles faster.
|
|
50
|
+
|
|
51
|
+
A scheduling control separates that cache benefit from ordinary parallelism:
|
|
52
|
+
|
|
53
|
+
| Cold scheduling control | Time | Sampled peak process-tree PSS |
|
|
54
|
+
| --- | ---: | ---: |
|
|
55
|
+
| Direct, sequential | 18.737 s | 1,937 MiB |
|
|
56
|
+
| Turbo, sequential | 18.512 s | 1,790 MiB |
|
|
57
|
+
| Direct, simple two-worker queue | 11.428 s | 2,815 MiB |
|
|
58
|
+
| Turbo, two tasks | 11.645 s | 2,842 MiB |
|
|
59
|
+
|
|
60
|
+
Cold timing differences between equivalent scheduling modes are small and within
|
|
61
|
+
normal local variation. A simple two-worker queue provides essentially the same
|
|
62
|
+
cold improvement. Turbo's demonstrated additional value is the task artifact
|
|
63
|
+
cache, not uniquely faster scheduling.
|
|
64
|
+
|
|
65
|
+
Memory is sampled through `/proc/*/smaps_rollup` every 150 ms; fast cache hits can
|
|
66
|
+
end between samples, so their memory values should not be interpreted as precise
|
|
67
|
+
peaks. Every benchmark phase ran inside a 6 GiB process-tree cgroup with swap
|
|
68
|
+
disabled. The first run's whole cgroup peaked around 3 GiB, including monitoring,
|
|
69
|
+
file-backed memory and other overhead beyond summed process PSS.
|
|
70
|
+
|
|
71
|
+
## Correctness and concurrency checks
|
|
72
|
+
|
|
73
|
+
- Deleted all Turbo-variant report outputs and its entire `.ds/` directory.
|
|
74
|
+
Turbo restored the artifacts in **82 ms**, with zero tasks executed. ADS's
|
|
75
|
+
manifest/asset integrity reader verified all graph links, sizes and byte digests;
|
|
76
|
+
the preview revision matched the pre-deletion revision.
|
|
77
|
+
- Changed Badge's real default tone, then a shared `--accent` token. Each change
|
|
78
|
+
caused all three conservative whole-snapshot tasks to miss cache and execute.
|
|
79
|
+
The preview graph revision changed. Repeating each edited pipeline hit cache.
|
|
80
|
+
- Introduced an actual TypeScript assignment error. Both attempts failed and
|
|
81
|
+
executed the typechecker; a failed task was not reused as a successful result.
|
|
82
|
+
- Started two separate Turbo invocations for the same cold source-check key.
|
|
83
|
+
Both missed cache and **two source checks executed**, taking about 7.5 seconds
|
|
84
|
+
each. Turbo did not combine the requests into one in-flight computation.
|
|
85
|
+
Concurrent-run telemetry shares an observation log; use the aggregate count
|
|
86
|
+
in `concurrency.json`, rather than summing each invocation's overlapping window.
|
|
87
|
+
|
|
88
|
+
These checks establish task invalidation and restored artifact integrity for this
|
|
89
|
+
snapshot. They do not establish browser behavior, fresh per-run verification
|
|
90
|
+
reports, source isolation during concurrent edits, or acceptance correctness.
|
|
91
|
+
The existing ADS coordinator was neither replaced nor bypassed in production.
|
|
92
|
+
|
|
93
|
+
## Assessment
|
|
94
|
+
|
|
95
|
+
There is a clear win for repeated identical batch work: approximately **158 times
|
|
96
|
+
faster** for this unchanged pipeline. Cold or edited work benefits from parallel
|
|
97
|
+
execution, which ADS could also obtain with a small bounded scheduler. Two-task
|
|
98
|
+
execution increases the memory requirement; task count alone is not a memory
|
|
99
|
+
budget.
|
|
100
|
+
|
|
101
|
+
The follow-up integration adopts Turbo as the mandatory internal backend for
|
|
102
|
+
controlled architecture batch tasks, with local caching enabled by default. Keep
|
|
103
|
+
ADS's source/freshness checks, result ownership, cancellation,
|
|
104
|
+
resource budgets and acceptance publication. Keep the live preview compiler warm;
|
|
105
|
+
this experiment does not justify launching Turbo on every edit or replacing the
|
|
106
|
+
interactive compiler's internal graph cache. Restored assets must be republished
|
|
107
|
+
into a current ADS session, distinguishing reused evidence from a new execution.
|
|
108
|
+
The follow-up proofs below exercise cross-checkout restoration and browser use.
|
|
109
|
+
|
|
110
|
+
This POC intentionally uses broad task inputs. It does not yet demonstrate
|
|
111
|
+
component-granular cache reuse or safe parallel MCP acceptance/verification. Those
|
|
112
|
+
require ADS dependency selection, isolated outputs and shared in-flight work.
|
|
113
|
+
|
|
114
|
+
## Reproduction and artifacts
|
|
115
|
+
|
|
116
|
+
From the ADS checkout, use a fresh output directory and the same frozen-source
|
|
117
|
+
input to reproduce exactly. The default input is `../csc`; another project needs
|
|
118
|
+
its edit targets adjusted because this small POC targets Neezler's Badge/tokens.
|
|
119
|
+
The runner installs pinned Turbo only inside its output directory. A new snapshot
|
|
120
|
+
of an actively edited checkout can differ; preparation rejects detected races.
|
|
121
|
+
|
|
122
|
+
```sh
|
|
123
|
+
export ADS_TURBO_POC_OUTPUT=output/turbo-poc-new
|
|
124
|
+
systemd-run --user --scope -p MemoryMax=6G -p MemorySwapMax=0 \
|
|
125
|
+
env ADS_TURBO_POC_OUTPUT="$ADS_TURBO_POC_OUTPUT" \
|
|
126
|
+
node scripts/benchmarks/turbo-poc/run.mjs /path/to/neezler
|
|
127
|
+
systemd-run --user --scope -p MemoryMax=6G -p MemorySwapMax=0 \
|
|
128
|
+
env ADS_TURBO_POC_OUTPUT="$ADS_TURBO_POC_OUTPUT" \
|
|
129
|
+
node scripts/benchmarks/turbo-poc/run.mjs /path/to/neezler --extras
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
Bun and Node must be on PATH. The second command adds the equivalent cold serial
|
|
133
|
+
and direct parallel controls to the first command's report. The measured run is
|
|
134
|
+
retained under `output/turbo-poc/`:
|
|
135
|
+
|
|
136
|
+
- `summary.json`: aggregated results and snapshot/toolchain provenance.
|
|
137
|
+
- `measurements.json`: individual commands, timing, sampled PSS/RSS and Turbo hashes.
|
|
138
|
+
- `concurrency.json`: both cold invocations and actual task-start records.
|
|
139
|
+
- `logs/` and each snapshot's `.turbo/runs/`: original task logs/run summaries.
|
|
140
|
+
- `seed/`: frozen benchmark source and exact executed task wrapper.
|
|
141
|
+
|
|
142
|
+
The Turbo variant's cache occupies approximately 3.0 MB after these revisions.
|
|
143
|
+
Generated snapshots, installed Turbo and cache artifacts are ignored by Git.
|
|
144
|
+
The initial POC changed only these drivers and this report. The subsequent
|
|
145
|
+
integration adds the internal source-task backend and verified preview handoff.
|
|
146
|
+
|
|
147
|
+
Turbo's input/output model and local-cache behavior follow its official
|
|
148
|
+
[caching guide](https://turborepo.dev/docs/crafting-your-repository/caching).
|
|
149
|
+
Single-package scheduling and run summaries use its
|
|
150
|
+
[run command](https://turborepo.dev/docs/reference/run).
|
|
151
|
+
|
|
152
|
+
## Follow-up integration proof
|
|
153
|
+
|
|
154
|
+
`output/turbo-proof-2/proofs.json` records three successful integration proofs
|
|
155
|
+
against ADS 0.3.41: a different checkout restored the complete graph, the original
|
|
156
|
+
checkout path was removed, and an actual MCP resource browser mounted Popover and
|
|
157
|
+
opened it. Restoring took 78 ms; invoking the existing full compiler to reestablish
|
|
158
|
+
current-session readiness took 2,340 ms. File restoration alone was not readiness.
|
|
159
|
+
|
|
160
|
+
The unreleased implementation separates that handoff from semantic discovery and
|
|
161
|
+
compiler startup. `output/turbo-proof-3/proofs.json` repeats all three proofs with
|
|
162
|
+
the local implementation: 129 scenarios, 318 assets, 73 ms restoration and
|
|
163
|
+
**1,148 ms handoff**, with the same graph revision before and after and successful
|
|
164
|
+
browser interaction. These are one-trial observations with changed implementation,
|
|
165
|
+
not a controlled statistical estimate; further warm samples are recorded separately.
|
|
166
|
+
The artifact set includes native graph metadata and the successful architecture
|
|
167
|
+
artifact store, but excludes live build status and policy results. Restored evidence
|
|
168
|
+
is republished for the destination session. Missing/corrupt input falls back safely.
|
|
169
|
+
|
|
170
|
+
Two real MCP clients also proved contention, own-request cancellation, descendant
|
|
171
|
+
cleanup (including a detached child), retry without using incomplete cache output,
|
|
172
|
+
warm reuse, reuse after server restart, and reading the previous result by ID.
|
|
173
|
+
A separate process was killed during validation: its detached child exited, restart
|
|
174
|
+
recorded an interrupted result without a baseline, and a fresh retry passed. Both
|
|
175
|
+
lifecycle proofs passed before and after the internal backend was introduced.
|
|
176
|
+
|
|
177
|
+
The production change deliberately caches ADS's controlled source-analysis task.
|
|
178
|
+
Opaque project scripts and live browser checks continue to execute under project
|
|
179
|
+
policy; this experiment does not establish their cache contracts. Bun's warm
|
|
180
|
+
interactive compiler and module cache remain in place. Local caching defaults on;
|
|
181
|
+
fresh/off/location controls and opt-in remote caching are documented in
|
|
182
|
+
[Batch task caching](../CACHING.md). GitHub CI needs CLI/cache-provider wiring,
|
|
183
|
+
not a new ADS server/API. These proofs ran on Linux x64; other platforms have not
|
|
184
|
+
been benchmarked here.
|
|
185
|
+
|
|
186
|
+
### Separating native restoration from batch analysis
|
|
187
|
+
|
|
188
|
+
The final `output/turbo-proof-4/proofs.json` repeats all three integration proofs
|
|
189
|
+
successfully after removing the redundant Turbo lookup from native graph restore:
|
|
190
|
+
**72 ms** artifact restoration and **1,021 ms** separate CLI handoff/startup. The
|
|
191
|
+
existing graph's successful validation stamp now also includes relevant Git
|
|
192
|
+
tracking, declared installed-package manifests and semantic environment. A mismatch
|
|
193
|
+
falls back to the guarded compile path, rather than reusing prior gate evidence.
|
|
194
|
+
|
|
195
|
+
`output/turbo-proof-4/handoff.json` contains a primed, rotating-order comparison,
|
|
196
|
+
three measured samples per arm, in one Bun process against that exact frozen graph:
|
|
197
|
+
|
|
198
|
+
| Same graph and new handoff | Median | Samples |
|
|
199
|
+
| --- | ---: | --- |
|
|
200
|
+
| Native graph restoration, no Turbo call | **401 ms** | 410, 401, 382 ms |
|
|
201
|
+
| Additional Turbo-cached source check, then restoration | **564 ms** | 546, 599, 564 ms |
|
|
202
|
+
| Additional direct source analysis, then restoration | **5,329 ms** | 5,329, 5,333, 5,291 ms |
|
|
203
|
+
|
|
204
|
+
The first arm is the production warm path. The other arms deliberately add a
|
|
205
|
+
batch source check; direct analysis executes the same synchronous analysis
|
|
206
|
+
primitive without a child-process startup. These timings isolate task-result
|
|
207
|
+
reuse from the handoff refactor. **Turbo is not the cause of the preview-handoff
|
|
208
|
+
speedup**: an unnecessary task lookup adds overhead to an already verified graph.
|
|
209
|
+
Its value is skipping matching batch analysis when a validation/check operation
|
|
210
|
+
would otherwise execute it. The complete standalone CLI includes startup costs
|
|
211
|
+
that this within-process comparison excludes. No compilation speedup is claimed.
|
|
212
|
+
|
|
213
|
+
After the initial POC has populated `output/turbo-poc/seed` and `tools`, build the
|
|
214
|
+
current tool and run the proofs with a new output directory (Bun/Node on PATH):
|
|
215
|
+
|
|
216
|
+
```sh
|
|
217
|
+
npm run build
|
|
218
|
+
export ADS_TURBO_PROOF_OUTPUT=output/turbo-proof-new
|
|
219
|
+
systemd-run --user --scope -p MemoryMax=6G -p MemorySwapMax=0 \
|
|
220
|
+
env ADS_TURBO_PROOF_OUTPUT="$ADS_TURBO_PROOF_OUTPUT" \
|
|
221
|
+
node scripts/benchmarks/turbo-poc/proofs.mjs
|
|
222
|
+
systemd-run --user --scope -p MemoryMax=6G -p MemorySwapMax=0 \
|
|
223
|
+
env ADS_TURBO_PROOF_OUTPUT="$ADS_TURBO_PROOF_OUTPUT" \
|
|
224
|
+
bun scripts/benchmarks/turbo-poc/handoff.mjs
|
|
225
|
+
```
|
|
226
|
+
|
|
227
|
+
The proof driver intentionally refuses existing snapshot directories. It uses the
|
|
228
|
+
installed third-party dependencies and frozen workspace sources from the initial
|
|
229
|
+
Neezler POC; it never edits the live application. Failed attempts remain available
|
|
230
|
+
under earlier output directories instead of being overwritten.
|
|
231
|
+
|
|
232
|
+
### Final implementation proof
|
|
233
|
+
|
|
234
|
+
`output/turbo-proof-final/proofs.json` records all three successful integration
|
|
235
|
+
proofs against the final internal runner, which invokes the installed Rust binary
|
|
236
|
+
without Turbo's convenience installer. The browser proof restored 129 scenarios
|
|
237
|
+
and 318 assets in **65 ms**, then established fresh destination readiness through a
|
|
238
|
+
separate CLI invocation in **978 ms**. The original checkout path was unavailable.
|
|
239
|
+
Cancellation, restart, detached-child cleanup, retained results and crash recovery
|
|
240
|
+
all passed again. Hermit-managed Bun **1.4.2** also passed the source check on the
|
|
241
|
+
same frozen project (`hermit-bun-1.4.2.json`).
|
|
242
|
+
|
|
243
|
+
The final `handoff.json` repeats the primed, rotating comparison with three samples:
|
|
244
|
+
|
|
245
|
+
| Path | Median | Samples |
|
|
246
|
+
| --- | ---: | --- |
|
|
247
|
+
| Native graph restoration; no Turbo call | **375 ms** | 360, 382, 375 ms |
|
|
248
|
+
| Additional Turbo source-cache hit, then restoration | **536 ms** | 538, 536, 529 ms |
|
|
249
|
+
| Additional executed source analysis, then restoration | **5,013 ms** | 5,075, 4,978, 5,013 ms |
|
|
250
|
+
|
|
251
|
+
These measurements confirm the division: native graph restoration is the warm
|
|
252
|
+
preview path; Turbo reuses deterministic batch analysis. It does not accelerate
|
|
253
|
+
compilation or make the already validated graph's native handoff faster.
|
|
254
|
+
|
|
255
|
+
The broad regression run exposed two compatibility defects, fixed before adoption:
|
|
256
|
+
Vite changes `NODE_ENV` during setup, so graph stamps now capture launch environment
|
|
257
|
+
rather than invalidating their own build; read-only inspection must work without a
|
|
258
|
+
project output directory, so unavailable/disabled cache storage uses the same runner
|
|
259
|
+
uncached in a temporary workspace. Dedicated regressions cover both behaviors.
|
|
260
|
+
|
|
261
|
+
The final full regression run passed **624/624 tests, zero skips or failures**,
|
|
262
|
+
with `ADS_TEST_BUN=1 npm test` in **764.8 seconds**, under an 8 GiB process-tree
|
|
263
|
+
limit with swap disabled. `output/turbo-proof-final/validation.json` records the
|
|
264
|
+
working-tree source fingerprint, runtime proof outcomes, timings and full-log
|
|
265
|
+
digest; `full-tests.log` retains the original output. This is unreleased working
|
|
266
|
+
code, not an npm release or a proof attached to a committed release tag.
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
# Execution coordination and retained evidence
|
|
2
|
+
|
|
3
|
+
Implement in ADS 0.3.41. One running ADS process coordinates all its MCP
|
|
4
|
+
connections. Independent ADS processes on the same project are outside this
|
|
5
|
+
lease's scope; startup must never recover or delete another live process's work.
|
|
6
|
+
|
|
7
|
+
## Agreed behavior
|
|
8
|
+
|
|
9
|
+
- One exclusive execution lease covers validation (both policies and scopes),
|
|
10
|
+
verification, guarded patches/transactions and draft acceptance. Acquisition is
|
|
11
|
+
immediate, before checks, and release follows process cleanup and durable result
|
|
12
|
+
publication. A caller cannot mutate accepted source while its own lease is held.
|
|
13
|
+
- Reject contention with `ADS_VALIDATION_LOCKED`, holder/run ID, operation, client
|
|
14
|
+
label where available, policy, requested/effective scope, units, start time,
|
|
15
|
+
progress and nullable approximate ETA. Read-only discovery, Explorer and preview
|
|
16
|
+
serving remain usable. Neither waiting nor parallel unit runs are in this version.
|
|
17
|
+
- Scope changed retains full project scripts and may expand to all. Disjoint owner
|
|
18
|
+
names do not establish independent dependencies or outputs.
|
|
19
|
+
- Journal the run before starting work. The run ID is also its execution result ID.
|
|
20
|
+
HTTP requests can be stateless: ownership is a run identity, with advisory client
|
|
21
|
+
metadata, not a socket lifetime or authorization inferred from a client name.
|
|
22
|
+
- Cancellation/disconnection initiates cleanup, holds the lease until cleanup is
|
|
23
|
+
finished and records the terminal outcome independently of response delivery.
|
|
24
|
+
No run is automatically resumed or replayed.
|
|
25
|
+
- Watch relevant inputs during validation/verification. A detected source change
|
|
26
|
+
stops work with `ADS_SOURCE_CHANGED_DURING_RUN`, added/modified/deleted paths and
|
|
27
|
+
observed attribution. Direct editor/shell changes have unknown authorship;
|
|
28
|
+
never infer an author. Generated output changes do not stop runs. Preserve
|
|
29
|
+
observations already reported and never advance baselines on an interrupted run.
|
|
30
|
+
- Persist completed results by immutable run ID and retain exact-run investigations
|
|
31
|
+
and their artifacts. Latest indexes are convenience views, not retention limits.
|
|
32
|
+
Reconnection and another client's completion do not invalidate a retained ID.
|
|
33
|
+
- A new server instance recovers abandoned journal entries as interrupted after
|
|
34
|
+
checking/cleaning recorded owned process identities. Existing ownership guards
|
|
35
|
+
also clean children on parent death. Do not signal a reused PID. Finished results
|
|
36
|
+
and successful baselines survive; current source freshness is checked separately.
|
|
37
|
+
- Garbage collection runs at startup and after executions, never on client
|
|
38
|
+
disconnect. Configurable age/count/disk limits bound completed results and owned
|
|
39
|
+
evidence together. Protect active work and the newly returned result. Baselines
|
|
40
|
+
are independent. Remove abandoned temporaries only when unowned. An expired ID
|
|
41
|
+
reports `ADS_RESULT_EXPIRED`; unknown IDs are unavailable. Limits are soft only
|
|
42
|
+
for protected active/newly completed work and the over-budget state is visible.
|
|
43
|
+
- Status and supported resource subscriptions expose lease acquisition, progress,
|
|
44
|
+
stopping and release. ETA is null without a defensible estimate.
|
|
45
|
+
|
|
46
|
+
## Proof and delivery
|
|
47
|
+
|
|
48
|
+
Test two real MCP clients for refusal without spawning/replacing work; own
|
|
49
|
+
cancellation and disconnect; completion racing disconnect; persisted run lookup
|
|
50
|
+
on reconnect; source-change paths/unknown attribution and unchanged baselines;
|
|
51
|
+
restart recovery and reused/live-process protection; bounded collection and
|
|
52
|
+
historical investigation lookup; preview responsiveness while busy. Test known
|
|
53
|
+
MCP write attribution separately from external changes.
|
|
54
|
+
|
|
55
|
+
Update configuration, architecture, MCP guides and portable skill references.
|
|
56
|
+
Sync skill copies, run targeted regressions then the complete local release suite,
|
|
57
|
+
commit its proof, publish 0.3.41 and update local consumers to the published version.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reqvire-org/ads",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.42",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A design system your agent can see and shape. Your components. Your look. Your code.",
|
|
6
6
|
"repository": {
|
|
@@ -54,15 +54,16 @@
|
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
56
|
"@modelcontextprotocol/server": "2.3.1",
|
|
57
|
+
"@wyw-in-js/transform": "2.1.3",
|
|
57
58
|
"css-tree": "3.2.1",
|
|
58
59
|
"postcss": "^8.5.30",
|
|
59
60
|
"postcss-selector-parser": "^7.1.6",
|
|
60
61
|
"postcss-value-parser": "^4.2.0",
|
|
61
62
|
"sharp": "^0.35.5",
|
|
63
|
+
"turbo": "2.11.10",
|
|
62
64
|
"typescript": "^5.9.3",
|
|
63
65
|
"yaml": "2.9.1",
|
|
64
|
-
"zod": "4.4.3"
|
|
65
|
-
"@wyw-in-js/transform": "2.1.3"
|
|
66
|
+
"zod": "4.4.3"
|
|
66
67
|
},
|
|
67
68
|
"devDependencies": {
|
|
68
69
|
"@babel/core": "^7.29.7",
|
package/dist/check-runner.mjs
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { writeFileSync } from "node:fs";
|
|
2
|
-
import { checkProject } from "./check.mjs";
|
|
3
|
-
|
|
4
|
-
// Candidate architecture analysis can retain a large TypeScript heap. Give it
|
|
5
|
-
// a process lifetime instead of growing the long-running MCP process's heap.
|
|
6
|
-
const [root, report, trackingRoot] = process.argv.slice(2);
|
|
7
|
-
writeFileSync(report, JSON.stringify(checkProject(root, { trackingRoot })));
|