{
  "id": "studio-649a033e-e476-41c7-8cde-21b1d1f0ce93",
  "scope": "studio_project",
  "source_of_truth": "supabase.studio_artifacts",
  "source_path": "studio_artifacts/649a033e-e476-41c7-8cde-21b1d1f0ce93",
  "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.272Z",
  "artifact_type": "build-execution",
  "schema_version": "studio_artifact.generated.v1",
  "title": "Templates and FLOW Skeleton Requirements Screen",
  "summary": "build-execution artifact · for Bezel Workflow · phase W0-S9 · status complete",
  "status": "complete",
  "version": 1,
  "phase_id": "W0-S9",
  "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-10T02:41:22.15851+00:00",
  "updated_at": "2026-05-10T02:41:22.15851+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": "Templates and FLOW Skeleton Requirements Screen",
    "status": "complete",
    "changes": [
      "Added apps/workflow/src/templates.js as a workflow template catalog/presenter.",
      "Defined Invoice Processing Fan-Out, Lead Enrichment, and Support Escalation Triage templates.",
      "Each template includes a FLOW skeleton id, trigger topic, steps, required connectors, required roles, and self-heal defaults.",
      "Added apps/workflow/src/templates.d.ts for strict TypeScript coverage of the browser module.",
      "Added a Templates product screen to apps/workflow/index.html showing production FLOW skeleton summaries and requirements.",
      "Wired apps/workflow/src/app.js to render template cards from the catalog.",
      "Added focused tests proving template skeletons, connector/role requirements, self-heal defaults, and absence of raw secret strings."
    ],
    "project": "Bezel Workflow",
    "phase_id": "W0-S9",
    "next_action": "W0-S10: add a product-level FLOW draft state model so selecting a template can populate the builder/fixture and preserve template provenance.",
    "completed_at": "2026-05-10T02:41:21.956Z",
    "verification": [
      "npx vitest run apps/workflow/test/templates.test.ts apps/workflow/test/workflow-screens.test.ts: 12/12 passed",
      "npm test: 49 files / 189 tests passed",
      "npm run typecheck: passed",
      "npm run build: passed"
    ]
  },
  "sections": [
    {
      "title": "Next Action",
      "level": 2,
      "body": "W0-S10: add a product-level FLOW draft state model so selecting a template can populate the builder/fixture and preserve template provenance."
    }
  ],
  "html_path": "projects/redkey-bezel-workflow-d7ee6565/artifacts/build-execution-w0-s9-649a033e.html",
  "json_path": "projects/redkey-bezel-workflow-d7ee6565/artifacts/build-execution-w0-s9-649a033e.json"
}