Skip to content

[codex] harden shotkit CLI and package boundary#9

Merged
heznpc merged 1 commit into
mainfrom
codex/shotkit-hardening-20260622
Jun 22, 2026
Merged

[codex] harden shotkit CLI and package boundary#9
heznpc merged 1 commit into
mainfrom
codex/shotkit-hardening-20260622

Conversation

@heznpc

@heznpc heznpc commented Jun 22, 2026

Copy link
Copy Markdown
Member

Summary

  • make CLI usage errors explicit for missing option values, unknown flags, and extra positional args
  • return JSON-mode usage failures on stderr with exit code 2
  • add package-boundary tests that keep research harnesses, generated runs, examples, and application planning docs out of the npm release slice

Validation

  • npm ci
  • npx jest test/cli.test.js test/package-boundary.test.js --verbose
  • npm run lint
  • npm test
  • npm audit --audit-level=high
  • npm pack --dry-run --json
  • node bin/shotkit.js --wat --json
  • npm run research -- --topic "shotkit handoff package boundary smoke" --date 2026-06-22 --dry-run
  • npm run research -- --dry-run
  • npm run research -- --topic "date validation smoke" --date 2026-99-99 --dry-run

@heznpc
heznpc merged commit aedc429 into main Jun 22, 2026
1 check passed
@heznpc
heznpc deleted the codex/shotkit-hardening-20260622 branch June 22, 2026 08:57
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.

1 participant