{
  "id": "research-complete",
  "type": "framework",
  "name": "Research Complete",
  "version": "1.0.0",
  "description": "Research workflow framework for discovery, acquisition, synthesis, citation, quality, and archival operations.",
  "modeAliases": [
    "research"
  ],
  "entry": {
    "agents": "agents",
    "skills": "skills",
    "templates": "templates",
    "lint": "lint"
  },
  "workspace": {
    "subdirs": [
      "repo",
      "corpus",
      "working",
      "archive"
    ]
  },
  "memory": {
    "creates": [
      { "path": ".aiwg/research/",            "description": "Research root directory" },
      { "path": ".aiwg/research/workflows/",   "description": "Active research workflow state" },
      { "path": ".aiwg/research/reports/",     "description": "Generated research reports" },
      { "path": ".aiwg/research/findings/",    "description": "Research finding notes (REF-NNN.md)" },
      { "path": ".aiwg/research/sources/",     "description": "Source documents and PDFs" },
      { "path": ".aiwg/research/archives/",    "description": "Archival artifacts" },
      { "path": ".aiwg/research/synthesis/",   "description": "Synthesis and gap analysis" },
      { "path": ".aiwg/research/provenance/",  "description": "W3C PROV provenance records" },
      { "path": ".aiwg/research/knowledge/",   "description": "Knowledge base and lit notes" }
    ],
    "topology": {
      "namespace": ".aiwg/research",
      "rawSources": ".aiwg/research/sources",
      "derivedPages": {
        "summary": ".aiwg/research/findings",
        "entity": ".aiwg/research/knowledge/entities",
        "concept": ".aiwg/research/knowledge/concepts",
        "synthesis": ".aiwg/research/synthesis"
      },
      "index": ".aiwg/research/index.md",
      "log": ".aiwg/research/.log.jsonl",
      "crossRefStyle": "at-mention",
      "pageTemplate": "templates/research-page.md",
      "ingestRequires": ["provenance", "grade-quality"],
      "lintRules": ["citation-guard", "link-check", "mention-lint"]
    }
  }
}
