Skip to content

docs(playbooks): cut fable-5 orchestration's restated delegation rule to a pointer at assess - #11173

Merged
kyle-sexton merged 8 commits into
mainfrom
host-run/9839-cut-orchestration-delegation-rule
Oct 30, 2026
Merged

kyle-sexton merged 8 commits into
mainfrom
host-run/9839-cut-orchestration-delegation-rule

Conversation

@kyle-sexton

@kyle-sexton kyle-sexton commented Oct 30, 2026 •

Copy link
Copy Markdown
Member

Closes #9839

Summary

The fable-5 orchestration chapter's "When to delegate, when to stay inline" section restated the delegate-or-inline verdict that /multi-agent:assess and its subagent docs pointer own. This cuts it to a pointer at assess and keeps only what assess does not decide. Before and after evals show no case drop among the cases that load the chapter.

Fix

  • plugins/playbooks/skills/fable-5/context/orchestration.md: the section now points at /multi-agent:assess and keeps only what assess does not own. The two cross-references that named the old "fourth condition" and "delegation decision" are rewritten.

    Old text (lines 7-30 on main) Owner Kept?
    Fan-out trigger: independent items, same treatment assess: "repeats the same steps over many independent items" Cut
    Fan-out spawn-plus-merge cost weighing Not in assess Kept
    Context-flooding side work Subagent docs pointer: "verbose output you don't need in your main context" Cut
    Isolation for a tool posture Subagent docs pointer: "enforce specific tool restrictions" Cut
    Isolation for the fresh-context verifier This chapter Kept
    Stay inline: a sequential chain assess: "one dependent chain" Cut
    Stay inline: under about 5 tool calls assess sets the verdict by size; docs: "a quick, targeted change" Cut
    Stay inline: overlap with files you are editing Not in assess Kept
    Stay inline: full detail needed later Not in assess (the 2026-10-26 decision, item 4) Kept
    Pays-only-when: raw output much larger Subagent docs pointer: verbose output Cut
    Pays-only-when: isolation, consistency This chapter Kept
    Pays-only-when: concurrency Covered by the fan-out weighing that stays Folded
  • plugins/playbooks/skills/fable-5/SKILL.md: the hub said chapters live under context/. Eval runs resolved that against the plugin root, so the chapter Read was denied and the chapter never loaded. Both mentions now say ${CLAUDE_SKILL_DIR}/context/. The hub's delegation summary line is unchanged. A version that also cut it was measured and set aside (see Verification).

  • plugins/playbooks/evals/: delegation cases 17-23 from skills/fable-5/evals/evals.json, ported to claude plugin eval cases. Prompts are verbatim. Each expectation is one llm grader, and each "dispatches no worker" line is a tool_used check on Agent with max: 0.

Verification

  • Claude Code 2.1.314, subscription login, agent claude-opus-5-5, judge opus. The copies were made with git archive, outside any repository, with an empty HOME and their own TMPDIR.

  • Command: claude plugin eval <copy>/plugins/playbooks --ablation none --runs 3 --keep-temp --judge-model opus --threshold 0.8 --no-publish, over 9 cases.

  • Pass 1 (INVALID, discarded): run-validity.py failed on permission denials. The model read plugins/playbooks/context/orchestration.md, which is the hub path defect fixed above. Every later pass includes the fix in both versions.

  • Pass 2 (VALID): the cut plus a hub-line edit, scored against main.

    • Change -0.03 (interval -0.07 to +0.01), not shown non-inferior.
    • The verifier case went from 0.67 to 0.56, and denied-call-user-pushes-stays-stopped went from 1.00 to 0.83.
    • Because of these drops, the hub edit was reverted.
  • Pass 3 (VALID, landed): the chapter-only cut, scored against two baseline passes.

    • Against the same-session baseline: change -0.01 (interval -0.04 to +0.01), non-inferior at margin 0.05.
    • Against the pass 2 baseline: change -0.02 (interval -0.07 to +0.04), not shown non-inferior.
    • noise-report.py printed no case drop line in either comparison. The verifier case drives both negative changes.
    • The two baselines against each other: -0.00 (interval -0.04 to +0.03), which is the run-to-run noise.
  • Per case (before, before, after):

    Case Before Before After Runs that read orchestration.md
    delegate-context-flooding-log-search 0.92 1.00 1.00 3/3
    delegate-fan-out-independent-packages 1.00 1.00 1.00 3/3
    stay-inline-file-being-edited 1.00 1.00 1.00 3/3
    stay-inline-detail-needed-later 1.00 1.00 1.00 0, 0, 1
    stay-inline-sequential-chain 1.00 1.00 1.00 0
    stay-inline-small-job 1.00 1.00 1.00 0
    delegate-isolation-fresh-verifier-small-batch 0.67 0.56 0.44 0
    denied-call-stops-and-reports 1.00 1.00 1.00 0
    denied-call-user-pushes-stays-stopped 1.00 1.00 1.00 0
  • No case that loaded the cut text dropped. The verifier case read orchestration.md in none of its 15 runs across all passes. Its runs received input identical to the baseline copy (main plus the path fix), checked against its Read, Grep and Glob results: none of its 12 valid-pass traces contains the old or new section text. Its spread (0.33 to 1.00 per run, 0.67 and 0.56 on the unchanged text) is judge and sampling noise, not the cut.

  • Caveats:

    • /multi-agent:assess is not loaded in the eval sandbox, so the new pointer was dead there. That makes the test conservative.
    • The judge graders are uncalibrated. They have no labeled samples, so the same rubric and judge were used on both versions.
    • The list-price estimate was about 10 USD per pass.
  • scripts/check-affected.sh --tests on the committed head: 14 passed, 2 skipped.

  • Left out:

    • The skill-creator evals.json cases 1-16 were not run. They cover the hub, model adaptation, config resolution and the update check, none of which this change touches.
    • Judge calibration was not done, because the ported cases have no labeled samples.

Related

🤖 Generated with Claude Code

@kyle-sexton
kyle-sexton marked this pull request as ready for review October 30, 2026 06:19
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 30, 2026 •

Copy link
Copy Markdown

Codex Review Summary

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-30T06:23:01.631024Z ef07e84 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

github-actions Bot commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

claude-security-review reviewed 8a3432f899d0fcdacba0fd98a451b3dddd2877f0: 0 finding(s), 0 as inline comments.

No security findings.

Scope: incremental review of plugins/playbooks/skills/fable-5/context/orchestration.md, whose only change since ef07e84 is one added sentence. It says that the core's delegation triggers and the context-economy chapter's delegation precedence name when to ask /multi-agent:assess, and that assess's verdict decides.

I read the incremental diff and found no security-relevant surface:

  • The file is playbook prose. It is not a trusted-path match, a manifest, a workflow, or a script.
  • The change adds a cross-reference and deletes or softens no rule. It restates what the paragraph already said ("Take the verdict from it") and does not touch the "stay inline" exceptions below it.
  • It widens no trust control, token scope, kill switch or merge hold. It adds no tool grant and no untrusted-text path into a credentialed lane.
  • Instruction-surface lens: nothing is removed or narrowed, so no protected-class rule is lost.

I did not read the other files of this PR in this pass. They are unchanged since ef07e84 and were reviewed then.

critical-findings: 0

@github-actions

github-actions Bot commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

claude-review reviewed 8a3432f899d0fcdacba0fd98a451b3dddd2877f0: 0 finding(s), 0 as inline comments.

Incremental review of plugins/playbooks/skills/fable-5/context/orchestration.md: no findings.

The change adds one sentence to "When to delegate, when to stay inline". It says the core's delegation triggers (fan-out, context-flooding side work, isolation) and the context-economy chapter's delegation precedence name when to ask /multi-agent:assess, and that assess's verdict decides.

I read both referenced places. SKILL.md:90 lists those three triggers, and context-economy.md:12 has the "Precedence" bullet. The sentence matches what both say. It also fits the section's existing line that assess owns the verdict.

This is a documentation-only change with no manifest, userConfig or code surface. It adds no billed-resource change and no security surface, so I returned no hold. The review covered the incremental diff only. Everything else in the PR was reviewed at ef07e84 and is unchanged.

@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: ef07e84dc9

ℹ️ 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".

The fable-5 core and the context-economy chapter still name when to delegate;
the orchestration chapter now says those triggers are when to ask
/multi-agent:assess, and its verdict decides, so the two never conflict.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@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 Oct 30, 2026
@kyle-sexton
kyle-sexton added this pull request to the merge queue Oct 30, 2026
Merged via the queue into main with commit 33cbd5c Oct 30, 2026
93 of 96 checks passed
@kyle-sexton
kyle-sexton deleted the host-run/9839-cut-orchestration-delegation-rule branch October 30, 2026 07:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs(playbooks): cut fable-5 orchestration's restated delegation rule behind eval evidence

1 participant