Repository navigation
feat(cli): add traps fixture command (BUS #191-C) - #334
Conversation
- Add bin/traps.js and src/cli/traps.ts with ten local HAL-claim fixtures. - Wire trustshell traps into src/cli/index.ts with --json support. - Status is NOT_CHECKED until a receipt id exists in .trustshell/traps.json. - No scoreboard, HAL wins, or live stake language. - Add tests/traps-list.test.ts and update e2e-stranger/docs coverage. Co-authored-by: Sean Goodwin <dealappseo@gmail.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Strix Security ReviewNo security issues found. Review summaryReviewed all 8 changed files in PR #334 (traps fixture CLI). The feature adds a local, no-network Updated for Reviewed by Strix |
There was a problem hiding this comment.
Your trial has ended. Reactivate Greptile to resume code reviews.
There was a problem hiding this comment.
Reviewed all 8 changed files in PR #334 (traps fixture CLI). The feature adds a local, no-network trustshell traps command that lists ten in-repo fixture claims and reads optional receipt ids from .trustshell/traps.json. The JSON store is loaded from a fixed relative path, parsed behind a try/catch fallback, and only accessed through fixed fixture slugs; the CLI wiring is a read-only path with no dangerous sinks (no raw queries, exec, file writes, redirects, or network). The bin wrapper is a standard argv forwarder, and the remaining changes are fixture data, documentation, tests, and a resolveJsonModule build flag. No security issues were identified in the changed code.
Reviewed by Strix
Configure security review settings
Adds a
trapsCLI that lists the ten fixture HAL claims shipped in-repo.bin/traps.jsforwards to the CLI;trustshell trapsis wired insrc/cli/index.ts.src/cli/traps-fixture.jsonand are loaded bysrc/cli/traps.ts.NOT_CHECKEDuntil a receipt id exists in.trustshell/traps.json.tests/traps-list.test.tsand updates the e2e stranger / API reference coverage so existing doc/egress tests stay green.npm run verifypasses locally (737 tests).