|
|
af1adee4cf
|
Add test coverage for session-start-context hook
CI / validate (push) Successful in 56s
CI / validate (pull_request) Successful in 59s
21 tests covering:
- _lib.py helpers: read_input, emit, deny_pretooluse, add_context, warn_to_stderr
- tail() helper: last-N-lines, missing file, malformed lines, fewer lines
- gh_count() helper: JSON parse, failure, exception, empty array
- Full hook integration: learnings context, repo state, error handling
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
2026-05-10 10:27:11 +00:00 |
|