Skip to content

Remove the conversation archive and tracked links - #670

Merged
renkelvin merged 1 commit into
mainfrom
claude/project-thread-377bg9
Oct 18, 2026
Merged

renkelvin merged 1 commit into
mainfrom
claude/project-thread-377bg9

Conversation

@renkelvin

Copy link
Copy Markdown
Contributor

Before. Settings › Agent › Access had four more checkboxes per Agent: "Can save conversations", "Can search conversations", "Can see your tracked links" and "Can keep your tracked links". With those turned on, an Agent on the standing worldlet MCP server could save conversations from outside Worldlet into world.sqlite and search them (the world_conversations tool). It could also keep a table of posts and their links (the world_links tool). Both were built for one migration, and nothing uses them now.

After. Both features are gone. Settings no longer shows the four checkboxes, and the two tools are no longer offered or routed. Rows already in world.sqlite (agent_conversations and state.tracked-links) stay where they are, so backups and restores keep them. Nothing new is written to them. This is the same approach taken when Orders were retired.

What was removed:

  • Contracts and Core: contracts/conversations.ts, contracts/tracked-links.ts, core/agent/conversations.ts and core/agent/tracked-links.ts.
    • In core/agent/grants.ts: the Grant builders, the audit entries for them, and their targets in OWN_GRANT_TARGETS.
    • In turn-trust.ts: their untrusted-tool entries.
  • Gateway: both entries in core/tools/services.json, and their operations in core/tools/gateway.ts.
  • Host: agent-runtime/conversations.ts and agent-runtime/tracked-links.ts.
    • Their wiring in agent-runtime/index.ts (the standing-tool handlers, the grant/ungrant agentAccess operations, and the per-Agent state) and in world-tool-bridge.ts.
    • The agentAccess interface methods in agent-access.ts and host/services.ts.
    • Fox's refusals for the two tools.
    • The archive's save and search code in store/ledger.ts. A backup still leaves out the old agent_conversations_search index.
  • UI: the four toggles in ui/companion/agent-access.ts, and their audit lines.
  • Docs:
    • The two sections and the Access paragraphs in core/agent/GRANTS.md are gone.
    • core/items/STORAGE.md now lists both tables as retired, with their rows kept.
    • A few unrelated uses of the phrase "conversation archive" (meaning Fox's own history) now say "conversation history", so that git grep finds only the storage notes for the retired data.
  • Checks:
    • Removed scripts/conversations-host-check.ts and scripts/tracked-links-host-check.ts, and their entries in test:core.
    • Updated agent-grants-check, world-actions-equivalence-check and your-agent-ui-check.

Checks run locally:

  • npm run check:pr and npm test pass.
  • your-agent-ui-check passes.
  • test:ui:quick timed out on this 4-core container under its parallel load. The checks that failed there (fox-chat-fold-check, startup-setup-check, attention-actions-check) pass when run one at a time.

Generated by Claude Code

Both were built only for one migration and are no longer used. Agents can
no longer save or search conversations in the World, or keep the table of
posts and their links: the two World tools, their four Grants and
Settings checkboxes, the Core and host code, the docs and their host
checks are gone. Rows already in world.sqlite stay, so backups and
restores keep them; nothing new is written.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QruYYCM2FUfEGXqKwSd7m7
@renkelvin renkelvin self-assigned this Oct 18, 2026
@renkelvin
renkelvin enabled auto-merge (squash) October 18, 2026 18:51
@renkelvin
renkelvin merged commit faa6729 into main Oct 18, 2026
5 checks passed
@renkelvin
renkelvin deleted the claude/project-thread-377bg9 branch October 18, 2026 18:53
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.

2 participants