Skip to content

refactor(plans): convert Plan store and tests to TypeScript - #623

Merged
gandazgul merged 1 commit into
mainfrom
codex/ts-plan-store
Nov 10, 2026
Merged

gandazgul merged 1 commit into
mainfrom
codex/ts-plan-store

Conversation

@gandazgul

@gandazgul gandazgul commented Nov 10, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Convert the Plan store, its test suite, and the Epic-save audit probe to TypeScript. The batch covers about 7,800 lines of Plan persistence, identity, archival, and tests.
  • Preserve public Plan types and legacy or user-authored YAML metadata. Update module references, the Bun test inventory, and the JavaScript baseline.
  • Keep the audit probe outside normal test discovery and preserve the historical evidence manifest.

Validation

  • Three focused Plan suites passed with Bun 1.4.3. The Epic-save probe type-checked and passed in an isolated test wrapper.
  • Compared Bun output for 322 affected source and test files. The output matched after normalizing module extensions, the equivalent status membership helper and event guard, and the test-only assertion that narrows the loaded Plan.
  • All 102 existing Plan store test cases were retained.
  • Independent spec, standards, and test review passed after addressing the findings.

@gandazgul gandazgul added auto:js-to-ts Automated JavaScript to TypeScript conversion auto:review Ready for auto code review labels Nov 10, 2026
@gandazgul
gandazgul merged commit 7c550ff into main Nov 10, 2026
10 checks passed
@gandazgul
gandazgul deleted the codex/ts-plan-store branch November 10, 2026 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto:js-to-ts Automated JavaScript to TypeScript conversion auto:review Ready for auto code review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant