Skip to content

feat: add handoff lint - #56

Merged
solomonneas merged 1 commit into
mainfrom
feat/handoff-lint
May 27, 2026
Merged

feat: add handoff lint#56
solomonneas merged 1 commit into
mainfrom
feat/handoff-lint

Conversation

@solomonneas

Copy link
Copy Markdown
Collaborator

Summary

  • add brigade handoff lint for pending or explicit handoff files
  • surface malformed pending handoffs in handoff doctor and handoff issues
  • update handoff templates and docs so card and document branches are mutually exclusive

Root cause

Mixed card/document handoff sections can make a card-oriented handoff look routable to a document path, which causes route skips later in the ingestor. The writer-side template needed an early validation path.

Validation

  • .venv/bin/python -m pytest tests/test_handoff_cmd.py tests/test_doctor.py tests/test_ingest.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 . --json

@solomonneas
solomonneas merged commit 9574d84 into main May 27, 2026
11 checks passed
@solomonneas
solomonneas deleted the feat/handoff-lint branch May 27, 2026 16:45
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