Skip to content

feat(method): refuse non-lexical modality as unique content - #150

Draft
seonghobae wants to merge 1 commit into
mainfrom
agent/modality-source
Draft

feat(method): refuse non-lexical modality as unique content#150
seonghobae wants to merge 1 commit into
mainfrom
agent/modality-source

Conversation

@seonghobae

Copy link
Copy Markdown
Contributor

Non-lexical modality stays explicit method structure (ADR 0004/0012). It is not unique latent content and is not erased by a stopword list. Recovery is the computed share of recovered kinds that match known truth versus collapsing every token to unique content.

Complementary to #147 section, #148 style, #149 copied-text, #145 stopword, and #75 method_effects. This crate owns modality-versus-unique-content identity.

Local gates:

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

Does not allocate migration `0008`. Does not recreate those in-flight method-source crates.

Keep this PR draft. Preferred merge remains #47 only when exact-head required Checks pass and a qualifying independent APPROVE exists. Restored #144 to draft. Do not empty-commit #47.

Non-lexical modality stays explicit method structure (ADR 0004 and
0012). It is not unique latent content and is not erased by a
stopword list. Recovery is the computed share of modality kinds that
match known truth versus collapsing every token to unique content.
@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: 84270b15-fd51-4cb4-ab4c-15359419746d

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