{
  "id": "studio-787d4763-623b-4a79-ba8f-762a3ada811c",
  "scope": "studio_project",
  "source_of_truth": "supabase.studio_artifacts",
  "source_path": "studio_artifacts/787d4763-623b-4a79-ba8f-762a3ada811c",
  "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 Product FLOW Fixture + Local Submit Path",
  "summary": "build-execution artifact · for Bezel Workflow · phase W0-S4 · status complete",
  "status": "complete",
  "version": 1,
  "phase_id": "W0-S4",
  "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-09T17:27:52.308775+00:00",
  "updated_at": "2026-05-09T17:27:52.308775+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 Product FLOW Fixture + Local Submit Path",
    "status": "complete",
    "changes": [
      "Extended apps/workflow/index.html with a real editable invoice FLOW.json fixture.",
      "Added a Local Runtime Submit panel that posts the fixture to the local Bezel API POST /flows route.",
      "Wrapped submission body as { flow, role_id_by_name } so product-facing role names map to runtime role ids.",
      "Kept credentials reference-only in the shell; workflow rows use credential_ref values and do not store raw secrets.",
      "Added product-shell regression coverage for the fixture, /flows submission path, role_id_by_name mapping, and credential-reference-only behavior."
    ],
    "project": "Bezel Workflow",
    "phase_id": "W0-S4",
    "next_action": "W0-S5: build the workflow run timeline product view backed by existing workflow run/task/event APIs, including router decisions, queue claims, connector completions, and self-heal events.",
    "completed_at": "2026-05-09T17:27:52.181Z",
    "verification": [
      "npx vitest run apps/workflow/test/workflow-screens.test.ts: 5/5 passed",
      "npm test: 44 files / 169 tests passed",
      "npm run typecheck: passed",
      "npm run build: passed"
    ]
  },
  "sections": [
    {
      "title": "Next Action",
      "level": 2,
      "body": "W0-S5: build the workflow run timeline product view backed by existing workflow run/task/event APIs, including router decisions, queue claims, connector completions, and self-heal events."
    }
  ],
  "html_path": "projects/redkey-bezel-workflow-d7ee6565/artifacts/build-execution-w0-s4-787d4763.html",
  "json_path": "projects/redkey-bezel-workflow-d7ee6565/artifacts/build-execution-w0-s4-787d4763.json"
}