todo2code

Ticket 074: Route semantic LLM calls through SubLLM

Goal and scope

Route Subactor-owned semantic executions of todo2code through the central Python subllm package instead of requiring a separately configured direct OpenRouter client. Add the stable todo2code/semantic route, preserve the standalone deterministic mode, and keep provider credentials out of command output, persisted audits and logs.

The todo2code implementation is limited to the existing internal LLM boundary and its focused tests. Central policy and the Platform intent-gate caller are changed in their owning repositories. No new npm runtime dependency or public todo2code API is introduced.

Acceptance criteria

Participants

Approval gate

The human owner approved continuation on 2026-08-12 after reviewing the bounded plan. A required-LLM validation run proved the route and exposed provider-stale audit configuration and parser labels. The bounded repair completed in IN_PROGRESS / VALIDATION; protected exact-head review was subsequently obtained before publication. The approval permitted the scoped implementation; it did not authorize secret disclosure.

Verification evidence

Publication evidence

Protected PR #88 passed Koru, hosted verify, required JDK, Docker smoke and review-triggered governance. Independent validator-agent run 31596459305 reviewed exact head 4c35747ae4a8c7ca1fca1187ef56ab0d1675b03e in five chunks; the deterministic authority and advisory openrouter/z-ai/glm-5.2 both returned APPROVE, with no blocking findings. The PR was squash-merged as main@ceae6963279e6dc70fac901c4ee9e7b93cf68b94, and post-merge CI run 31596778339 passed verify, Docker smoke, governance and required Java.

Non-goals