Verify SQLite encoding for InputMode and Theme, wire into coily exec warp #3

Open
opened 2026-05-23 20:53:18 +00:00 by coilysiren · 0 comments
Owner

Originally filed by @coilysiren on 2026-05-21T11:17:33Z - https://github.com/coilysiren/agentic-os/issues/134

Problem - Warp's SQLite layer (generic_string_objects) encodes enum values inconsistently per key: view_mode stores lowercase expanded, primary_info stores PascalCase Command. coily exec warp reconciles the verified keys but two are deferred as doctor-only (kindOpaque in warp/mapping.go):

  • InputMode - TOML pinned_to_bottom; DB observed Waterfall. Correct DB spelling for pinned-to-bottom is unverified.
  • Theme - TOML inline table (the Sombra custom theme block); DB observed the bare string Phenomenon. The DB value shape for a custom theme is unverified.

doctor reports both as NOTE; apply skips them.

Next - Confirm the SQLite spellings (from Warp's open-source settings code per Project B, or empirically by toggling in the UI and diffing the DB), then promote both to proper kindEnum/struct handling in warp/mapping.go so apply reconciles them. Until then the theme and input mode must be set by hand in Warp.

Spec: project-a-coily-exec-warp.md. Tooling landed in #133.

_Originally filed by @coilysiren on 2026-05-21T11:17:33Z - [https://github.com/coilysiren/agentic-os/issues/134](https://github.com/coilysiren/agentic-os/issues/134)_ **Problem** - Warp's SQLite layer (`generic_string_objects`) encodes enum values inconsistently per key: `view_mode` stores lowercase `expanded`, `primary_info` stores PascalCase `Command`. `coily exec warp` reconciles the verified keys but two are deferred as doctor-only (`kindOpaque` in `warp/mapping.go`): - `InputMode` - TOML `pinned_to_bottom`; DB observed `Waterfall`. Correct DB spelling for pinned-to-bottom is unverified. - `Theme` - TOML inline table (the Sombra custom theme block); DB observed the bare string `Phenomenon`. The DB value shape for a custom theme is unverified. `doctor` reports both as NOTE; `apply` skips them. **Next** - Confirm the SQLite spellings (from Warp's open-source settings code per Project B, or empirically by toggling in the UI and diffing the DB), then promote both to proper `kindEnum`/struct handling in `warp/mapping.go` so `apply` reconciles them. Until then the theme and input mode must be set by hand in Warp. Spec: `project-a-coily-exec-warp.md`. Tooling landed in #133.
coilysiren added
P3
and removed
P2
labels 2026-05-31 07:00:09 +00:00
Sign in to join this conversation.
No labels
P0
P1
P2
P3
P4
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
coilyco-flight-deck/agentic-os#3
No description provided.