{
  "schema": "https://agent-buildprint.com/schemas/buildprint-package.v1.json",
  "slug": "local-rag-chat-workbench",
  "title": "Local RAG Chat Workbench",
  "category": "Mapped Project",
  "tier": "agent-grade",
  "status": "proof-required",
  "publicStatus": {
    "label": "Mapped, proof pending",
    "explanation": "Compact AI-app packet exists; live implementation proof is not complete."
  },
  "runtime": [
    "Local-first AI chat",
    "Ollama-compatible provider adapter",
    "SQLite/libSQL persistence",
    "Browser proof required"
  ],
  "stack": [
    "Streaming chat",
    "Document ingestion",
    "RAG indexing",
    "Vector search",
    "Citations",
    "Memory/settings",
    "Lifecycle controls"
  ],
  "canonicalStart": "BUILDPRINT.md",
  "readOrder": [
    "BUILDPRINT.md",
    "01-questions.md",
    "02-project-setup.md",
    "blueprint.yaml",
    "03-phases/phase-index.yaml",
    "03-phases/01-provider-chat-runtime.md",
    "04-evaluation.md",
    "05-evidence/evidence-ledger.jsonl"
  ],
  "entrypoints": {
    "human": "/buildprints/local-rag-chat-workbench/",
    "agent": "/buildprints/local-rag-chat-workbench/agent.md",
    "manifest": "/buildprints/local-rag-chat-workbench/package.json",
    "prompt": "/buildprints/local-rag-chat-workbench/prompt.txt",
    "github": "https://github.com/DomEscobar/agent-buildprint/tree/main/buildprints/local-rag-chat-workbench",
    "originGithub": "https://github.com/Maxkrvo/OllamaChat",
    "rawBase": "https://agent-buildprint.com/buildprints/local-rag-chat-workbench/files"
  },
  "bootstrap": {
    "command": "agb start https://agent-buildprint.com/buildprints/local-rag-chat-workbench/package.json",
    "fallbackCommand": "git clone https://github.com/DomEscobar/agent-buildprint && node agent-buildprint/bin/agb.js start https://agent-buildprint.com/buildprints/local-rag-chat-workbench/package.json",
    "stateDir": ".buildprint",
    "snapshotMode": "download_exact",
    "rule": "Do not write, summarize, or regenerate snapshot files manually. Use agb start to download exact files from this manifest."
  },
  "files": [
    {
      "path": "01-questions.md",
      "purpose": "Buildprint package file",
      "required": true,
      "rawUrl": "https://agent-buildprint.com/buildprints/local-rag-chat-workbench/files/01-questions.md"
    },
    {
      "path": "02-project-setup.md",
      "purpose": "Buildprint package file",
      "required": true,
      "rawUrl": "https://agent-buildprint.com/buildprints/local-rag-chat-workbench/files/02-project-setup.md"
    },
    {
      "path": "03-phases/01-provider-chat-runtime.md",
      "purpose": "Buildprint package file",
      "required": true,
      "rawUrl": "https://agent-buildprint.com/buildprints/local-rag-chat-workbench/files/03-phases/01-provider-chat-runtime.md"
    },
    {
      "path": "03-phases/02-multimodal-routing-agent-tools.md",
      "purpose": "Buildprint package file",
      "required": true,
      "rawUrl": "https://agent-buildprint.com/buildprints/local-rag-chat-workbench/files/03-phases/02-multimodal-routing-agent-tools.md"
    },
    {
      "path": "03-phases/03-knowledge-base-ingestion-retrieval.md",
      "purpose": "Buildprint package file",
      "required": true,
      "rawUrl": "https://agent-buildprint.com/buildprints/local-rag-chat-workbench/files/03-phases/03-knowledge-base-ingestion-retrieval.md"
    },
    {
      "path": "03-phases/04-memory-review-injection.md",
      "purpose": "Buildprint package file",
      "required": true,
      "rawUrl": "https://agent-buildprint.com/buildprints/local-rag-chat-workbench/files/03-phases/04-memory-review-injection.md"
    },
    {
      "path": "03-phases/05-settings-data-lifecycle-operations.md",
      "purpose": "Buildprint package file",
      "required": true,
      "rawUrl": "https://agent-buildprint.com/buildprints/local-rag-chat-workbench/files/03-phases/05-settings-data-lifecycle-operations.md"
    },
    {
      "path": "03-phases/06-voice-sidecar-experience.md",
      "purpose": "Buildprint package file",
      "required": true,
      "rawUrl": "https://agent-buildprint.com/buildprints/local-rag-chat-workbench/files/03-phases/06-voice-sidecar-experience.md"
    },
    {
      "path": "03-phases/phase-flow.md",
      "purpose": "Buildprint package file",
      "required": true,
      "rawUrl": "https://agent-buildprint.com/buildprints/local-rag-chat-workbench/files/03-phases/phase-flow.md"
    },
    {
      "path": "03-phases/phase-index.yaml",
      "purpose": "machine-readable mirror",
      "required": true,
      "rawUrl": "https://agent-buildprint.com/buildprints/local-rag-chat-workbench/files/03-phases/phase-index.yaml"
    },
    {
      "path": "04-evaluation.md",
      "purpose": "Buildprint package file",
      "required": true,
      "rawUrl": "https://agent-buildprint.com/buildprints/local-rag-chat-workbench/files/04-evaluation.md"
    },
    {
      "path": "05-evidence/evidence-ledger.jsonl",
      "purpose": "Buildprint package file",
      "required": true,
      "rawUrl": "https://agent-buildprint.com/buildprints/local-rag-chat-workbench/files/05-evidence/evidence-ledger.jsonl"
    },
    {
      "path": "05-evidence/evidence-ledger.schema.json",
      "purpose": "machine-readable mirror",
      "required": true,
      "rawUrl": "https://agent-buildprint.com/buildprints/local-rag-chat-workbench/files/05-evidence/evidence-ledger.schema.json"
    },
    {
      "path": "06-contracts/data-persistence.md",
      "purpose": "Buildprint package file",
      "required": true,
      "rawUrl": "https://agent-buildprint.com/buildprints/local-rag-chat-workbench/files/06-contracts/data-persistence.md"
    },
    {
      "path": "06-contracts/integration-runtime.md",
      "purpose": "Buildprint package file",
      "required": true,
      "rawUrl": "https://agent-buildprint.com/buildprints/local-rag-chat-workbench/files/06-contracts/integration-runtime.md"
    },
    {
      "path": "06-contracts/product-architect.md",
      "purpose": "Buildprint package file",
      "required": true,
      "rawUrl": "https://agent-buildprint.com/buildprints/local-rag-chat-workbench/files/06-contracts/product-architect.md"
    },
    {
      "path": "06-contracts/security-boundary.md",
      "purpose": "Buildprint package file",
      "required": true,
      "rawUrl": "https://agent-buildprint.com/buildprints/local-rag-chat-workbench/files/06-contracts/security-boundary.md"
    },
    {
      "path": "06-contracts/test-and-verification.md",
      "purpose": "Buildprint package file",
      "required": true,
      "rawUrl": "https://agent-buildprint.com/buildprints/local-rag-chat-workbench/files/06-contracts/test-and-verification.md"
    },
    {
      "path": "06-contracts/ux-ui-craft.md",
      "purpose": "Buildprint package file",
      "required": true,
      "rawUrl": "https://agent-buildprint.com/buildprints/local-rag-chat-workbench/files/06-contracts/ux-ui-craft.md"
    },
    {
      "path": "blueprint.yaml",
      "purpose": "machine-readable executable packet router",
      "required": true,
      "rawUrl": "https://agent-buildprint.com/buildprints/local-rag-chat-workbench/files/blueprint.yaml"
    },
    {
      "path": "buildprint.json",
      "purpose": "machine-readable mirror",
      "required": true,
      "rawUrl": "https://agent-buildprint.com/buildprints/local-rag-chat-workbench/files/buildprint.json"
    },
    {
      "path": "BUILDPRINT.md",
      "purpose": "compatibility bootstrap or package contract",
      "required": true,
      "rawUrl": "https://agent-buildprint.com/buildprints/local-rag-chat-workbench/files/BUILDPRINT.md"
    },
    {
      "path": "checks/acceptance.md",
      "purpose": "acceptance checklist",
      "required": true,
      "rawUrl": "https://agent-buildprint.com/buildprints/local-rag-chat-workbench/files/checks/acceptance.md"
    },
    {
      "path": "CONTRACTS.md",
      "purpose": "legacy interface/data contracts, when present",
      "required": true,
      "rawUrl": "https://agent-buildprint.com/buildprints/local-rag-chat-workbench/files/CONTRACTS.md"
    },
    {
      "path": "generated/agent-prompt.md",
      "purpose": "Buildprint package file",
      "required": true,
      "rawUrl": "https://agent-buildprint.com/buildprints/local-rag-chat-workbench/files/generated/agent-prompt.md"
    },
    {
      "path": "PLAN.md",
      "purpose": "legacy execution index, when present",
      "required": true,
      "rawUrl": "https://agent-buildprint.com/buildprints/local-rag-chat-workbench/files/PLAN.md"
    },
    {
      "path": "publication.json",
      "purpose": "machine-readable mirror",
      "required": true,
      "rawUrl": "https://agent-buildprint.com/buildprints/local-rag-chat-workbench/files/publication.json"
    },
    {
      "path": "README.md",
      "purpose": "human overview, non-authoritative",
      "required": true,
      "rawUrl": "https://agent-buildprint.com/buildprints/local-rag-chat-workbench/files/README.md"
    },
    {
      "path": "SPEC.md",
      "purpose": "legacy behavior requirements, when present",
      "required": true,
      "rawUrl": "https://agent-buildprint.com/buildprints/local-rag-chat-workbench/files/SPEC.md"
    },
    {
      "path": "TEST_MATRIX.md",
      "purpose": "legacy risk-to-test alignment, when present",
      "required": true,
      "rawUrl": "https://agent-buildprint.com/buildprints/local-rag-chat-workbench/files/TEST_MATRIX.md"
    },
    {
      "path": "VALIDATION_TEMPLATE.md",
      "purpose": "legacy completion report template, when present",
      "required": true,
      "rawUrl": "https://agent-buildprint.com/buildprints/local-rag-chat-workbench/files/VALIDATION_TEMPLATE.md"
    }
  ],
  "instructions": {
    "canonicalStart": "BUILDPRINT.md",
    "readOrder": [
      "BUILDPRINT.md",
      "01-questions.md",
      "02-project-setup.md",
      "blueprint.yaml",
      "03-phases/phase-index.yaml",
      "03-phases/01-provider-chat-runtime.md",
      "04-evaluation.md",
      "05-evidence/evidence-ledger.jsonl"
    ],
    "rule": "Do not scrape human cards. Use this manifest, agent.md, and raw files. BUILDPRINT.md is the canonical execution authority. Complete 01-questions.md and 02-project-setup.md before phase work; blueprint.yaml and other structured files are machine-readable mirrors/routers, not competing instructions."
  }
}