Skip to content

feat(membership): refuse customer-competitor overlap - #129

Draft
seonghobae wants to merge 1 commit into
mainfrom
agent/role-contradiction
Draft

feat(membership): refuse customer-competitor overlap#129
seonghobae wants to merge 1 commit into
mainfrom
agent/role-contradiction

Conversation

@seonghobae

Copy link
Copy Markdown
Contributor

Customer, partner, and competitor remain time-varying contextual roles (ADR 0003). A customer/competitor pair in the same group fails closed. Partner may coexist with either role (coopetition or a customer-partner) without rewriting entity identity.

Recovery is the computed share of recovered role labels that match known truth versus collapsing every commercial role to customer. Empty or length-mismatched slices fail closed.

Local gates on 8981696:

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

Does not allocate migration 0008. Does not recreate membership_core, citation_edge, clock crates, or other in-flight crates.

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

Customer, partner, and competitor remain contextual roles (ADR 0003).
A customer/competitor pair in one group fails closed. Recovery is the
computed share of role labels that match known truth versus collapsing
every commercial role to customer.
@coderabbitai

coderabbitai Bot commented Aug 16, 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: 650359de-8c6c-476c-bb5e-4ff23248c2bc

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