Commit 06bb4ea
feat: LlmCoding panel + Burble integration + ReScript 12 fixes
LLM Coding panel (first Gossamer-target panel):
- LlmCodingModel.res: session, lock, resource, task, permission types
- LlmCodingEngine.res: state colours, health checks, lock conflicts
- LlmCodingCmd.res: Tauri invoke bridge for session management
- LlmCoding.res: TEA view with session cards, resource bars, action gating
- Rust backend: spawn Konsole+Claude, SIGSTOP/SIGCONT/SIGTERM with
PID validation, coordination directory with 0600 permissions
- Registered in PanelSwitcherModel, PanelRegistry, View, Model, main.rs
Burble voice integration:
- BurbleModel.res: voice state types + TEA messages
- BurbleEngine.res: pure state transitions, workspace profile
- BurbleCmd.res: Tauri invoke bridge for huddle management
- Trustfile updated with LLM_CODING_SECURITY section
ReScript 12 migration fixes (pre-existing build errors):
- Replace {j|...|j} syntax with regular strings (55 occurrences)
- Fix Int.bitwiseXor/bitwiseAnd/shiftRight (use %raw JS)
- Fix String.indexOf option->int return type change
- Fix forward reference ordering in VqlModel.res
- Fix type rec / and syntax for mutually recursive types
Security:
- PID validation before all libc::kill calls
- All .unwrap() removed from llm_coding module
- File permissions 0600 on coordination files
- SAFETY comments on all unsafe blocks
- Trustfile updated with process management policy
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent c60a04e commit 06bb4ea
21 files changed
Lines changed: 2436 additions & 1430 deletions
File tree
- .machine_readable/contractiles/trust
- src-tauri
- src
- llm_coding
- src
- commands
- components
- core
- model
- modules
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
444 | 444 | | |
445 | 445 | | |
446 | 446 | | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
447 | 487 | | |
448 | 488 | | |
449 | 489 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
| |||
0 commit comments