Reuse the agents directory identifier
These commands use the exact directory name found in Module 5.2. Keep the runtime engine enabled through Module 5.6.
Keep graph memory separate from KV
Graph memory stores connected semantic facts from runtime work. KV memory stores exact human-managed values. This sitting uses only the graph.
Store three deliberately scoped facts
armaraos memory graph-remember <AGENT> "<FACT>" --scope agent_private --confidence 1.0
armaraos memory graph-remember <AGENT> "<FACT>" --scope workspace_shared --confidence 0.9
armaraos memory graph-remember <AGENT> "<FACT>" --scope org_shared --confidence 0.8
Read each scope on its own
armaraos memory graph-inspect <AGENT> --scope <SCOPE> --limit 20 --json
| Scope | Use it for |
|---|---|
agent_private | Knowledge for one agent. |
workspace_shared | Knowledge shared in one workspace. |
org_shared | Knowledge intended for the wider organization. |
Search across the graph
armaraos memory graph-search <AGENT> "Course 5" --limit 20 --json
The real search returned all three nodes. Inspect is the clearer view when scope matters.
Copy the exact fact before forgetting
Search is forgiving enough to find related text. Forget is not: it matches the stored fact text exactly.
Delete one fact and prove absence
armaraos memory graph-forget <AGENT> "<EXACT_FACT>"
armaraos memory graph-search <AGENT> "<UNIQUE_FRAGMENT>" --json
Recognize a near miss
A zero-row response is useful evidence, but re-inspection is still the proof.
Check it / prove all three states
Inspect, search, then verify the deletion.
Confirm the private fact is absent while the workspace and organization facts remain for the backup lesson.
Graph forget is permanent and has no dry run or undo. Search for the exact stored string first, then re-inspect after every deletion.
Troubleshooting for this sitting
| What you see | Likely cause | What to do |
|---|---|---|
| No such agent | The directory identifier is wrong. | Inspect the agents folder again. |
| Search finds every scope | Search spans graph payloads. | Use inspect for a scoped view. |
| Forget removes zero | The text is not exact. | Copy it from search output. |
| Confidence has a long decimal | Floating-point representation. | Use the rounded inspect value. |