assemble_dossier
Resolve a type/key pair to an anchor document and walk its backlinks into a structured dossier with citation packets and property rollups.
Instructions
Resolve a {type, key} pair to an anchor document and walk its backlinks into a structured dossier: { anchor (citation packet), linked_documents (citation packets + relation), property_rollups (linked_count, linked_types, status_distribution) }. Strict properties.type match (D-03). The key matches the candidate's title OR any entry in properties.aliases (D-04). v2.0.0 returns relation:"wikilink" on every linked_documents entry (the v1 wikilinks table is the only edge source); Phase 4 (GRA-04) widens to typed edges. Superseded backlinks are NOT filtered — dossiers show the whole picture (CONTEXT D-04).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Candidate key — matches the document's title OR any entry in properties.aliases (D-04) | |
| type | Yes | Exact-match value for properties.type on the anchor document (D-03 — no fuzzy match) | |
| vaults | No | Restrict to these vault names; defaults to all configured | |
| max_chars | No | Global UTF-16 body character budget. Sections defaults to 6000; zero excludes body text. Metadata is always body-free. | |
| projection | No | Optional v2 projection; sections requires heading_paths. Defaults to the legacy response. | |
| heading_paths | No | Exact heading paths on the anchor, or filters on section-search results. | |
| include_observations | No | Include explicitly categorized statements when the derived source hash is fresh; preserves provenance and shares the body budget. |