rea/scripts/lib
morluto e91c8c39c2
refactor(test): colocate pure-domain tests and reduce test debt (#471)
* refactor(test): colocate pure-domain tests and reduce test debt

Move focused immutable domain/contracts/adapter tests from
tests/composition/** beside their production owners under src/** as
colocated *.test.ts/*.fixture.ts, and relocate persistence-shaped
composition tests under tests/boundary/filesystem/**. Update import
paths, the Vitest project topology (shared worker context for pure
domain/contracts and recording-port service projects), the test
migration ledger, testing docs, and AGENTS.md to match.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* docs: remove test migration ledger

The cutover is complete and the ledger is no longer referenced anywhere
in source, scripts, or the docs gate. Drop the standalone artifact.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* docs: clean up stale migration artifacts

Remove empty directories left by the test migration and replace the
"final cutover" language in docs/testing.md with standing PR guidance
that no longer references the completed migration.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* fix: repair CI failures from schema, knip, and stale generated artifacts

Three root causes fixed:

1. catalog-schemas.mjs: valuesAt only traversed anyOf from Zod's
   toJSONSchema, not oneOf. The webScreenshotDiffSchema change to a
   discriminated union produces oneOf, so the product catalog generator
   could not derive the web_screenshot_diff schema version. Add oneOf
   traversal.

2. conformancePackage.ts: the test rewrite removed the only imports of
   ScenarioManifest, ReplayPlan, ShimPlan, and ExpectedEvidence, making
   them unused exports that knip flags. Remove the dead type aliases.

3. Regenerate stale artifacts (product catalog, MCP tool catalog, skill
   metadata, conformance manifest) that drifted from the source changes.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>

---------

Co-authored-by: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-08-10 14:57:44 +08:00
..
browser-scenario-verifier.mjs fix(browser): contain scenario pages and preserve inputs 2026-07-24 14:14:15 +00:00
browser-verifier-assertions.mjs feat(browser): capture controlled Playwright scenarios 2026-07-24 13:16:01 +00:00
catalog-builders.mjs feat(electron): add autonomous Electron runtime analysis (#464) 2026-08-05 19:07:46 +08:00
catalog-cli.mjs refactor(adapters): split oversized provider workflows 2026-07-18 05:49:14 +00:00
catalog-core.mjs feat(electron): add autonomous Electron runtime analysis (#464) 2026-08-05 19:07:46 +08:00
catalog-schemas.mjs refactor(test): colocate pure-domain tests and reduce test debt (#471) 2026-08-10 14:57:44 +08:00
conformance-fixtures.d.mts test(hopper): add semantic runtime conformance 2026-07-18 04:50:23 +00:00
conformance-fixtures.mjs test(hopper): add semantic runtime conformance 2026-07-18 04:50:23 +00:00
docs-facts.d.mts build: add canonical product catalog and docs drift checks 2026-07-15 17:43:52 +08:00
docs-facts.mjs fix(mcp): remove arbitrary schema byte gate 2026-07-16 20:09:14 +08:00
generated-file.d.mts build: add canonical product catalog and docs drift checks 2026-07-15 17:43:52 +08:00
generated-file.mjs fix(build): preserve native generated-file line endings 2026-07-17 03:05:19 +09:00
managed-completion-report.mjs feat(process): record provider and verifier run lineage 2026-07-22 14:01:47 +00:00
managed-conformance-config.mjs refactor: split oversized analysis workflows 2026-07-18 05:49:14 +00:00
managed-conformance-manifest-parser.mjs refactor: split oversized analysis workflows 2026-07-18 05:49:14 +00:00
managed-conformance-manifest.mjs refactor: split oversized analysis workflows 2026-07-18 05:49:14 +00:00
managed-conformance-oracles.mjs refactor: split oversized analysis workflows 2026-07-18 05:49:14 +00:00
managed-conformance-support.mjs refactor: split oversized analysis workflows 2026-07-18 05:49:14 +00:00
managed-pe-fixture.d.mts fix(managed): emit valid x64 conformance PE 2026-07-17 20:06:07 +08:00
managed-pe-fixture.mjs refactor: split oversized analysis workflows 2026-07-18 05:49:14 +00:00
mcp-startup-probe.d.mts perf(mcp): reduce cold-start work 2026-07-26 15:02:58 +00:00
mcp-startup-probe.mjs perf(mcp): reduce cold-start work 2026-07-26 15:02:58 +00:00
mcp-verifier-results.mjs feat: complete REA remediation program 2026-07-22 22:09:12 +09:00
product-catalog.d.mts fix(catalog): digest provider projections 2026-07-26 16:07:12 +00:00
product-catalog.mjs fix(catalog): digest provider projections 2026-07-26 16:07:12 +00:00
real-hopper-fixture.d.mts test(hopper): add semantic runtime conformance 2026-07-18 04:50:23 +00:00
real-hopper-fixture.mjs test(hopper): add semantic runtime conformance 2026-07-18 04:50:23 +00:00
real-hopper-function-basics.mjs fix(hopper): add bounded analysis recovery 2026-07-24 00:33:29 +09:00
real-hopper-pagination.d.mts test(hopper): add semantic runtime conformance 2026-07-18 04:50:23 +00:00
real-hopper-pagination.mjs test(hopper): add semantic runtime conformance 2026-07-18 04:50:23 +00:00
real-hopper-semantic.d.mts test(hopper): add semantic runtime conformance 2026-07-18 04:50:23 +00:00
real-hopper-semantic.mjs fix(verify): follow dynamic Hopper tool availability 2026-07-29 07:18:48 +00:00
unrelated-hopper-sentinel.mjs fix(process): protect unrelated Hopper during cleanup 2026-07-22 14:04:00 +00:00
verifier-run.d.mts feat(process): record provider and verifier run lineage 2026-07-22 14:01:47 +00:00
verifier-run.mjs feat(process): record provider and verifier run lineage 2026-07-22 14:01:47 +00:00
verify-package-core.mjs refactor(mcp): make analysis states unrepresentable (#468) 2026-08-10 02:28:11 +08:00