Skip to content

[Spec 027] Complete Console trusted publication and real frontend CI #59

Description

@XnLemon

What to build

Complete the user-operable Phase 1 trusted invocation loop in the production Glass 2.0 Console. The existing independently merged Console must become the repository-owned Console deployment, keep all comparison demos, use only public Gateway routes, and add the provider workflow for endpoint ownership verification and immutable Agent Release lifecycle. A user must be able to register an Agent Card, prove its endpoint, publish a trusted Release, discover and install it into one Workspace, invoke it through Gateway/Router, and inspect the resulting Invocation/Trace lineage without using SQL, direct Agent access, or mock production data.

The same slice must make frontend CI real: the repository frontend checks must discover the production Console and execute its typecheck, tests, and build. The Console remains Owner-only with one active Workspace in this phase; provider and owner credentials are explicit development-static configuration and are never persisted by the browser.

Acceptance criteria

  • The production Glass 2.0 Console and its #/demo, #/demo/glass, #/demo/terminal, and #/demo/saas comparison routes are owned and built from the platform repository.
  • The Console provides live Trusted Publication v1 operations for Endpoint Binding creation/read, Challenge issuance/completion, immutable Release creation/read, verification, publish, suspend, and revoke through public Gateway routes only.
  • A newly registered Agent can complete Register -> Verify -> Publish -> Discover -> Install -> Invoke -> Record from the Console against a fresh platform environment, including one Runtime A -> Router -> Runtime B nested lineage.
  • Installation selects only a published trusted Release; pre-acceptance, disabled, suspended, revoked, credential, unavailable endpoint, timeout, cancellation, and interrupted-stream outcomes remain distinct and never become fabricated success data.
  • Browser configuration requires exact Gateway origin, provider/owner principals, one Workspace, and bearer credential values; no wildcard origin, localhost fallback, token trimming, local-storage credential persistence, retry, reconnect, alternate endpoint, or legacy publish fallback is added.
  • The Console uses strict handwritten mappings of the active Agent Card, Trusted Publication, Workspace/Installation, Invocation/Result/Error, and Ledger contracts and rejects unknown or inconsistent response shapes.
  • Focused frontend tests cover the trusted-publication state transitions, request construction, exact errors, JSON/SSE correlation, and secret absence; a browser-level fresh-environment acceptance proves the complete visible loop.
  • Repository CI runs Console typecheck, tests, production build, and the browser acceptance rather than succeeding with no matched frontend project.
  • Spec, plan, tasks, contract mapping, quickstart, operational documentation, independent Review, and convergence evidence are complete before merge.

Blocked by

None - can start immediately. The required backend contracts and acceptance are merged through PRs #53-#58.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:testingAcceptance, integration, verification, and reviewenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions