Skip to content

feat(handoff): accept synonym section headings in lint - #527

Merged
solomonneas merged 2 commits into
mainfrom
fire/476-handoff-lint-heading-synonyms
Jul 25, 2026
Merged

feat(handoff): accept synonym section headings in lint#527
solomonneas merged 2 commits into
mainfrom
fire/476-handoff-lint-heading-synonyms

Conversation

@solomonneas

Copy link
Copy Markdown
Collaborator

Summary

  • Accept unambiguous synonym ## headings in handoff lint via an explicit synonym map (e.g. TL;DRSummary, Memory actionRecommended memory action).
  • Fail on collisions when two headings map to the same canonical section.
  • Resolve the same synonyms in draft summaries so card/document targets are not dropped after a clean lint. No --fix / no file rewrite; handoff migrate stays for freeform notes.

Fixes #476

Test plan

  • brigade work verify run --target . --command "./scripts/verify" (exit 0)
  • Synonym accept, collision reject, canonical still passes, draft summary resolves synonym Card target

Made with Cursor

@coderabbitai

coderabbitai Bot commented Jul 25, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are limited based on label configuration.

🏷️ Required labels (at least one) (1)
  • coderabbit-review

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: Repository: escoffier-labs/coderabbit/.coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: a7127cec-c75c-480a-9033-773bbf942f1e

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
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fire/476-handoff-lint-heading-synonyms

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

@solomonneas solomonneas self-assigned this Jul 25, 2026
@solomonneas
solomonneas merged commit b85eb46 into main Jul 25, 2026
28 checks passed
@solomonneas
solomonneas deleted the fire/476-handoff-lint-heading-synonyms branch July 25, 2026 06:16
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.

handoff lint: accept equivalent section headings or offer --fix

1 participant