Skip to content

TOOLS-150: define keyed configuration v2 exports - #185

Merged
averycrespi merged 3 commits into
avery/tools-149-stable-resource-keysfrom
avery/tools-150-config-v2
Nov 14, 2026
Merged

averycrespi merged 3 commits into
avery/tools-149-stable-resource-keysfrom
avery/tools-150-config-v2

Conversation

@averycrespi

@averycrespi averycrespi commented Nov 7, 2026 •

Copy link
Copy Markdown
Owner

Context

TOOLS-150 is ticket 2 of the seven-ticket stack. This PR targets avery/tools-149-stable-resource-keys at accepted predecessor dd0af008b7c6335f62144e22a12b6994a6ba579b, not main. Configuration files are reusable creation input, not ongoing source of truth, updates or reconciliation instructions.

Changes

  • Define one strict v2 individual/bundle contract with mandatory stable keys, including grants; typed dependency references; explicit routing singleton and fixed synthetic MCP target.
  • Add backend single-definition and coherent full-gateway exports, retaining expired/duplicate grants, deleted definitions and permanent key/namespace reservations without secret material or runtime/history authority.
  • Add validated shared comparison preserving lexical numbers, ordered values and meaningful omission/default distinctions, plus future import fixtures.
  • Preserve native HTTP/Git credential limits independently: 1,024 live-plus-deleted definitions, 256 live definitions and separate permanent key-only reservations. Regression coverage includes the boundary cases and exact OAuth credential requirements.

Review Notes

Independent full-scope review and focused blocker confirmation are complete, with no remaining material findings. Review the incremental diff from the stated predecessor. No online import mutation, ordinary CLI/frontend controls, implicit grants, skip-identical/update mode, merge, deployment or restack is included.

The current v1 HTTP/CLI export and stopped init --from remain paired temporarily. TOOLS-151 owns online import and the final v1/init-from retirement and v2 cutover. Backend v2 exports do not work with old init-from; there is no translator or permanent second format. Authored nonsecret strings retain their accidental-secret caveat; explicit secret slots remain requirements only. Retained inactive targets/reservations never grant access or resurrect resources.

Test Plan

  • Passed focused race-enabled v2/schema/export and existing contract/import suites, owning domain/credential integrations, source/security guards and documentation acceptance.
  • Passed make -C agent-gateway verify, normal commit hooks and npm run format:check.
  • Full outgoing three-commit incremental history and exact publication metadata secret scans passed without exclusions. Unsuppressed local govulncheck found no called/imported-package vulnerabilities; two module-only advisories were uncalled per scanner. Exact-head hosted vulnerability qualification also passed.
  • All 19 required target-applicable PR checks passed on 61a3394d44e3b3cf9e056c187f5852b2094c6fe3, including Required, Docker, frontend, both-platform integration/harness/demo, E2E and vulnerability owners: CI run 42359742239.

Hosted Docker evidence does not qualify installed services or live client adoption. Human review and merge remain downstream.

@averycrespi
averycrespi marked this pull request as ready for review November 7, 2026 09:41
@averycrespi
averycrespi added this pull request to stack #191 November 14, 2026 02:42
@averycrespi
averycrespi merged commit c3b3998 into main Nov 14, 2026
19 checks passed
@averycrespi
averycrespi deleted the avery/tools-150-config-v2 branch November 14, 2026 02:42
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