backfill-enumerate-dra…
How to backfill a newly-added repo or team — the enumerate-then-drain loop, the single-event contract, and resume-safe todo…
Compose canonical semantic operations for apply_graph_mutations using stable entity keys and source evidence.
Claude Code
$ npx -y skills add potpie-ai/potpie --skill graph-mutation-plan --agent claude-code
Codex
$ npx skills add potpie-ai/potpie --skill graph-mutation-plan -a codex -y
Cursor
$ npx skills add potpie-ai/potpie --skill graph-mutation-plan -a cursor -y
Gemini CLI
$ npx skills add potpie-ai/potpie --skill graph-mutation-plan -a gemini-cli -y
GitHub Copilot
$ npx skills add potpie-ai/potpie --skill graph-mutation-plan -a github-copilot -y
OpenCode
$ npx skills add potpie-ai/potpie --skill graph-mutation-plan -a opencode -y
Windsurf
$ npx skills add potpie-ai/potpie --skill graph-mutation-plan -a windsurf -y
name: graph-mutation-plan description: Compose canonical semantic operations for apply_graph_mutations using stable entity keys and source evidence. version: "2.0.0" tags: [mutation, graph, ontology, reference]
Call `apply_graph_mutations(plan, event_id, summary)` for an event in the batch. The plan contains an `operations` array of semantic operations. The tool binds it to the batch pot and supplies the event idempotency key and ingestion actor. Reuse stable entity keys resolved by reads. Never reference another pot.
Each operation has an `op` and the fields for that operation. Use `upsert_entity` to establish an entity, `link_entities` or `assert_claim` for supported relationships, and `retract_claim` or `end_relation_validity` when source evidence changes an existing claim. Read the canonical mutation tool catalog for supported operations and required fields. Do not submit writer batch fields such as `entity_upserts`, `edge_upserts`, or `episodes`.
Use the exact types, key prefixes, predicates and allowed endpoint pairs from the ontology in your instructions. Preserve source evidence on each claim, including its reference, truth classification and any environment or validity bounds. When the source does not support a relationship, omit it.
{
"operations": [
{
"op": "upsert_entity",
"subject": {"key": "service:billing", "type": "Service"}
},
{
"op": "link_entities",
"subgraph": "infra_topology",
"subject": {"key": "service:billing", "type": "Service"},
"predicate": "DEPENDS_ON",
"object": {"key": "service:ledger", "type": "Service"},
"truth": "source_observation",
"description": "Billing invokes the ledger service",
"evidence": [{"kind": "pull_request", "ref": "github:pr:o/r:482"}]
}
]
}Read before changing existing claims so retractions identify their exact claim keys or record IDs. Keep failed remedies distinct from successful fixes and record decisions only when their rationale is stated in the source.
How to backfill a newly-added repo or team — the enumerate-then-drain loop, the single-event contract, and resume-safe todo…
Believable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude…
Keep a durable record of work passed between Bots in the shared Hindsight memory bank. Use when handing work to another Bot, when…
Install, configure, and operate MemPalace, including a private local palace, a shared-brain hub, or a client joining an existing…
Install, configure, and operate MemPalace, including a private local palace, a shared-brain hub, or a client joining an existing…