You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PR review bot flagged 3 CodeQL alerts; smoke test caught a 4th:
* openkb/agent/skill_runner.py: drop unused `Agent` import (we only use
Runner and function_tool).
* tests/test_deck_cli.py: drop unused `pytest` import.
* tests/test_deck_validator.py: drop the inline `import openkb.deck.validator
as v` — the module is already imported via `from openkb.deck.validator
import ...` at the top. Use `monkeypatch.setattr("openkb.deck.validator.
MAX_FILE_BYTES", 100)` instead so there's one canonical reference.
* openkb/deck/creator.py: when chaining the critic skill,
`result.output_path.relative_to(kb_dir)` blew up on macOS because
`run_skill` returns a `.resolve()`-d path (e.g. `/private/tmp/.../`)
while `kb_dir` is still the symlink form (`/tmp/.../`). Resolve
kb_dir before the relative_to call. Caught by a manual e2e smoke
test, NOT by the existing suite — pinned with a new
`test_run_deck_create_critique_handles_symlinked_tmp` regression.
539 tests pass.
0 commit comments