Skip to content

feat: publish machine-readable portfolio discovery - #619

Merged
imokokok merged 3 commits into
mainfrom
wt/feat-base-discovery-metadata
Nov 17, 2026
Merged

imokokok merged 3 commits into
mainfrom
wt/feat-base-discovery-metadata

Conversation

@imokokok

Copy link
Copy Markdown
Owner

Summary

  • add one canonical Insight + PriorSeal capability catalog
  • expose Base ERC-8004 registration, agentId 1201765, and ERC-8021 Builder Code
  • point A2A, ERC-8004, x402, llms.txt, and Bazaar discovery to the same source
  • preserve HyperEVM fields and execution semantics

Verification

  • targeted Jest: 22 passed
  • TypeScript check: passed
  • production custom-domain endpoints verified after Vercel deployment

Deployment was verified at https://www.oracleinsight.xyz/.well-known/portfolio-capabilities.json

@imokokok
imokokok enabled auto-merge (rebase) November 17, 2026 08:23
Glama scores the connector A3.7/5.0 largely on tool-surface bloat: 20
advertised names where only 4 canonical product tools exist, with 16
deprecated aliases mirroring them one-for-one (Tool Count 2/5,
Disambiguation 2/5). Discovery surfaces are also the highest-leverage
inbound channels (Glama alone drives most MCP discovery), so the
advertised list now carries trade_guard, trade_proof,
oracle_watch_window and position_lifecycle only.

Behaviour is unchanged for every caller:
- The aliases stay in UNIFIED_TOOL_BY_NAME and resolve through
  canonicalizeAlias at the JSON-RPC boundary, so hardcoded old names
  keep working (and keep pricing/billing/scope on the canonical tool).
- The advertised removal contract is honoured: alias names stop
  resolving on LEGACY_TOOL_REMOVAL_DATE (2027-01-06) and Unknown-tool
  errors name the date.
- Schema + x402 scope validation now runs over UNIFIED_RESOLVABLE_TOOLS
  (the superset), so nothing unadvertised escapes validation.
- MCP_TOOL_PROFILE=legacy rollback is untouched.

generatedCatalog.json and the mcp server-card regenerate accordingly
(-1386 lines each).
auto-merge was automatically disabled November 17, 2026 08:29

Rebase failed

@imokokok
imokokok force-pushed the wt/feat-base-discovery-metadata branch from ef5882e to 3c52850 Compare November 17, 2026 08:37
@imokokok
imokokok enabled auto-merge (rebase) November 17, 2026 08:37
@imokokok
imokokok merged commit 7e5c7f7 into main Nov 17, 2026
8 checks passed
@imokokok
imokokok deleted the wt/feat-base-discovery-metadata branch November 17, 2026 08:41
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