Skip to content

fix: handle invalid receipt files in CLI - #14

Merged
royalpinto007 merged 1 commit into
AgentPostmortem:mainfrom
be-student:codex/issue-12-cli-receipt-errors
Sep 6, 2026
Merged

fix: handle invalid receipt files in CLI#14
royalpinto007 merged 1 commit into
AgentPostmortem:mainfrom
be-student:codex/issue-12-cli-receipt-errors

Conversation

@be-student

Copy link
Copy Markdown
Contributor

Closes #12.

Both receipt-reading commands now convert missing, unreadable, and invalid receipt files into a one-line stderr error with exit code 2. The shared loader keeps verify and inspect consistent.

Tests cover missing files and invalid JSON for both commands.

Validation: pytest -q; ruff check .; python examples/demo_rag.py.

@royalpinto007
royalpinto007 merged commit 2d83950 into AgentPostmortem:main Sep 6, 2026
2 checks passed
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.

CLI verify/inspect traceback on bad receipt files

2 participants