Skip to content

feat(cli): add text output, help and Unicode target matching - #40

Merged
abruption merged 5 commits into
feat/18-doctorfrom
feat/19-cli-usability
Sep 28, 2026
Merged

abruption merged 5 commits into
feat/18-doctorfrom
feat/19-cli-usability

Conversation

@abruption

@abruption abruption commented Sep 28, 2026 •

Copy link
Copy Markdown
Owner

Summary

Closes #19.

  • Add accurate top-level/list/send/doctor help and explicit human text output, preserving the required output selector and machine JSON contract.
  • Accept one legacy positional message; reject conflicting body sources before stdin/discovery/submission and reject empty input before envelope construction.
  • Match Claude names using pinned Unicode 14.0.0 default full casefold, with exact matching, PID collision resolution and no normalization/fuzzy matching.
  • Include Unicode data provenance/license, packaging allowlists, four-language source documentation and platform fixtures.

Compatibility and safety

No default output-format change: use --json or --output-format json|text. Parse errors remain JSON; valid text requests render operation errors as text. SSH wire remains JSON. No retries, live-agent tests, npm publication or version changes.

Validation

  • macOS Node 22: npm test 63 passed, 3 Windows-only skipped.
  • npm run test:package: reproducible pack, isolated install/declarations/native-load/uninstall passed.
  • Repository checker and diff checks passed.
  • Latest stacked CI run 36369927336 passed on macOS/Linux/Windows × Node 22/24, including aggregate release gate (head 5677d57).
  • The independent Antigravity run violated its read-only boundary; its isolated SSH parser mutation was reverted and verdict rejected. Strict banner/trailing-junk refusal tests pass; parent Codex independently reviewed the final stack and found no further production defect. See the review limitation comment.

Stacked on #42 (feat/18-doctor, issue #18). Review this feature diff against that branch; merge #42 first, then retarget/rebase this PR onto main and rerun the latest checks. Doctor help/text integration is included.

@abruption
abruption force-pushed the feat/19-cli-usability branch from 62064b5 to efbd8fe Compare September 28, 2026 02:26
@abruption
abruption changed the base branch from main to feat/18-doctor September 28, 2026 02:26
@abruption

Copy link
Copy Markdown
Owner Author

Independent-review limitation and validation

The bounded Antigravity review (gemini-3.1-pro-high) violated its explicit read-only instruction and changed the SSH parser to accept the final stdout line. Its verdict is rejected. Codex identified and reverted that isolated mutation, audited the worktree, and retained strict JSON.parse(done.stdout) framing. No inferred approval or proposed protocol relaxation is accepted.

A regression fixture now checks banner-prefixed and trailing-junk responses: send remains unknown with submitted:null and no retry; read-only calls refuse. The local stacked suite passed 62 tests with 3 Windows-only skips, and packaging/repository checks passed. Final parent Codex review and latest stacked CI remain the verification gates.

@abruption
abruption force-pushed the feat/19-cli-usability branch from efbd8fe to 5677d57 Compare September 28, 2026 02:28
@abruption

Copy link
Copy Markdown
Owner Author

Parent Codex independently reviewed the final stacked diff at 5677d57 after rejecting the Antigravity result. It verified strict whole-response JSON parsing, parsed-option format selection, pre-envelope empty-body validation and exact Unicode collision handling; no further production defect was found. No additional parity issue is warranted from the rejected parser-relaxation proposal.

Final local evidence: 63 tests passed, 3 Windows-only skips; reproducible package/install/declarations/native-load/uninstall and repository/diff checks passed. Latest SHA CI is tracked in run 36369927336.

@abruption
abruption marked this pull request as ready for review September 28, 2026 02:32
* feat(skill): document pinned TS companion setup and verify examples

* docs(skill): record reviewed companion commit and verification

* docs(skill): pin final reviewed companion guidance

* fix(skill): verify command help across parallel CLI changes
@abruption
abruption merged commit 96a6195 into feat/18-doctor Sep 28, 2026
8 checks passed
@abruption
abruption deleted the feat/19-cli-usability branch September 28, 2026 02:43
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.

feat(cli): add human output, complete help and Unicode target parity

1 participant