Repository navigation
Conversation
Agentflare-Branch: codex/harness2-refinement
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
Comment |
Agentflare-Branch: codex/harness2-refinement
Agentflare-Branch: codex/harness2-refinement Agentflare-Session: 59cf23c7-39b3-4d78-aeef-defaedea7dc7
Agentflare-Branch: codex/harness2-refinement
Agentflare-Branch: codex/harness2-refinement
Agentflare-Branch: codex/harness2-refinement
Agentflare-Branch: codex/harness2-refinement
Agentflare-Branch: codex/harness2-refinement
Agentflare-Branch: codex/harness2-refinement
Agentflare-Branch: codex/harness2-refinement
getappz
changed the base branch from
master
to
task/753-terminal-claude-replies
October 19, 2026 05:35
Agentflare-Branch: codex/harness2-refinement
Agentflare-Branch: codex/harness2-refinement
Agentflare-Branch: codex/harness2-refinement
This was referenced Oct 19, 2026
…elemetry evidence (#929) Agentflare-Agent: claude-code_2-1-303_agent Agentflare-Branch: fix/harness2-review-fixes Agentflare-Session: b39fb7c8-e549-4da4-9407-4c3a3392da34
This branch has not been deployed
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.
Experimental — kept in draft. The full refinement loop has not demonstrated a final accuracy benefit and is not proposed for merge yet.
The independently useful fixes are merged into master:
This draft now targets master. Its diff retains the experimental loop, trajectory/evidence handling and supporting refinement infrastructure. Broader evaluation is still needed before considering it for merge.
Adds an opt-in Rust Harness2 refinement loop that proposes instruction edits, probes them against frozen task inputs, composes revisions, selects among successful baselines and finals, and retains repository/domain-scoped lessons.
Reuses the workflow engine, SQLite recovery and leases, headless agent runner, process cancellation, Git snapshots, and memory. Supports parallel/sequential modes, durable call/time budgets and receipts, validated instruction/skill paths, resume identity/artifact checks, and start/status/resume/cancel commands. Adopted harnesses are exported for inspection. Usage:
src/refinement/README.md.Feedback handling now preserves direct solver-visible observations before failure/timeout classification, delivers long observations as ordered artifact parts, and grounds improvement prompts in tool evidence. Private acceptance checks and verdicts stay outside improvement prompts. Exhausted probe retries retain the last failed receipt and its evidence instead of substituting an empty receipt; failed trials remain ineligible. Resume identity was bumped for the changed method.
Validation
Live experiment
A complete run on a frozen Rust Git-ignore task scored baseline 679/684, unchanged-harness repeat 682/684, domain revision 684/684 on retry, and composed final 679/684. The final repeated the baseline's same five escaped-separator/globstar failures. No harness was adopted: eligible baseline/final trials failed. The intermediate all-pass result did not replicate in composition; the unchanged-harness gain also demonstrates sampling variation. This run does not establish an accuracy benefit.
The loop took 33m13s, reported $0.591 in usage, and conservatively accounted $0.864 including a timed-out call reservation. $1.814 remains within the user's current $5 allowance after earlier work. All solver traces were attached and frozen acceptance hashes were verified unchanged. The exhausted-retry evidence fix was made after this run and has not had another paid evaluation.
Earlier dogfooding found passing-task ties and a terminal-reply timeout classification bug, now fixed. No full workspace suite was run locally. Dollar caps currently require Claude Code for both roles; other agents use call/time limits. Existing host sandbox policy remains in force. Costs are reported usage plus conservative reservations, not an invoice.
Opened by
codexonflared:c997d745ae66for item #751 via agentflare ownership tracking. The regular codex branch was published through the GitHub API because agentflare pr open requires a managed task worktree.