What problem does it solve?
Developers working on the LingTai TUI and kernel repeatedly hit the same non-obvious bugs — silent paste failures in Bubble Tea v2, editable installs clobbered by the auto-upgrader, PYTHONPATH pollution shadowing the runtime import — and waste hours rediscovering fixes that were already diagnosed once.
Core Features & Use Cases
- Bubble Tea v2 input pitfalls: Explains why
tea.PasteMsg must be forwarded through every dispatcher layer and why textarea should replace textinput for paste-friendly fields.
- Runtime environment traps: Covers auto-upgrader clobbering editable installs, stale editable checkouts after merges, and PYTHONPATH pollution surviving agent refreshes, with detection and recovery commands.
- Project conventions: Documents the three-locale i18n rule, binary naming (
lingtai-tui vs lingtai), preset directory ownership, authorization gates, and retired migration contracts.
- Use Case: A developer finds pasting into a TUI input silently does nothing; this reference traces the cause to a missing
tea.PasteMsg forward in the host model's outer switch and gives the fix pattern.
Quick Start
Ask the agent to look up the gotchas reference for the symptom you are hitting, such as paste not working in a TUI input or the runtime importing the wrong lingtai source.