Repository navigation
feat(coding-agent): integrate harness evolution - #105
Merged
Pepps233 merged 4 commits intoAug 23, 2026
Merged
Conversation
- Exposes durable status, resume, cancellation, and progress APIs for non-blocking clients - Uses explicit recovery and compare-and-swap rollback to prevent duplicate or stale state transitions
- Activates a newly selected harness before constructing the next provider request - Keeps admitted prompts pinned while sharing one activation path with manual selection
- Wires durable evidence, pipeline execution, automatic checks, recovery, and graceful shutdown - Adds a responsive /evolve menu for status, proposals, resume, cancellation, and rollback
- Returns zero estimated tokens when no materialized invocations are available - Keeps the /evolve overview aligned with its settled invocation count
Contributor
Author
|
Stacked on #104. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Integrates the durable evolution pipeline into coding-agent with a navigable
/evolvecontrol surface, automatic eligibility checks, explicit recovery, and next-query harness activation.Reasoning
Evolution state and pipeline control remain package-neutral so the TUI is only a client of durable status and commands.
Trace materialization and automatic eligibility run after trace flush boundaries, while model work yields to foreground interaction and keeps admitted prompts pinned to their original harness snapshot.
Interrupted and stale-lease jobs remain explicit resume actions, and this PR does not add post-activation evaluation or automatic regression rollback behavior.
Changes
/evolvemenu with confirmations, nested navigation, disabled actions, proposal evidence and diffs, and editor restoration.Testing
npm run check./test.shnode ../../node_modules/vitest/dist/cli.js --run test/control-plane.test.ts test/control-service.test.ts test/worker.test.ts test/evolution-memory-writer.test.ts test/reflector.test.ts test/curator.test.tsfrompackages/evolutionnode ../../node_modules/vitest/dist/cli.js --run test/evolution-menu.test.ts test/evolution-runtime.test.ts test/interactive-mode-evolution.test.ts test/slash-commands.test.ts test/suite/agent-session-harness-version.test.tsfrompackages/coding-agentnode ../../node_modules/vitest/dist/cli.js --run test/harness-state.test.tsfrompackages/harness-state/evolveoverview, nested history navigation, Escape behavior, editor restoration, zero-evidence reporting, and exit