Transform narratives into a queryable decision graph
Transform narratives into a queryable decision graph.
Run /narratives first to create .deciduous/narratives.md.
deciduous narratives show
For each narrative, you'll create a subgraph.
For each narrative, create a backdated goal:
deciduous add goal "<Narrative title>" -c 90 --date "YYYY-MM-DD"
deciduous add decision "<First approach>" -c 85 --date "YYYY-MM-DD"
deciduous link <goal> <decision> -r "Initial design"
archaeology pivotFor each PIVOT in a narrative, use the atomic pivot command:
deciduous archaeology pivot <from_id> "<what was learned>" "<new approach>" -c 85 -r "<why it failed>"
This automatically creates:
Preview before executing:
deciduous archaeology pivot <from_id> "observation" "new approach" --dry-run
When narratives reference each other:
deciduous link <auth_observation> <ratelimit_decision> \
-r "Auth failures drove rate limit redesign"
For nodes that were replaced but not part of a pivot:
# Single node
deciduous archaeology supersede <id>
# Node and all descendants
deciduous archaeology supersede <id> --cascade
# See all nodes chronologically
deciduous archaeology timeline
# Filter by type
deciduous archaeology timeline --type revisit
# See existing pivot chains
deciduous narratives pivots
# Visual exploration
deciduous serve
If you find diagrams, screenshots, or specs that support the archaeology:
deciduous doc attach <goal_id> evidence/old-architecture.png -d "Architecture before refactor"
deciduous doc attach <revisit_id> evidence/perf-report.pdf --ai-describe
Documents provide visual/tangible evidence alongside commit-based grounding.
# Current state
deciduous pulse
# Pivot points
deciduous narratives pivots
# Timeline
deciduous archaeology timeline
# By status
deciduous nodes --type revisit