[Task] Track remaining Agent Gateway and MCP delivery priorities
Description
Track the remaining Agent Gateway/MCP capabilities needed to complete the current delivery roadmap. The preceding protocol, identity, request/terminal-context and interop work is development-complete. This does not assert that every related PR has merged: #7860, #7864 and #7921 were still open when checked. Reuse their accepted contracts and coordinate the integration baseline rather than rebuilding those features or silently depending on unpublished changes.
Remaining task list
Governance and reliability (P1-06 to P1-10)
- [ ] P1-06 Unified invocation auditing: #7950 - one correlated, privacy-preserving decision/terminal audit record per logical invocation. Requires the completed identity and request/terminal-context contracts.
- [ ] P1-07 Resource admission: #7951 - local, global and per-server in-flight limits with bounded queues. Requires the request/terminal-context and runtime-observability contracts.
- [ ] P1-08 Catalog recovery: #7952 - managed catalog freshness, bounded refresh, recovery and credential re-resolution. Requires #7951; coordinate with #7935 without implementing contract pinning here.
- [ ] P1-09 HTTPS connectivity: #7953 - controlled DNS/service-discovery targets and credential rotation/revocation. Requires #7951 and the completed protocol/identity boundaries.
- [ ] P1-10 Session recovery: #7954 - remote session expiry/404 recovery and verified legacy session-level gaps. Requires #7951 and #7952.
Metering, policy and quotas (P1-11 to P1-14)
- [ ] P1-11 Usage metering: #7955 - shared per-attempt, protocol-aware LLM usage collection. Requires #7950 and the completed request/terminal-context contracts; coordinate with #7911 and PR #7937.
- [ ] P1-11 Cost acceptance (reuse): #7934 - existing versioned pricing, usage ledger and estimated cost attribution. Together with #7955, this completes the metering/cost capability. Do not create a second ledger.
- [ ] P1-12 Decision contract: #7956 - shared shadow/enforce, reason-code, audit and metric semantics. Requires #7950; execution integration ships with #7957 and #7958.
- [ ] P1-13 MCP quotas: #7957 - distributed tenant/subject invocation and concurrency admission. Requires #7951 and #7956; reuse #7950 audit vocabulary.
- [ ] P1-14 Token/cost budgets: #7958 - identity-scoped multidimensional token/cost budgets beyond the existing reservation foundation. Requires accepted #7955 and #7934, #7956 and the #7702 / PR #7848 foundation. Reuse #7957 atomic-admission lessons without creating another settlement store.
Lower-priority capability (P2/P3)
- [ ] P2-16 Prompts aggregation: #7959 - authorized local and remote prompts list/get with bounded aggregation. Requires #7951 and #7952; SDK migration is a prerequisite only when its trigger is demonstrated.
The checkboxes track accepted delivery, not issue creation. Shared prerequisites may be designed in parallel, but feature publication must state unmerged dependencies. Each child issue includes background, reuse boundaries, implementation scope, non-goals, acceptance criteria, tests and dependencies.
Existing ownership and reuse
- #7934 owns the usage ledger, versioned pricing and estimated cost attribution. #7911 and PR #7937 own the OpenAI Responses usage bug. Additional work must be limited to shared protocol-aware per-attempt metering and integration gaps.
- #7702 and PR #7848 own opt-in token reservations and reconciliation. Reuse that foundation; only identity-scoped, multidimensional token/cost policy and shadow/enforce integration belong to the follow-up.
- Catalog freshness/recovery is separate from #7935 contract diffs, approval and pinning. A refresh generation is not a stable tool-contract version.
- Existing resources PR #7669 is independent earlier work and is not a newly scheduled implementation.
Conditional and deferred work
- P2-15 SDK migration: no implementation task until a selected protocol/client compatibility requirement or dependency-maintenance requirement is demonstrated. Assess MCP BOM, Spring AI and Java/Spring compatibility and public replacements for private reflection; an upgrade alone does not prove compatibility or remove reflection. Reprioritize before a dependent feature only when triggered.
- P3-17 Additional resources capability: defer new resources work until a concrete file/knowledge-base use case identifies a gap beyond existing resources work. Do not recreate #7669 or assume its existence completes every future resources requirement.
Tracking rules
One coherent feature per implementation PR; explicit dependencies; no assignees set by this tracker. Keep authentication, authorization and base resource protection independent of shadow mode. Extend the existing interop regression matrix rather than creating a competing harness. No checkbox is completed merely because code is proposed or an issue is linked.
Repository evidence baseline: master 87c22dde7be14c1c3755440a4d8b082a86d10a87; open PRs are proposals until merged and verified. Spring AI is a reuse instruction where applicable, not a reason to replace the current native AI Proxy paths.
Repository metadata follow-up
Only existing labels were requested: type: enhancement for this tracker and its children; mcp for the tracker and MCP/governance children; plugin:ai for #7955 and #7958. Creation succeeded but GitHub did not retain the labels. A direct labels request returned HTTP 403, so a maintainer must apply them; no new labels or assignees were created.
The native sub-issue attachment endpoint returned HTTP 404. The Markdown checklist, child-to-parent links and explicit dependency links above are the active tracking structure; native parent-child metadata is not claimed.
Design gates retained for implementation
- #7953 must establish the concrete approved hostname/discovery and revocation policy before expanding network access.
- #7955 and #7934 must agree the shared usage event and actual provider/protocol acceptance matrix; choose an operator-owned price source, currency and versioning policy for cost acceptance. Unsupported routes are not assumed implemented.
- #7957 and #7958 must document quota dimensions, Redis-outage behavior and soft-budget exposure before enforcement. Existing contributors retain ownership of #7911/#7937 and #7702/#7848.
- SDK migration needs an evidenced protocol/client or maintenance trigger; additional resources work needs a concrete unmet resource-reading use case. Neither has an implementation issue scheduled here.