Files
stack/tests/rex/comments/test_integration.py
kert da831c04ff feat(comments): stack comments CLI + integration smoke test (refs #253)
- src/cli/comments.py exposes:
    stack comments extract     — walk + write combined.md (default
                                 root .state/comments/, parallel via
                                 walker, --docket/--limit/--workers
                                 /--force/--bib/--no-bib).
    stack comments extract-ocr — phase-2 stub (raises typer.Exit(2)
                                 with a clear message).
    stack comments stats       — rebuild index, print per-status counts.
- Inline body lookup hits bib.sqlite items.abstract by comment_id;
  --no-bib disables (useful in tests / when bib isn't seeded).
- Integration test exercises one real .state/comments/{docket}/{cid}/
  dir if present (skipped on CI without state).

Closes the v1 implementation surface for #253. Live smoke run + #253
issue update happen as the operational follow-up.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-23 15:52:00 -04:00

1.9 KiB