Why
The Tau integration must provide continuity, not merely tool access. A fresh, resumed, or compacted session should recover the objective, decisions, unfinished work, and next action without making the user explain everything again. Knowledge should remain useful across Tau, Hermes, OpenClaw, Claude, and Codex through the same Basic Memory graph.
Reference: https://docs.basicmemory.com/reference/ai-assistant-guide and https://docs.basicmemory.com/concepts/vs-built-in-memory. Hermes and OpenClaw are implementation references for persistent MCP access and automatic capture.
Scope and implementation plan
- Add a Tau-native package in
integrations/tau/ using supported extension APIs. Verify synchronous setup versus asynchronous MCP discovery and lifecycle timing before selecting the bridge design.
- Maintain a persistent MCP connection. Discover every page of tools/list and expose every server-advertised tool with its real name, description, and input schema. Namespace host tools to avoid collisions, retain MCP names for forwarding, and respect server feature gates.
- Forward calls without reimplementing routing, authentication, or domain behavior. Preserve structured results, content, and error status. No automatic retries of ambiguous writes or claims of saving without a successful result.
- Automatic recall on session start/resume: load bounded relevant context from configured projects, including active work, decisions, and checkpoints. Recovered notes are evidence, not executable instructions. Check live repository state before treating a recovered coding checkpoint as current.
- Capture as work progresses: contribute instructions and shared memory workflows that encourage recording durable decisions, findings, and context with observations and relations, updating existing notes instead of duplicating them.
- Automatic compaction checkpoints: persist useful resumable context at the supported compaction boundary and restore its reference afterward. Verify callback timing and context availability. Do not assume an event name guarantees an awaited pre-compaction barrier. If Tau lacks a required public seam, report the blocker and propose an upstream change rather than silently substituting a weaker behavior.
- Configurable transcript capture and session summaries: keep raw conversation records distinct from synthesized knowledge and link summaries/checkpoints to their source when captured. Provide clear capture controls and destination disclosure. Exclude secrets, hidden reasoning, and raw tool-output dumps from automatic transcript capture. Define replay/deduplication and branch/resume semantics.
- Explicit orientation, checkpoint, remember, and status workflows complement automation. Status reports connection, project routing, recall/capture/checkpoint state, and failures. Automatic writes require a resolved, configured destination; never guess a team target.
- Document installation, dependency setup, configuration, local/cloud routing, capture defaults, and lifecycle behavior. No silent dependency installation, project creation, or credential changes.
- Add bridge/lifecycle tests, actual Tau extension-loading tests, and isolated real Basic Memory round trips. Wire package checks and CI.
Acceptance criteria
- Every advertised MCP tool is available with its original input schema, including pagination and tools absent from existing curated integrations.
- Explicit project/workspace arguments reach Basic Memory unchanged.
- A new session recovers previous work without a manual orientation command. Recall stays bounded and cites actual returned note identifiers.
- Compaction preserves the objective, decisions, unfinished work, verification, and next action in durable memory; the next context can find that checkpoint.
- Capture controls are honored, replays do not duplicate conversation segments, and failed writes remain visible rather than being marked saved.
- Transcript capture is distinguishable from synthesized knowledge. Knowledge notes remain portable and usable by another agent.
- MCP sessions and child processes close on failure, cancellation, shutdown, and reload without duplicate registrations or background writers surviving retirement.
- Errors are actionable. Automatic memory failures do not masquerade as success or unnecessarily stop the coding session.
- Text, structured content, and non-text results are tested; unsupported types are surfaced explicitly, not silently discarded.
- Tests exercise fresh-session recall, capture, compaction continuity, disable controls, reload/resume, failure, and cancellation. Real read/search/write verification uses temporary projects, not production data.
- Existing integrations remain unchanged except necessary shared packaging wiring.
Out of scope
Generalized MCP hosting inside Tau core and edits to installed Tau Python files. Missing public extension capabilities should receive a separate upstream proposal, not a local package patch.
Delivery
Worktree: ../basic-memory-tau-1487, branch feat-tau-1487. Submit a signed-off PR linked here, run package/static/targeted integration verification, and enter the latest-head review loop. No merge without authorization.
Why
The Tau integration must provide continuity, not merely tool access. A fresh, resumed, or compacted session should recover the objective, decisions, unfinished work, and next action without making the user explain everything again. Knowledge should remain useful across Tau, Hermes, OpenClaw, Claude, and Codex through the same Basic Memory graph.
Reference: https://docs.basicmemory.com/reference/ai-assistant-guide and https://docs.basicmemory.com/concepts/vs-built-in-memory. Hermes and OpenClaw are implementation references for persistent MCP access and automatic capture.
Scope and implementation plan
integrations/tau/using supported extension APIs. Verify synchronous setup versus asynchronous MCP discovery and lifecycle timing before selecting the bridge design.Acceptance criteria
Out of scope
Generalized MCP hosting inside Tau core and edits to installed Tau Python files. Missing public extension capabilities should receive a separate upstream proposal, not a local package patch.
Delivery
Worktree:
../basic-memory-tau-1487, branchfeat-tau-1487. Submit a signed-off PR linked here, run package/static/targeted integration verification, and enter the latest-head review loop. No merge without authorization.