Run direct chat through the native turn loop #43

Merged
weichen merged 1 commits from feature/agent-harness-p1 into main 2026-10-01 13:41:41 +00:00
Owner

Why: LLMRunner should use runtime.Run instead of a second turn loop.

Evidence: go test ./... passed. Existing internal/runtime assertions were unchanged.

Depends on the Agent-Native PR. Merge before the Dev gitlink PR.

Refs: feature/agent-harness-p1

Why: LLMRunner should use runtime.Run instead of a second turn loop. Evidence: go test ./... passed. Existing internal/runtime assertions were unchanged. Depends on the Agent-Native PR. Merge before the Dev gitlink PR. Refs: feature/agent-harness-p1
weichen added 1 commit 2026-10-01 13:30:53 +00:00
Why: deliverable checks, truncation continuation, and tool budgets should live in one loop instead of a second copy inside LLMRunner.
Evidence: go test ./... in backend passed. Existing runtime assertions were unchanged; new tests cover whole-batch tool-cap rejection with parts saved, and length continuation.
Impact: the direct path enables repeat guard and length continuation. Squad still uses the one-shot deliverable predicate and does not set the new kernel switches.
Refs: feature/agent-harness-p1
Co-authored-by: Cursor <cursoragent@cursor.com>
weichen merged commit 9f648a4cd7 into main 2026-10-01 13:41:41 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: weichen/Agent-System-Backend#43