-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
395 lines (395 loc) · 38.7 KB
/
Copy pathpackage.json
File metadata and controls
395 lines (395 loc) · 38.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
{
"name": "refarm",
"version": "0.0.0",
"private": true,
"description": "Refarm — Personal Operating System for sovereign data management",
"scripts": {
"build": "turbo build --output-logs=new-only --ui=stream",
"dev": "turbo dev",
"cli:dev": "turbo dev --filter=@refarm.dev/refarm",
"cli:build": "turbo build --filter=@refarm.dev/refarm",
"cli:install": "node scripts/install-refarm-cli.mjs",
"cli:install:test": "node --test scripts/ci/test-install-refarm-cli.mjs",
"cli:install:verify": "node scripts/ci/run-root-scripts.mjs cli:install:test devcontainer:contract:test workspace-protect:test node-substrate:check:test environment-substrate:check:test",
"lint": "turbo lint --output-logs=new-only --ui=stream",
"git:diff-check": "git diff --check",
"format": "oxfmt 'packages/**/src/**/*.{ts,mts,cts,js,mjs,cjs}' 'apps/**/src/**/*.{ts,mts,cts,js,mjs,cjs}' 'examples/**/src/**/*.{ts,mts,cts,js,mjs,cjs}'",
"format:check": "oxfmt --check 'packages/**/src/**/*.{ts,mts,cts,js,mjs,cjs}' 'apps/**/src/**/*.{ts,mts,cts,js,mjs,cjs}' 'examples/**/src/**/*.{ts,mts,cts,js,mjs,cjs}'",
"imports:organize": "node packages/toolbox/src/cli.mjs imports",
"imports:organize:check": "node packages/toolbox/src/cli.mjs imports --check",
"imports:organize:test": "node --test scripts/ci/test-organize-imports-lib.mjs",
"toolbox:test": "node scripts/ci/run-workspace-script.mjs packages/toolbox test",
"test": "turbo run test",
"test:watch": "vitest --watch",
"web:smoke": "node scripts/ci/web-face-smoke.mjs",
"validate-packages": "node scripts/validate-packages.mjs",
"validate-packages:test": "node --test scripts/ci/test-validate-packages-lib.mjs",
"scaffold:inventory": "node scripts/ci/check-scaffold-inventory.mjs",
"scaffold:inventory:json": "node scripts/ci/check-scaffold-inventory.mjs --json",
"scaffold:inventory:strict": "node scripts/ci/check-scaffold-inventory.mjs --strict",
"scaffold:inventory:strict:json": "node scripts/ci/check-scaffold-inventory.mjs --strict --json",
"scaffold:inventory:test": "node --test scripts/ci/test-scaffold-inventory.mjs",
"scaffold:generators:test": "node --test scripts/ci/test-turbo-generators.mjs",
"scaffold:templates:test": "pnpm --filter @refarm.dev/sower run test -- src/template-conformance.test.ts",
"git-atomic": "node packages/toolbox/src/git-atomic-analysis.mjs",
"git-commit-auto": "node packages/toolbox/src/git-commit-auto.mjs",
"git-commit-auto:strict": "GIT_COMMIT_AUTO_STRICT=1 node packages/toolbox/src/git-commit-auto.mjs",
"test:unit": "turbo run test:unit --",
"test:integration": "turbo run test:integration --",
"test:e2e": "turbo run test:e2e --",
"test:e2e:headed": "turbo run test:e2e:headed --",
"test:matrix": "node scripts/ci/matrix-runner.mjs --execute",
"compat:forward": "node scripts/ci/matrix-runner.mjs --run-forward",
"compat:backward": "node scripts/ci/matrix-runner.mjs --run-backward",
"test:capabilities": "node scripts/ci/test-capabilities.mjs",
"source:librarian:smoke": "node scripts/ci/smoke-source-git-librarian.mjs",
"source:librarian:local-smoke": "node scripts/ci/smoke-source-local-librarian.mjs",
"consumer:sources:cache": "pnpm -C packages/source-git run build && node scripts/ci/ensure-consumer-source-caches.mjs",
"consumer:sources:cache:test": "pnpm -C packages/source-git run build && node --test scripts/ci/test-ensure-consumer-source-caches.mjs",
"test-runner:contracts": "node scripts/ci/check-test-runner-contracts.mjs",
"test-runner:contracts:test": "node --test scripts/ci/test-check-test-runner-contracts.mjs",
"gate:smoke:foundation": "node scripts/ci/gate-smoke-foundation.mjs",
"gate:smoke:runtime-host-contracts": "node scripts/ci/gate-smoke-runtime-host-contracts.mjs",
"gate:smoke:runtime": "node scripts/ci/gate-smoke-runtime.mjs && node --test scripts/ci/test-runtime-start-helpers.mjs",
"gate:smoke:runtime:test": "node --test scripts/ci/test-gate-smoke-runtime-plan.mjs",
"gate:smoke:contracts": "node scripts/ci/gate-smoke-contracts.mjs",
"reference-driver:smoke": "node scripts/ci/reference-driver-smoke.mjs",
"reference-driver:smoke:plan": "node scripts/ci/reference-driver-smoke.mjs --plan",
"agent-demo:release-proof": "node scripts/ci/agent-demo-release-proof.mjs --json",
"agent-demo:release-proof:test": "node --test scripts/ci/test-agent-demo-release-proof.mjs",
"secure-extensibility:proof": "node scripts/ci/secure-extensibility-demo-proof.mjs --json",
"secure-extensibility:proof:test": "node --test scripts/ci/test-secure-extensibility-demo-proof.mjs",
"local-first:proof": "pnpm -C packages/local-surface run build && node scripts/ci/local-first-platform-proof.mjs --json",
"local-first:proof:test": "pnpm -C packages/local-surface run build && node --test scripts/ci/test-local-first-platform-proof.mjs",
"agent:release-proof": "node scripts/ci/agent-release-proof.mjs --json",
"agent:release-proof:test": "node --test scripts/ci/test-agent-release-proof.mjs",
"gate:full:colony": "node scripts/ci/run-root-scripts.mjs gate:smoke:foundation gate:smoke:contracts gate:smoke:runtime gate:smoke:runtime:test validate-packages validate-packages:test deps:missing:src deps:vitest-config-check deps:src-manifest-check deps:src-manifest-check:test test-runner:contracts test-runner:contracts:test actions:pins actions:contracts platform-compat:check:test package-manager:sh:test tsconfig:guard:test environment-substrate:check:test workspace-protect:test workspace:source:ownership workspace:source:ownership:test workspace:artifacts:ownership workspace:artifacts:ownership:test models:defaults:check permission:vocab:check config-node:keys:check plugin-id:charset:check audience:boundary:test deploy:publish:workflow:test i18n:check i18n:check:test repo:complexity:test repo:complexity:changed:strict text-quality:verify security:fix:test openapi:check task-artifacts:check:test validation-pocs:test refarm:check:gate && node scripts/ci/project-block-consistency.mjs --silent",
"bench:sqlite": "node scripts/ci/run-workspace-script.mjs validations/sqlite-benchmark bench:all",
"bench:cli": "node scripts/perf/cli-bench.mjs --json",
"bench:cli:lane": "node scripts/perf/cli-bench.mjs --json --profile lane",
"bench:cli:test": "node --test scripts/ci/test-cli-bench.mjs",
"test:repro": "node scripts/ci/run-root-scripts.mjs lint type-check test:unit test:integration test:e2e",
"test:coverage": "turbo run test:coverage --",
"perf:baseline:prepush": "node scripts/perf/prepush-baseline.mjs --out artifacts/perf/prepush-baseline.csv",
"type-check": "turbo type-check --output-logs=new-only --ui=stream",
"verify": "node scripts/verify-changed.mjs",
"verify:test": "node --test scripts/verify-changed.test.mjs",
"scaffold:capability": "node scripts/scaffold-capability.mjs",
"scaffold:capability:test": "node --test scripts/scaffold-capability.test.mjs",
"type-check:dist": "turbo type-check:dist --output-logs=new-only --ui=stream",
"tsconfig:guard": "node scripts/ci/tsconfig-guard.mjs",
"tsconfig:guard:test": "node --test scripts/ci/test-tsconfig-guard.mjs",
"project:validate": "node scripts/ci/project-block-consistency.mjs",
"repo:complexity": "node scripts/repo-complexity-check.mjs --max-lines 1000",
"repo:complexity:changed": "node scripts/repo-complexity-check.mjs --changed --max-lines 1000",
"repo:complexity:changed:strict": "node scripts/repo-complexity-check.mjs --changed --max-lines 1000 --strict",
"repo:complexity:strict": "node scripts/repo-complexity-check.mjs --max-lines 1000 --strict",
"repo:complexity:test": "node --test scripts/ci/test-repo-complexity-check.mjs",
"text-quality:test": "node --test scripts/ci/test-text-quality-lib.mjs",
"docs:text-quality": "node scripts/ci/check-text-quality.mjs docs/ENVIRONMENT_SUBSTRATE_INVENTORY.md docs/NIXOS_CURATED_RUNTIME_STRATEGY.md docs/POC_VALIDATION_PRESSURE.md docs/POC_PRIZE_READINESS.md docs/POC_WRITING_HANDOFF.md docs/POC_DEMONSTRATION_PACKET.md docs/TEXT_QUALITY_CONFIG.md docs/VAULT_SEED_CONVERGENCE.md",
"writeup:captures": "node scripts/capture-writeup-assets.mjs",
"writeup:agent-record": "node scripts/capture-agent-runtime-record.mjs",
"docs:actionability:check": "node scripts/ci/check-spec-actionability.mjs",
"docs:actionability:check:all": "node scripts/ci/check-spec-actionability.mjs --all",
"docs:actionability:check:strict": "node scripts/ci/check-spec-actionability.mjs --strict",
"docs:actionability:check:all:strict": "node scripts/ci/check-spec-actionability.mjs --all --strict",
"text-quality:verify": "node scripts/ci/run-root-scripts.mjs text-quality:test docs:text-quality",
"wallet:poc": "node validations/citizen-data-wallet-poc/wallet-poc.mjs",
"wallet:poc:test": "node --test validations/citizen-data-wallet-poc/wallet-poc.test.mjs",
"sovereign-citizen:reference:test": "pnpm --filter @refarm.dev/storage-contract-v1 --filter @refarm.dev/storage-memory --filter @refarm.dev/identity-heartwood --filter @refarm.dev/credentials-contract-v1 run build && node --test validations/sovereign-citizen-reference/sovereign-citizen-reference.test.mjs",
"extension-sandbox:poc": "node validations/extension-sandbox-poc/extension-sandbox-poc.mjs",
"extension-sandbox:poc:test": "node --test validations/extension-sandbox-poc/extension-sandbox-poc.test.mjs",
"governed-note-box:poc": "node validations/governed-note-box-poc/governed-note-box-poc.mjs",
"governed-note-box:poc:test": "node --test validations/governed-note-box-poc/governed-note-box-poc.test.mjs",
"remote-workspace-control:poc:test": "node --test validations/remote-workspace-control-plane/remote-workspace-control-plane.test.mjs",
"distributed-availability:poc:test": "node --test validations/distributed-availability-evidence/distributed-availability-evidence.test.mjs",
"verification-completion:poc:test": "node --test validations/verification-as-completion/verification-as-completion.test.mjs",
"toolless-orchestrator:poc:test": "node --test validations/toolless-orchestrator-proof/toolless-orchestrator-proof.test.mjs",
"validation-pocs:index": "node scripts/ci/build-validation-poc-evidence-index.mjs",
"validation-pocs:index:test": "node --test scripts/ci/test-validation-poc-evidence-index.mjs",
"validation-pocs:consumer:test": "node scripts/ci/run-workspace-script.mjs packages/artifact-contract-v1 build && node scripts/ci/check-validation-poc-consumers.mjs",
"validation-pocs:coding-agent:test": "node scripts/ci/run-workspace-script.mjs packages/artifact-contract-v1 build && node scripts/ci/check-coding-agent-poc-packets.mjs",
"validation-pocs:writing-consumer:test": "node --test scripts/ci/test-validation-poc-writing-consumer-lib.mjs && node scripts/ci/check-validation-poc-writing-consumer.mjs",
"validation-pocs:test": "node scripts/ci/run-root-scripts.mjs wallet:poc:test sovereign-citizen:reference:test extension-sandbox:poc:test governed-note-box:poc:test toolless-orchestrator:poc:test task-artifacts:check validation-pocs:consumer:test validation-pocs:coding-agent:test validation-pocs:index:test validation-pocs:writing-consumer:test",
"local-surface:docs:test": "node --test scripts/ci/test-local-surface-docs.mjs",
"io-uring:probe": "node validations/io-uring-substrate/run-probe.mjs --json",
"io-uring:probe:test": "node --test validations/io-uring-substrate/probe.test.mjs",
"xr-surface:poc:test": "node --test validations/xr-surface-poc/xr-surface.test.mjs",
"task-artifacts:check": "node scripts/ci/check-task-artifact-manifests.mjs",
"task-artifacts:check:test": "node --test scripts/ci/test-check-task-artifact-manifests-lib.mjs",
"openapi:check": "node scripts/ci/check-openapi-specs.mjs",
"refarm:sidecar:verify": "node scripts/ci/run-workspace-script.mjs apps/farmhand test -- src/transports/http.test.ts src/transports/sessions.test.ts src/transports/plugins.test.ts src/transports/tasks.test.ts --pool=threads && node scripts/ci/run-workspace-script.mjs apps/farmhand type-check && node scripts/ci/run-root-scripts.mjs openapi:check",
"refarm:driver:tasks:verify": "node scripts/ci/run-workspace-script.mjs apps/farmhand test -- src/transports/tasks.test.ts src/transports/http.test.ts --pool=threads && node scripts/ci/run-workspace-script.mjs apps/farmhand type-check && node scripts/ci/run-workspace-script.mjs --with-dependency-builds apps/refarm test -- test/commands/tasks.test.ts --pool=threads && node scripts/ci/run-workspace-script.mjs --with-dependency-builds apps/refarm type-check && node scripts/ci/run-root-scripts.mjs openapi:check",
"runtime-descriptor:bundle": "node scripts/ci/export-runtime-descriptor-bundle.mjs --out-dir .artifacts/runtime-descriptors --version local",
"runtime-descriptor:release-assets:dry": "node scripts/ci/publish-runtime-descriptor-release-assets.mjs --bundle-dir .artifacts/runtime-descriptors --sha local --tags @refarm.dev/plugin-manifest@0.1.0 --dry-run",
"runtime-descriptor:release-smoke": "node scripts/ci/smoke-runtime-descriptor-release-path.mjs --sha local",
"task:execution:smoke": "node scripts/ci/smoke-task-execution-loop.mjs",
"task:build-order:check": "node -e \"import('./scripts/ci/subprocess-utils.mjs').then(m => m.assertTaskSmokeBuildOrderIntegrity()).catch(e => { console.error(e.message); process.exit(1); })\"",
"deps:vitest-config-check": "node scripts/ci/check-vitest-config-deps.mjs",
"ci:workspace-coverage:check": "node scripts/ci/check-ci-workspace-coverage.mjs",
"ci:face-smoke-coverage:check": "node scripts/ci/check-face-smoke-coverage.mjs",
"deps:src-manifest-check": "node scripts/ci/check-src-dep-manifest.mjs",
"deps:src-manifest-check:test": "node --test scripts/ci/test-check-src-dep-manifest.mjs",
"task:execution:smoke:agent": "node scripts/ci/smoke-task-agent-respond.mjs",
"refarm:agent:e2e:mock": "node scripts/ci/run-workspace-script.mjs packages/model-mock build && node scripts/ci/run-workspace-script.mjs packages/agent build:wasm && node scripts/ci/run-workspace-script.mjs apps/refarm build && node scripts/ci/smoke-refarm-agent-model-mock.mjs",
"refarm:host:smoke": "node scripts/ci/run-workspace-script.mjs --with-dependency-builds apps/refarm test:host-smoke",
"refarm:handoffs:test": "node scripts/ci/run-workspace-script.mjs --with-dependency-builds apps/refarm test:handoffs",
"refarm:check:gate": "node scripts/ci/refarm-check-gate.mjs check",
"refarm:check:verify": "node scripts/ci/refarm-check-gate.mjs verify",
"refarm:health:gate": "node scripts/ci/refarm-check-gate.mjs health",
"refarm:host:smoke:dist-actions": "node scripts/ci/run-workspace-script.mjs apps/refarm smoke:dist-actions",
"refarm:actions:test": "node scripts/ci/run-workspace-script.mjs --with-dependency-builds apps/refarm test -- test/commands/action-affordances.test.ts test/commands/action-fixture.test.ts test/commands/headless.test.ts test/commands/headless-action.test.ts test/commands/actions.test.ts test/commands/status-actions.test.ts test/commands/web.test.ts test/commands/web-actions.test.ts test/commands/tui.test.ts test/commands/tui-actions.test.ts --pool=threads",
"refarm:actions:headless:test": "node scripts/ci/run-workspace-script.mjs --with-dependency-builds apps/refarm test -- test/commands/action-fixture.test.ts test/commands/headless.test.ts test/commands/headless-action.test.ts --pool=threads",
"refarm:actions:renderers:test": "node scripts/ci/run-workspace-script.mjs --with-dependency-builds apps/refarm test -- test/commands/action-affordances.test.ts test/commands/actions.test.ts test/commands/web.test.ts test/commands/web-actions.test.ts test/commands/tui.test.ts test/commands/tui-actions.test.ts --pool=threads",
"refarm:actions:type-check": "node scripts/ci/run-workspace-script.mjs --with-dependency-builds apps/refarm type-check",
"refarm:actions:smoke-dist": "node scripts/ci/run-root-scripts.mjs refarm:host:smoke:dist-actions",
"refarm:actions:verify": "node scripts/ci/run-root-scripts.mjs refarm:actions:test refarm:actions:type-check refarm:actions:smoke-dist",
"refarm:host:smoke:cli": "node scripts/ci/smoke-refarm-host-cli-flows.mjs",
"refarm:host:smoke:cli:profiles": "node scripts/ci/smoke-refarm-host-cli-flows.mjs --list-only-profiles",
"refarm:host:smoke:cli:profiles:json": "node scripts/ci/smoke-refarm-host-cli-flows.mjs --list-only-profiles --json",
"refarm:host:smoke:cli:action-seams": "node scripts/ci/smoke-refarm-host-cli-flows.mjs --only action-seams",
"refarm:host:smoke:cli:action-seams:skip-build": "node scripts/ci/smoke-refarm-host-cli-flows.mjs --only action-seams --skip-build",
"refarm:host:smoke:cli:actions-readiness": "node scripts/ci/smoke-refarm-host-cli-flows.mjs --only actions-readiness",
"refarm:host:smoke:cli:actions-readiness:skip-build": "node scripts/ci/smoke-refarm-host-cli-flows.mjs --only actions-readiness --skip-build",
"refarm:host:smoke:cli:status-action": "node scripts/ci/smoke-refarm-host-cli-flows.mjs --only status-action",
"refarm:host:smoke:cli:status-action:skip-build": "node scripts/ci/smoke-refarm-host-cli-flows.mjs --only status-action --skip-build",
"refarm:host:smoke:cli:test": "node --test scripts/ci/test-smoke-refarm-host-cli-flows.mjs",
"refarm:tree:test": "node scripts/ci/run-workspace-script.mjs --with-dependency-builds apps/refarm test -- test/commands/tree.list.test.ts test/commands/tree.show.test.ts test/commands/tree.preview.test.ts test/commands/tree.fork.test.ts test/commands/tree.switch.test.ts test/commands/execution-plan.test.ts --pool=threads",
"refarm:tree:smoke": "node scripts/ci/run-workspace-script.mjs --with-dependency-builds apps/refarm test -- test/commands/tree.integration.test.ts --pool=forks",
"refarm:tree:type-check": "node scripts/ci/run-workspace-script.mjs --with-dependency-builds apps/refarm type-check && node scripts/ci/run-workspace-script.mjs apps/farmhand type-check",
"refarm:tree:farmhand:test": "node scripts/ci/run-workspace-script.mjs apps/farmhand test:driver",
"refarm:tree:smoke:cli": "node scripts/ci/smoke-refarm-tree-cli.mjs",
"refarm:tree:verify": "node scripts/ci/run-root-scripts.mjs refarm:tree:test refarm:tree:smoke refarm:tree:type-check refarm:tree:farmhand:test refarm:tree:smoke:cli",
"refarm:safety": "node scripts/refarm-safety.mjs",
"refarm:safety:micro-safe": "node scripts/refarm-safety.mjs micro-safe",
"refarm:safety:micro-safe:baseline": "node scripts/refarm-safety.mjs micro-safe-baseline",
"refarm:safety:micro": "node scripts/refarm-safety.mjs micro",
"refarm:safety:normal": "node scripts/refarm-safety.mjs normal",
"refarm:safety:full": "node scripts/refarm-safety.mjs full",
"refarm:safety:test:chat-session": "pnpm run refarm:safety:micro-safe && pnpm -C apps/refarm run test:chat-session",
"refarm:safety:test:chat-batch": "pnpm run refarm:safety:micro-safe && pnpm -C apps/refarm run test:chat-batch",
"refarm:safety:test:tree": "pnpm run refarm:safety:micro-safe && pnpm -C apps/refarm run test:tree-safety",
"refarm:safety:test:actions": "pnpm run refarm:safety:micro-safe && pnpm -C apps/refarm run test:actions-safety",
"session:heavy": "node scripts/session-heavy.mjs",
"session:heavy:refarm": "node scripts/session-heavy.mjs --session-source refarm",
"session:heavy:pi": "node scripts/pi-session-heavy.mjs --session-source pi",
"session:heavy:legacy-pi": "node scripts/session-heavy.mjs --session-source pi",
"session:heavy:repeat": "node scripts/session-heavy.mjs --recent 6 --count 40 --filter \"pnpm\" --repeat-signal --repeat-max-count 4",
"session:heavy:repeat:chat-session": "node scripts/session-heavy.mjs --recent 10 --count 80 --filter \"chat-repl-session.test.ts\" --repeat-signal --repeat-max-count 3",
"session:heavy:ci-watch": "node scripts/session-heavy.mjs --recent 2 --count 20 --filter \"gh \" --ci-loop-signal --ci-loop-max-count 6 --ci-loop-max-ms 360000",
"session:heavy:ci-watch:guard": "node scripts/session-heavy.mjs --recent 5 --count 30 --filter \"gh \" --ci-loop-signal --repeat-signal --ci-loop-max-count 4 --repeat-max-count 2 --ci-loop-max-ms 240000",
"session:heavy:ci-watch:legacy": "node scripts/session-heavy.mjs --session-source pi --allow-legacy-pi-roots --recent 5 --count 30 --filter \"gh \" --ci-loop-signal --repeat-signal --ci-loop-max-count 4 --repeat-max-count 2 --ci-loop-max-ms 240000",
"session:heavy:ci-watch:baseline": "node scripts/session-heavy.mjs --recent 5 --count 30 --filter \"gh \" --ci-loop-max-count 12 --ci-loop-max-ms 900000",
"session:heavy:sources": "node scripts/session-heavy.mjs --print-session-sources",
"session:heavy:sources:refarm": "node scripts/session-heavy.mjs --print-session-sources --session-source refarm",
"session:heavy:sources:legacy": "node scripts/session-heavy.mjs --print-session-sources --session-source pi --allow-legacy-pi-roots",
"refarm:host:smoke:quick": "node scripts/ci/smoke-refarm-host-spine.mjs --quick",
"refarm:host:smoke:dev": "node scripts/ci/smoke-refarm-host-spine.mjs --skip-type-check",
"refarm:host:smoke:ci": "node scripts/ci/smoke-refarm-host-spine.mjs",
"refarm:host:smoke:auto": "node scripts/ci/smoke-refarm-host-auto.mjs --execute",
"refarm:host:smoke:auto:plan": "node scripts/ci/smoke-refarm-host-auto.mjs",
"refarm:host:smoke:auto:profiles": "node scripts/ci/smoke-refarm-host-auto.mjs --list-profiles",
"refarm:host:smoke:auto:profiles:json": "node scripts/ci/smoke-refarm-host-auto.mjs --list-profiles --json",
"refarm:host:smoke:auto:agent-e2e-mock": "node scripts/ci/smoke-refarm-host-auto.mjs --profile agent-e2e-mock --execute",
"refarm:host:smoke:auto:test": "node --test scripts/ci/test-smoke-refarm-host-auto.mjs",
"refarm:telemetry:gate": "node scripts/ci/refarm-telemetry-gate.mjs",
"refarm:telemetry:gate:ci": "node scripts/ci/refarm-telemetry-gate.mjs --profile balanced",
"refarm:telemetry:gate:strict-all": "node scripts/ci/refarm-telemetry-gate.mjs --profile balanced --strict-all",
"models:defaults:check": "node scripts/ci/check-model-defaults-drift.mjs",
"permission:vocab:check": "node scripts/ci/check-permission-vocab.mjs",
"config-node:keys:check": "node scripts/ci/check-config-node-keys.mjs",
"plugin-id:charset:check": "node scripts/ci/check-plugin-id-charset.mjs",
"actions:budget": "node scripts/ci/actions-budget.mjs",
"actions:pins": "node scripts/ci/check-github-action-pins.mjs",
"actions:contracts": "node scripts/ci/check-github-actions-contracts.mjs",
"actions:budget:json": "node scripts/ci/actions-budget.mjs --json",
"actions:budget:guard": "node scripts/ci/actions-budget-guard.mjs",
"actions:budget:guard:json": "node scripts/ci/actions-budget-guard.mjs --json",
"actions:budget:guard:account": "node scripts/ci/actions-budget-guard.mjs --mode account",
"actions:budget:guard:account:json": "node scripts/ci/actions-budget-guard.mjs --mode account --json",
"actions:budget:guard:allocation": "node scripts/ci/actions-budget-guard.mjs --mode allocation --repo aretw0/refarm",
"actions:budget:guard:allocation:json": "node scripts/ci/actions-budget-guard.mjs --mode allocation --repo aretw0/refarm --json",
"actions:budget:guard:modes": "node scripts/ci/actions-budget-guard.mjs --list-modes",
"actions:budget:guard:modes:json": "node scripts/ci/actions-budget-guard.mjs --list-modes --json",
"actions:budget:guard:test": "node --test scripts/ci/test-actions-budget-guard.mjs",
"audience:boundary:test": "node --test scripts/ci/test-audience-boundary.mjs",
"deploy:publish:workflow:test": "node --test scripts/ci/test-deploy-publish-workflows.mjs",
"devcontainer:contract:test": "node --test scripts/ci/test-devcontainer-contract.mjs",
"factory:pre-rebuild": "node scripts/ci/run-root-scripts.mjs git:diff-check format:check imports:organize:check imports:organize:test toolbox:test devcontainer:contract:test",
"factory:pre-rebuild:plan": "node scripts/ci/run-root-scripts.mjs --plan git:diff-check format:check imports:organize:check imports:organize:test toolbox:test devcontainer:contract:test",
"workspace-protect:test": "node --test scripts/ci/test-workspace-protect.mjs",
"runtime:start-helpers:test": "node --test scripts/ci/test-runtime-start-helpers.mjs",
"workspace-script:test": "node --test scripts/ci/test-run-workspace-script.mjs",
"workspace:source:ownership": "node scripts/ci/check-workspace-source-ownership.mjs",
"workspace:source:ownership:test": "node --test scripts/ci/test-check-workspace-source-ownership-lib.mjs",
"workspace:artifacts:ownership": "node scripts/ci/check-derived-artifact-ownership.mjs",
"workspace:artifacts:ownership:test": "node --test scripts/ci/test-check-derived-artifact-ownership-lib.mjs",
"workspace:artifacts:no-tracked": "node scripts/ci/check-no-tracked-artifacts.mjs",
"workspace:artifacts:no-tracked:test": "node --test scripts/ci/test-check-no-tracked-artifacts.mjs",
"node-substrate:check": "node scripts/ci/check-node-substrate.mjs",
"rust-substrate:check": "node scripts/ci/check-rust-substrate.mjs",
"platform-compat:check": "node scripts/ci/check-platform-compat.mjs",
"platform-compat:check:test": "node --test scripts/ci/test-check-platform-compat.mjs",
"package-manager:sh:test": "node --test scripts/ci/test-package-manager-sh.mjs",
"node-substrate:check:test": "node --test scripts/ci/test-check-node-substrate.mjs",
"rust-substrate:check:test": "node --test scripts/ci/test-check-rust-substrate-output.mjs",
"environment-substrate:check": "node scripts/ci/check-environment-substrate.mjs",
"environment-substrate:check:test": "node --test scripts/ci/test-check-environment-substrate.mjs",
"factory:pressure": "node scripts/ci/check-factory-pressure.mjs",
"factory:pressure:json": "node scripts/ci/check-factory-pressure.mjs --json",
"factory:pressure:test": "node --test scripts/ci/test-check-factory-pressure.mjs",
"runtime-descriptor:revocation-report": "node scripts/ci/generate-runtime-descriptor-revocation-report.mjs",
"runtime-descriptor:revocation-report:sample": "node scripts/ci/generate-runtime-descriptor-revocation-report.mjs --input scripts/ci/fixtures/runtime-descriptor-revocation-telemetry.sample.json --out-dir .artifacts/runtime-descriptor-revocation-report",
"runtime-descriptor:revocation-report:test": "node --test scripts/ci/test-runtime-descriptor-revocation-report-lib.mjs",
"runtime-descriptor:revocation-baseline": "node scripts/ci/fetch-runtime-descriptor-revocation-baseline.mjs",
"runtime-descriptor:revocation-history": "node scripts/ci/analyze-runtime-descriptor-revocation-history.mjs",
"runtime-descriptor:revocation-history:sample": "node scripts/ci/analyze-runtime-descriptor-revocation-history.mjs --reports scripts/ci/fixtures/runtime-descriptor-revocation-report.previous.json,scripts/ci/fixtures/runtime-descriptor-revocation-report.current.json --out-dir .artifacts/runtime-descriptor-revocation-history",
"session:migrate:agent": "node scripts/migrate-agent-sessions.mjs",
"session:migrate:agent:test": "node --test scripts/ci/test-migrate-agent-sessions-lib.mjs",
"clean:derivatives": "git clean -fX packages/*/src apps/*/src validations/*/src",
"clean": "turbo clean && find . -name 'node_modules' -type d -prune -exec rm -rf '{}' +",
"cargo:target:test": "node --test scripts/ci/test-cargo-target-lib.mjs",
"farm-client:test": "pnpm --filter @refarm.dev/farm-client run test",
"clean:rust": "bash scripts/rust-clean.sh",
"clean:rust:full": "bash scripts/rust-clean.sh --full",
"clean:rust:check": "bash scripts/rust-clean.sh --check",
"disk:check": "bash scripts/disk-check.sh",
"clean:light": "bash scripts/workspace-clean.sh light",
"clean:medium": "bash scripts/workspace-clean.sh medium",
"clean:heavy": "bash scripts/workspace-clean.sh heavy",
"env:safety": "bash scripts/env-safety-check.sh",
"deps:check": "node scripts/check-deps.mjs",
"deps:update": "node scripts/check-deps.mjs --update",
"deps:missing": "node scripts/check-missing-deps.mjs",
"deps:missing:src": "node scripts/check-missing-deps.mjs --src-only",
"security:audit": "node scripts/security/audit.mjs",
"security:fix": "node scripts/security/audit-fix.mjs",
"security:fix:dry": "node scripts/security/audit-fix.mjs --dry-run",
"security:fix:test": "node --test scripts/ci/test-security-audit-fix-lib.mjs",
"changeset": "changeset",
"changeset:version": "changeset version",
"changeset:publish": "changeset publish",
"codemods:check": "node --test codemods/registry.test.mjs codemods/ds-token-adoption.test.mjs codemods/package-workspace-adoption.test.mjs codemods/node-test-to-vitest.test.mjs codemods/astro-6-to-7.test.mjs",
"agents-lab:assimilation:audit": "node scripts/ci/agents-lab-assimilation-audit.mjs --json",
"agents-lab:assimilation:audit:test": "node --test scripts/ci/test-agents-lab-assimilation-audit.mjs",
"agents-lab:skills:manifest": "node scripts/ci/agents-lab-skill-import-manifest.mjs --json",
"agents-lab:skills:manifest:test": "node --test scripts/ci/test-agents-lab-skill-import-manifest.mjs",
"agents-lab:skills:review": "node scripts/ci/agents-lab-skill-source-review.mjs --json",
"agents-lab:skills:review:test": "node --test scripts/ci/test-agents-lab-skill-source-review.mjs",
"agents-lab:skills:conventions": "node scripts/ci/agents-lab-skill-convention-review.mjs --json",
"agents-lab:skills:conventions:test": "node --test scripts/ci/test-agents-lab-skill-convention-review.mjs",
"native:skills:roadmap:test": "node --test scripts/ci/test-native-skill-system-roadmap.mjs",
"native:skills:surface-smoke": "pnpm -C packages/skill-contract-v1 run build && node scripts/ci/native-skill-surface-smoke.mjs --json",
"native:skills:surface-smoke:test": "pnpm -C packages/skill-contract-v1 run build && node --test scripts/ci/test-native-skill-surface-smoke.mjs",
"native:skills:source-engine-smoke": "pnpm -C packages/skill-contract-v1 run build && pnpm -C packages/source-contract-v1 run build && pnpm -C packages/source-local run build && node scripts/ci/native-skill-source-engine-smoke.mjs --json",
"native:skills:source-engine-smoke:test": "pnpm -C packages/skill-contract-v1 run build && pnpm -C packages/source-contract-v1 run build && pnpm -C packages/source-local run build && node --test scripts/ci/test-native-skill-source-engine-smoke.mjs",
"native:skills:agents-lab-git-workflow-smoke": "pnpm -C packages/skill-contract-v1 run build && pnpm -C packages/source-contract-v1 run build && pnpm -C packages/source-local run build && node scripts/ci/native-skill-agents-lab-git-workflow-smoke.mjs --json",
"native:skills:agents-lab-git-workflow-smoke:test": "pnpm -C packages/skill-contract-v1 run build && pnpm -C packages/source-contract-v1 run build && pnpm -C packages/source-local run build && node --test scripts/ci/test-native-skill-agents-lab-git-workflow-smoke.mjs",
"native:skills:dgk-vault-search-smoke": "pnpm -C packages/skill-contract-v1 run build && pnpm -C packages/source-contract-v1 run build && pnpm -C packages/source-local run build && node scripts/ci/native-skill-dgk-vault-search-smoke.mjs --json",
"native:skills:dgk-vault-search-smoke:test": "pnpm -C packages/skill-contract-v1 run build && pnpm -C packages/source-contract-v1 run build && pnpm -C packages/source-local run build && node --test scripts/ci/test-native-skill-dgk-vault-search-smoke.mjs",
"requirements:supply:composition": "pnpm -C packages/health run build && pnpm -C packages/artifact-contract-v1 run build && pnpm -C packages/source-web run build && pnpm -C packages/enrichment-contract-v1 run build && pnpm -C packages/records-contract-v1 run build && node scripts/ci/requirements-supply-composition.mjs --json",
"requirements:supply:composition:test": "pnpm -C packages/health run build && pnpm -C packages/artifact-contract-v1 run build && pnpm -C packages/source-web run build && pnpm -C packages/enrichment-contract-v1 run build && pnpm -C packages/records-contract-v1 run build && node --test scripts/ci/test-requirements-supply-composition.mjs",
"requirements:supply:handoff": "node scripts/ci/requirements-supply-handoff.mjs --json",
"requirements:supply:handoff:test": "node --test scripts/ci/test-requirements-supply-handoff.mjs",
"release": "node scripts/release.mjs",
"release:boundary:audit": "node scripts/ci/release-boundary-audit.mjs --json",
"release:boundary:audit:test": "node --test scripts/ci/test-release-boundary-audit.mjs",
"release:brand:guard": "node --test scripts/ci/test-brand-agnostic-packages.mjs",
"release:policy:check": "node packages/release-engine/src/cli.mjs gates --selection default --dry-run --only-required --json",
"release:readiness": "node scripts/ci/release-readiness.mjs",
"release:readiness:plan": "node scripts/ci/release-readiness.mjs --plan",
"release:readiness:test": "node --test scripts/ci/test-release-check.mjs scripts/ci/test-release-readiness.mjs scripts/ci/test-release-boundary-audit.mjs scripts/ci/test-first-publish-selection.mjs scripts/ci/test-check-first-publish-changesets.mjs scripts/ci/test-agent-demo-release-proof.mjs scripts/ci/test-secure-extensibility-demo-proof.mjs scripts/ci/test-local-first-platform-proof.mjs scripts/ci/test-agents-lab-assimilation-audit.mjs scripts/ci/test-agents-lab-skill-import-manifest.mjs scripts/ci/test-agents-lab-skill-source-review.mjs scripts/ci/test-agents-lab-skill-convention-review.mjs scripts/ci/test-native-skill-system-roadmap.mjs scripts/ci/test-reference-driver-smoke.mjs scripts/ci/test-subprocess-utils.mjs scripts/ci/test-requirements-supply-handoff.mjs scripts/ci/test-promote-check.mjs scripts/ci/test-check-no-tracked-artifacts.mjs && node --test scripts/ci/test-vault-seed-ready-handoff.mjs scripts/ci/test-vault-seed-release-consumer.mjs scripts/ci/test-distribution-status-doc.mjs scripts/ci/test-audience-boundary.mjs codemods/registry.test.mjs codemods/ds-token-adoption.test.mjs codemods/package-workspace-adoption.test.mjs codemods/node-test-to-vitest.test.mjs codemods/astro-6-to-7.test.mjs",
"release:check": "node scripts/release-check.mjs",
"release:install:smoke": "node scripts/ci/release-install-smoke.mjs",
"release:first-publish:plan": "node scripts/release-check.mjs --plan",
"release:first-publish:check": "node scripts/release-check.mjs",
"release:first-publish": "node scripts/first-publish-selection.mjs",
"release:first-publish:changesets-guard": "node scripts/ci/check-first-publish-changesets.mjs",
"release:promote:check": "node scripts/ci/promote-check.mjs",
"release:promote:check:test": "node --test scripts/ci/test-promote-check.mjs",
"release:vault-seed:plan": "node scripts/release-check.mjs --selection vault-seed-ready --plan",
"release:vault-seed:check": "node scripts/release-check.mjs --selection vault-seed-ready",
"release:vault-seed:first-publish": "node scripts/first-publish-selection.mjs --selection vault-seed-ready",
"release:vault-seed:handoff": "node scripts/vault-seed-ready-handoff.mjs",
"release:vault-seed:handoff:test": "node --test scripts/ci/test-vault-seed-ready-handoff.mjs",
"i18n:check": "node scripts/check-locales.mjs",
"i18n:check:test": "node --test scripts/ci/test-check-locales-lib.mjs",
"diagrams:check": "node scripts/check-diagrams.mjs",
"diagrams:fix": "node scripts/check-diagrams.mjs --fix",
"factory:preflight": "node scripts/factory-preflight.mjs",
"ci:local": "bash scripts/ci-local.sh",
"ci:local:quick": "bash scripts/ci-local.sh --skip-turbo",
"ci:local:full": "bash scripts/ci-local.sh --full",
"hooks:install": "node scripts/install-git-hooks.mjs",
"task:start": "refarm-task start",
"task:verify": "refarm-task verify",
"task:finish": "refarm-task finish",
"task:rebrand": "refarm-task rebrand",
"task:sync-labels": "refarm-task sync-labels",
"scope:status": "node packages/toolbox/src/cli.mjs scope status",
"scope:to:personal": "node packages/toolbox/src/cli.mjs scope apply --profile personal --set-active",
"scope:to:organization": "node packages/toolbox/src/cli.mjs scope apply --profile organization --set-active",
"farm:status": "node scripts/farm-status.mjs",
"farmhand:start": "bash scripts/farmhand-start.sh",
"farmhand:daemon": "bash scripts/farmhand-start.sh --background",
"farmhand:stop": "node scripts/farmhand-stop.mjs",
"agent:install": "node scripts/agent-install.mjs",
"agent:start": "bash scripts/tractor-start.sh",
"agent:daemon": "bash scripts/tractor-start.sh --background",
"agent:stop": "node scripts/agent-stop.mjs",
"agent:status": "node scripts/agent-status.mjs",
"agent:repl": "node scripts/agent-repl.mjs",
"agent:prompt": "node scripts/agent-prompt.mjs",
"agent:lsp:check": "node scripts/ci/agent-cargo-gates.mjs lsp:check",
"agent:lsp:harness": "node scripts/ci/agent-cargo-gates.mjs lsp:harness",
"agent:lsp:harness:build": "node scripts/ci/agent-cargo-gates.mjs lsp:harness:build",
"agent:streaming:check": "node scripts/ci/agent-cargo-gates.mjs streaming:check",
"agent:streaming:clients": "node scripts/ci/run-workspace-script.mjs packages/tractor-ts type-check && node scripts/ci/run-workspace-script.mjs packages/tractor-ts test:unit -- agent-response-stream.test.ts stream-chunk.test.ts stream-session.test.ts stream-view.test.ts",
"agent:streaming:studio": "node scripts/ci/run-workspace-script.mjs packages/homestead test && node scripts/ci/run-workspace-script.mjs packages/homestead type-check && node scripts/ci/run-workspace-script.mjs apps/dev test && node scripts/ci/run-workspace-script.mjs apps/dev type-check",
"agent:streaming:harness": "node scripts/ci/agent-cargo-gates.mjs streaming:harness",
"agent:streaming:harness:build": "node scripts/ci/agent-cargo-gates.mjs streaming:harness:build",
"dispatch-surface:build-rs": "node scripts/build-dispatch-surface-rs.mjs",
"dispatch-surface:build-rs:release": "DISPATCH_SURFACE_REQUIRE_JCO=1 pnpm run dispatch-surface:build-rs",
"dispatch-surface:ci": "pnpm --filter @refarm.dev/effort-contract-v1 run build && pnpm run dispatch-surface:build-rs && pnpm --filter @refarm.dev/dispatch-surface lint && pnpm --filter @refarm.dev/dispatch-surface type-check && pnpm --filter @refarm.dev/dispatch-surface test:parity"
},
"repository": {
"type": "git",
"url": "git+https://github.com/aretw0/refarm.git"
},
"homepage": "https://refarm.dev",
"devDependencies": {
"@changesets/cli": "^2.31.1",
"@mermaid-js/mermaid-cli": "^11.14.0",
"@refarm.dev/config": "workspace:*",
"@refarm.dev/eslint-config": "workspace:*",
"@refarm.dev/fence": "workspace:*",
"@refarm.dev/health": "workspace:*",
"@refarm.dev/plugin-manifest": "workspace:*",
"@refarm.dev/source-git": "workspace:*",
"@refarm.dev/source-local": "workspace:*",
"@refarm.dev/silo": "workspace:*",
"@refarm.dev/thresher": "workspace:*",
"@refarm.dev/vtconfig": "workspace:*",
"@refarm.dev/windmill": "workspace:*",
"@turbo/gen": "^2.10.5",
"@types/node": "^25.6.0",
"@vitest/coverage-v8": "^4.1.9",
"@vitest/ui": "^4.1.9",
"chokidar": "^5.0.0",
"eslint": "^10.3.0",
"globals": "^17.6.0",
"jest": "^30.3.0",
"jsdom": "^29.0.2",
"npm-check-updates": "^21.0.2",
"oxfmt": "catalog:",
"turbo": "^2.10.5",
"typescript": "^6.0.3",
"typescript-eslint": "^8.59.2",
"vitest": "^4.1.9"
},
"//": "jest is kept for type-safety/compatibility with certain node_modules in vitest runs",
"packageManager": "pnpm@11.7.0+sha512.19cc852c120c7125760f2443ee6be0ca5b40f9f50598de1a09a1f177503e010e57c23c77646e01e761de59bf874fb22a3398c33ab9691fc13eb946b6f0f4d620",
"engines": {
"node": ">=22"
}
}