Skip to content

TOOLS-155: add System Configuration import and export - #190

Merged
averycrespi merged 1 commit into
avery/tools-154-resource-config-uifrom
avery/tools-155-system-configuration
Nov 14, 2026
Merged

averycrespi merged 1 commit into
avery/tools-154-resource-config-uifrom
avery/tools-155-system-configuration

Conversation

@averycrespi

Copy link
Copy Markdown
Owner

Context

Final ticket (7/7) in the TOOLS-149–155 serial stack. Targets avery/tools-154-resource-config-ui / #189, not main; the incremental base is 6dd7cdc638356df1efb1242addd200a72f708b55. Earlier branches remain unchanged and all seven PRs remain for human review and ordered merging.

System needs a discoverable destination for reusable v2 graph creation without turning individual resource import into bulk updates or reconciliation.

Changes

  • Add System → Configuration with shared paste/UTF-8 upload, online validation, complete typed-key/dependency/setup preview, explicit confirmation and atomic create-only import. Preserve drafts after known rejection and prohibit replay after unknown outcomes.
  • Separate committed resources/reservations from missing material, pending activation and failed startup; retain existing internal-ID navigation and resource-only controls.
  • Offer adjacent whole-gateway Copy/Download using exact backend bytes, including expired/duplicate grants, deleted targets and permanent reservations. No filters, traversal, remapping, implicit grants or expiry renewal.
  • Update operator/design guidance and generated assets; add foundation, mocked Chromium and independent real-source → fresh-target browser coverage. Align planned Gateway starts with the additional closed source fixture.

Review Notes

  • Browser input is bounded to 1 MiB with every submitted definition shown. Whole exports retain the backend's 512 MiB bound; use the online CLI for larger imports.
  • Credential values, local authority, runtime and history are excluded; authored strings still require review for accidentally embedded secrets. Provision credentials and inspect readiness separately after import.
  • A test-only Chromium response-body-cache failure was resolved by checking the actual decoded UI receipt, every typed-key/internal-ID link and independent full persisted graph, not by replaying imports or suppressing failures. Original failure evidence is retained.
  • Full incremental independent review and publication-safety scans gate publication. Exact-head target-applicable CI, including Required and real Docker qualification, gates promotion. Local deterministic adapters are not Docker runtime evidence.
  • Unsuppressed Go vulnerability scan reports zero affected symbols and zero imported vulnerable packages; unused x/net/html module advisories GO-2026-6866/6860 remain disclosed. No suppression or dependency upgrade.
  • No merge, deployment, live-host adoption or full release accept qualification is included.

Test Plan

Passed locally on unchanged relevant source:

  • npm run ui:test-dev — 205 passed; typecheck, formatting, build, generated assets, supply-chain, audit and documentation-image guards passed
  • npm run ui:test-browser — all 42 mocked owners, 3,072 captures, complete inventory; desktop/narrow/320 light/dark visual inspection
  • make -C agent-gateway test-browser — all four required real Chromium workflow/privacy/visual/accessibility leaves
  • Full race-enabled API/contract/definition and config import/export integration owners; source→fresh target exact graph/lexical tokens, concurrent rollback, material absence and retained startup failure
  • make -C agent-gateway verify, mandatory hooks, test-harness, test-security, root make test-ci, and full unsuppressed govulncheck passed

Hosted qualification and the verified delivery handoff remain attached to this PR's exact head before promotion.

Make reusable explicit-graph seeding discoverable under System without turning resource imports into bulk updates. Preserve typed keys and raw JSON through online preview and atomic confirmation, then distinguish committed definitions from credentials and activation.
@averycrespi
averycrespi marked this pull request as ready for review November 7, 2026 21:49
@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-155-system-configuration 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