on master help sign in
–add explanation of agent state
39164b3Yaseen
content/docs/userspace/graph-store/graph-store-reference.md+18−1
@@ -238,4 +238,21 @@ Note: this is equivalent to `/x/graph/[ship]/[name]`
238
238
239## Agent State
239## Agent State
240
240
241−The agent holds
241+The following is the definition of the agent state, known as `network`.
242+
243+```hoon
244++$ network
245+ $: =graphs
246+ =tag-queries
247+ =update-logs
248+ archive=graphs
249+ ~
250+ ==
251+```
252+
253+Briefly,
254+- `graphs` represents all graphs that graph store is aware of an is storing data about.
255+- `tag-queries` is how graph store implements its tagging system, and uses it to keep track of associations between tags and the respective index.
256+- `update-logs` is where graph-store stores the update-log that backs each graph, keyed by resource <!-- refrence to advanced section talking about how this is the source of truth -->
257+- `archive` is where graph-store stores archived graphs. these are graphs which can no longer have updates run against them. <!-- this nuance should also be present in the advanced info -->
258+