Skip to content

feat(cli): add traps fixture command (BUS #191-C) - #334

Merged
DealAppSeo merged 1 commit into
mainfrom
cursor/traps-cli-e4f1
Oct 1, 2026
Merged

DealAppSeo merged 1 commit into
mainfrom
cursor/traps-cli-e4f1

Conversation

@DealAppSeo

Copy link
Copy Markdown
Owner

Adds a traps CLI that lists the ten fixture HAL claims shipped in-repo.

  • bin/traps.js forwards to the CLI; trustshell traps is wired in src/cli/index.ts.
  • Fixture claims live in src/cli/traps-fixture.json and are loaded by src/cli/traps.ts.
  • Each row is NOT_CHECKED until a receipt id exists in .trustshell/traps.json.
  • No scoreboard, HAL wins language, or live stake claims.
  • Adds tests/traps-list.test.ts and updates the e2e stranger / API reference coverage so existing doc/egress tests stay green.

npm run verify passes locally (737 tests).

Open in Web Open in Cursor 

- 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>
@vercel

vercel Bot commented Oct 1, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
trustshell-landing Ready Ready Preview Oct 1, 2026 4:48pm UTC

Request Review

@DealAppSeo
DealAppSeo marked this pull request as ready for review October 1, 2026 18:34
@strix-security

strix-security Bot commented Oct 1, 2026 •

Copy link
Copy Markdown

Strix Security Review

No security issues found.

Review summary

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.

Updated for 098e28d.


Reviewed by Strix
Re-run review · Configure security review settings

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your trial has ended. Reactivate Greptile to resume code reviews.

@strix-security strix-security Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@DealAppSeo
DealAppSeo merged commit f27fc86 into main Oct 1, 2026
5 checks passed

This branch was successfully deployed

1 active deployment
Preview — 098e28d2 Deployed Oct 1, 2026 by vercel[bot]
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.

2 participants