Repository navigation
Conversation
…ackage The public agent package listed pcc_generate_ui with the endpoint http://localhost:3200/api/generate. That is pcc-node's local UI server (packages/pcc-node/pcc_node/ui_server.py), not a gateway route. Every external agent that called the tool was sent to its own machine, and so was the gateway's /mcp, which advertises the package's tools. genui ruled the tool node-local (bus #2313): remove it from the public package rather than repoint it, because a relative /api/generate would 404 on the gateway. - apps/dashboard/public/agent-package.json: remove the entry; version 2.19.2; toolCount and metadata.tool_count both set to tools.length (252). metadata.tool_count had drifted to 254. - scripts/polish-agent-package-claude-max.mjs: TARGET_VERSION 2.19.0 -> 2.19.2. The committed pack was already 2.19.1, so the canonical writer would have downgraded it on its next run. - packages/gateway/src/__tests__/agent-package-public-endpoints.test.ts: every tool endpoint must be a relative gateway path; pcc_generate_ui is absent from the package and from the real /mcp tools/list; /mcp advertises every package tool. Ledger R43 part (a), former N16 (steward #2449). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Owner
Author
|
Folded into #452 as bd2f714 (head f282e9e), per the steward (#4191) and adk (#4244); adk is the single writer of agent-package.json. Checked on f282e9e:
Closing this PR. The branch stays. |
LamaSu
added a commit
that referenced
this pull request
Oct 3, 2026
fix(agent-pack): only true statements, attempt reporting, #427 folded in, the operator's thesis (ADK item 2: N75, N76, rehearsal R0, contract v1)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
The public agent package listed
pcc_generate_uiwith the endpointhttp://localhost:3200/api/generate. That URL is pcc-node's local UI server (packages/pcc-node/pcc_node/ui_server.py:88). The gateway has no such route. So every external agent that called this tool, and the gateway's/mcp(which advertises the package's tools), was sent to its own machine.This PR removes the tool from the public package. It doesn't repoint it: a relative
/api/generatewould just 404 on the gateway. genui owns the tool and asked for removal (bus #2313). Agents that want UI use the governed rendererrender_pcc_dashboard.Ledger R43 part (a), former N16. Draft allowed by the steward (#2449). Merging is the operator's call.
Changes (3 files)
apps/dashboard/public/agent-package.jsonuifield.2.19.1→2.19.2.toolCountandmetadata.tool_countboth equaltools.length(252).metadata.tool_counthad drifted to 254.JSON.stringify(…, 2), which I checked reproduces it byte-for-byte, so the diff is only the change.scripts/polish-agent-package-claude-max.mjs:TARGET_VERSIONgoes2.19.0→2.19.2. The committed pack was already at 2.19.1, so the canonical writer would have downgraded it on its next run.packages/gateway/src/__tests__/agent-package-public-endpoints.test.ts(new):pcc_generate_uiisn't in the package;/mcptools/list, driven through its handshake, doesn't advertise it, and does advertise every package tool;Evidence
Run in an isolated worktree on the DGX Spark.
pcc_generate_ui -> {"method":"POST","path":"http://localhost:3200/api/generate"}; the other 252 tools already pass.PCC_AGENT_PACKAGE_PATHpointed at master's package, the real/mcptools/listreturns 255 tools, includingpcc_generate_ui, and the test fails./mcpsuite (auto-feedback, well-known-aeo, tool-search, snippet, contributors, http-mcp, mcp-apps, docs-mcp, mcp-typed-operations, mcp-apps-assets, pizza-llm-bootstrap), 12 files and 175 of 175 tests pass. Re-run 2026-09-28.capture.test.ts,capture-3d.test.ts: "Failed to load url@pcc/verifier/dist/…"). That's the unbuilt workspacedist/in my worktree, not a test failure; CI builds before it tests.tsconfigexcludessrc/__tests__/**, and no other.tsfile changed.After merge
update-agent-package-v2.13/v2.14/v2.19) still stamp old versions if someone runs them. R43 part (c) collapses the writers into one and retires them.Review
Board rule (1) requires cross-family review for Gate A/B rows and for anything touching money, evidence, assurance, auth or physical safety. This is a Gate C row and touches none of those. I'll build a review pack if the steward wants one.
🤖 Generated with Claude Code