Skip to content

feat: declare the fusion delegate + gap-fill its gateway (ADR 0064 P3)#36

Merged
mabry1985 merged 1 commit into
mainfrom
feat/team-template-fusion-delegate
Jul 3, 2026
Merged

feat: declare the fusion delegate + gap-fill its gateway (ADR 0064 P3)#36
mabry1985 merged 1 commit into
mainfrom
feat/team-template-fusion-delegate

Conversation

@mabry1985

Copy link
Copy Markdown
Contributor

What

Companion to projectBoard-plugin#64 (the board-seam fusion-rung wiring). The shipped team template now declares a real fusion delegate and wires it into project_board.coder_solve_fusion_delegate, so a team spun up from this template can actually reach rung 4 on the hardest features — not just have the board-seam machinery support it in principle.

delegates:
  - { name: fusion, type: openai, model: protolabs/fusion, url: "", api_key: "" }
project_board:
  coder_solve_fusion_delegate: fusion
  coder_solve_fusion_k: 2

Gateway inheritance, extended

url/api_key ship blank on fusion, same as the team's own model: block — so _inherit_host_gateway needed extending: it now also gap-fills any delegates: entry of type: openai with a blank url from the same host gateway the model block inherits (a per-delegate url is left alone, same discipline as a per-team model gateway). No per-team creds prep needed for fusion any more than for the team's own brain.

Docs

README's coder-ladder section gets a new "fusion" subsection: the config, and the load-bearing design constraint — fusion can't tool-call (a plain completion, not an ACP session), so the board seam hands it current file content and writes its reply's files into a fresh worktree itself.

Tests

  • Shipped-template content contract extended: test_shipped_template_declares_the_fusion_delegate_gateway_blank, test_shipped_template_wires_fusion_into_the_coder_solve_ladder.
  • New _inherit_host_gateway coverage: fills a blank openai-delegate url, respects a delegate's own url, leaves non-openai delegates untouched.

144 passed (was 127; +17 new/updated).

Version bumped 0.15.1 → 0.16.0 (new capability).

🤖 Generated with Claude Code

…, v0.16.0)

Companion to projectBoard-plugin's fusion-rung wiring: the shipped team
template now declares a real fusion delegate (openai-type, protolabs/fusion)
and wires it into project_board.coder_solve_fusion_delegate, so a team spun
up from this template can actually reach rung 4 on the hardest features --
not just have the board-seam machinery support it in principle.

url/api_key ship blank on the fusion delegate, same as the team's own model
block -- so _inherit_host_gateway needed extending: it now ALSO gap-fills any
delegates: entry of type openai with a blank url from the same host gateway
the model block inherits (a per-delegate url is left alone, same discipline).
No per-team creds prep needed for fusion any more than for the team's brain.

README's coder-ladder section gets a new "fusion" subsection documenting the
config and the can't-tool-call design constraint. Shipped-template content
contract extended (fusion delegate present + wired); new
_inherit_host_gateway tests for the delegate gap-fill (fills blank, respects
a per-delegate url, leaves non-openai delegates alone).

144 passed (was 127; +17 new/updated across the shipped-template contract and
gateway-inherit coverage).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@protoquinn

protoquinn Bot commented Jul 3, 2026

Copy link
Copy Markdown

👀 Quinn is reviewing — verdict (PASS / WARN / FAIL) + findings to follow.

@mabry1985 mabry1985 merged commit d99a9e7 into main Jul 3, 2026
1 check passed
@mabry1985 mabry1985 deleted the feat/team-template-fusion-delegate branch July 3, 2026 20:51

@protoquinn protoquinn 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.

QA Audit — PR #36 | feat: declare the fusion delegate + gap-fill its gateway (ADR 0064 P3)

VERDICT: WARN (CI still queued — non-terminal; re-review for PASS/FAIL once checks settle)


CI Status

  • test: queued ⏳

Diff Review

  • 5 files, ~255 lines: shipped template declares fusion delegate (openai type, blank url/api_key), wires it into project_board.coder_solve_fusion_delegate, extends _inherit_host_gateway to gap-fill blank-URL openai delegates from the host gateway, updates README, bumps version 0.15.1→0.16.0.
  • __init__.py:_inherit_host_gateway refactored from early-return to changed-flag pattern — the delegates loop is gated on type: openai + blank url, correctly respecting per-delegate gateways and leaving non-openai delegates untouched.
  • Template YAML (langgraph-config.yaml) correctly declares fusion delegate and wires coder_solve_fusion_delegate: fusion + coder_solve_fusion_k: 2.

Observations

  • LOW: Clawpatch structural review unavailable for this repo (not in project registry) — manual diff review only.
  • LOW: CI test check still queued at review time; no terminal pass/fail signal yet. Submit PASS/FAIL on re-review once terminal.
  • The _inherit_host_gateway early-return → changed-flag refactor is behavior-preserving for the model block and correctly additive for delegates. The _host_gateway() call moves outside the guard but is side-effect-free (env/config reads only).

— Quinn, QA Engineer

@protoquinn

protoquinn Bot commented Jul 3, 2026

Copy link
Copy Markdown

Submitted COMMENT review on #36.

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.

1 participant