{
  "id": "studio-64fa1ff5-163d-4c47-b9cc-1748ee8f9888",
  "scope": "studio_project",
  "source_of_truth": "supabase.studio_artifacts",
  "source_path": "studio_artifacts/64fa1ff5-163d-4c47-b9cc-1748ee8f9888",
  "source_kind": "supabase_json",
  "visibility": "internal",
  "renderer_id": "design_doc.dreamborn-forge.generated.v1",
  "design_system": "dreamborn-design-system:forge",
  "generated_at": "2026-05-10T18:19:39.276Z",
  "artifact_type": "build-execution",
  "schema_version": "studio_artifact.generated.v1",
  "title": "Workflow App Module Boundary",
  "summary": "build-execution artifact · for Bezel Workflow · phase W0-S6 · status complete",
  "status": "complete",
  "version": 1,
  "phase_id": "W0-S6",
  "project_id": "d7ee6565-842e-4d74-9eda-84c2ed2fe1d6",
  "project_slug": "redkey-bezel-workflow-d7ee6565",
  "project_title": "Bezel Workflow",
  "client_id": "redkey",
  "platform_project_id": null,
  "created_at": "2026-05-09T19:15:10.823798+00:00",
  "updated_at": "2026-05-09T19:15:10.823798+00:00",
  "format_source": "supabase_json",
  "content_shape": [
    "kind",
    "repo",
    "title",
    "status",
    "changes",
    "project",
    "phase_id",
    "next_action",
    "completed_at",
    "verification"
  ],
  "content_data": {
    "kind": "build-execution",
    "repo": "/Users/justinking/Vaults/Projects/bezel-api",
    "title": "Workflow App Module Boundary",
    "status": "complete",
    "changes": [
      "Extracted workflow runtime API access into apps/workflow/src/runtime-client.js.",
      "Extracted run summary and event timeline presentation into apps/workflow/src/run-timeline.js.",
      "Added apps/workflow/src/app.js as the thin browser integration layer for submit/load button wiring and DOM rendering.",
      "Replaced the large inline index.html script with a module script tag: ./src/app.js.",
      "Added declaration files for workflow browser modules so TypeScript tests and repo typecheck remain strict.",
      "Added focused unit tests for FLOW submission, run read API loading, rejected runtime errors, summary metric mapping, and event-to-product timeline mapping."
    ],
    "project": "Bezel Workflow",
    "phase_id": "W0-S6",
    "next_action": "W0-S7: build Connections/Credentials screens around OAuth/reference-only connector configuration and self-heal policy defaults.",
    "completed_at": "2026-05-09T19:15:10.555Z",
    "verification": [
      "npx vitest run apps/workflow/test/runtime-client.test.ts apps/workflow/test/run-timeline.test.ts apps/workflow/test/workflow-screens.test.ts: 12/12 passed",
      "npm test: 46 files / 177 tests passed",
      "npm run typecheck: passed",
      "npm run build: passed"
    ]
  },
  "sections": [
    {
      "title": "Next Action",
      "level": 2,
      "body": "W0-S7: build Connections/Credentials screens around OAuth/reference-only connector configuration and self-heal policy defaults."
    }
  ],
  "html_path": "projects/redkey-bezel-workflow-d7ee6565/artifacts/build-execution-w0-s6-64fa1ff5.html",
  "json_path": "projects/redkey-bezel-workflow-d7ee6565/artifacts/build-execution-w0-s6-64fa1ff5.json"
}