Repository navigation
M6: gpui-agent run --goal runner + GATE-L - #66
Merged
Merged
Conversation
This was referenced Oct 17, 2026
codeitlikemiley
force-pushed
the
instinct/m5-fingerprint
branch
from
October 17, 2026 19:00
d8581e2 to
8a07898
Compare
- runner: observe -> ActionSpace -> policy -> fingerprint gate ->
dispatch -> observe_since (diff/unchanged/full) -> verify -> history;
clause model: then-splits, and-wait splits, it/them pronoun
substitution, WaitFor clauses advance without dispatch; post-clause
break returns Done.
- evidence channels: unplaced_literal withholds verb evidence and
strips the verb token from residue; literals scored by their own
channel and removed from residue; operation keywords matched on
unquoted residue only ("Call Ana" is payload, not invoke);
target_phrase drops the verb-position word after a quoted payload;
nav_locatives for spent locatives; toggle+checkbox+object_covered
promotes to exact; clause_effect_done is semantic.
- todo-core: revision bump on draft type/set_value/backspace, page
navigation, settings toggle.
- diff: suppress descendant AddedNodes under a newly added or moved
parent; apply_diff skips duplicate grafts.
- bench judge: snapshot reads resp.tree, tree checks flatten nested
nodes, visible follows the wire default.
- GATE-L: A2 16/16 pass, wrong=0 (incl. missing-target refusal and
200-row exact select).
Generated with [Devin](https://devin.ai)
Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
codeitlikemiley
force-pushed
the
instinct/m6-run-goal
branch
from
October 17, 2026 19:01
4a39e48 to
f3633fa
Compare
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
M6:
gpui-agent run --goal— the full agent loop over the wire protocol, featureinstinct(opt-in; default builds unchanged).Runner(gpui-agent-policy): observe →ActionSpace→UiPolicy::decide→expect_fingerprintgate → dispatch → revision-awaresnapshot sincere-observe → verify → history.RunOutcomedone / abstained / blocked / cap_hit; deterministicRunReceipt(goal, clauses, steps, candidates, final rev, protocol call count, engine).thensequential splits,and wait (for|until)splits,it/themresolve to the last typed literal,wait …is aWaitForclause that advances without dispatching.unplaced_literalwithholds verb evidence and strips the verb token from residue —Add "Pay rent"cannot fireAddon an empty draft;Delete "Walk dog"scores every wrong row ~0."Call Ana"is payload, notinvoke.target_phrasedrops the verb-position word after a quoted payload (no moreAdd→Addexact match).nav_locatives— a locative is spent once its page is shown; the full list still excludes it from the clause's object words.toggle_intent + checkbox + object_coveredpromotes to exact —Toggle Item 137beatsDelete Item 137by margin in a 200-row list.clause_effect_done— semantic completion (object covered / target gone / payload landed), so navigation alone can't satisfyTurn on X in Settings.diff_treesno longer emits descendantAddedNodes under a newly added/moved parent;apply_diffskips duplicate grafts; bench judge readsresp.tree, flattens nested nodes, and follows thevisiblewire default.Test plan
cargo test --workspace --all-features— all suites green (23)cargo test --workspace(feature-free) — green;runsubcommand absentgpui-agent-bench local --arm a2— GATE-L: 16/16, wrong=0, incl. missing-target refusal (exit 2, state unchanged) and 200-row exact select--escalate-cmd) — blocked onANTHROPIC_API_KEYStacked on #65 (instinct/m5-fingerprint). Gates: GATE-L green; GATE-T blocked on
ANTHROPIC_API_KEY.Generated with Devin