{
  "id": "studio-fbb15428-10b9-4391-8eff-7fb9417c6612",
  "scope": "studio_project",
  "source_of_truth": "supabase.studio_artifacts",
  "source_path": "studio_artifacts/fbb15428-10b9-4391-8eff-7fb9417c6612",
  "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": "hcs-pull-queue-spec",
  "schema_version": "1",
  "title": "Limitless OS HCS Pull Queue Specification",
  "summary": "hcs-pull-queue-spec artifact · for Limitless OS · status draft",
  "status": "draft",
  "version": 1,
  "phase_id": null,
  "project_id": "07dee66f-8143-4f4d-9af9-b1ed413d2767",
  "project_slug": "limitless-limitless-os-07dee66f",
  "project_title": "Limitless OS",
  "client_id": "limitless",
  "platform_project_id": null,
  "created_at": "2026-05-09T19:02:58.357172+00:00",
  "updated_at": "2026-05-09T19:02:58.357172+00:00",
  "format_source": "supabase_json",
  "content_shape": [
    "title",
    "intent",
    "source",
    "client_id",
    "project_id",
    "task_shape",
    "updated_at",
    "queue_model",
    "project_name",
    "artifact_type",
    "schema_version",
    "task_lifecycle",
    "privacy_boundary",
    "role_topics_seed",
    "source_documents",
    "human_review_gates",
    "completion_contracts"
  ],
  "content_data": {
    "title": "Limitless OS HCS Pull Queue Specification",
    "intent": "Use HCS as the canonical pull-queue and audit layer for Limitless agent work. Agents claim tasks from role topics, fetch full context from authorized stores, produce structured outputs, and route sensitive outputs through human gates.",
    "source": "atlas-codex",
    "client_id": "limitless",
    "project_id": "07dee66f-8143-4f4d-9af9-b1ed413d2767",
    "task_shape": {
      "brief": "Self-contained structured task brief",
      "task_id": "HCS topic/event id or platform task id",
      "client_id": "limitless",
      "project_id": "07dee66f-8143-4f4d-9af9-b1ed413d2767",
      "sensitivity": [
        "low",
        "medium",
        "high"
      ],
      "source_refs": [
        "CRM lead id",
        "PT Everywhere reference",
        "email thread id",
        "voice transcript id",
        "content asset id"
      ],
      "role_topic_slug": "Target role queue slug",
      "completion_contract": [
        "required output schema",
        "review gate",
        "forbidden claims",
        "evidence refs"
      ],
      "human_review_required": "boolean"
    },
    "updated_at": "2026-05-09T19:02:57.675Z",
    "queue_model": {
      "pattern": "full pull queue with HCS role topics",
      "claim_rule": "Agents poll their role topic, atomically claim available tasks, write claim event, execute, and post structured completion/block event.",
      "read_model": "Supabase stores current task, claim, artifact, approval, and dashboard state reduced from HCS events and local system integrations.",
      "topic_types": [
        "project topic",
        "role topics",
        "human review gate topics",
        "audit/event topics"
      ]
    },
    "project_name": "Limitless OS",
    "artifact_type": "hcs-pull-queue-spec",
    "schema_version": "1",
    "task_lifecycle": [
      "task.created",
      "task.claimed",
      "task.started",
      "task.output_drafted",
      "task.review_requested",
      "task.approved",
      "task.sent_or_applied",
      "task.complete",
      "task.blocked",
      "task.cancelled"
    ],
    "privacy_boundary": [
      "Do not write PHI, payer details, or sensitive staff content directly to public HCS payloads.",
      "HCS carries pointers, hashes, status, and structured non-sensitive summaries only.",
      "Supabase or client-controlled stores hold sensitive bodies behind access controls.",
      "Audit trail must preserve who approved sensitive outbound actions."
    ],
    "role_topics_seed": [
      "roles.limitless.ops-chief",
      "roles.limitless.voice-capture",
      "roles.limitless.lead-intake",
      "roles.limitless.content-strategy",
      "roles.limitless.content-execution",
      "roles.limitless.patient-comms",
      "roles.limitless.billing",
      "roles.limitless.sop",
      "roles.limitless.staff-coach",
      "roles.limitless.kpi",
      "roles.limitless.clinical-ed",
      "roles.limitless.vald",
      "roles.limitless.performance-coach"
    ],
    "source_documents": [
      {
        "path": "/Users/justinking/Downloads/Limitless_OS_Final_Vision_Document.pdf",
        "role": "Patient/performance operating system vision",
        "pages": 19,
        "title": "Limitless OS Final Vision & Goals/Intent Document"
      },
      {
        "path": "/Users/justinking/Downloads/Limitless Ai Agent Goals Intent Blueprint.pdf",
        "role": "Front-office and business-support agent blueprint",
        "pages": 40,
        "title": "Limitless Physical Therapy & Performance AI Agent Goals & Intent Blueprint"
      }
    ],
    "human_review_gates": [
      {
        "gate": "clinical_outbound",
        "default": "required",
        "reviewer": "clinician",
        "applies_to": [
          "clinical advice",
          "return-to-play guidance",
          "treatment-plan language"
        ]
      },
      {
        "gate": "billing_outbound",
        "default": "required",
        "reviewer": "Betsy/Seth",
        "applies_to": [
          "payment requests",
          "insurance disputes",
          "collections language"
        ]
      },
      {
        "gate": "staff_feedback",
        "default": "required",
        "reviewer": "Seth",
        "applies_to": [
          "corrective feedback",
          "performance documentation"
        ]
      },
      {
        "gate": "public_content_sensitive",
        "default": "required",
        "reviewer": "Seth",
        "applies_to": [
          "patient stories",
          "reputation-sensitive posts",
          "specific local partners"
        ]
      },
      {
        "gate": "lead_reply",
        "default": "required_in_v1",
        "reviewer": "Betsy/Seth until approved templates exist",
        "applies_to": [
          "standard lead follow-up"
        ]
      }
    ],
    "completion_contracts": [
      "Every output identifies whether it is draft-only, approved-to-send, or internal-only.",
      "Every patient-facing output includes audience, channel, intended human reviewer, and forbidden claims check.",
      "Every blocked task includes blocker_type, attempted_steps, missing_inputs, and recommended next action.",
      "Every completed task includes structured output_ref and no raw PHI in HCS payload."
    ]
  },
  "sections": [
    {
      "title": "Artifact Shape",
      "level": 2,
      "body": "- title: Limitless OS HCS Pull Queue Specification\n- intent: Use HCS as the canonical pull-queue and audit layer for Limitless agent work. Agents claim tasks from role topics, fetch full context from authorized stores, produce structured outputs, and route sensitive outputs through human gates.\n- source: atlas-codex\n- client id: limitless\n- project id: 07dee66f-8143-4f4d-9af9-b1ed413d2767\n- task shape: brief: string, task_id: string, client_id: string, project_id: string, sensitivity: object, source_refs: object, role_topic_slug: string, completion_contract: object, human_review_required: string\n- updated at: 2026-05-09T19:02:57.675Z\n- queue model: pattern: string, claim_rule: string, read_model: string, topic_types: object\n- project name: Limitless OS\n- artifact type: hcs-pull-queue-spec\n- schema version: 1\n- task lifecycle: 10 items"
    }
  ],
  "html_path": "projects/limitless-limitless-os-07dee66f/artifacts/hcs-pull-queue-spec-fbb15428.html",
  "json_path": "projects/limitless-limitless-os-07dee66f/artifacts/hcs-pull-queue-spec-fbb15428.json"
}