> ## Documentation Index
> Fetch the complete documentation index at: https://prism.ntecdev.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# SPEC-025 v0.1: Tri-graph auto-entity-on-create + historical backfill for typed artifacts

> Tri-graph auto-entity-on-create + historical backfill for typed artifacts

<Info>**Status:** `accepted` · **Version** `0.1` · Filed 2026-04-21</Info>

Closes the write-path gap in the tri-graph for typed artifacts. create\_spec/create\_adr/create\_retro/create\_plan/create\_todo/create\_journal currently call \_embed() but emit no :Entity/:EntityState. SPEC-025 adds (1) a project\_typed\_artifact helper parallel to \_embed, (2) a one-shot backfill script for existing live+retired rows using valid\_from\_override=created\_at, and (3) :SUPERSEDED\_BY {event_type=duplicate_retired} emission on SPEC-024 §5.5 retirement. Graceful degradation: if Neo4j is down, log and skip. Four PRs, additive. Full scope, hook locations, row-to-props mapping, backfill pseudocode, smoke tests, acceptance, and open questions in the on-disk v0.1 draft at docs/specs/spec-025-v0-1-trigraph-typed-artifact-projection.mdx.

Status: draft

v0.1 polish 2026-04-21: added cause\_memory\_id prop on :SUPERSEDED\_BY retirement edges (restores provenance linkage per SPEC-024 design exchange — edge now records WHY a retirement happened, not just THAT it happened).
