End-to-end recipes for common tasks. Pick the workflow that matches your situation.
Workflow type: $ARGUMENTS
retrieve(action: "context", query: "project overview") — confirm empty
act(action: "manage_goal", operation: "create_goal", payload: {"title": "Orient on project", "horizon": "short"})
Explore code/docs → act(action: "store_node", ...) for each key finding
Link nodes with act(action: "store_edge", ...) where relationships improve retrieval
act(action: "manage_goal", operation: "set_progress", goal_id: "<id>", progress: 0.5)
consolidate(action: "run")
act(action: "manage_goal", operation: "list_goals", filters: {"status": "active"})
route(action: "attention_survey", include_idle: false)
Pick top attention item or follow user request
retrieve(action: "context", query: "<current topic>")
Continue working with context, saving causal_context
retrieve(action: "context", query: "<the question>") — save causal_context
Check topology.routing — if "deliberate", run route(action: "deliberate", query: "...")
Optionally retrieve(action: "coverage", query: "...") for quick act/learn/escalate pre-check
Answer using retrieved knowledge + current conversation
act(action: "store_node", node_type: "semantic", content: "...", source: "conversation")
If user confirms → learn(action: "from_outcome", status: "success", causal_node_ids: [...])
Create parent goal: act(action: "manage_goal", operation: "create_goal", payload: {"title": "Explore <repo>"})
Create sub-goals per module (3–6), each with parent_goal_id
For each module: explore → act(action: "store_node", ...) → act(action: "store_edge", ...)
Use consolidate(action: "traverse", start_node_id: "<id>", max_depth: 2) to walk related knowledge
act(action: "manage_goal", operation: "link_nodes", ...) — link findings to sub-goals
act(action: "manage_goal", operation: "set_progress", ...) after each module
route(action: "review_goal", ...) on parent when all sub-goals done
retrieve(action: "context", query: "prior context on <issue>") — save causal_context
Isolate the issue using retrieved context
Test fix
act(action: "store_node", node_type: "episodic", content: "...")
learn(action: "from_outcome", status: "success"|"failure", causal_node_ids: [...]) with real IDs
Link to goal if applicable
Detect: retrieve returns nodes with contradicts edges, or routing: "deliberate"
Diagnose: route(action: "topology", query: "<topic>") — examine SCCs and fault-line edges
Deliberate: route(action: "deliberate", query: "<the contradiction>", write_back: true)
Verify: route(action: "topology", ...) again — confirm κ decreased
Store resolution as semantic node if not already written back
route(action: "attention_survey") → pick top item
retrieve(action: "context", ...) for that goal — save causal_context
Act on it
learn(action: "from_outcome", ...) with real causal IDs
route(action: "review_goal", ...) → follow act/learn/escalate decision
Advance to next attention item
Repeat; consolidate(action: "run") every 4–5 cycles
consolidate(action: "stats") — check overall graph health
consolidate(action: "run")
act(action: "manage_goal", operation: "list_goals") — review all goals
Re-review any active goals near completion thresholds
Transition stale goals to suspended or abandoned with metadata
act(action: "manage_goal", operation: "create_goal", payload: {"title": "Learn <domain>"})
User provides info → act(action: "store_node", ...) for each fact/procedure
act(action: "store_edge", ...) to connect related concepts
act(action: "manage_goal", operation: "link_nodes", ...) — link all nodes to goal
Build out recursively until coverage review returns act
Prepare state snapshot: act(action: "manage_goal", operation: "list_goals")
For each active goal: act(action: "manage_goal", operation: "get_goal", goal_id: "<id>")
Include linked nodes, progress, outcomes, and coverage state
Recipient resumes with /graphonomous:bootstrap to load context
Store pending knowledge: act(action: "store_node", ...)
Report outcomes: learn(action: "from_outcome", ...)
Update goal progress: act(action: "manage_goal", operation: "set_progress", ...)
Consolidate: consolidate(action: "run")