interplane.Get Omega
Read in your language

interplane-mv

INTERPLANE: open interoperability protocol between AI models and agent runtimes. Models express intent. Runtimes retain authority.

Brought by drakestapleton

GitHub aien-dev/interplane-mv#9 (code only)

closed derived a8ef11d9deb0230e #9

Imported from GitHub aien-dev/interplane-mv#9 (code only)

GitHub's metadata for this pull request is unavailable: its state is DERIVED from the commits (merged: the head is reachable from this project's main; open: GitHub kept a merge ref; else closed).

Base 2bad9acc2792bececd85955ed40a984abed18866 · Head 88a8a0e435174154e81451aaa2d1581a479158d4

greptile-apps[bot] commented on docs/external/ecosystem/TRIAGE-2026-10.md line 67 on 2026-10-04 22:48 UTC

<a href="#"><img alt="P2" src="https://greptile-static-assets.s3.amazonaws.com/badges/p2.svg?v=9" align="top"></a> Clarify shortlist eligibility

This line says issues with open PRs are not scored, but the shortlist scores SDK #5458, #4965, #5354, and goose #12533 while identifying open PRs for each. The conflicting criteria make future triage inconsistent. Clarify when an open PR earns a competition penalty rather than excluding an issue. This documentation concern is non-blocking.

<details><summary><strong>Artifacts</strong></summary><br />

Executed scoring-policy check source

  • The Python script reads each Git revision and checks the four scoring rows, their open-PR reasons, and the exclusion statement, making the check reproducible.

Scoring-policy check before PR #9

  • The check ran against HEAD^ and exited 0, finding four scored issues with open PRs against the stated exclusion.

Scoring-policy check after PR #9

  • The same check ran against HEAD and exited 0, finding the same four contradictions after the documentation change.

<a href="https://app.greptile.com/trex/runs/29205281/artifacts?artifact=66984105-0e84-469f-a8c1-4ec698925459"><picture><source media="(prefers-color-scheme: dark)" srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewArtifactsDark.svg?v=4"><source media="(prefers-color-scheme: light)" srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewArtifacts.svg?v=4"><img alt="View artifacts" src="https://greptile-static-assets.s3.amazonaws.com/badges/ViewArtifacts.svg?v=4"></picture></a> </details>

<sub><a href="https://www.greptile.com/trex"><img alt="T-Rex" src="https://greptile-static-assets.s3.amazonaws.com/trex/trex_green.svg" height="14" align="absmiddle"></a> Ran code and verified through T-Rex</sub>

<details><summary>Prompt To Fix With AI</summary>

This is a comment left during a code review.
Path: docs/external/ecosystem/TRIAGE-2026-10.md
Line: 65

Comment:
**Clarify shortlist eligibility**

This line says issues with open PRs are not scored, but the shortlist scores SDK #5458, #4965, #5354, and goose #12533 while identifying open PRs for each. The conflicting criteria make future triage inconsistent. Clarify when an open PR earns a competition penalty rather than excluding an issue. This documentation concern is non-blocking.

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.

</details>

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

<a href="https://app.greptile.com/ide/claude-code?prompt=This%20is%20a%20comment%20left%20during%20a%20code%20review.%0APath%3A%20docs%2Fexternal%2Fecosystem%2FTRIAGE-2026-10.md%0ALine%3A%2065%0A%0AComment%3A%0A**Clarify%20shortlist%20eligibility**%0A%0AThis%20line%20says%20issues%20with%20open%20PRs%20are%20not%20scored%2C%20but%20the%20shortlist%20scores%20SDK%20%235458%2C%20%234965%2C%20%235354%2C%20and%20goose%20%2312533%20while%20identifying%20open%20PRs%20for%20each.%20The%20conflicting%20criteria%20make%20future%20triage%20inconsistent.%20Clarify%20when%20an%20open%20PR%20earns%20a%20competition%20penalty%20rather%20than%20excluding%20an%20issue.%20This%20documentation%20concern%20is%20non-blocking.%0A%0A---%0A%0AFor%20each%20issue%20above%2C%20determine%20whether%20it%20is%20valid%20and%20should%20be%20fixed.%20If%20so%2C%20fix%20it%20directly.&repo=aien-dev%2Finterplane&pr=9&platform=github"><picture><source media="(prefers-color-scheme: dark)" srcset="https://greptile-static-assets.s3.amazonaws.com/badges/FixInClaudeDark.svg?v=7"><source media="(prefers-color-scheme: light)" srcset="https://greptile-static-assets.s3.amazonaws.com/badges/FixInClaude.svg?v=7"><img alt="Fix in Claude Code" src="https://greptile-static-assets.s3.amazonaws.com/badges/FixInClaude.svg?v=7"></picture></a>

greptile-apps[bot] commented on docs/external/ecosystem/TRIAGE-2026-10.md line 48 on 2026-10-04 22:48 UTC

<a href="#"><img alt="P2" src="https://greptile-static-assets.s3.amazonaws.com/badges/p2.svg?v=9" align="top"></a> Ranks contradict scores

SDK #5458 ranks third with 10 points, ahead of #4965 with 14 and #5354 with 13. The totals follow the stated formula, but no different ordering rule is given. Readers cannot use the numbered shortlist as a reliable score-based priority order. Sort it by score or explain the ranking. This documentation concern is non-blocking.

<details><summary><strong>Artifacts</strong></summary><br />

Executed rank and score check source

  • The uploaded Python source reads each revision, recalculates table totals, detects rank inversions, and prints relevant ranking text; it is the exact source executed for both captures.

Rank check before the triage document was added

  • Running the check against the introducing commit's parent returned exit code 0 and showed that the document was absent, so there was no prior scored ranking to compare.

Rank check with the triage document at HEAD

  • Running the same check against HEAD returned exit code 0 and showed the two SDK rank-score inversions with no stated ordering override, supporting the finding.

<a href="https://app.greptile.com/trex/runs/29205281/artifacts?artifact=2852fe17-b23f-43ed-b238-c619b62138ee"><picture><source media="(prefers-color-scheme: dark)" srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewArtifactsDark.svg?v=4"><source media="(prefers-color-scheme: light)" srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewArtifacts.svg?v=4"><img alt="View artifacts" src="https://greptile-static-assets.s3.amazonaws.com/badges/ViewArtifacts.svg?v=4"></picture></a> </details>

<sub><a href="https://www.greptile.com/trex"><img alt="T-Rex" src="https://greptile-static-assets.s3.amazonaws.com/trex/trex_green.svg" height="14" align="absmiddle"></a> Ran code and verified through T-Rex</sub>

<details><summary>Prompt To Fix With AI</summary>

This is a comment left during a code review.
Path: docs/external/ecosystem/TRIAGE-2026-10.md
Line: 46-48

Comment:
**Ranks contradict scores**

SDK #5458 ranks third with 10 points, ahead of #4965 with 14 and #5354 with 13. The totals follow the stated formula, but no different ordering rule is given. Readers cannot use the numbered shortlist as a reliable score-based priority order. Sort it by score or explain the ranking. This documentation concern is non-blocking.

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.

</details>

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

<a href="https://app.greptile.com/ide/claude-code?prompt=This%20is%20a%20comment%20left%20during%20a%20code%20review.%0APath%3A%20docs%2Fexternal%2Fecosystem%2FTRIAGE-2026-10.md%0ALine%3A%2046-48%0A%0AComment%3A%0A**Ranks%20contradict%20scores**%0A%0ASDK%20%235458%20ranks%20third%20with%2010%20points%2C%20ahead%20of%20%234965%20with%2014%20and%20%235354%20with%2013.%20The%20totals%20follow%20the%20stated%20formula%2C%20but%20no%20different%20ordering%20rule%20is%20given.%20Readers%20cannot%20use%20the%20numbered%20shortlist%20as%20a%20reliable%20score-based%20priority%20order.%20Sort%20it%20by%20score%20or%20explain%20the%20ranking.%20This%20documentation%20concern%20is%20non-blocking.%0A%0A---%0A%0AFor%20each%20issue%20above%2C%20determine%20whether%20it%20is%20valid%20and%20should%20be%20fixed.%20If%20so%2C%20fix%20it%20directly.&repo=aien-dev%2Finterplane&pr=9&platform=github"><picture><source media="(prefers-color-scheme: dark)" srcset="https://greptile-static-assets.s3.amazonaws.com/badges/FixInClaudeDark.svg?v=7"><source media="(prefers-color-scheme: light)" srcset="https://greptile-static-assets.s3.amazonaws.com/badges/FixInClaude.svg?v=7"><img alt="Fix in Claude Code" src="https://greptile-static-assets.s3.amazonaws.com/badges/FixInClaude.svg?v=7"></picture></a>

greptile-apps[bot] reviewed (COMMENTED) on 2026-10-04 22:48 UTC

greptile-apps[bot] wrote on 2026-10-04 22:48 UTC

<h2><a href="https://app.greptile.com/api/retrigger?id=74516243"><picture><source media="(prefers-color-scheme: dark)" srcset="https://greptile-static-assets.s3.amazonaws.com/badges/RetriggerDark.svg?v=2"><source media="(prefers-color-scheme: light)" srcset="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"><img alt="Retrigger" src="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2" align="right"></picture></a>Confidence Score: 4/5</h2>

[Low risk] Documents ecosystem project triage findings.

The documentation inconsistencies should be clarified, but they do not make this change unsafe to merge.

<h2><a href="https://app.greptile.com/ide/claude-code?prompt=%23%23%23%20Issue%201%0Adocs%2Fexternal%2Fecosystem%2FTRIAGE-2026-10.md%3A65%0AThis%20line%20says%20issues%20with%20open%20PRs%20are%20not%20scored%2C%20but%20the%20shortlist%20scores%20SDK%20%235458%2C%20%234965%2C%20%235354%2C%20and%20goose%20%2312533%20while%20identifying%20open%20PRs%20for%20each.%20The%20conflicting%20criteria%20make%20future%20triage%20inconsistent.%20Clarify%20when%20an%20open%20PR%20earns%20a%20competition%20penalty%20rather%20than%20excluding%20an%20issue.%20This%20documentation%20concern%20is%20non-blocking.%0A%0ANote%3A%20If%20this%20suggestion%20doesn't%20match%20your%20team's%20coding%20style%2C%20reply%20to%20this%20and%20let%20me%20know.%20I'll%20remember%20it%20for%20next%20time!%0A%0A%23%23%23%20Issue%202%0Adocs%2Fexternal%2Fecosystem%2FTRIAGE-2026-10.md%3A46-48%0ASDK%20%235458%20ranks%20third%20with%2010%20points%2C%20ahead%20of%20%234965%20with%2014%20and%20%235354%20with%2013.%20The%20totals%20follow%20the%20stated%20formula%2C%20but%20no%20different%20ordering%20rule%20is%20given.%20Readers%20cannot%20use%20the%20numbered%20shortlist%20as%20a%20reliable%20score-based%20priority%20order.%20Sort%20it%20by%20score%20or%20explain%20the%20ranking.%20This%20documentation%20concern%20is%20non-blocking.%0A%0ANote%3A%20If%20this%20suggestion%20doesn't%20match%20your%20team's%20coding%20style%2C%20reply%20to%20this%20and%20let%20me%20know.%20I'll%20remember%20it%20for%20next%20time!%0A%0A---%0A%0AFor%20each%20issue%20above%2C%20determine%20whether%20it%20is%20valid%20and%20should%20be%20fixed.%20If%20so%2C%20fix%20it%20directly.&repo=aien-dev%2Finterplane&pr=9&platform=github"><picture><source media="(prefers-color-scheme: dark)" srcset="https://greptile-static-assets.s3.amazonaws.com/badges/FixAllInClaudeDark.svg?v=7"><source media="(prefers-color-scheme: light)" srcset="https://greptile-static-assets.s3.amazonaws.com/badges/FixAllInClaude.svg?v=7"><img alt="Fix All in Claude Code" src="https://greptile-static-assets.s3.amazonaws.com/badges/FixAllInClaude.svg?v=7" align="right"></picture></a>Findings</h2>

  1. <img alt="P2" src="https://greptile-static-assets.s3.amazonaws.com/badges/p2.svg?v=9" align="top"> Clarify shortlist eligibility <a href="https://github.com/aien-dev/interplane/pull/9#discussion_r4179665908">▶</a>
  2. <img alt="P2" src="https://greptile-static-assets.s3.amazonaws.com/badges/p2.svg?v=9" align="top"> Ranks contradict scores <a href="https://github.com/aien-dev/interplane/pull/9#discussion_r4179665911">▶</a>

<details><summary>Fix with agent prompt</summary>

### Issue 1
docs/external/ecosystem/TRIAGE-2026-10.md:65
This line says issues with open PRs are not scored, but the shortlist scores SDK #5458, #4965, #5354, and goose #12533 while identifying open PRs for each. The conflicting criteria make future triage inconsistent. Clarify when an open PR earns a competition penalty rather than excluding an issue. This documentation concern is non-blocking.

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

### Issue 2
docs/external/ecosystem/TRIAGE-2026-10.md:46-48
SDK #5458 ranks third with 10 points, ahead of #4965 with 14 and #5354 with 13. The totals follow the stated formula, but no different ordering rule is given. Readers cannot use the numbered shortlist as a reliable score-based priority order. Sort it by score or explain the ranking. This documentation concern is non-blocking.

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.

</details>

<details open><summary>Summary</summary>

This PR adds a read-only ecosystem triage with scored contribution opportunities and a selected Jan issue. The shortlist has two non-blocking documentation inconsistencies: it scores issues with open PRs despite saying they are excluded, and some numbered ranks do not follow the scores. </details>

<sub>Reviews (1) · Last reviewed commit: "docs(external): fix policy line refs"</sub>

Fetch it

A git bundle of the pull request's head, 11414 bytes.

curl -fsSL https://interplane.io/drakestapleton/interplane-mv/patches/a8ef11d9deb0230e.bundle -o a8ef11d9deb0230e.bundle
git fetch a8ef11d9deb0230e.bundle refs/pull/9/head

Raw bundle · Diff

Provenance

This proposal is imported from GitHub; it is not signed by its author. Its import statement and source record:

github-import 1
aien-dev/interplane-mv
9
88a8a0e435174154e81451aaa2d1581a479158d4
{"kind":"github-import","owner":"aien-dev","repo":"interplane-mv","number":9,"url":"https://github.com/aien-dev/interplane-mv/pull/9","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:40:13Z","metadata":"unavailable","state_derived":true}

Changes

diff --git a/docs/external/ecosystem/TRIAGE-2026-10.md b/docs/external/ecosystem/TRIAGE-2026-10.md
new file mode 100644
index 0000000..4eaeee7
--- /dev/null
+++ b/docs/external/ecosystem/TRIAGE-2026-10.md
@@ -0,0 +1,76 @@
+# Ecosystem triage, 2026-10 (lane E1)
+
+Scope: refresh four Tier-1 projects, rank open contribution opportunities, pick ONE.
+Phase 1 was read-only: no inference, no GPU, no Ollama, no upstream action.
+Evidence tags: observed (gh output or file:line read), inferred, hypothesized.
+
+## Pinned default-branch commits (all shallow clones in ~/workspace/external/<name>)
+
+| Project | Canonical repo | Pinned SHA | Commit date |
+|---|---|---|---|
+| Jan | janhq/jan | 14a720628f9592c8e60f7e081ef733076db8a6a9 | 2026-10-02 |
+| OpenHands app | OpenHands/OpenHands | 35dc8aafaad2d883cf0c6629dea857eb2235895e | 2026-10-04 |
+| OpenHands SDK | OpenHands/software-agent-sdk | b66c724361571aa5c982883173c71b04739b247d | 2026-10-04 |
+| goose | aaif-goose/goose | 591edd47cf2cfea4957d720c607cf2a4def8673d | 2026-10-04 |
+| Open Interpreter | openinterpreter/open-interpreter | 2767e5f20d6927500b8f1938c773c61afb823245 | 2026-10-02 |
+
+## goose ownership (observed)
+- `gh repo view block/goose` resolves to `aaif-goose/goose` (redirect; org `aaif-goose` created 2026-03-25, `gh api orgs/aaif-goose`).
+- goose/README.md:29 at 591edd4: "goose is part of the [Agentic AI Foundation (AAIF)](https://aaif.io/) at the Linux Foundation."
+- Maintainers: goose/MAINTAINERS.md (Alex Hancock, Bradley Axen, Douwe Osinga, ...). Governance: goose/GOVERNANCE.md.
+
+## AI-contribution policy (hard filter)
+
+| Project | Verdict | Exact source |
+|---|---|---|
+| Jan | SILENT (allowed by default; we disclose anyway) | Checked at 14a7206: CONTRIBUTING.md, src-tauri/CONTRIBUTING.md, .github/pull_request_template.md, no AGENTS.md, CLAUDE.md or CODE_OF_CONDUCT.md anywhere in the tree (find, excluding node_modules). No AI line in any. Local norm: maintainers and contributors disclose AI use in comments (e.g. janhq/jan#8743 comment by Jokasa7, "Disclosure: I used AI-assisted code search"). |
+| OpenHands app | Allowed, with a human section | OpenHands/AGENTS.md:49 "The `HUMAN:` section in PR descriptions is reserved for human contributors only. AI agents must not add to, edit, move, or remove it." PR template (.github/pull_request_template.md:17): AGENT section needs evidence the code "runs properly end-to-end. Just running unit tests is NOT sufficient." Prepared text must leave HUMAN for Drake. |
+| OpenHands SDK | Same pattern | software-agent-sdk/.github/PULL_REQUEST_TEMPLATE.md:12 "AI agents: you must not edit this section."; :20 end-to-end evidence required. |
+| goose | Allowed, no disclosure needed | goose/CONTRIBUTING.md:80-83 "There's no need to tell us you used AI in your work... you are responsible for the final code... We'll close any vibe coded submissions that obviously skip this step." (We disclose anyway.) |
+| Open Interpreter | SILENT on AI; routes core changes to Codex | open-interpreter/.github/pull_request_template.md:4 "We generally do not accept changes to core Codex behavior in this repository." No AI line found in AGENTS.md, template, or CONTRIBUTING (none exists). |
+
+Nobody forbids AI-assisted work. Every prepared PR text discloses AI assistance regardless.
+
+## Competition method
+For each finalist: `gh issue view` (assignees, comments), GraphQL `closedByPullRequestsReferences`, `linkedBranches`, `timelineItems(CROSS_REFERENCED_EVENT)`, and `gh pr list --state all --search <n>`. For the two Jan finalists (#8743, #8975) I ran GraphQL `closedByPullRequestsReferences`, `linkedBranches`, cross-reference timeline and a closed-issue search. For the other projects I used `gh issue view` plus `gh pr list --state all --search <n>` per issue. Run 2026-10-04.
+Finding: the OpenHands repos and goose are saturated; most low-risk bugs have 1-4 competing open PRs, many from AI-driven accounts.
+
+## Shortlist and scores (0-5 each; total = impact + repro + review + relevance + need - competition - scope)
+
+Components: Impact, Repro (on this aarch64 headless box, no GPU for now), Review (small, testable), Rel (INTERPLANE relevance), Need (maintainer demand), Comp (competition penalty), Scope (scope-risk penalty).
+
+| # | Issue | Imp | Repro | Rev | Rel | Need | Comp | Scope | Total |
+|---|---|---|---|---|---|---|---|---|---|
+| 1 | **Jan #8975** duplicate MCP tool names advertised twice (Rust agent) | 3 | 5 | 4 | 5 | 3 | 2 | 2 | **16** |
+| 2 | Jan #8743 MCP tools missing for self-added remote provider | 4 | 2 | 3 | 5 | 4 | 1 | 2 | 15 |
+| 3 | OpenHands SDK #5458 MCP server instructions dropped | 3 | 3 | 3 | 3 | 3 | 4 | 1 | 10 |
+| 4 | SDK #4965 blank text blocks rejected by strict OpenAI-compat | 4 | 4 | 4 | 4 | 4 | 5 | 1 | 14 |
+| 5 | SDK #5354 validation errors split tool-call response | 4 | 4 | 4 | 4 | 3 | 5 | 1 | 13 |
+| 6 | goose #12544 reasoning effort not passed to llama.cpp | 2 | 1 | 3 | 2 | 3 | 1 | 3 | 7 |
+| 7 | goose #12533 tool-result PDF never reaches model | 3 | 3 | 3 | 3 | 3 | 5 | 1 | 9 |
+| 8 | goose #12449 ACP provider switch not atomic | 3 | 2 | 2 | 3 | 3 | 1 | 4 | 8 |
+| 9 | OI #1938 desktop ignores function-calling disablement (Ollama) | 3 | 1 | 1 | 4 | 3 | 1 | 3 | 8 |
+
+Reasons (one line each):
+1. #8975: pure function `assemble_tool_array` (src-tauri/src/core/agent/upstream.rs:919) pushes both tools and keeps one map entry; an existing test already asserts the duplicate (advertised names `["search","search"]`); fully headless, no model. Comp 2: no linked PR or branch (GraphQL), no assignee, but commenter DeepanshuPal (2026-09-27) offered to "take the fix once you pick" and the issue author thinhlpg is active on the epic #8956. Scope 2: issue lists three options and says "Not decided here".
+2. #8743: only one reporter (macOS, LM Studio); Jokasa7's trace of web-app/src/lib/custom-chat-transport.ts (refreshTools :963, shouldEnableTools :1521-1523) found no code path that drops tools; maintainers asked for logs 2026-08-29, no reply. Reproduction on source is not possible yet (hypothesized capability-persistence or list_tools timing). Comp 1: no PR; cross-referenced only by #8793.
+3. SDK #5458: open PR #5468 (2026-10-03) already covers it.
+4. SDK #4965: open PR #4981 (2026-09-12) covers it; OpenHands template needs end-to-end evidence (likely needs inference).
+5. SDK #5354: open PR #5355 covers it.
+6. goose #12544: feature-shaped, needs a live llama.cpp.
+7. goose #12533: PR #12534 open.
+8. goose #12449: design problem across ACP sessions, no repro recipe.
+9. OI #1938: Windows desktop app plus Ollama inference; OI PR template routes core Codex behavior to openai/codex.
+
+HELD, out of ranking despite the scores above (open PR found): SDK #4965 (PR #4981), SDK #5354 (PR #5355), SDK #5458 (PR #5468), goose #12533 (PR #12534). Rows 3, 4, 5, 7 are kept only to show the scoring; effective ranking is #8975 (16), #8743 (15), goose #12449 (8), OI #1938 (8), goose #12544 (7).
+
+Not scored (assigned or has PRs, so out per rule 4): goose #12590, #12556, #12513, #12598, #12669 (all have assignees); OpenHands app #17733 (PR #17735), #17748 (PR #17749), #16978 (4 PRs), #17803 (maintainer drafts SDK#5382/#5383); SDK #5290 (PR #5291).
+
+## INTERPLANE relevance map
+- #8975: Lenshift/Crossveil style invariant (one name, one target, one definition on the wire), Probe fixture.
+- #8743: capability advertisement must survive provider routing (Lenshift, Probe).
+- #4965 / #5354: wire-shape validity for strict providers (Crossveil), tool-call batch integrity (RelayLine).
+
+## Pick
+Jan #8975. Reason: only candidate that is unclaimed by any PR, reproducible headless without a model, in the preferred project, and generically valuable. Risks named above (soft interest by DeepanshuPal; design choice left to maintainers). #8743 stays the mission-named follow-up if more reporter data appears.
+No qualification/ecosystems/ entry is added: no real test evidence against an INTERPLANE build exists yet.
diff --git a/docs/external/jan/8975/PR-TEXT.md b/docs/external/jan/8975/PR-TEXT.md
new file mode 100644
index 0000000..d2d358d
--- /dev/null
+++ b/docs/external/jan/8975/PR-TEXT.md
@@ -0,0 +1,29 @@
+Title: fix(agent): advertise one definition per MCP tool name
+
+Target: janhq/jan, base `main`, head aien-dev/jan `fix/mcp-duplicate-tool-names-8975`.
+
+## Describe Your Changes
+
+- `assemble_tool_array` now advertises each MCP tool name once. When two servers expose the same name, only the definition from the server that `tool_to_server` already routes to is sent (last in sort order, unchanged), and a warning names both servers.
+- Added `the_advertised_array_has_unique_names_and_matches_the_routing_table` (fails on main with `["read","search","search"]`) and updated the earlier collision test, which had asserted the duplicate.
+- This is the "single winner" option from #8975 (the warning is a log line only, so a shadowed tool still silently disappears from the model's view). Cross-server collisions only; a server listing one name twice is not handled.
+- No renaming, so saved prompts, permission lists and the byte-stable array order from #8974 are unaffected. Namespacing (option 1 in #8975) would be a separate decision.
+
+## Fixes Issues
+
+- Closes #8975
+
+## How it was checked
+
+`cd src-tauri && cargo test --locked --no-default-features --features cli --lib -- --test-threads=1`: 2316 passed, 1 failed. The failure (`reload_system_prompt_reads_agents_md_fallback`) also fails on the base commit on my machine and is unrelated.
+Not run end to end against a live provider.
+
+## AI disclosure
+
+This change was prepared with an AI assistant (Claude Code, Sonnet 5.5) and reviewed by the submitter.
+
+## Self Checklist
+
+- [x] Added relevant comments, esp in complex areas
+- [ ] Updated docs (for bug fixes / features)
+- [ ] Created issues for follow-up changes or refactoring needed
diff --git a/docs/external/jan/8975/REPORT.md b/docs/external/jan/8975/REPORT.md
new file mode 100644
index 0000000..a54df17
--- /dev/null
+++ b/docs/external/jan/8975/REPORT.md
@@ -0,0 +1,45 @@
+# Jan #8975: duplicate MCP tool names advertised twice
+
+Project: janhq/jan, default branch pinned at 14a720628f9592c8e60f7e081ef733076db8a6a9 (2026-10-02).
+Issue: https://github.com/janhq/jan/issues/8975 (open, no assignee, no linked PR or branch as of 2026-10-04).
+Fork branch: aien-dev/jan `fix/mcp-duplicate-tool-names-8975` (test 27a66f0, fix c13dfa0, tidy 40b96aa).
+Evidence level: reproduced (unit level), fixed, tested. Not submitted. Drake is the submitter.
+
+## Observed
+- `assemble_tool_array` (src-tauri/src/core/agent/upstream.rs:919 at the pinned SHA) flattens every server's tools into the advertised array and inserts each into `tool_to_server`, a `HashMap<String,String>`. Two servers exposing `search` give two `search` entries in the array and one map entry (last server by sort order wins).
+- The repo's own test `a_tool_name_exposed_by_two_servers_routes_the_same_way_every_run` asserted `advertised_names == ["search","search"]` (upstream.rs:2134 at the pinned SHA), i.e. the duplicate was recorded as known behavior.
+- Reach (observed by grep at the pinned SHA): every Rust request path builds its tool list via `collect_mcp_openai_tools` (upstream.rs:961, which ends in `assemble_tool_array`, :1030): agent loop loop.rs:2964 and :3313, local API proxy proxy.rs:1303. So the fix covers all of them.
+- The web UI path (web-app/src/lib/custom-chat-transport.ts:1098) keys tools by name and warns on collision, so it cannot send duplicates.
+
+## Reproduction (exact commands, aarch64 Linux, headless, no model, no GPU)
+```
+cd ~/workspace/external/jan && git checkout 27a66f0   # test only, on top of 14a7206
+cd src-tauri
+nice -n 19 cargo test --locked --no-default-features --features cli --lib -j4 \
+  the_advertised_array_has_unique -- --test-threads=1
+```
+Result before the fix (observed): FAILED, `left: ["read", "search", "search"] right: ["read", "search"]` "duplicate function names on the wire". Receipt (observed, red.log): `left: [\"read\", \"search\", \"search\"]`, `right: [\"read\", \"search\"]`, `test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 2316 filtered out`.
+
+## Root cause
+Proven by the red test plus source read: no uniqueness step between flatten and push (upstream.rs:919-940 at the pinned SHA). The provider-side effects (strict provider rejects, lenient provider keeps one) are from the issue text and are hypothesized here; not exercised against a real provider.
+
+## Fix (smallest)
+After sorting, record the winning server per tool name (last in sort order, which is exactly what `tool_to_server` already did), advertise only the winner's definition, warn naming both servers. Order stays sorted and byte-stable, nothing depends on HashMap iteration, no listing is dropped on server hiccups (reuse path untouched). The old test now asserts `["search"]`.
+Design note for the maintainers: the issue lists three options (namespace, reject-and-warn, first-wins) and says "Not decided here". This branch keeps today's routing winner and removes the shadowed duplicate; it does not rename tools (no breaking change). If maintainers prefer namespacing, the new test (unique names, array matches routing table) still applies unchanged.
+
+## Regression
+Full lib suite in cli mode: 2316 passed, 1 failed. Receipt (observed, green.log): `test result: FAILED. 2316 passed; 1 failed`, the one failure being the unrelated test named below. The one failure, `core::cli::tui::tests::reload_system_prompt_reads_agents_md_fallback`, also fails on the unmodified base 14a7206 on this machine (observed), so it is unrelated (likely an AGENTS.md in a parent directory of this box). `cargo fmt --check` shows no diff in lines touched by this change; other files and lines already differ at the base.
+Command: `cargo test --locked --no-default-features --features cli --lib -- --test-threads=1` (the exact CI command, jan .github/workflows/rust-check.yml:121).
+
+## Scope
+Cross-server collisions only. Two edits in one file: `assemble_tool_array` and one test (+ old test assertion). No API, schema or naming change.
+
+## Design choice, stated plainly
+This is the issue's "single winner" option, not "reject and warn": the warning is only a log line, so a shadowed tool still disappears from the model's view without a user-visible error. Maintainers may prefer namespacing or a visible error. Also not covered: one server listing the same name twice (invalid per MCP, not addressed).
+
+## Not done / waiting
+- No end-to-end run through `jan` against a real or fake provider with two MCP servers. A fake OpenAI-compatible endpoint recording the request body (no model) could add that; needs a built `jan` CLI plus two stdio MCP servers. Optional follow-up, no INFERENCE OK needed.
+- Upstream submission: Drake's button (buttons row 4).
+
+## INTERPLANE lesson (one generic invariant)
+A tool namespace must be injective on the wire: the advertised tool list must contain each callable name once, and the definition the model reads must be the one the call routes to.