Skip to content

refactor(bayn): remove duplicate paper episode lifecycle - #13611

Merged
gregkonush merged 1 commit into
codex/bayn-runtime-contract-p1from
codex/bayn-remove-duplicate-paper-episode
Aug 10, 2026
Merged

refactor(bayn): remove duplicate paper episode lifecycle#13611
gregkonush merged 1 commit into
codex/bayn-runtime-contract-p1from
codex/bayn-remove-duplicate-paper-episode

Conversation

@gregkonush

Copy link
Copy Markdown
Member

Summary

  • remove the unused in-memory PaperEpisodeState reducer that never controlled production execution
  • retain the pure grant, allocation, authority, close-window, and durable-cycle terminalization decisions used by Bayn
  • remove tests for the parallel lifecycle while preserving behavioral coverage of the canonical durable lifecycle

Related Issues

None

Testing

  • bun test services/bayn/src/paper-episode.test.ts services/bayn/src/composition.test.ts services/bayn/src/observe-composition.test.ts (69 passed)
  • bun run --filter @proompteng/bayn tsc
  • bun run --filter @proompteng/bayn lint:effect
  • git diff --check

Breaking Changes

None. The removed symbols had no production consumers.

Checklist

  • Testing section documents the exact validation performed (or N/A with justification).
  • Screenshots and Breaking Changes sections are handled appropriately (removed or filled in).
  • Documentation, release notes, and follow-ups are updated or tracked.

@gregkonush
gregkonush force-pushed the codex/bayn-remove-duplicate-paper-episode branch from 8d702ac to 12046a9 Compare August 10, 2026 00:31
@gregkonush

Copy link
Copy Markdown
Member Author

:shipit:

@gregkonush
gregkonush merged commit 6106276 into main Aug 10, 2026
16 checks passed
@gregkonush
gregkonush deleted the codex/bayn-remove-duplicate-paper-episode branch August 10, 2026 11:50
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