Skip to content

Remove the bundled memory system - #282

Merged
yourconscience merged 6 commits into
mainfrom
remove-bundled-memory
Nov 16, 2026
Merged

yourconscience merged 6 commits into
mainfrom
remove-bundled-memory

Conversation

@yourconscience

@yourconscience yourconscience commented Nov 16, 2026 •

Copy link
Copy Markdown
Owner

What and why

tackroom no longer ships a memory system. Memory was never one of the five synced surfaces, a new setup turned it on without asking until #280, and the maintained copy of the code now lives in rem. What tackroom keeps is delivery: a memory file listed under instructions: reaches every harness it writes a root file for.

  • Removed: memory/ (hooks, lib, tests, the rem and knowledge-sync sources), the memory tiers, the Go tool build in sync, and the memsearch commands and status check.
  • setup --memory is still accepted. off is silent; basic and memsearch print one line and setup continues.
  • Existing configs keep working. Old memory-session-* entries are ordinary hooks. While a hook runs a script under memory/hooks/, every file under memory/ stays, leaves .tackroom-starter.json, and the first sync says so once. Without such a hook, unedited memory scripts are removed like any file a release stopped shipping.
  • docs/memory.md is rewritten: delivery through instructions: with the Agent Memory Repo layout, rem as one hook entry, the native memory keys for Claude Code, Codex and OMP through settings:, and other tools as plain MCP or skill entries.
  • Philosophy, comparison, setup, hooks, commands, troubleshooting, the README, the skill and AGENTS.md no longer describe tiers.

How I checked it

Throwaway homes, --no-cron on every setup:

  • 2.8.0 setup --memory basic, then this branch's sync twice: the first prints memory/ in ~/.agents is yours now: ..., the second prints nothing; tackroom.yaml and ~/.claude/settings.json are byte-identical; the hook scripts are still there; the manifest lists no files.
  • Fresh setup --memory basic on this branch: prints tackroom no longer sets up memory. See ... and finishes; no memory/ in the root.
  • A MEMORY.md under instructions: arrives as an @path import in ~/.claude/CLAUDE.md and inside the generated ~/.codex/AGENTS.md.
  • settings: writes autoMemoryEnabled, features.memories and memory.backend into the three native files.
  • tackroom skill sources add AgentMemoryRepo/agentmemoryrepo --skills agent-memory-repo pins and syncs the skill.

Do not merge before rem is public: the page links to it.

Tests of removed code are deleted. Some deleted tests only used the tier constants and covered other things: git init on a fresh root, a bearer token staying out of tackroom.yaml, and the starter inventory.

  • go test ./... and go vet ./... pass
  • I can explain this change without an AI tool

Summary by Sourcery

Remove the bundled memory system while retaining compatibility for existing configurations and supporting memory delivery through declared instruction files.

Enhancements:

  • Replace tackroom’s bundled memory tiers and capture pipeline with delivery of user-declared memory files through instructions: and native harness memory settings.
  • Preserve compatibility for existing memory configurations by treating legacy memory hooks as ordinary hooks and handing off existing memory files without further management.
  • Remove memory-specific CLI commands, synchronization checks, tool builds, starter assets, and CI coverage.

CI:

  • Remove the dedicated bundled-memory test job and release-time memory test execution.

Documentation:

  • Rewrite memory, setup, command, philosophy, comparison, troubleshooting, upgrade, README, skill, and contributor guidance to describe memory delivery and external tools such as rem.

Tests:

  • Delete tests covering the removed memory tiers, hooks, tools, memsearch functionality, and related setup behavior.

Chores:

  • Move rem and knowledge-sync ownership out of tackroom and direct users to the external rem repository.

@sourcery-ai

sourcery-ai Bot commented Nov 16, 2026

Copy link
Copy Markdown

Sorry @yourconscience, you've used your own review budget of 250,000 diff characters for the last 7 days.

You can request another review in 3 days and 1 hour by commenting @sourcery-ai review. Upgrade to get a review now.

@coderabbitai

coderabbitai Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: e1f53455-4e9c-4f6a-85e3-a2a236cedd5b
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@sourcery-ai

sourcery-ai Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

Reviewer's Guide

API

Remove the memsearch command routes and status surface while retaining setup --memory as a deprecated no-op for older scripts.

  • internal/app/app.go L511-514 (+10 small edits)

Implementation

Remove setup-time memory-tier provisioning, hook migration and cleanup, and memory-tool installation so setup now handles only ordinary configuration and starter assets.

  • internal/app/setup.go L92-312 (9 small edits)
  • internal/app/setup_scaffold.go L10-246 (9 small edits)
  • internal/app/setup_summary.go L51-249 (4 small edits)

Retire bundled memory tools and memsearch health checks, and remove the special native-hook removal machinery now that legacy memory hooks are ordinary declared hooks.

  • internal/app/skill_sources.go L159-162
  • internal/app/sync.go L268, L273-274, L497
  • starter_assets.go L13
  • internal/app/doctor.go L12 (removed lines), L105 (removed lines), L467 (removed lines)
  • internal/app/hooks.go L277 (removed lines), L562 (removed lines)
  • internal/app/memory_tools.go (deleted)
  • internal/app/memsearch.go (deleted)
  • internal/app/package_age.go L166 (removed lines)
  • internal/app/report.go L625 (removed lines)

Change starter-file reconciliation to release legacy memory/ files when hooks still use them, or retire managed scripts otherwise, and report the handoff once.

  • internal/app/starter_manifest.go L232-238, L331-336, L391-426 (+5 small edits)

UI

Update the project artwork to the revised memory-free branding.

  • docs/images/tackroom-dark.svg L11
  • docs/images/tackroom-light.svg L11

Configuration

Remove the dedicated memory test job and memory-specific release checks, and update the starter and repository ignore/config files for the reduced distribution.

  • tackroom.yaml L6
  • .github/workflows/ci.yml L71 (removed lines)
  • .gitignore L9 (removed lines), L15 (removed lines)
  • scripts/release.sh L86 (removed lines)
  • starter.gitignore L6 (removed lines)

Documentation

Explain the new delivery-only memory model, legacy migration behavior, native memory settings, and external capture tools, and remove tier-based setup guidance across user-facing documentation.

  • AGENTS.md L17-44 (4 small edits)
  • CONTRIBUTING.md L25, L34
  • README.md L66
  • docs/README.md L19
  • docs/commands.md L12, L82 (removed lines)
  • docs/comparison.md L15, L24, L32-41
  • docs/crons.md L116-119
  • docs/hooks.md L30, L72, L98
  • docs/memory.md L3-113
  • docs/philosophy.md L32-35, L53
  • docs/setup.md L12-151 (5 small edits)
  • docs/troubleshooting.md L58, L61 (removed lines)
  • docs/upgrading.md L11-14

Tests

Delete tests for removed memory tiers, hooks, tools and memsearch checks, while retaining unrelated setup and doctor coverage.

  • internal/app/amp_memory_e2e_test.go (deleted)
  • internal/app/doctor_test.go L6 (removed lines), L9 (removed lines), L88 (removed lines)
  • internal/app/memory_tools_test.go (deleted)
  • internal/app/memsearch_test.go (deleted)
  • internal/app/setup_separation_test.go L6-345 (7 small edits)
  • internal/app/starter_manifest_test.go L246 (removed lines)
  • internal/app/v16_test.go L225 (removed lines)
  • memory/tests/test_basic_memory_hooks.py (deleted)
  • memory/tools/knowledge-sync/main_test.go (deleted)
  • memory/tools/rem/dream_test.go (deleted)
  • memory/tools/rem/search_test.go (deleted)

Lock files and vendored code

Remove the embedded bundled memory implementation, its tool sources and related starter assets from the repository distribution.

  • memory/AGENTS.md (deleted)
  • memory/README.md (deleted)
  • memory/hooks/basic-session-end.py (deleted)
  • memory/hooks/basic-session-start.py (deleted)
  • memory/hooks/common.sh (deleted)
  • memory/hooks/session-end.sh (deleted)
  • memory/hooks/session-start.sh (deleted)
  • memory/hooks/stop.sh (deleted)
  • memory/lib/basic_memory.py (deleted)
  • memory/lib/safety.py (deleted)
  • memory/tools/knowledge-sync/.gitignore (deleted)
  • memory/tools/knowledge-sync/README.md (deleted)
  • memory/tools/knowledge-sync/go.mod.template (deleted)
  • memory/tools/knowledge-sync/main.go (deleted)
  • memory/tools/memsearch/README.md (deleted)
  • memory/tools/memsearch/install-parity.sh (deleted)
  • memory/tools/rem/README.md (deleted)
  • memory/tools/rem/dispatch.go (deleted)
  • memory/tools/rem/dream.go (deleted)
  • memory/tools/rem/go.mod.template (deleted)
  • memory/tools/rem/main.go (deleted)

Other changes

Files not grouped.

  • skills/tackroom/SKILL.md L81-84 (+4 small edits)

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@yourconscience
yourconscience merged commit 4800621 into main Nov 16, 2026
12 checks passed
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.

1 participant