lutra-text gets Buffer on a ropey rope: byte/char/UTF-16/line counts, byte offset <-> (line, column) in UTF-16 code units or chars, absolute UTF-16 offsets, atomic Edit batches in LSP TextEdit[] semantics, and \n / \r\n / \r detection with a keep-the-file's-ending save policy. All conversions return TextError instead of panicking. ropey 1.6.1 (MIT) without unicode_lines, so only the LSP/CodeMirror line breaks split lines. proptest moves into workspace deps. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
40 lines
2.4 KiB
Markdown
40 lines
2.4 KiB
Markdown
# Gaps
|
||
|
||
> **Status:** M0 closed G1; G2 under way (text buffer) · **Last updated:** 2026-10-14
|
||
|
||
Every known shortfall, ranked. This is the work list: unless the owner gives a task, take the highest open gap. Hours are agent wall-clock hours for one agent, all estimated.
|
||
|
||
| # | Gap | Milestone | Estimate (one agent) |
|
||
|---|---|---|---|
|
||
| G1 | ~~Foundation: workspace, quality gate, command registry, guard, control channel~~ closed 2026-10-14 | M0 | done (~2 h measured) |
|
||
| G2 | Editor core: buffers, undo, multi-caret, save, recovery journal | M1 | ~30 h |
|
||
| G3 | Project model: VFS, file watching, project tree, tabs; command palette, settings, theme switching | M1 | ~30 h |
|
||
| G4 | Syntax and structure: tree-sitter PHP, Lezer highlighting, file structure | M2 | ~15 h |
|
||
| G5 | Search and navigation: find in files, go to file/class/symbol, first index | M2 | ~35 h |
|
||
| G6 | Language server: completion, diagnostics, definition, hover, rename via Phpactor | M3 | ~45 h |
|
||
| G7 | Terminal, `lutra` CLI and MCP server | M3 | ~35 h |
|
||
| G8 | Git integration | M4 | ~150 h |
|
||
| G9 | Debugger, test runner, Composer, run configurations | M5 | ~300 h |
|
||
| G10 | Own indexer, type inference, inspections, refactorings | M6 | ~800 h |
|
||
| G11 | Stability: crash-free operation on real projects and machines | ongoing | ~100 h |
|
||
| G12 | Performance budgets: start, open, type, search, index | ongoing | ~100 h |
|
||
| G13 | Frameworks: Symfony, Laravel, Shopware, WordPress | M6 | ~300 h |
|
||
| G14 | Localization: English and German interface | later | ~40 h |
|
||
| G15 | Database tools, HTTP client, Docker and remote | later | ~430 h |
|
||
| G16 | Plug-ins and ecosystem | later | ~120 h |
|
||
|
||
G2 progress: the engine text buffer landed (M1.1, `crates/text`: rope, UTF-16 and char positions, atomic edit batches, line ending policy). Engine buffers, undo, multi-caret, save and the recovery journal are still open; the estimate stays ~30 h.
|
||
|
||
Known smaller items from M0:
|
||
|
||
- The CI workflow has never run: the repository has no remote until the owner decides on hosting.
|
||
- `ui.screenshot` captures the screen region of the window, so covering windows appear in the image; a webview-native capture would avoid that.
|
||
- `cargo xtask fixtures` needs Composer, which the M0 machine does not have.
|
||
|
||
## Revision history
|
||
|
||
| Date | Change | Summary |
|
||
|---|---|---|
|
||
| 2026-10-14 | minor | G2 note: text buffer landed (M1.1) |
|
||
| 2026-10-14 | minor | G1 closed; estimates for G2–G16; M0 follow-ups |
|
||
| 2026-10-13 | major | Initial gap list |
|