ktx/packages/cli/test/context/llm
Andrey Avtomonov 2896f9fb91
fix(ingest): drive work-unit progress from tool calls, not turn counts (#269)
The ingest HUD showed "step 70/40" because the Claude subscription runtime
re-derived a per-turn counter that could not match the SDK's num_turns and
overshot the maxTurns budget. Replace the turn-based work_unit_step heartbeat
with a real, observed tool-call count (no denominator), report
metrics.stepCount from the SDK's authoritative num_turns, and delete the
brittle countsAsAssistantTurn denylist plus the now-unused onStepFinish
callback across the runtime port and all three runtimes. Reconcile and curator
progress move to the same tool-call heartbeat.
2026-06-08 15:30:35 +02:00
..
ai-sdk-runtime.test.ts fix(ingest): drive work-unit progress from tool calls, not turn counts (#269) 2026-06-08 15:30:35 +02:00
claude-code-env.test.ts test: split cli tests from source tree (#216) 2026-05-26 08:49:05 +02:00
claude-code-models.test.ts test: split cli tests from source tree (#216) 2026-05-26 08:49:05 +02:00
claude-code-runtime.test.ts fix(ingest): drive work-unit progress from tool calls, not turn counts (#269) 2026-06-08 15:30:35 +02:00
codex-exec-events.test.ts feat: add codex llm backend for ktx runtime work (#253) 2026-06-02 13:57:11 +02:00
codex-isolation.test.ts feat: add codex llm backend for ktx runtime work (#253) 2026-06-02 13:57:11 +02:00
codex-mcp-runtime-server.test.ts feat: add codex llm backend for ktx runtime work (#253) 2026-06-02 13:57:11 +02:00
codex-models.test.ts feat: add codex llm backend for ktx runtime work (#253) 2026-06-02 13:57:11 +02:00
codex-runtime-config.test.ts feat: add codex llm backend for ktx runtime work (#253) 2026-06-02 13:57:11 +02:00
codex-runtime.test.ts fix(ingest): drive work-unit progress from tool calls, not turn counts (#269) 2026-06-08 15:30:35 +02:00
codex-sdk-runner.test.ts feat: add codex llm backend for ktx runtime work (#253) 2026-06-02 13:57:11 +02:00
debug-request-recorder.test.ts test: split cli tests from source tree (#216) 2026-05-26 08:49:05 +02:00
embedding-port.test.ts test: split cli tests from source tree (#216) 2026-05-26 08:49:05 +02:00
local-config.test.ts feat(cli): add ingest LLM rate-limit governor with paced retries (#261) 2026-06-05 12:10:27 +02:00
rate-limit-governor.test.ts feat(cli): add ingest LLM rate-limit governor with paced retries (#261) 2026-06-05 12:10:27 +02:00
runtime-local-config.test.ts feat: add codex llm backend for ktx runtime work (#253) 2026-06-02 13:57:11 +02:00
runtime-tools.test.ts test: split cli tests from source tree (#216) 2026-05-26 08:49:05 +02:00