Skip to content

refactor(capture): extract virtual feature records#605

Merged
w1ne merged 1 commit into
developfrom
codex/virtual-feature-capture
Jul 9, 2026
Merged

refactor(capture): extract virtual feature records#605
w1ne merged 1 commit into
developfrom
codex/virtual-feature-capture

Conversation

@w1ne

@w1ne w1ne commented Jul 9, 2026

Copy link
Copy Markdown
Owner

Summary

  • Extract reference image, render environment, camera target, and animation view record construction into src/modeling/capture/virtualFeatureRecords.ts
  • Keep CaptureSession responsible for ids, state, and registration only for these virtual features
  • Add a byte-stable exported-record contract test and architecture tripwire for the capture session dependencies

Verification

  • npm test -- tests/unit/capture/virtualFeatureRecords.test.ts
  • npm test -- tests/unit/capture/referenceImage.test.ts tests/unit/capture/renderEnvironmentBridge.test.ts tests/unit/capture/cameraTargetBridge.test.ts tests/unit/capture/animationView.test.ts tests/unit/capture/virtualFeatureRecords.test.ts
  • npm run typecheck
  • npx eslint src/modeling/capture/captureSession.ts src/modeling/capture/virtualFeatureRecords.ts tests/unit/capture/virtualFeatureRecords.test.ts
  • npm test -- tests/unit/kernel/architectureBoundary.test.ts

Subagent review: two reviewers, no findings.

@w1ne w1ne enabled auto-merge (squash) July 9, 2026 14:12
@w1ne w1ne merged commit edb4824 into develop Jul 9, 2026
13 checks passed
@w1ne w1ne deleted the codex/virtual-feature-capture branch July 9, 2026 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant