Skip to content

feat(multi-agent): vendor routing joins and registry recheck - #18395

Merged
kyle-sexton merged 17 commits into
mainfrom
feat/multi-agent-vendor-routing-joins
Nov 23, 2026
Merged

kyle-sexton merged 17 commits into
mainfrom
feat/multi-agent-vendor-routing-joins

Conversation

@kyle-sexton

@kyle-sexton kyle-sexton commented Nov 23, 2026 •

Copy link
Copy Markdown
Member

No related issue: Phases 7-8 of the owner-approved vendor-routing plan (PR-C2 of four; PR-A
#18330, PR-B
#18346 and PR-C1
#18345 are merged).

Summary

Phase 7, joins in /multi-agent:route vendors:

  • Harness gating: a harness missing a needed tool (--needs-tools) or a model whose context
    window is too small (--context) is skipped with one note (AC5). A vendor whose external-agents
    breaker is open is skipped with one note naming reset_at (AC4).
  • Usage tiebreak: most-usage-left reads external-agents usage readings, queried only when
    the tiebreak names that step, and falls back to vendor order when a reading is unavailable
    (AC17).
  • Image work: goes to an image-capable vendor (basis claude-cannot).
    • With auto_delegation on, the skill runs external-agents run <vendor> with a prompt built
      from the task alone, and Claude reviews the image before recording the trial result.
    • With it off, the skill recommends the vendor and shows how to run it.
    • When every capable vendor has failed its trial, it recommends nothing and the user chooses
      (AC8, AC20).

Phase 8, /multi-agent:audit-defaults registry (AC12):

  • It reads every benchmark row (shipped and team), fetches each page through a new
    registry-fetcher, and has a registry-judge return a closed JSON verdict per row:
    reachable, page date, coverage, and whether it tests current models.
  • It proposes a diff to reference/benchmarks.json and edits nothing. The apply step opens a PR
    only in this repository. A manual run works whatever the switches say (R7).

Registry seed (AC13):

  • Three support-only rows join the three permanent ones: vals-index (coding, knowledge),
    gdpval-aa (knowledge) and aa-image-t2i (image). Rows are pointers only (name, link,
    workload), never scores. DesignArena is held out until its publisher's independence is checked.

Fix

Security:

  • registry-fetcher: holds Bash only. A second docs-fetcher-gate hook entry allows it
    docs-raw.sh on exactly the hosts in benchmarks.json (D20). A test keeps the hook's host list
    equal to the registry's. The existing docs-fetcher gate is unchanged.
    The seed adds www.vals.ai and artificialanalysis.ai to that list. The owner approved the
    plan whose Phase 8 seeds AC13 rows and the PR-only path for changing this list, and approved
    both hosts on 2026-11-23 ("go w/ recommendations", on the question naming www.vals.ai and
    artificialanalysis.ai).
  • registry-judge: holds TodoWrite only. Per the
    sub-agents docs
    (tools row), an empty tools list is refused at launch and an omitted one inherits every tool.
    So the judge gets one tool that reads, runs and fetches nothing. The skill session reads only
    the judge's closed JSON, never page text.
  • Auto-delegation: AC8's auto-delegation, which ships off, runs through one granted script,
    skills/route/scripts/delegate, a narrowing of the earlier external-agents run codex|antigravity
    grants. It refuses unless vendors.auto_delegation resolves true from a user layer file outside
    any git work tree, and always runs external-agents run <product> --use task --mode write on a
    prompt it reads from stdin, refusing every other flag. The owner kept the grant with auto-delegation a per-user
    opt-in (2026-11-23, Q6 option a: "go w/ recommendations"), so resolve-roles.sh reads
    vendors.auto_delegation from the user layer only, never from a file inside a repository. agy's write ceiling stays the owner's
    own setting.

Loosened checks

  • plugins/multi-agent/scripts/allowed-tools-pairing.test.sh: expected_workflow_grant for
    audit-defaults now expects Workflow(multi-agent:registry-audit) beside
    Workflow(multi-agent:drift-audit). Basis: the plan's Phase 8 ("Update
    allowed-tools-pairing.test.sh's expected grant if the fetch path changes it"), whose registry
    fetch path is the separate registry-audit workflow. The owner approved that plan on 2026-11-22
    ("Approved."; the registry-mode fetch path item: "go with recommendations").
  • plugins/multi-agent/tests/registry-audit.test.mjs, tampered-output test: the guard it is named
    for (judge skipped, row unread) is unchanged. Only the proposal outcome moved, from a demotion to
    no change, because a byte or hash mismatch comes from the local tool chain and says nothing about
    the page (review thread on registry-audit.js:202).

Verification

  • node --test over skills/route/scripts, hooks and tests: 110/110 pass on the seeded head.
  • allowed-tools-pairing.test.sh and check-fixture-git-isolation.sh pass.
    plan-test-lanes.sh plans every new suite.
  • Evals (claude plugin eval, WSL2, one model, 2 runs each): ro-vendor-image-recommend and
    ro-vendor-unavailable-line are VALID, and every grader passed in every run. With one case
    each, the noise report cannot establish a gain, so none is claimed.

Related

  • Built by Antigravity from one brief per phase, then reviewed, fixed, tested and committed by
    Claude.

🤖 Generated with Claude Code

https://claude.ai/code/session_015XWwmfo1FXD2G3F4XBaDn3

Plan close-out

Approved plan contract (vendor routing on a benchmark trust model)

Plan approved by the owner on 2026-11-22. Shipped in four PRs: #18330 (external-agents), #18346 (shared fetcher), #18345 (multi-agent core) and this PR (joins and registry recheck); the caller contract followed in #18534.

Goal

Any session can ask which vendor, model, effort and harness fits a task and get an answer grounded in current, independent evidence for that workload and in what the user has proven on their own work, with the sources named and nothing about benchmarks frozen into a repository; with the user's switches on, Claude hands the task over and reviews the result.

  • Intent (why, in the user's words): "use the best tool for the job ... the best model, effort level, and tool, whether it's MCP, CLI, whatever is best for the job"; "I'm burning through my Claude Code subscriptions"
  • Vision (where this heads): diversify across Claude, Codex, Gemini, later Cursor and Grok, at a steady quality, with an auditable reason for every routing choice
  • When goals conflict, prefer: quality, accuracy and detail first; usage saving breaks ties only
  • Finish line: in use: checked by the owner via routed tasks in their own sessions, with trial outcomes recorded

Acceptance criteria

  • AC1: With the routing switch on, /multi-agent:route vendors <task> names a vendor, model and effort per work type and cites every source it used; no score, ranking or model name is written into a plugin repository file.
  • AC2: Work moves off Claude only on the consensus of all trusted sources for that workload (at least two independent leading sources), for a pair proven on that machine, under a trial the config turns on, or for work Claude cannot do.
  • AC3: On a tie, the reply lists every tied vendor with its published token counts and applies the configured tiebreak; with none set, the caller keeps its vendor.
  • AC4: A vendor declared in use but unavailable gets one line in an interactive session and one entry in an unattended report; one marked not in use is skipped silently; while a vendor's breaker is open after a sign-out or quota error, routing skips it and says so once.
  • AC5: Routing skips a harness that lacks a tool the task needs and a model whose context window is too small for the task.
  • AC6: A second session asking for the same page within its freshness window is served from the shared cache with no new fetch; the window defaults to one day and a registry row can change it.
  • AC7: IF a fetch fails, THEN a cached copy flagged stale with its age is shown as support only, and a page that is gone (404, 410, off-site redirect) is unread and its workload stays on its default.
  • AC8: With auto-delegation on, an image request goes to an image-capable vendor and the reply names the CLI and where the file landed; with it off, the reply recommends that vendor; when every capable vendor has failed its trial, the reply says so and the user chooses.
  • AC9: Routine routing writes no record; a trial keeps its notes until it ends, and its outcome (proven or failed) is written to the per-machine state file with a write that is safe for concurrent sessions.
  • AC10: With the trials switch on but either count unset, trials stay inactive and routing says so once; config refuses a failing count of 1.
  • AC11: With the routing switch off, /multi-agent:route vendors says routing is off and recommends nothing (work Claude cannot do included), trials pause, and their data is kept.
  • AC12: audit-defaults rechecks the benchmark registry (dates, coverage, new sources) and proposes changes as a pull request.
  • AC13: The registry is seeded by a deep benchmark search across every V1 work type, admitting rows only by the trust model's tests.
  • AC14: Source counting follows the trust model: two boards from one publisher count as one source; one task set on two sites counts as one source; a score with no error range only supports; a benchmark that does not test a vendor's current models abstains for it; a provider's own results support only its own models; a dated row, release column or changelog entry counts as the page date; a row is permanent once it passes longevity, accuracy and coverage, and new sources start support-only.
  • AC15: Each tool's own skill decides between its MCP server and its CLI; routing names that skill rather than ranking tools.
  • AC16: Delegated Antigravity runs may use its print-mode subagent tools; slash commands stay off in delegated runs; /swarm and /teamwork are not offered until a probe shows them finishing in a delegated run.
  • AC17: Plan usage is read in a call of its own outside delegated runs; when a reading fails, the tiebreak falls back to vendor order.
  • AC18: A page is fetched plainly first; Firecrawl renders it only when the plain fetch fails, and its result is stored in the shared cache.
  • AC19: A proven pair goes back to trial only when the user sends it back; a review that rejects its routed work is reported in that reply.
  • AC20: Image work goes through trials like any other, with Claude reviewing each image against the prompt.
  • AC21: Routing, trials and auto-delegation each have an on/off switch settable at the user, team and personal layers; shipped defaults are routing on, trials off, auto-delegation off.
    Amended 2026-11-22 (owner, design thread T6): a pair is proven or failed per work type, so the key is vendor, model, version, effort and work type wherever AC2, AC9, AC10 and AC19 say "pair".

Amended 2026-11-23 (owner, Q6): vendors.auto_delegation is a per-user opt-in, read only from the user layer, so AC21's team and personal layers set routing and trials but not auto-delegation.

Status: AC1-AC21 shipped in the four PRs above; the Finish line (in use, trial outcomes recorded) settles by the owner's use, and the pilot #18503 measures the caller contract at three skill steps.

ADR verdicts

  • Q6 extend vendor routing, no new surface: ADR candidate, not checked (handoff not run per round; record at /planning:plan)
  • Q13 tool skill owns MCP-or-CLI choice: ADR candidate, not checked
  • Q15 trust model: ADR candidate, not checked
  • Q18 harness check in routing, provisioning in dotfiles: ADR candidate, not checked
  • Q28 and Q39 reuse the shared docs cache: ADR candidate, not checked
  • Q42 and Q55 settings in the user layer, trial results in a per-machine state file: ADR candidate, not checked
  • Q50 and Q51 switches, hand-over off by default: ADR candidate, not checked
  • Q35 audit-defaults owns the registry recheck: ADR candidate, not checked
  • Every other answered row: no ADR; scope, process or a value, no system alternative weighed

Owner answers after approval (2026-11-23)

  • Q5: keep the shipped Antigravity write-ceiling rule ("never set the key yourself").
  • Q6: keep route's delegated-run grant, narrowed to skills/route/scripts/delegate; auto-delegation is a per-user opt-in.
  • Q7: keep the multi-agent docs-fetcher gate fail-closed.
  • The registry-fetcher gate admits www.vals.ai and artificialanalysis.ai.
  • The multi-agent user layer lives at ~/.config/multi-agent/role-map.yaml, named by the dotfiles role_map_file pointer.
  • Route caller contract (round 1): pilot first; off means unchanged; on with a non-Claude pick delegates and Claude reviews; once per run per work type; the contract lives in plugins/multi-agent/reference/vendors.md.

kyle-sexton and others added 2 commits November 23, 2026 03:57
…mage work

vendor-decide skips a harness missing a needed tool (--needs-tools), a
model whose context window is too small (--context), and a vendor whose
breaker is open, each with one note. The most-usage-left tiebreak reads
external-agents usage readings (--usage) and falls back to vendor order
when a reading is unavailable. Image work goes to an image-capable vendor
(basis claude-cannot); with auto-delegation on the route skill runs it
through external-agents with a prompt built from the task alone and
reviews the image, and when every capable vendor has failed its trial it
recommends nothing and lets the user choose. Adds the
ro-vendor-image-recommend and ro-vendor-unavailable-line evals.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_015XWwmfo1FXD2G3F4XBaDn3
/multi-agent:audit-defaults registry reads every benchmark row (shipped
and team), fetches each page through a new registry-fetcher agent, and has
a registry-judge return a closed JSON verdict per row: reachable, page
date, coverage, and whether the board tests current models. It proposes a
diff to reference/benchmarks.json and edits nothing; the apply step opens
a PR only in the marketplace repository. A manual run works whatever the
routing switches say.

The fetcher holds Bash only, and a second docs-fetcher-gate hook entry
allows it docs-raw.sh on exactly the hosts in benchmarks.json, kept in
step by a test. The judge holds TodoWrite only: an empty tools list is
refused at launch and an omitted one inherits every tool, so it gets one
tool that reads, runs and fetches nothing.

registry-audit.js computes day counts from YYYY-MM-DD with integer civil-date
arithmetic and never calls Date(), so a workflow replay gives the same result.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_015XWwmfo1FXD2G3F4XBaDn3
github-merge-queue Bot pushed a commit that referenced this pull request Nov 23, 2026
…edrm, markdown-format, mcp-tools, miro, multi-agent, mutation-testing, performance (#18403)

No related issue: ADR 0110 bulk comment sweep, batch B022

## Summary

Removes code comments at the `necessary` posture (ADR 0110,
owner-approved bulk removal) from batch B022: kindle-dedrm,
markdown-format, mcp-tools, miro, multi-agent, mutation-testing and
performance. No behavior change. One `bump: none` changelog fragment per
touched plugin.

Counts:
- 98 files in the batch: 20 touched, 0 held by open PRs among the
touched files.
- 91 comment runs deleted (99 lines), 11 of them trailing signature
comments stripped from a function's opening line.
- 0 reshape flags and 0 root-cause rows.

## Fix

`/code-tidying:remove-comments necessary override` over the batch's
directory groups, with read-only triage by an external agent and a
scripted apply, then a full review of the applied diff against the keep
rules.

What was deleted: section and case labels no kept comment cites,
function signature notes (`# rec <name> <sha> [rows...]`), and comments
that restate the next line or the assertion label beside them.

Review restorations, byte-identical from the base:
- Restored whole, because their deletions removed reasons, design
decisions, outside-party constraints or oracle derivations:
`kindle-dedrm` `check-drift.sh`, `check-drift.test.sh`,
`sync-prep.test.sh`; `markdown-format` `markdown-format.test.sh`;
`mcp-tools` `inventory.test.sh` (its `Run N` label series was partly
deleted); `miro` `launcher.ts`, `launcher.test.ts`; `multi-agent`
`workflows/drift-audit.js`, `scripts/allowed-tools-pairing.test.sh`;
`mutation-testing` `suppression-lint.test.sh`; and 15
`performance/scripts` files (`ab.test.sh`, `differential.test.sh`,
`discriminate.test.sh`, `findings.test.sh`, `harness-lib.sh`,
`harness-lib.test.sh`, `pathfix.test.sh`, `ratchet.test.sh`,
`ratio.test.sh`, `resolve-python.test.sh`, `run-spawn-census.test.sh`,
`spawn-census.sh`, `spawn-census.test.sh`, `summarize.test.sh`, and
`test-helpers.sh`, a sourced library whose per-function docs are its
public API).
- Single runs restored: the glob-array rationale in `cleanup.sh`, the
cached-installer note in `sync-finalize.sh`, the one-line defect
statement in `firewall.Tests.ps1`, the escape-key fixture note in
`compare-records.test.sh`, the fixture inventory in
`dotnet-test-selection.test.sh`, the two hand-derived expectations in
`estimate-run.test.sh`, and the fixed-volume `df` shim note in
`untracked-cache-probe.test.sh`.

Override: the `override` argument lifted the GLOBAL HARD path list. The
batch's hook-wired files were `plugins/markdown-format/git-hooks/*`,
`plugins/markdown-format/hooks/markdown-format.sh`,
`plugins/markdown-format/git-hooks/lefthook-remote.yml` and
`plugins/multi-agent/hooks/drift-checker-fetch-gate.mjs`; of the lifted
paths, only
`plugins/markdown-format/hooks/markdown-format-end-of-turn.test.sh` (a
test beside a hook) is changed.

## Not changed

- UNPROVABLE (tree-sitter-bash parse errors), so restored whole:
`plugins/markdown-format/git-hooks/markdown-gates.sh`,
`plugins/mutation-testing/scripts/suppression-lint.sh`,
`plugins/performance/scripts/ab.sh`.
- `plugins/multi-agent/scripts/allowed-tools-pairing.test.sh` is also
touched by open PR #18395.
- No batch file is a copy in `scripts/shared-copies.txt` or a
destination in melodic-software/standards'
`distribution/sync-manifest.yml`.

## Verification

- `change-shape.sh` against the base returns COMMENT-ONLY (exit 0) for
all 20 touched files; the diff holds no file outside the batch list.
- A scan of every deletion hunk finds no deleted line adjacent to a kept
comment line, so no comment run is left partly deleted.
- `scripts/check-shell-portability.sh origin/main`: no unexcused
GNU-only constructs.
- The pre-commit `code-tidying-remote-comment-lint` and
`guardrails-remote-pre-commit-content` hooks passed.
- `scripts/selection-audit.sh trace --strict --jobs 3 --budget 720` over
the 9 suites `selection-audit.sh changed --base origin/main` lists: all
9 traced and exited 0, 37 tracked files read, no gap. Nothing went under
`## Not changed` for a gap.

## Related

- ADR 0110 (bulk comment removal).
- Sibling sweep PR: #18329.

## Removed narrative

What the deleted comments said. This body is the squash commit message.

- `kindle-dedrm` `cleanup.sh`: the `MODE` value list (`confirm | soft |
full`), the `rm_or_show` signature, and step labels 1 to 7 (firewall
rule, ICACLS deny, cached installer, key finder, downloads, uninstall,
Calibre reminder). `lock-updates.sh`: the `icacls_updates` signature.
`status.sh`: that paths resolve through Windows env vars (the header's
shellcheck note says the same), and the Probes and Compose JSON labels.
`sync-prep.sh`: the pre-flight label. `firewall.Tests.ps1`: what
`Get-EnabledGuard` returns.
- `markdown-format` `markdown-format-end-of-turn.test.sh`: the `expect`,
`stop` and `report` signatures and the hooks.json row note.
- `mcp-tools` `inventory.sh`: the `JQ_NORM`, `add_rows` and
`add_file_source` contracts and the user/local scope label.
`discover.sh`: signatures of `derive_server`, `lines_after`,
`to_project_rel` and `add_record`, and the TypeScript, Python and .NET
section labels. `discover.test.sh`: fixture and case labels, the
depth-cap fixture note, and the unscoped and outside-path case notes.
- `miro` `overlaps.test.ts`: the 4-choose-2 pair count.
- `multi-agent` `drift-checker-fetch-gate.test.mjs` and
`drift-audit.test.mjs`: suite descriptions, the `rawPage` and
default-stub notes, and section labels. `list-pointers.sh`: the role and
fan-out key prefixes. `list-scripts.test.sh`: two script labels.
- `mutation-testing` `compare-records.test.sh`: the `row`, `rec`,
`expect` and `expect_absent` signatures and the per-case notes that
restate each assertion. `dotnet-test-selection.sh`: the `classes_of`
output line. `dotnet-test-selection.test.sh`: the `expect` and `src`
signatures and per-case notes. `estimate-run.test.sh`: the `expect` and
`refuse` signatures.
- `performance` `untracked-cache-probe.sh`: the `not_checked` and
`volume_of` signatures. `untracked-cache-probe.test.sh`: the `probe` and
`left_in` signatures and case labels 1 to 11.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

https://claude.ai/code/session_01RMa43yt8jZqGJ5kzhzjRAX

Co-authored-by: Claude Opus 5.5 <[email protected]>
kyle-sexton and others added 3 commits November 23, 2026 09:00
…y rows

Adds vals-index (coding, knowledge), gdpval-aa (knowledge) and
aa-image-t2i (image) as support-only pointer rows, and allows their hosts
(www.vals.ai, artificialanalysis.ai) in the registry-fetcher gate and the
registry-audit workflow. The schema test now pins the six ids and checks
every row's host is in the gate.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_015XWwmfo1FXD2G3F4XBaDn3
…heck

registry-fetcher-gate.test.mjs already holds the gate hosts equal to the
registry hosts.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_015XWwmfo1FXD2G3F4XBaDn3
@kyle-sexton
kyle-sexton marked this pull request as ready for review November 23, 2026 14:04
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-23T14:07:28.299335Z bdec6c6 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: bdec6c67ee

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@github-actions

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-refine/fix-docs

Run 45190513219, attempt 1

Field Value
Model rung 0
Leg handoff
Run job success
Activity step success
Commits pushed none (read lane)
Run 45190513219

Failed GitHub API calls

No failed call recorded by the run job's scripts.

@github-actions

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-refine/apply-patch

Run 45190513219, attempt 1

Field Value
Model rung 0
Leg base
Run job success
Activity step success
Commits pushed 73eb131
Run 45190513219

Failed GitHub API calls

No failed call recorded by the run job's scripts.

@kyle-sexton kyle-sexton added do-not-merge Hard merge gate: do not merge while applied. and removed do-not-merge Hard merge gate: do not merge while applied. labels Nov 23, 2026

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

claude-security-review: 2 inline finding(s) on 73eb131b76bd62b7eb0f10f9cedf3b19bea36531; the summary is in this lane's pull request comment.

claude-lane: claude-security-review

@github-actions

github-actions Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

claude-security-review reviewed 614e2fc03017ef113fa092a2bf64bb0d157fdbb9: read 1 of 1 changed file(s); 0 finding(s), 0 as inline comments.

claude-security-review, incremental (blocking only). This lane already reviewed earlier heads of this PR, so this pass reports only CRITICAL and IMPORTANT findings.

Scope. One file changed since a06a8938: plugins/multi-agent/skills/route/scripts/delegate.test.sh. I read its whole change in .claude-lane/incremental.diff. The other files of this PR haven't changed since a06a8938, and this lane reviewed them then.

What changed

  • Three # test-scope: comment lines that name more source files for the test runner to map to this test.
  • unset GIT_DIR GIT_WORK_TREE GIT_CONFIG and export GIT_CONFIG_GLOBAL=/dev/null GIT_CONFIG_NOSYSTEM=1 at the top of the test.

Security assessment. I found no security issues in this change.

  • These lines only affect the test process and its child processes. They keep the host's git config and the environment's git-directory overrides from leaking into the test's temporary repositories.
  • That makes the test's git-work-tree checks behave the same on every host. Nothing in the shipped delegate script or its --user-file work-tree refusal changes.
  • No trust control, token request, merge hold, manifest or standing instruction is touched.

Earlier findings. This pass re-raises nothing. The earlier manifest flags on the eval-only external-agents-path fixture plugin are on files this push didn't change, and the a06a8938 review restated them.

critical-findings: 0

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

claude-review: 3 inline finding(s) on 73eb131b76bd62b7eb0f10f9cedf3b19bea36531; the summary is in this lane's pull request comment.

claude-lane: claude-review

…y a section map

A page above the whole-page threshold comes back as kind=map with no
entries, so the judge could only call it unreachable and a healthy
permanent row was proposed for support-only. Such a page now skips the
judge, is marked partial with a note, and proposes no change.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_015XWwmfo1FXD2G3F4XBaDn3
@github-actions

github-actions Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

claude-review reviewed 614e2fc03017ef113fa092a2bf64bb0d157fdbb9: read 1 of 1 changed file(s); 0 finding(s), 0 as inline comments.

claude-review (incremental, a06a893 → 614e2fc): no blocking findings.

This lane already reviewed earlier heads, so this review reports blocking findings only.

Scope. One file changed in this push: plugins/multi-agent/skills/route/scripts/delegate.test.sh. I read its whole hunk and the file at head.

What I checked

  • Git isolation. The new lines are unset GIT_DIR GIT_WORK_TREE GIT_CONFIG and export GIT_CONFIG_GLOBAL=/dev/null GIT_CONFIG_NOSYSTEM=1.
    • They stop a host GIT_DIR or GIT_WORK_TREE from changing what the "refuses a user file inside a git work tree" case sees.
    • They also stop host git config from changing it.
    • The test's only git call is git -C "$T/repo" init -q, with no commit. So a missing user.name or user.email from the empty global config cannot break it.
  • test-scope lines. The three new lines put several paths on one line. Other tests do the same (for example plugins/actionlint/git-hooks/lint.test.sh). All five newly listed files exist at head: scripts/resolve-roles.sh, scripts/yaml-subset.awk, reference/defaults.yaml, lib/config-root.sh and lib/resolve-convention-home.sh.
  • Loosened checks. This change does not loosen a check. It isolates the test environment and widens test-scope, and every assertion is unchanged. The prompt had no loosened_check_verdict:, loosened_check_patterns: or loosened_check_decision_record: line. So I used fail with no consumer entries, and the decision-record citation requirement was not checked. Loosened checks would be marked: fail (default; no resolved layers).

Earlier findings. All earlier inline findings are marked lines changed since posted: yes, and the a06a893 review settled them. None of them is in this push's file.

Verification. I did not run delegate.test.sh; this lane has no shell. The PR has no closing issue, so there are no acceptance criteria to check. The PR context file and the prior-findings file hold no embedded instructions to this lane.

Verifier dropped 0 of 0 candidates.

kyle-sexton and others added 2 commits November 23, 2026 09:22
…com/melodic-software/claude-code-plugins into feat/multi-agent-vendor-routing-joins
…of skipping it

A page too large to return whole comes back as a section map. The
workflow now fetches the sections whose headings match the row's expect
name, then the rest in page order, up to 60,000 bytes and 20 ids, and
judges those. Only a page whose sections still cannot be read stays
partial with no change proposed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_015XWwmfo1FXD2G3F4XBaDn3
kyle-sexton and others added 2 commits November 23, 2026 10:05
- Name the apply-step repository as the one that ships this plugin,
  not an org repository token.
- Mark list-registry.mjs executable.
- Anchor benchmarks.json refs to ${CLAUDE_PLUGIN_ROOT}.
- List the registry-fetcher Bash gate among the onFailure block rows
  in the hook-budget contract and its pin test.
- Regenerate the skill cheat sheet.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_015XWwmfo1FXD2G3F4XBaDn3
…ository

Restore the one-repository restriction, cited as a link so the
org-repo token check passes without widening the step.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_015XWwmfo1FXD2G3F4XBaDn3

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

claude-review: 1 inline finding(s) on 01b87eb6d6bba4e29515199228d5796d87435026; the summary is in this lane's pull request comment.

claude-lane: claude-review

- resolve-roles.sh ignores vendors.auto_delegation in the team layer:
  it is per-user, so a committed repository file cannot turn on
  external-agent runs.
- registry-audit.js reads sections only when one picked section is
  under an expect heading; otherwise the map is kept and the row stays
  partial, since the read could miss the board.
- The shows-how-to-run grader requires --use task and --mode write.
- Add the guardrails changelog fragment for the onFailure pin test.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_015XWwmfo1FXD2G3F4XBaDn3

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

claude-review: 1 inline finding(s) on 569350e7f564883ef87979544751dd88a027918e; the summary is in this lane's pull request comment.

claude-lane: claude-review

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

claude-security-review: 2 inline finding(s) on 569350e7f564883ef87979544751dd88a027918e; the summary is in this lane's pull request comment.

claude-lane: claude-security-review

- resolve-roles.sh accepts vendors.auto_delegation only from the user
  layer; the personal-override file also lives inside the repository,
  so a committed copy could turn on external-agent runs.
- registry-audit.js marks a row partial when its fetch or judge stage
  returns nothing, so a budget stop proposes no demotion.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_015XWwmfo1FXD2G3F4XBaDn3

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

claude-security-review: 4 inline finding(s) on b6d732e94c1d1df9bdf455743abcdf4a556135ce; the summary is in this lane's pull request comment.

claude-lane: claude-security-review

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

claude-review: 1 inline finding(s) on b6d732e94c1d1df9bdf455743abcdf4a556135ce; the summary is in this lane's pull request comment.

claude-lane: claude-review

kyle-sexton and others added 4 commits November 23, 2026 11:06
…ommand

- route grants scripts/delegate instead of any `external-agents run
  codex|antigravity` command. delegate takes a product and optional
  --model/--effort, reads the prompt from stdin into its own temp file,
  and always runs --use task --mode write on it; --add-dir,
  --unsandboxed, --resume, --last and a caller-chosen --prompt-file
  are refused.
- registry-audit.js marks a row partial when the fetch output has no
  docs-raw header or fails its byte or hash check: those come from the
  local tool chain and say nothing about the page. A header reporting
  state=unread still counts as unreachable; the tamper guard (judge
  skipped, row unread) is unchanged.
- The no-auto-delegation grader also catches a delegate run.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_015XWwmfo1FXD2G3F4XBaDn3
delegate now takes --user-file (the role_map_file the skill passes) and
refuses unless resolve-roles.sh reports vendors.auto_delegation true
from the user layer. A --user-file inside a git work tree is refused, so
a repository cannot supply the setting by passing its own file.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_015XWwmfo1FXD2G3F4XBaDn3
Export GIT_CONFIG_GLOBAL and GIT_CONFIG_NOSYSTEM before its fixture git
init, and declare the files it reads through resolve-roles.sh in its
test-scope so a change to them selects it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_015XWwmfo1FXD2G3F4XBaDn3
@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 23, 2026
Merged via the queue into main with commit eefb002 Nov 23, 2026
56 checks passed
@kyle-sexton
kyle-sexton deleted the feat/multi-agent-vendor-routing-joins branch November 23, 2026 17:10
@github-actions github-actions Bot added the merge-path: owner-agent Post-merge accounting record (README.md, Merge paths) label Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-path: owner-agent Post-merge accounting record (README.md, Merge paths)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant