feat: capability first routing, judgment authorship, failure kind telemetry (0.0.40) - #39
Merged
Merged
Conversation
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
live-web, Claude tool surface and privacy to Claude workers, judgment dense authorship to the main session), grounded in a same day controlled probe where grokweb_fetchreturned a full x.com post body while the codex web surface returned empty HTML for the same URL/fusion:stats --recordgains--failure-kind/--failure-kind-for(rejected only,intent_override,scope_rewrite,wrong_approach,style_mismatch), the bridge forwards the kind to both companions, worker records persistacceptanceFailureKind, and the brief envelope acceptspackage-type: designbreaking changes
record-acceptancenow requires--reasonfor a rejected verdict (previously optional at the engine layer); direct scripted callers must pass it,/fusion:stats --recordalready enforced ittest plan
already verified
npm test-> 985 tests: 965 pass, 1 skip, 19 fails all intests/breaker-check.test.mjsand identical on a clean HEAD worktree (pre-existing hermeticity leak reading live breaker state, ledger item; CI has no live home state)node --test tests/fusion-stats.test.mjs tests/fusion-worker-state.test.mjs tests/fusion-worker-lifecycle.test.mjs tests/fusion-raw-args-transport.test.mjs-> 230/230node --test tests/codex-companion.test.mjs tests/codex-state.test.mjs tests/grok-record-acceptance.test.mjs tests/failure-kinds.test.mjs-> 154/154node --test tests/routing-policy.test.mjs tests/rules-sync.test.mjs tests/verified-versions.test.mjs-> 23/23 with zero assertion edits (the policy rewrite kept every pinned sentence)node bench/manifest.mjs --check-> up to date;bash bench/tasks/T09-style-fidelity/selftest.sh-> mutant rejected on style gates only, solution passes, PASSreviewer should verify
bash bench/tasks/T09-style-fidelity/selftest.shand confirm the mutant leg fails with style diagnostics only (async or await, comment, new Error lines) while the behavior tests above them passnotes
x_searchstays unwired: grok CLI 0.2.112 carries it on the agent profile surface, not the--toolsregistry; documented indocs/grok-contract.mdwith the probe evidencedocs/codex-contract.mdstill names the removed--record-acceptancestats form in a pre-existing paragraph; queued for the next docs touch