NS11 slice: Expand coding-symbol rail #79

Closed
opened 2026-06-21 18:43:59 +00:00 by tmk241 · 1 comment
Owner

OBJECTIVE: Make Normal-mode coding-symbol entry faster by extending the existing pair/symbol rail with coding-relevant tokens such as *, &, #, //, $, and @ where they fit the keymap idiom.

AUTHORITY: Parent #76 NS11; KEYMAP.md pair/object rails; user request that bp/symbol entry should cover more coding-relevant punctuation.

AGENT AUTHORITY:

  • Delivery authority: local-commit
  • Tracker authority: this issue may be commented and closed when acceptance passes
  • Handoff state: committed clean, tracker commented/closed

PARENT: #76 by parent checklist fallback plus explicit parent reference in this body.

SCOPE: choose the smallest rail-compatible symbol set; implement deterministic insertion/selection behavior; update KEYMAP.md; add tests.

BOUNDARIES: Do not add runtime keymap config, a snippet engine, or language-specific formatting. Do not steal existing high-value motions without documenting/reworking conflicts.

ACCEPTANCE: selected coding symbols are reachable from Normal mode with a discoverable rail; multi-byte tokens such as // insert atomically; existing pair insertion and object selection still work; unknown symbols fail clearly; docs list the symbol table.

REGRESSION CLASS: coding punctuation requires mode churn; new symbol shortcuts collide with motions or pair/object commands; multi-character tokens corrupt cursor position.

EVIDENCE ARTIFACTS: headless TUI tests and/or terminal E2E transcript showing inserted coding symbols and preserved pair behavior.

REQUIREMENT IMPACT: likely updates input/keymap rows.

VERIFICATION: zig build test; zig build terminal-e2e; redgate lint/health if requirements change.

BLOCKERS: none.

OBJECTIVE: Make Normal-mode coding-symbol entry faster by extending the existing pair/symbol rail with coding-relevant tokens such as `*`, `&`, `#`, `//`, `$`, and `@` where they fit the keymap idiom. AUTHORITY: Parent #76 NS11; KEYMAP.md pair/object rails; user request that `bp`/symbol entry should cover more coding-relevant punctuation. AGENT AUTHORITY: - Delivery authority: local-commit - Tracker authority: this issue may be commented and closed when acceptance passes - Handoff state: committed clean, tracker commented/closed PARENT: #76 by parent checklist fallback plus explicit parent reference in this body. SCOPE: choose the smallest rail-compatible symbol set; implement deterministic insertion/selection behavior; update KEYMAP.md; add tests. BOUNDARIES: Do not add runtime keymap config, a snippet engine, or language-specific formatting. Do not steal existing high-value motions without documenting/reworking conflicts. ACCEPTANCE: selected coding symbols are reachable from Normal mode with a discoverable rail; multi-byte tokens such as `//` insert atomically; existing pair insertion and object selection still work; unknown symbols fail clearly; docs list the symbol table. REGRESSION CLASS: coding punctuation requires mode churn; new symbol shortcuts collide with motions or pair/object commands; multi-character tokens corrupt cursor position. EVIDENCE ARTIFACTS: headless TUI tests and/or terminal E2E transcript showing inserted coding symbols and preserved pair behavior. REQUIREMENT IMPACT: likely updates input/keymap rows. VERIFICATION: `zig build test`; `zig build terminal-e2e`; redgate lint/health if requirements change. BLOCKERS: none.
tmk241 added the sliceready-for-agent labels 2026-06-21 18:43:59 +00:00
Author
Owner

Closing receipt for #79.

Implemented in local commit 062d0f1 (Expand coding symbol rail):

  • Extended the source-patched Space p symbol rail with coding-relevant tokens:
    • f//
    • x*
    • a&
    • h#
    • d$
    • r@
  • Preserved existing pair behavior for (), [], {}, quotes/backticks and existing /, |, _ entries.
  • Corrected KEYMAP.md discoverability from stale Space i wording to the actual Space p symbol rail.
  • Added browser-terminal E2E coverage for multi-token and single-token coding symbol insertion.

Verification:

  • zig build
  • zig build test
  • zig build terminal-e2e
  • zig build run -- --help
  • zig build --prefix /tmp/mim-install verify-install-code
  • redgate list /opt/repositories/mim/REQUIREMENTS.md && redgate lint /opt/repositories/mim/REQUIREMENTS.md && redgate health /opt/repositories/mim/REQUIREMENTS.md
Closing receipt for #79. Implemented in local commit `062d0f1` (`Expand coding symbol rail`): - Extended the source-patched `Space p` symbol rail with coding-relevant tokens: - `f` → `//` - `x` → `*` - `a` → `&` - `h` → `#` - `d` → `$` - `r` → `@` - Preserved existing pair behavior for `()`, `[]`, `{}`, quotes/backticks and existing `/`, `|`, `_` entries. - Corrected KEYMAP.md discoverability from stale `Space i` wording to the actual `Space p` symbol rail. - Added browser-terminal E2E coverage for multi-token and single-token coding symbol insertion. Verification: - `zig build` ✅ - `zig build test` ✅ - `zig build terminal-e2e` ✅ - `zig build run -- --help` ✅ - `zig build --prefix /tmp/mim-install verify-install-code` ✅ - `redgate list /opt/repositories/mim/REQUIREMENTS.md && redgate lint /opt/repositories/mim/REQUIREMENTS.md && redgate health /opt/repositories/mim/REQUIREMENTS.md` ✅
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: tmk241/mim#79