ktx/packages/cli/test/context/ingest/memory-flow
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
..
acceptance-fixtures.ts fix(ingest): drive work-unit progress from tool calls, not turn counts (#269) 2026-06-08 15:30:35 +02:00
acceptance.test.ts test: split cli tests from source tree (#216) 2026-05-26 08:49:05 +02:00
events.test.ts fix(cli): treat artifact-producing ingests with failures as partial (#238) 2026-05-30 00:42:59 +02:00
interaction.test.ts test: split cli tests from source tree (#216) 2026-05-26 08:49:05 +02:00
interactive-render.test.ts test: split cli tests from source tree (#216) 2026-05-26 08:49:05 +02:00
live-buffer.test.ts test: split cli tests from source tree (#216) 2026-05-26 08:49:05 +02:00
render.test.ts test: split cli tests from source tree (#216) 2026-05-26 08:49:05 +02:00
schema.test.ts fix(ingest): drive work-unit progress from tool calls, not turn counts (#269) 2026-06-08 15:30:35 +02:00
summary.test.ts test: split cli tests from source tree (#216) 2026-05-26 08:49:05 +02:00
view-model.test.ts fix(ingest): drive work-unit progress from tool calls, not turn counts (#269) 2026-06-08 15:30:35 +02:00
visuals.test.ts test: split cli tests from source tree (#216) 2026-05-26 08:49:05 +02:00