Skip to content

feat: add runtime reconstruction roadmap workflows - #433

Merged
morluto merged 39 commits into
mainfrom
codex/roadmap-implementation
Jul 24, 2026
Merged

morluto merged 39 commits into
mainfrom
codex/roadmap-implementation

Conversation

@morluto

@morluto morluto commented Jul 24, 2026

Copy link
Copy Markdown
Owner

Description

Implements the current reconstruction roadmap as one end-to-end, evidence-backed workflow spanning artifact triage, controlled browser/runtime observation, source comparison, semantic tracing, and release readiness.

  • adds provider-neutral artifact inspection and bounded call-path tracing
  • adds approval-gated Playwright scenario capture with exact replay, page/origin containment, bounded artifacts and events, deterministic normalization, and structural/accessibility/storage comparison
  • adds passive Node/Electron V8 Inspector observation and reconciles runtime scripts with static application graphs
  • adds source-to-bundle scoring, export-shape and semantic-effect comparison, and explicit uncertainty under incomplete evidence or limits
  • adds authenticated reconstruction-obligation ledgers, dependency closure, readiness reports, and the public CLI/MCP conformance journey
  • makes MCP tool availability capability- and policy-aware while keeping CLI and MCP contracts aligned

The implementation stays fail closed: sensitive storage fingerprints require separate approval, proof Evidence is bound to its obligation/case/verifier claims, attached browser scenarios reject active service-worker control, and truncated observations cannot produce exact equality or closure claims.

Type of Change

  • New feature
  • Bug fix
  • Refactoring
  • Documentation update
  • Tool contract change

Tool Contract Impact

The canonical catalog now contains 110 MCP tools and 6 prompts. New tool families cover artifact inspection, controlled browser scenarios, JavaScript runtime observation and reconciliation, source/bundle and semantic comparison, reconstruction obligation ledgers, and readiness reporting. Generated catalog and bundled-skill metadata are updated with the final schemas.

Verification

  • npm run check:pr — typecheck, lint (zero warnings), formatting, Knip, metadata, build, TypeDoc, and generated-document checks passed. The aggregate Vitest run passed 1,477/1,482 tests; five unrelated tests hit exact host-load timeouts/transient provider deadlines, and all five passed on immediate focused reruns on the unchanged tree.
  • focused changed-area runs — 90 browser/reconstruction/comparison tests and 85 follow-up boundary/runtime tests passed.
  • focused timeout reruns — hopperClient, electronMcp, processCaptureElicitation, productCatalog, and serverIdentity all passed.
  • npm run verify:package — passed against the packed artifact; 110 tools and 6 prompts.
  • real Chromium verification — passed with Chrome 149, including passive CDP, page-scoped transport, launch/attach scenario cleanup, non-default device scale, duplicate-origin storage seeds, screenshots, WebSockets, bundle analysis, and source maps.
  • Real Hopper and Ghidra verification were not run; this branch does not change either provider protocol or bridge.

Review Order

  1. Browser scenario authority and capture boundaries in src/domain/browserScenario.ts and src/browser/PlaywrightScenario*.
  2. JavaScript runtime, semantic, and source-comparison domain modules.
  3. Reconstruction obligation and readiness evaluation in src/application/Reconstruction*.
  4. Tool registration, CLI parity, generated catalog metadata, and verification scripts.

Related Issues

Closes #347.
Closes #348.
Closes #373.
Closes #374.
Closes #377.
Closes #378.
Closes #379.
Closes #380.
Closes #392.
Closes #397.
Closes #404.
Closes #405.
Closes #406.

Related to #361.

morluto added 30 commits July 24, 2026 13:13
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@morluto
morluto merged commit 1dbb157 into main Jul 24, 2026
15 checks passed
@morluto
morluto deleted the codex/roadmap-implementation branch July 24, 2026 15:38
darsrc pushed a commit to darsrc/rea that referenced this pull request Oct 10, 2026
feat: add runtime reconstruction roadmap workflows
@morluto morluto added enhancement New feature or request area: runtime Process capture and runtime observation labels Oct 14, 2026
@morluto morluto added the area: build Build, CI, packaging, and publishing label Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment