assemble_dossier
Resolve a document by type and key, then traverse its backlinks to compile a structured dossier with anchor, linked documents, 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 |
|---|---|---|---|
| type | Yes | Exact-match value for properties.type on the anchor document (D-03 — no fuzzy match) | |
| key | Yes | Candidate key — matches the document's title OR any entry in properties.aliases (D-04) | |
| vaults | No | Restrict to these vault names; defaults to all configured |