Skip to content

feat(membership): refuse episode membership outside the episode - #146

Draft
seonghobae wants to merge 1 commit into
mainfrom
agent/episode-membership
Draft

feat(membership): refuse episode membership outside the episode#146
seonghobae wants to merge 1 commit into
mainfrom
agent/episode-membership

Conversation

@seonghobae

Copy link
Copy Markdown
Contributor

A document may belong to an episode only while that episode is active in event time (ADR 0003). Membership cannot start before or end after the episode interval. Recovery is the computed share of containment flags that match known truth versus accepting every membership.

Complementary to #118 (`subevent_containment`: child event versus parent event). This crate owns episode-membership containment.

Local gates:

  • `cargo test -p episode_membership --all-targets` GREEN after RED (package did not exist)
  • clippy `-D warnings` PASS
  • workspace contract PASS
  • docstring contract PASS
  • lines 20/20; nightly-2026-08-01 branches 12/12

Does not allocate migration `0008`. Does not recreate `stopword_deletion` (#145), `psychometric_core` multilevel (#144), or other in-flight crates.

Keep this PR draft. Preferred merge remains #46 only when exact-head required Checks pass and a qualifying independent (non-Cursor/CodeRabbit) APPROVE exists. Do not empty-commit.

A document may belong to an episode only while that episode is active
in event time (ADR 0003). Membership cannot start before or end after
the episode interval. Recovery is the computed share of containment
flags that match known truth versus accepting every membership.
@coderabbitai

coderabbitai Bot commented Aug 17, 2026

Copy link
Copy Markdown

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: a83e11de-edaa-435b-8a17-f801c336899b

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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