Skip to content

feat(method): refuse section boilerplate as unique content - #147

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

feat(method): refuse section boilerplate as unique content#147
seonghobae wants to merge 1 commit into
mainfrom
agent/section-source

Conversation

@seonghobae

Copy link
Copy Markdown
Contributor

Summary

ADR 0004/0012 remaining method-source increment from origin/main 32aa936 after #46 merged. Distinct from drafted stopword_deletion (#145), method_effects (#75), and copy_identity (#143).

  • SectionKind keeps report section boilerplate separate from unique latent content.
  • refuse_section_as_unique_content fails closed on section boilerplate.
  • refuse_section_as_stopword_deletion fails closed on section boilerplate.
  • Recovery is the computed share of recovered kinds that match known truth, not a hardcoded rate.
  • No migration 0008. No in-flight crate recreation.

Test plan

  • RED: section_source_contract failed to compile (E0432) before the exports existed
  • cargo test -p section_source --offline --lib --tests (2 lib + 4 contract tests)
  • cargo clippy -p section_source --all-targets --offline -- -D warnings
  • python3 scripts/check_workspace_contract.py / check_docstrings.py / validate_documentation.py
  • cargo llvm-cov lines 81/81; nightly branches 6/6
  • cargo test --workspace --offline --lib --tests
  • exact-head required Checks on this PR (queued; do not treat as passed)

Do not self-approve or merge until exact-head required checks and a qualifying independent review pass. Keep this draft; do not starve preferred-merge Checks.

Report section headings stay explicit method/background structure
(ADR 0004/0012). They cannot become unique latent content or stopword
deletion. Recovery is the computed share of section 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: 68d50bad-a308-4ea6-bd1b-293187043587

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