Instructions for ayeshakhalid192007-dev/graph-engineering-crash-course, covering agents.md, 1. graph-plan.md is the master spec, and it is human-only, 2. the originality policy is not optional, 3. every concept page follows the same shape and 4. commit small, one concern per commit.
Instructions for ayeshakhalid192007-dev/graph-engineering-crash-course, covering claude.md, session startup order, where things live, before committing any docs/ change and where the day-by-day plan lives.
Folds two surface names for the same backend system into one canonical entity, keeping every original mention individually retrievable, and refuses to merge pairs that only share spelling.
Consults a check that sits outside the loop system before finalizing any decision the frozen facts bear on, and refuses every attempt by a loop to rewrite a node marked frozen, regardless of how convergent the loop's own reasoning looks.
Detects when two loops have proposed conflicting writes to the same node and field at close to the same time, applies a stated priority rule to accept exactly one, and records the rejected write with the reason it lost.
Reviews a full set of the main loop's outputs together, from a wider vantage than any single one of them, looking specifically for cross-item patterns that a one-item-at-a-time loop is structurally unable to notice.
Trims a task-scoped candidate subgraph down to a hard node-count budget, keeping the anchor plus the highest-relevance nodes, dropping any edge that touches a dropped node, and recording the exact cutoff score used.
Turns a diff's touched functions and modules into graph nodes, reusing entities the graph already tracks, and links the change itself to each one with a modifies edge.
Scores candidate merge pairs on weighted signals and auto-merges only pairs clearing a stated threshold, routing the rest to a review queue with their score and signal breakdown attached.
Assembles a task-scoped bundle that keeps two contradicting claims visible side by side and tagged unresolved, rather than silently picking a winner before the worker or a human reviewer ever sees the disagreement.
Scans the fact graph for pairs of edges that cannot both hold true at once and flags each such pair, running as its own standing pass rather than as part of whatever task happens to be reading the graph.
Extracts factual assertions from a conversation transcript into provisional, unresolved claim nodes, flagging hedged language rather than smoothing it into stated fact.
Compares a watched loop's headline reading against an independently owned counter-metric reading for each period in a governance graph, and produces a governance edge for every period where the counter-metric crosses its recorded ceiling.
Blocks a loop's proposed "done" signal for a task until the grounded checker's run log shows it actually ran against that exact task, returning a named block instead of a silent pass when the check is missing or mismatched.
Turns a proposed addition to a JSON-file graph into a minimal, reviewable diff, flagging any proposed edge that conflicts with a cross-reference already on file, and never writing directly to the shared graph file itself.
Builds the (change, touches, module) triple a "change does not touch module" claim implies, searches the populated graph's own edge list for that exact subject/predicate/object combination, and reports ACCEPT or REJECT naming the edge it relied on.
Expresses a multi-hop lineage question as a single variable-length path match against native graph storage, bounded by an explicit hop depth and an explicit relationship-type allowlist, instead of a recursive relational join that grows one level per hop.
Wraps every write to a shared graph edge in a transaction tied to the exact row version it was computed against, and retries a rejected write against the row's current state instead of dropping it or blindly reapplying stale values.
Rechecks each past merge in the graph's history against evidence gathered since, reversing any merge new evidence directly contradicts and logging an explicit confirmation for every merge that still holds.
Loads schema.sql into a local SQLite file, then answers availability and provenance questions against the nodes/edges tables with real SQL instead of re-reading source material.