Phase 5 of the kannaka-tui radical-improvement arc.
The TUI input bar today is dumb — typed commands go to either the local subcommand dispatcher or the chat child. Phase 5: make it learn.
- Background SONA-style adapter keeps a small LoRA over recent successful trajectories (Phase 4 dep)
- As the user types, query the local HRM via resonance recall to suggest the most likely continuation (command + arguments) in gray italic after the cursor
- Tab accepts the suggestion. Esc dismisses. Down arrow cycles to the next best hit.
- Updates the adapter incrementally as the user accepts/rejects suggestions — EWC++ guards against catastrophic forgetting on the existing pattern store
Inspiration: the terminal's own ghosting-completion (fish, bash-it) but driven by the HRM's wave-resonance search instead of literal history match. Doubles as proof that the substrate is good for more than chat.
Phase 5 of the kannaka-tui radical-improvement arc.
The TUI input bar today is dumb — typed commands go to either the local subcommand dispatcher or the chat child. Phase 5: make it learn.
Inspiration: the terminal's own ghosting-completion (fish, bash-it) but driven by the HRM's wave-resonance search instead of literal history match. Doubles as proof that the substrate is good for more than chat.