Skip to content

feat: expand reactive capture and package analysis - #424

Merged
morluto merged 3 commits into
mainfrom
codex/reactive-capture-and-package-formats
Jul 23, 2026
Merged

morluto merged 3 commits into
mainfrom
codex/reactive-capture-and-package-formats

Conversation

@morluto

@morluto morluto commented Jul 23, 2026

Copy link
Copy Markdown
Owner

Description

Adds the first end-to-end reactive Process Capture slice, safe MSIX/AppX package support, and typed provider availability codes.

Reactive capture now evaluates bounded declarative state graphs over normalized terminal, process, filesystem, HTTP, WebSocket, shim, and interaction observations. It records deterministic transition/action evidence, handles deadlines, cancellation, target loss, and cleanup failure, and exposes the same schema through CLI and MCP. The implementation keeps observation normalization at the adapter boundary and validates persisted runs by deterministic journal replay.

MSIX/AppX support reuses the existing hardened ZIP reader instead of adding another archive parser. Classification requires ZIP magic, traversal and extraction retain existing CRC, Zip64, overlap, and path protections, and public artifact and Evidence formats preserve the package family.

Capability discovery now carries typed provider rejection codes into session status and tool inventory. Host filtering no longer infers unsupported platforms by parsing human-readable messages, and the catalog test covers every public tool contract.

Type of Change

  • Bug fix
  • New feature
  • Documentation update
  • Performance improvement
  • Refactoring (no functional change)
  • Tool contract change (MCP schema modification)

Testing Performed

  • Unit tests added or updated
  • TypeScript typecheck passes (npm run typecheck)
  • Linting passes (npm run lint)
  • Full test suite passes (npm test)
  • Real Hopper verification performed (npm run verify:hopper)
  • Linux real Hopper verification performed (npm run verify:hopper:linux) or unavailability explained
  • Real browser verification performed (npm run verify:browser) or unavailability explained
  • Package verification performed (npm run verify:package)

npm run check:pr passed on the final tree: 196 test files and 1,383 tests, plus typecheck, lint, formatting, Knip, generated metadata, and documentation checks. Lint retains the pre-existing max-lines warning in src/hopper/HopperClient.ts.

Real Hopper and browser verification were not applicable because this change does not modify either provider. Package verification was not run; package installation behavior is unchanged.

Tool Contract Impact

No tools are added or removed. Process Capture scenario and result schemas gain reactive declarations and transition evidence. Target formats gain msix and appx. Provider capability status gains nullable availability_code. Generated catalog identities are updated.

Suggested review order:

  1. Reactive algebra and replay validation in src/domain/processReactiveRuntime.ts and src/domain/processCaptureReactiveValidation.ts.
  2. Lifecycle wiring in src/application/ProcessHarness.ts and src/application/ProcessReactiveHarness.ts.
  3. ZIP-family classification in src/domain/zipPackageFormat.ts and artifact adapters.
  4. Typed availability projection and generated contract changes.

Related Issues

Related to #330.
Closes #331.
Closes #356.
Closes #389.
Closes #393.

@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 9da1794 into main Jul 23, 2026
10 checks passed
@morluto
morluto deleted the codex/reactive-capture-and-package-formats branch July 23, 2026 07:36
darsrc pushed a commit to darsrc/rea that referenced this pull request Oct 10, 2026
…d-package-formats

feat: expand reactive capture and package analysis
@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

Labels

area: build Build, CI, packaging, and publishing area: runtime Process capture and runtime observation enhancement New feature or request

Projects

None yet

1 participant