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.
EDIT.todo2code/semantic to direct Z.AI GLM 5.2 when
the shared Z.AI credential is valid, with OpenRouter ordered second.user_id=todo2code, a bounded unique
request_id, model=glm-5.2, and no OpenRouter-only fields.glm-5.2, without exposing the credential.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.
todo2code/semantic to direct zai,
logical and wire model glm-5.2, priority 10; OpenRouter remains the second
configured candidate.CC=22; isolating subprocess/credential handling
reduced the highest reported function complexity to 13 without changing the
transport contract.subllm -> zai -> glm-5.2, using 449,820 total tokens. One documentation
response reached the 6,000-token output limit and was partial; the provider
route and dependency resolution did not fail. The repaired audit now records
the effective SubLLM application, function, provider, model, priority and API
base, and response parsing names Z.AI rather than OpenRouter.OpenRouterClient
resolved todo2code/semantic via SubLLM to
https://api.z.ai/api/coding/paas/v4, returned provider zai, model
glm-5.2, response ID 20260812200120928ace40448f43fc and 157 total
tokens. No credential or response content was recorded.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.
.env, API key IDs, secrets or response payloads containing
sensitive input.