René's URL Explorer Experiment


Title: mcpx: Phase 1 of #2434 — structured upstream-error carriage through the gateway + local-error origin marker · Issue #2435 · developing-today/code · GitHub

Open Graph Title: mcpx: Phase 1 of #2434 — structured upstream-error carriage through the gateway + local-error origin marker · Issue #2435 · developing-today/code

X Title: mcpx: Phase 1 of #2434 — structured upstream-error carriage through the gateway + local-error origin marker · Issue #2435 · developing-today/code

Description: Phase 1 of design #2434 (mcpx error honesty, finished). Design doc: files/designs/code-mcpx-error-honesty.md in the keep-the-four-repos-healthy goal workspace. The decisions are recorded on #2434; this phase implements its first slice. S...

Open Graph Description: Phase 1 of design #2434 (mcpx error honesty, finished). Design doc: files/designs/code-mcpx-error-honesty.md in the keep-the-four-repos-healthy goal workspace. The decisions are recorded on #2434; ...

X Description: Phase 1 of design #2434 (mcpx error honesty, finished). Design doc: files/designs/code-mcpx-error-honesty.md in the keep-the-four-repos-healthy goal workspace. The decisions are recorded on #2434; ...

Opengraph URL: https://github.com/developing-today/code/issues/2435

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.3


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"mcpx: Phase 1 of #2434 — structured upstream-error carriage through the gateway + local-error origin marker","articleBody":"Phase 1 of design #2434 (mcpx error honesty, finished). Design doc: `files/designs/code-mcpx-error-honesty.md` in the keep-the-four-repos-healthy goal workspace. The decisions are recorded on #2434; this phase implements its first slice.\n\n## Scope\n\nOne structured error carriage through the gateway, so a peer's error reaches the client as that peer's error, and mcpx's own errors are recognisably mcpx's:\n\n- The daemon `/v1` call reply gains a structured upstream-error field (code, message, data), populated whenever the pool/client layer holds a real JSON-RPC error from the upstream. Today the failure is flattened to text (`internal/daemon/routes_proto.go` `ToolFailure` path) and `internal/cli/serve_ask.go` (~L225-255) rebuilds an `UpstreamError` by guessing at that text, with one structured special case (-32021, serve_ask.go:241).\n- The gateway/MCP path consumes the structured field and relays it verbatim via the existing `UpstreamError` mechanism (`internal/mcpserver/capability.go`). The text-reconstruction heuristics are deleted for any reply carrying the structured field; they remain only as fallback for replies that don't (older daemon / non-JSON-RPC failure). The daemon batch path's text-only `isError` surfacing is in scope where it carries the same replies.\n- mcpx's OWN locally-minted errors (its -32602 name checks, -32603 internal failures, policy refusals) go through one minting helper that stamps `error.data` with the origin marker `\"mcpx\": {\"origin\": \"local\"}` (merged into any existing data). Peer errors are relayed untouched and never gain the marker.\n\n## Acceptance\n\n- [ ] A pass-through upstream error and the same error via the gateway (`mcpx_call`) reach the client with identical code, message and data — pinned by a parity test\n- [ ] An upstream -32021 relayed through the gateway keeps its `data.requiredCapabilities` intact without the serve_ask special case\n- [ ] Every error mcpx mints itself on the MCP surface carries the origin marker in `data`; no relayed peer error carries it\n- [ ] Replies without the structured field (older daemon shape) still surface as before via the text fallback\n- [ ] Tests run via CI per fleet policy (no builds on the sandbox)\n\nOut of scope: the dispatch gate (Phase 2), -32021 production (Phase 3), any change to which errors mcpx mints — only their carriage and marking.\n\n## Acceptance criteria\n\n- Daemon `/v1` call replies carry a structured upstream-error field (code, message, data) whenever the pool/client layer holds a real JSON-RPC error from upstream.\n- The gateway/MCP path relays that structured error verbatim via the existing `UpstreamError` mechanism; the text-reconstruction heuristics are deleted for replies carrying the field and remain only as fallback for replies without it.\n- Tests cover the structured relay end-to-end, the no-field fallback path, and the existing -32021 special case behaving identically through the structured path.\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-10-29T21:34:38Z","url":"https://github.com/developing-today/code/issues/2435"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:26f106c9-6e99-e8e3-b942-7f8958d45f8c
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA488:113BA5:2E75E0:3E20FA:6B06180D
html-safe-noncecd934901e7c6cc3c7f6ca920ecadad37f8f53cf5144d2487482ffea681af1b36
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNDg4OjExM0JBNToyRTc1RTA6M0UyMEZBOjZCMDYxODBEIiwidmlzaXRvcl9pZCI6IjMzMjE4NzkzMDc5ODI2MDgzOTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmaca8816a1e5b57503bd405235d3b7e8a629403810e95f3531da84dd7ea80d9c16e
hovercard-subject-tagissue:6108902746
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/developing-today/code/2435/issue_layout
twitter:imagehttps://opengraph.githubassets.com/c7d248a3669c98dfac7fed3da7bfeffe812c06d943cfde3540043d8405dae4e4/developing-today/code/issues/2435
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c7d248a3669c98dfac7fed3da7bfeffe812c06d943cfde3540043d8405dae4e4/developing-today/code/issues/2435
og:image:altPhase 1 of design #2434 (mcpx error honesty, finished). Design doc: files/designs/code-mcpx-error-honesty.md in the keep-the-four-repos-healthy goal workspace. The decisions are recorded on #2434; ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedezren39
hostnamegithub.com
expected-hostnamegithub.com
None97d4714e567728e1f85f88b0cf68c89f0f8a3dc41e8869af7aeb8195ad990374
turbo-cache-controlno-preview
go-importgithub.com/developing-today/code git https://github.com/developing-today/code.git
octolytics-dimension-user_id26439447
octolytics-dimension-user_logindeveloping-today
octolytics-dimension-repository_id627308783
octolytics-dimension-repository_nwodeveloping-today/code
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id627308783
octolytics-dimension-repository_network_root_nwodeveloping-today/code
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release866f202ebf7ac5aff8f633417d9fd8a53818a977
ui-targetcanary-1
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/developing-today/code/issues/2435#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdeveloping-today%2Fcode%2Fissues%2F2435
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdeveloping-today%2Fcode%2Fissues%2F2435
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=developing-today%2Fcode
Reloadhttps://github.com/developing-today/code/issues/2435
Reloadhttps://github.com/developing-today/code/issues/2435
Reloadhttps://github.com/developing-today/code/issues/2435
developing-todayhttps://github.com/developing-today
codehttps://github.com/developing-today/code
Codehttps://github.com/developing-today/code
Issues1.1k (1.1k)https://github.com/developing-today/code/issues
Pull requests144 (144)https://github.com/developing-today/code/pulls
Discussionshttps://github.com/developing-today/code/discussions
Actionshttps://github.com/developing-today/code/actions
Projectshttps://github.com/developing-today/code/projects
Wikihttps://github.com/developing-today/code/wiki
Security and qualityhttps://github.com/developing-today/code/security
Insightshttps://github.com/developing-today/code/insights
https://github.com/developing-today/code
New issuehttps://github.com/login?return_to=https://github.com/developing-today/code/issues/2435
New issuehttps://github.com/login?return_to=https://github.com/developing-today/code/issues/2435
#9038https://github.com/developing-today/code/pull/9038
mcpx: Phase 1 of #2434 — structured upstream-error carriage through the gateway + local-error origin markerhttps://github.com/developing-today/code/issues/2435#top
#9038https://github.com/developing-today/code/pull/9038
https://github.com/dezren39
app/mcpxhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22app%2Fmcpx%22
epic/mcpx-platformhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22epic%2Fmcpx-platform%22
kind/enhancementhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22kind%2Fenhancement%22
priority/normalhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22priority%2Fnormal%22
source/design-architecthttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22source%2Fdesign-architect%22
status:donehttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%3Adone%22
task/small-fixhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22task%2Fsmall-fix%22
mcpx platform programhttps://github.com/developing-today/code/milestone/10
https://github.com/dezren39
dezren39https://github.com/dezren39
on Oct 29, 2026https://github.com/developing-today/code/issues/2435#issue-6108902746
#2434https://github.com/developing-today/code/issues/2434
#2434https://github.com/developing-today/code/issues/2434
Nexthttps://github.com/developing-today/code/issues/2435?timeline_page=1
dezren39https://github.com/dezren39
task/triagehttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22task%2Ftriage%22
status/needs-triagehttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%2Fneeds-triage%22
priority/normalhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22priority%2Fnormal%22
on Oct 29, 2026https://github.com/developing-today/code/issues/2435#event-34634848344
https://github.com/apps/developing-today
developing-todayhttps://github.com/apps/developing-today
on Oct 29, 2026https://github.com/developing-today/code/issues/2435#issuecomment-6508861976
developing.todayhttps://kaneo.security.cab
CODE-1242https://kaneo.security.cab/dashboard/workspace/6oQgIkST0YGrCcxrnhbHPOUCfgdD3cqE/project/pfcq432h349r20up18gttfv4/task/yufohkfn4414b6pr368nm16v
dezren39https://github.com/dezren39
queue/queuedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fqueued%22
app/mcpxhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22app%2Fmcpx%22
effort/mhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22effort%2Fm%22
kind/enhancementhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22kind%2Fenhancement%22
source/design-architecthttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22source%2Fdesign-architect%22
on Oct 29, 2026https://github.com/developing-today/code/issues/2435#event-34634849453
dezren39https://github.com/dezren39
on Oct 29, 2026https://github.com/developing-today/code/issues/2435#event-34634912382
design(mcpx): error honesty, finished — peer errors relayed as peer errors, unadvertised methods refused, -32021 when a capability is truly required #2434https://github.com/developing-today/code/issues/2434
https://github.com/dezren39
dezren39https://github.com/dezren39
on Oct 29, 2026https://github.com/developing-today/code/issues/2435#issuecomment-6508913473
#2434https://github.com/developing-today/code/issues/2434
#2434https://github.com/developing-today/code/issues/2434
github-actionshttps://github.com/apps/github-actions
dezren39https://github.com/dezren39
on Oct 29, 2026https://github.com/developing-today/code/issues/2435#event-34636044215
dezren39https://github.com/dezren39
meta/enrichedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22meta%2Fenriched%22
on Oct 30, 2026https://github.com/developing-today/code/issues/2435#event-34645661018
https://github.com/dezren39
dezren39https://github.com/dezren39
on Oct 30, 2026https://github.com/developing-today/code/issues/2435#issuecomment-6511843382
design(mcpx): error honesty, finished — peer errors relayed as peer errors, unadvertised methods refused, -32021 when a capability is truly required #2434https://github.com/developing-today/code/issues/2434
mcpx: Phase 2 of #2434 — advertised-capability gate at dispatch (-32601 for completion/complete pre-2025-03-26 and resources/subscribe when not advertised) #2436https://github.com/developing-today/code/issues/2436
mcpx: Phase 3 of #2434 — -32021 when no broker audience can answer + error-register truth-up (ERR-08, conflict #8, three gap rows) #2438https://github.com/developing-today/code/issues/2438
5a34fa7https://github.com/developing-today/code/commit/5a34fa707001f297fd963ea7b8a33d0eb8b7951c
ci: merge queue ejects every PR — no merge since #2233 (10:57Z), entries dropped 2-6 min into AWAITING_CHECKS #2403https://github.com/developing-today/code/issues/2403
dezren39https://github.com/dezren39
work/assignedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22work%2Fassigned%22
on Oct 30, 2026https://github.com/developing-today/code/issues/2435#event-34687514814
dezren39https://github.com/dezren39
mcpx platform programhttps://github.com/developing-today/code/milestone/10
on Nov 12, 2026https://github.com/developing-today/code/issues/2435#event-35883524139
https://github.com/dezren39
dezren39https://github.com/dezren39
on Nov 12, 2026https://github.com/developing-today/code/issues/2435#issuecomment-6836267853
#9038https://github.com/developing-today/code/pull/9038
#9017https://github.com/developing-today/code/issues/9017
dezren39https://github.com/dezren39
queue/claimedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fclaimed%22
status/in-progresshttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%2Fin-progress%22
work/assignedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22work%2Fassigned%22
status:in-reviewhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%3Ain-review%22
on Nov 12, 2026https://github.com/developing-today/code/issues/2435#event-35968591496
https://github.com/apps/developing-today
developing-todayhttps://github.com/apps/developing-today
on Nov 12, 2026https://github.com/developing-today/code/issues/2435#issuecomment-6837617777
developing.todayhttps://kaneo.security.cab
mcpx: structured upstream-error carriage on the ask path + local-error origin marker (#2435) #9038https://github.com/developing-today/code/pull/9038
bad7d6ahttps://github.com/developing-today/code/commit/bad7d6aea233620a7e763038d2d843fd5ba6d421
mcpx: Phase 1 of #2434 — structured upstream-error carriage through the gateway + local-error origin marker #2435https://github.com/developing-today/code/issues/2435
mcpx baseline: four tests red on main (settings docs/scriptenv + e2e envguard classification) #9017https://github.com/developing-today/code/issues/9017
mcpx: structured upstream-error carriage on the ask path + local-error origin marker (#2435) #9038https://github.com/developing-today/code/pull/9038
mcpx: Phase 1 of #2434 — structured upstream-error carriage through the gateway + local-error origin marker #2435https://github.com/developing-today/code/issues/2435
mcpx: structured upstream-error carriage on the ask path + local-error origin marker (#2435) #9038https://github.com/developing-today/code/pull/9038
dezren39https://github.com/dezren39
on Nov 12, 2026https://github.com/developing-today/code/issues/2435#event-35969781522
fix(mcpx): preserve relay provenance through tasks; stamp transport-l…https://github.com/developing-today/code/commit/16959a385377364fa83853175c259e4194956333
16959a3https://github.com/developing-today/code/commit/16959a385377364fa83853175c259e4194956333
Merge pull request #9038 from developing-today/queue/8625-2435-ask-up…https://github.com/developing-today/code/commit/ca0b69119e5e2bb834ab8e8e21bf85619ed315f3
#9038https://github.com/developing-today/code/pull/9038
ca0b691https://github.com/developing-today/code/commit/ca0b69119e5e2bb834ab8e8e21bf85619ed315f3
dezren39https://github.com/dezren39
completedhttps://github.com/developing-today/code/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#9038https://github.com/developing-today/code/pull/9038
on Nov 12, 2026https://github.com/developing-today/code/issues/2435#event-35970426930
developing-todayhttps://github.com/apps/developing-today
status:donehttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%3Adone%22
on Nov 12, 2026https://github.com/developing-today/code/issues/2435#event-35970433464
dezren39https://github.com/dezren39
status/in-progresshttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%2Fin-progress%22
queue/claimedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fclaimed%22
work/assignedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22work%2Fassigned%22
on Nov 12, 2026https://github.com/developing-today/code/issues/2435#event-35970501519
https://github.com/apps/developing-today
developing-todayhttps://github.com/apps/developing-today
on Nov 12, 2026https://github.com/developing-today/code/issues/2435#issuecomment-6838113792
developing.todayhttps://kaneo.security.cab
#9038https://github.com/developing-today/code/pull/9038
ca0b691https://github.com/developing-today/code/commit/ca0b69119e5e2bb834ab8e8e21bf85619ed315f3
#2435https://github.com/developing-today/code/issues/2435
#9038https://github.com/developing-today/code/pull/9038
16959a3https://github.com/developing-today/code/commit/16959a385377364fa83853175c259e4194956333
#2438https://github.com/developing-today/code/issues/2438
Sign up for freehttps://github.com/signup?return_to=https://github.com/developing-today/code/issues/2435
Sign in to commenthttps://github.com/login?return_to=https://github.com/developing-today/code/issues/2435
dezren39https://github.com/dezren39
app/mcpxhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22app%2Fmcpx%22
epic/mcpx-platformhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22epic%2Fmcpx-platform%22
kind/enhancementhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22kind%2Fenhancement%22
priority/normalhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22priority%2Fnormal%22
source/design-architecthttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22source%2Fdesign-architect%22
status:donehttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%3Adone%22
task/small-fixhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22task%2Fsmall-fix%22
mcpx platform programNo due datehttps://github.com/developing-today/code/milestone/10
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.