Skip to content

Technical Debt

KZvilla edited this page Nov 17, 2026 · 19 revisions

Technical Debt and Deferred Work

This is the public, curated view of Lagrange's known technical debt and deliberately deferred work. It says what is open, how urgent it is, and what would trigger work on it. The detailed register, evidence, file paths and implementation notes stay in local, unversioned notes; this page deliberately omits them.

Snapshot based on the 2026-11-01 review; updated 2026-11-10 after v1.68.0.

How to read this page

Priorities and statuses follow Contributing (P0–P3; Proposed, In Progress, Mitigated, Deferred). A Deferred item is not being worked on now; the trigger column says what would reopen it, or notes that it waits on an explicit decision.

Register

ID Item Priority Status Why it matters Trigger / next step
BE-012 Sandbox mount cleanup P3 Mitigated Sandbox can leave mounts behind on Windows; fan-out does not use it and audits force it off. Reopen if a default workflow needs sandbox: true on Windows.
FEAT-129 Knowledge format: phases 2–3 P3 Deferred Souls and casts still split memory between old and new stores. Reopen when the knowledge-format specification advances.
FEAT-050 Watch: controlled editing P3 Deferred Watch remains read-only. Reopen after the four controlled-edit operations are specified and tested.
FEAT-174 Souls: photo mediator via OpenCode Go P3 Deferred Photo description still uses the direct DeepSeek route. The OpenCode Go evaluation closed on 2026-11-10; reopen when the photo mediator is prioritized.
BE-020 / FEAT-046 Souls: voice for reactions and deep search P3 Deferred Reactions are text-only and deep search is limited. Reopen when a real operational need appears.
FEAT-006 Codex packaging as a fallback P3 Deferred Codex is kept as a fallback, without new packaging work. Reopen if Codex becomes a supported distribution channel again.
FEAT-109 Mods idea catalog P3 Deferred The catalog has ideas without a single plan. Reopen when a specific idea gets a concrete use case.
FEAT-158 F4 Fallback escalation P3 Deferred Fallback does not escalate beyond the configured step. Reopen only by explicit decision if single-step fallback proves insufficient.
FEAT-189 image: JPEG 1K only P3 Deferred The image tool is agent-mediated and Antigravity currently returns a 1024×1024 JPEG; no 2K/4K, PNG or image-model selector. Reopen if Antigravity exposes image size/model, or if the Gemini API route is approved.
— Marketplace phase 4: official listing P3 Deferred Distribution is not yet listed in the official marketplace. Reopen when ready to submit the official marketplace form and test a clean install.
— Telegram bridge: second authorized user P3 Deferred Some bridge flows assume a single authorized user. Revisit before adding a second authorized user.

Recently resolved

  • BE-171 — node network state persistence: corrupt state is quarantined instead of overwritten, and mutations require the lock. Fixed in v1.63.1.
  • BE-172 — shared atomic writes: the server and bridge now use common helpers with retry for transient Windows file locks. Fixed in v1.63.2.
  • BE-175 — optional UI startup diagnostics: a subsystem that fails to start now leaves a named line instead of disappearing silently. Fixed in v1.63.3.
  • BE-176 - bridge test suite: split into 19 focused files with a shared harness and a per-process runner; the monolithic suite is gone. Fixed in v1.63.12.
  • BE-173 - MCP server entry point: the Telegram outbound tools, bridge diagnostic, voice management, narration and voice streaming now live in their own modules. Fixed in v1.63.16.
  • BE-049 — --print-timeout cuts: agy 1.5.0 reports finished_reason: "print_timeout" instead of exiting successfully, and Lagrange now keeps the partial response and the conversation thread in every executor. Fixed in v1.63.18.
  • FEAT-173 — OpenCode Go trial: closed on 2026-11-10 after 10.3 days of continuous use; Go proved useful and remains available. The decision is operational: the sample did not reach the original statistical threshold, so quality and sample size remain follow-up items.

Monitored, not opened

These are known costs or risks that do not justify an item yet:

  • Test-suite timing. The full suite is sequential and some tests use fixed waits on purpose; if it grows, split the largest groups first and replace fixed waits with polling where possible.
  • Optional voice dependencies. The Python microphone loop declares its packages without pinned versions; pin them if an install breaks.
  • Node version declaration. The root package does not declare engines; the bridge does. Add it if onboarding hits a version mismatch.

What this page does not include

This page is deliberately high-level. It omits paths, logs, session or conversation IDs, personal data, security findings (SEC-*) and reproduction steps; those stay in local, unversioned notes.

Related

Clone this wiki locally