Skip to content

feat(discipline): route do-your-research's fan-out through the route caller contract - #18561

Merged
kyle-sexton merged 1 commit into
mainfrom
feat/18503-route-pilot-third-site
Nov 23, 2026
Merged

kyle-sexton merged 1 commit into
mainfrom
feat/18503-route-pilot-third-site

Conversation

@kyle-sexton

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

Copy link
Copy Markdown
Member

Refs: #18503

Summary

The third pilot site of #18503. The owner chose /discipline:do-your-research's fan-out tier in
place of /discovery:research (2026-11-23, "go w/ recommendations"). With
vendors.auto_delegation on, its per-item claim checkers can be sent to another vendor through
/multi-agent:route, and Claude reviews the report; off, or without the multi-agent plugin, they
run as before.

Fix

  • plugins/discipline/skills/do-your-research/reference/fan-out-tier.md, step 2: the caller
    contract sentence, in the (if enabled); otherwise form. These are generic fresh-context
    subagents with one claim each, so the read-only report fits the contract unchanged.
  • Research was dropped as a site because its parent discards any run without a preload_token
    echo or artifact: pointer, and its gates read files the researcher writes to disk
    (plugins/discovery/skills/research/SKILL.md:18, :28, :50).

Verification

  • Added text only, so no compare run (docs/review/evals.md, added text). No model name written.
  • Pilot route vendors pointers at three skill steps #18503's body now names this step as the third site, with why research was dropped (owner
    decision, 2026-11-23).
  • Off path for this step, on this branch: with no user layer, route.sh worker resolves
    "auto_delegation":false set by bundled, so a caller-contract request from this step stops at
    run here (plugins/multi-agent/skills/route/SKILL.md, "Caller-contract requests") and the
    per-item subagents dispatch as before; delegate without a user layer exits 2.

Remaining

Related

🤖 Generated with Claude Code

https://claude.ai/code/session_015XWwmfo1FXD2G3F4XBaDn3

…caller contract

The fan-out tier's per-item claim checkers now point at the caller
contract of /multi-agent:route (if enabled); otherwise they run here as
before. This is the third pilot site of #18503.

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 20:44
@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-23T20:45:50.381177Z 489c77c 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.

@github-actions

Copy link
Copy Markdown
Contributor

claude-security-review reviewed 489c77c9744770eabd86998ca034cd1dcad67b68: read 2 of 2 changed file(s); 0 finding(s), 0 as inline comments.

Security review: PR #18561

I found no security issues.

What changed: The PR changes two files.

  • It adds a changelog fragment.
  • It adds one sentence to step 2 of plugins/discipline/skills/do-your-research/reference/fan-out-tier.md. The sentence routes the fan-out tier's per-item claim-checker subagents through the caller contract of /multi-agent:route when that plugin is enabled. Otherwise they run as before.

Why no finding:

  • The diff adds text only. It deletes, narrows or softens no standing instruction, so the instruction-surface lens finds nothing removed.
  • The added sentence matches the standard call-site form in the existing caller contract (vendors.md#L101-L129). The diff leaves that contract unchanged, and its existing controls still apply:
    • vendors.auto_delegation is off by default (rule 1, L106-L108).
    • Research briefs use the read-only --use investigate (L110-L111).
    • Claude reviews the returned report and treats it as data (L114-L115).
    • Untrusted text in a brief is fenced and labeled as data (L117-L119).
  • Sending a claim to another vendor is an existing opt-in that the user controls. This diff neither turns it on nor widens it.
  • The diff touches no trust control, manifest, workflow, token request or merge hold, and no trusted path.
  • The PR description contains no embedded instructions aimed at this lane.

Spend: The change only affects which vendor runs a subagent when the user has opted in. It can bill nothing.

critical-findings: 0

@github-actions

Copy link
Copy Markdown
Contributor

claude-review reviewed 489c77c9744770eabd86998ca034cd1dcad67b68: read 2 of 2 changed file(s); 0 finding(s), 0 as inline comments.

No findings. This PR adds one sentence to step 2 of plugins/discipline/skills/do-your-research/reference/fan-out-tier.md. The sentence sends the per-item claim-checker subagents through the caller contract of /multi-agent:route, in the optional-plugin form. The PR also adds a minor changelog fragment for discipline.

  • Contract fit: the sentence follows rule 5 of the caller contract in plugins/multi-agent/reference/vendors.md. It is worded like the other sites (codebase-health/skills/audit/SKILL.md:252 and review/skills/fanout/context/default-mode.md:23). The per-item verifiers get self-contained, read-only research briefs, so they match the contract's investigate use. "(if enabled); otherwise run them here as before" keeps the off path, the default, the same as before.
  • Changelog: bump: minor matches an added optional capability. The fragment text describes the change accurately.
  • Closing issue: none. The PR only says Refs: #18503 and closes no issue, so there were no acceptance criteria to check.
  • Verification: the PR says the off path was shown on feat(review,codebase-health,multi-agent): route two pilot steps through the route caller contract #18553 and that no compare run was needed. Both claims come from the author and I did not check them; this lane has no shell.
  • Neither changed file matches a trusted-path glob. No security or cost concerns. Adding a routing option uses no billed resources.
  • Loosened checks would be marked: fail (default; the wrapper gave no loosened_check_verdict: or loosened_check_patterns: lines); patterns: 0. The wrapper gave no loosened_check_decision_record: line, so the citation requirement was not checked. The diff loosens no check.

Verifier dropped 0 of 0 candidates.

@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 23, 2026
@github-actions

Copy link
Copy Markdown
Contributor

The pr-verify verifier failed head 489c77c9744770eabd86998ca034cd1dcad67b68. What it wrote, as data:

What it wrote (22 lines)
Summary: Refs #18503. The issue's trusted body names the three pilot route rows exactly. The
  research row is `plugins/discovery/skills/research/SKILL.md:16`. This PR puts the caller-contract
  sentence somewhere else: step 2 of
  `plugins/discipline/skills/do-your-research/reference/fan-out-tier.md`. The only support for the
  swap is the PR body's claim that the owner chose it ("go w/ recommendations"). The issue body has
  never been edited and has no trusted comments. A PR body can narrow what gets judged, but it can't
  change or widen the issue's scope, so the part delivered falls outside #18503 as written. The
  added sentence itself is fine. It follows the "(if enabled); otherwise run them here as before"
  seam with the fallback, and it names no model. The changelog fragment is in order. CI shows Check
  Skills, Lint Repo and the other check jobs green
  (https://github.com/melodic-software/claude-code-plugins/actions/runs/45262458485/job/138001375757).
  The test jobs were skipped, which is correct for a markdown-only change. The diff doesn't touch
  the takeover set, any secrets or any holds.
- plugins/discipline/skills/do-your-research/reference/fan-out-tier.md:42: #18503 names
  `plugins/discovery/skills/research/SKILL.md:16` as the research pilot site, not do-your-research's
  fan-out tier. Either get the issue owner to edit #18503's body so it names do-your-research's
  fan-out tier as the third site (with the reason research was dropped), or move the caller-contract
  sentence to the research row the issue names. The owner choice cited in the PR body is not spec
  text and cannot redirect the issue's scope.
- PR body: under Verification, the off-path check cites the route/delegate refusal shown on #18553,
  not a run of this step. #18503 asks for one run of each step with auto-delegation off. Once the
  site matches the issue, add evidence of that run for the step this PR edits.

This pull request leaves the merge queue, and ci-status holds it out while it carries pr-verify-failed. A pr-verify pass removes the label, at a new commit or at this same head: once a trusted person edits the body, and only trusted people have edited it since the fail, this head is judged again, so a fail on the body or the issues it links needs only the body fixed, no new commit.

@github-actions github-actions Bot added pr-verify-failed pr-verify failed this head; a pass at a new commit, or after a trusted body edit, removes it. and removed pr-verify-failed pr-verify failed this head; a pass at a new commit, or after a trusted body edit, removes it. labels Nov 23, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Nov 23, 2026
@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 23, 2026
Merged via the queue into main with commit 2442986 Nov 23, 2026
91 of 92 checks passed
@kyle-sexton
kyle-sexton deleted the feat/18503-route-pilot-third-site branch November 23, 2026 21:22
@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