Skip to content

Doc-sync new keyboard shortcuts + de-binary main.ts/review.ts#93

Merged
Ed-Barnes937 merged 1 commit into
mainfrom
impeccable-doc-nul-cleanup
Jul 25, 2026
Merged

Doc-sync new keyboard shortcuts + de-binary main.ts/review.ts#93
Ed-Barnes937 merged 1 commit into
mainfrom
impeccable-doc-nul-cleanup

Conversation

@Ed-Barnes937

Copy link
Copy Markdown
Collaborator

Follow-up to the nine Impeccable surface-fix PRs (#84#92): documents the new keyboard shortcuts those PRs added, and removes the literal NUL bytes that made two source files register as binary.

Doc-sync (help.ts HELP_SECTIONS + README table)

toggle_details (added in #89) needs no manual entry — it's a KEY_ACTION that flows through the config-driven "Keyboard (claude-commander config)" help block automatically via applyHelpKeybindings().

NUL-byte cleanup

src/main.ts (2) and src/review.ts (3) used literal 0x00 bytes as composite-key delimiters (sect:${section}\x00${projectId}, ${path}\x00${side}). A raw NUL makes the whole file register as binary to rg/grep, so they were silently skipped in searches and CI greps — and this misled two critique assessors during the review phase.

Fix: replaced each literal NUL with the \\x00 escape sequence. Runtime value is byte-identical (still a NUL delimiter → no collision risk, no behavior change), but the source is now plain ASCII text. All five sites are inside string/template literals where \\x00 is a valid escape.

Also

Commits the nine surface critique snapshots under .impeccable/critique/ (matching the main-shell precedent from #83).

Verification

  • npm run typecheck — clean
  • npm test — 65/65
  • detect.mjs — clean on main.ts, review.ts, help.ts
  • Zero raw NUL bytes remain (rg now reads both files normally)

🤖 Generated with Claude Code

Follow-up to the nine Impeccable surface-fix PRs (#84-#92).

Docs (help.ts HELP_SECTIONS + README keyboard table):
- Review: j/k line cursor + Enter/c to comment; Apply notes two-press confirm
- File explorer: Cmd+E -> Cmd/Ctrl+E (Ctrl fallback added for Linux)
- New Board section: arrow-key card/column nav, Enter/Space to attach,
  hover/focus reveals card actions
(toggle_details needs no manual entry — it flows through the config-driven
keybindings help block automatically.)

NUL bytes: main.ts and review.ts used literal 0x00 bytes as composite-key
delimiters (section\x00projectId, path\x00side), which made both files
register as binary to rg/grep and silently skip in searches/CI. Replaced each
literal NUL with the \x00 escape sequence — byte-identical runtime value, no
collision risk, but the source is now plain text. All five sites are inside
string/template literals.

Also commits the nine surface critique snapshots under .impeccable/critique/.

Verified: typecheck clean, 65/65 unit tests, detector clean on changed files,
zero raw NUL bytes remain.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@Ed-Barnes937
Ed-Barnes937 merged commit 258bdfe into main Jul 25, 2026
4 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.

1 participant