Skip to content

feat(netwatch): graph --ingest wires the System Graph into hellgraph (loop #2 done) - #44

Merged
mdheller merged 1 commit into
mainfrom
feat/netwatch-graph-ingest
Aug 3, 2026
Merged

feat(netwatch): graph --ingest wires the System Graph into hellgraph (loop #2 done)#44
mdheller merged 1 commit into
mainfrom
feat/netwatch-graph-ingest

Conversation

@mdheller

@mdheller mdheller commented Aug 3, 2026

Copy link
Copy Markdown

Completes consent-plane loop #2. turtle-netwatch graph --ingest ingests the System Graph KnowledgeUpdate delta into hellgraph's AtomSpace, so the Network/Connections agent's observations become queryable memory — previously the delta was written to a sink nothing consumed.

  • _discover_hellgraph()$HELLGRAPH_HOME → a sibling ~/dev/hellgraph checkout with a built ingest bin.
  • _ingest_to_hellgraph() — shells node bin/hellgraph-agent-ingest.mjs -, fail-soft: graph memory is not a security mutation, so if node/hellgraph is absent the delta still lands on the sink and we report ingested:false with a reason (contrast the consent/Governor gates, which are fail-closed).
  • graph --ingest flag; runbook updated.

Proof

End-to-end against the real hellgraph: 3 nodes + 1 edge ingested into the SYSTEM AtomSpace (ingested:true, hellgraph:{nodes:3,edges:1}). Fail-soft test (no hellgraph → ingested:false, exit 0) passes; compiles clean.

Pairs with SocioProphet/hellgraph#50 (the ingest entrypoint). With this, the netwatch vertical is whole: observe → System Graph memory → detect → consent-gate → Governor → apply/refuse → receipts.

…(loop #2 done)

Completes consent-plane loop #2: turtle-netwatch graph --ingest ingests the
System Graph KnowledgeUpdate delta into hellgraph's AtomSpace, so the network
agent's observations become queryable memory (was: a delta on a sink nothing
consumed).

- _discover_hellgraph(): $HELLGRAPH_HOME -> sibling ~/dev/hellgraph with a built
  ingest bin.
- _ingest_to_hellgraph(): shells `node bin/hellgraph-agent-ingest.mjs -`, FAIL-SOFT
  (graph memory is not a security mutation) — if node/hellgraph absent the delta
  still lands on the sink and we report ingested:false with a reason.
- `graph --ingest` flag; runbook updated.

Proven end-to-end against the real hellgraph: 3 nodes + 1 edge ingested into the
SYSTEM AtomSpace. Fail-soft test (no hellgraph -> ingested:false, exit 0) passes.
Pairs with SocioProphet/hellgraph#50 (the ingest entrypoint).
@mdheller
mdheller merged commit e5b9364 into main Aug 3, 2026
6 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant