feat: sync open-source context and capsule removal

- remove legacy contexts surfaces from the app, MCP bridge, standalone server, and docs
- keep getContext and retrieveQueryContext while aligning the simplified graph-only contract
- harden dev startup migration behavior and disable the accidental chat surface in open source

Generated with Codex
This commit is contained in:
“BeeRad”
2026-04-17 12:34:51 +10:00
parent 97eeb0789f
commit 07754f5030
87 changed files with 2688 additions and 4861 deletions
+1 -11
View File
@@ -80,12 +80,10 @@ Do not create contradictory instruction files. Prefer one short reinforcement li
| Tool | Description |
|------|-------------|
| `getContext` | Get graph overview - stats, contexts, recent activity |
| `getContext` | Get graph overview - stats, hub nodes, recent activity |
| `retrieveQueryContext` | Pull relevant graph context for a broader current-turn task |
| `createNode` | Create a new node |
| `writeContext` | Save one confirmed durable context node after explicit user approval |
| `queryNodes` | Search nodes by keyword |
| `queryContexts` | List or inspect contexts |
| `getNodesById` | Load nodes by ID |
| `updateNode` | Update an existing node |
| `createEdge` | Create a confirmed connection between nodes |
@@ -121,19 +119,11 @@ Rules:
- use `captured_by = "human"` for direct user creation and user-requested agent capture
- reserve `captured_by = "agent"` for autonomous/background creation only
## Context Rule
- creating a node never requires context
- normal node lookup and update flows should omit context unless the user explicitly asks for it
- if context is intentionally provided, prefer `context_name`
- numeric `context_id` is treated as an internal implementation detail rather than a normal agent-facing field
## Writeback Rule
- do not ask to save every moderately useful point from the conversation
- only suggest a save when the context is unusually durable and valuable
- keep the ask terse and concrete, for example: `Add "X" as a node?`
- never call `writeContext` unless the user has explicitly said yes
## Edge Rule