Skip to content

fix: avoid false handoff lint warnings - #57

Merged
solomonneas merged 1 commit into
mainfrom
fix/handoff-lint-heading-warning
May 27, 2026
Merged

fix: avoid false handoff lint warnings#57
solomonneas merged 1 commit into
mainfrom
fix/handoff-lint-heading-warning

Conversation

@solomonneas

Copy link
Copy Markdown
Collaborator

Summary

  • fix the card-content heading warning so ### headings do not trigger it
  • add regression coverage for level-3 card headings

Root cause

The handoff lint warning searched for "## " anywhere in card content, so level-3 headings contained the same substring and produced a false warning.

Validation

  • .venv/bin/python -m pytest tests/test_handoff_cmd.py -q
  • .venv/bin/python -m pytest -q
  • git diff --check
  • PYTHONPATH=$HOME/repos/content-guard/src .venv/bin/python -m content_guard scan . --policy $HOME/repos/content-guard/policies/public-repo.json
  • .venv/bin/brigade handoff lint --target .

@solomonneas
solomonneas merged commit e437495 into main May 27, 2026
11 checks passed
@solomonneas
solomonneas deleted the fix/handoff-lint-heading-warning branch May 27, 2026 16:47
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