with one click
papyrus-impact
Atomic — bidirectional graph walk from a starting need
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Atomic — bidirectional graph walk from a starting need
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Atomic — search memories by filter (lexical or semantic), return ranked list
Atomic — regenerate .papyrus/index.json and (optionally) semantic vectors for a workspace
Atomic — mark a memory deprecated, optionally with supersedes link
Atomic — list memories whose review_after has passed
Atomic — fetch a single memory in full by id
Atomic — create a Papyrus workspace at a given path
| name | papyrus-impact |
| description | Atomic — bidirectional graph walk from a starting need |
Traverse the rationale graph outward from a starting need, following typed edges in both directions up to a depth limit. Returns every reachable need with its distance and the path of edge types taken.
input:
need_id: starting need id (must exist in chain or external index)
depth: max hops from start (default 3)
link_types: optional list filter (relates, supports, ...); empty = all types
CLI: pass --link-type repeatedly (one per type)
output:
stdout: lines of "[<distance-or-*>] <id>[ [<kind>]] — <title> (<edge/edge/...>)"
ordered by BFS discovery
exit: 0 on success; non-zero if start id not found
Given fixture where DEC_a --relates--> REQ_b --depends--> DEC_c:
papyrus impact DEC_a --depth 2 | grep -c "^"
Returns 3 (DEC_a at distance 0, REQ_b at 1, DEC_c at 2).
CLI:
papyrus impact <need_id> --depth <N> [--link-type relates --link-type supports]
MCP tool memory_impact:
{"need_id": "REQ_auth", "depth": 2}
If the configured external pharaoh workspace is unavailable, the CLI raises a ClickException; when it loads, external nodes are merged into the graph (local nodes win on id collision).
Change-request review:
papyrus-impact REQ_x --depth 2 surfaces connected DECs and RISKspapyrus-drillDecision drill-down:
papyrus-drill DEC_y shows the decision itselfpapyrus-impact DEC_y --depth 1 shows direct requirements it relates to and risks it raisedRisk surface:
papyrus-query --type risk lists all riskspapyrus-impact RISK_z shows what requirements it affectsshared/impact-analysis.md — semantics of the bidirectional graph walkpapyrus-link — primitive that builds the graphpapyrus-trace — focused variant for supersession chainspapyrus-drill — natural follow-up to inspect any hit