Skip to content

TypeScript prototype: full-stack shared-schema Console, /api/v1/*, OpenAPI, CLI --json, and Playwright slice #1839

Closed

Description

@JacobStephens2

This was generated by AI during triage.

Parent

#1831

What to build

Implement a full-stack unification slice (ADR-0026) in the TypeScript prototype: a single shared TypeScript schema/type definition driving the status --json CLI output, the GET /api/v1/status and POST /api/v1/dismiss HTTP routes, the generated /api/v1/openapi.json document, and the Console Inbox HTML view with typed client-side interactions, verified by an OpenAPI route-parity test and a Playwright browser test.

Acceptance criteria

  • One shared TypeScript schema/type module defines the Inbox status and dismissal request/response contracts across the CLI (status --json), the Console HTTP server (GET /api/v1/status, POST /api/v1/dismiss), the generated OpenAPI specification (/api/v1/openapi.json and console openapi), and the Console browser client script without duplicate type definitions.
  • The Console route table pairs the HTML page, /api/v1/* JSON routes, CLI twins, and required scopes (read, act), and an automated parity test verifies that every registered route matches the generated OpenAPI specification.
  • A Playwright browser test renders the prototype Console Inbox, verifies the displayed rows against the shared status payload, exercises inline Dismissal and Undo, and confirms the updated state.

Blocked by

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementready-for-agent

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions