Skip to content

Comments

Remove curator agent template files#81

Merged
azalio merged 2 commits intomainfrom
cleanup-curator-removal
Feb 24, 2026
Merged

Remove curator agent template files#81
azalio merged 2 commits intomainfrom
cleanup-curator-removal

Conversation

@azalio
Copy link
Owner

@azalio azalio commented Feb 24, 2026

Summary

  • Remove .claude/agents/curator.md and src/mapify_cli/templates/agents/curator.md
  • These files were left behind after the Curator agent was removed in f9a6f3f (fixes branch)
  • Also cleaned up untracked temporary files (insert_tier3_bullets.sql, curator_operations_retry.json)

Test plan

  • Template sync tests pass (curator no longer expected)
  • No references to curator remain in agent templates

Summary by CodeRabbit

  • New Features

    • Added slash commands: /map-debate, /map-debug, /map-fast, /map-efficient, /map-plan, /map-release, /map-learn, /map-review
  • Changes

    • Reduced specialized agents from 12 to 11
    • Removed pattern storage and retrieval system
    • Streamlined learning workflow to single-agent processing
  • Removed

    • ACE Learning System
    • Legacy pattern management components

Remove mem0 MCP integration entirely from the project:
- Delete Curator agent (curator.md) and all mem0 tool references
- Clean all 8 agent templates, 7 command files, docs, skills, tests
- Remove ACE learning system references from plugin metadata
- Delete obsolete files (tier3_integration_report.json, apply_tier3_deltas.py,
  playbook.json.backup, requirements-semantic.txt)
- Update __init__.py to remove curator generator and mem0 allowlist

Simplify map-review to always use thorough mode:
- Remove BIG/SMALL mode selection menu
- Always present top 4 issues per section

Fix hook errors causing noise during agent work:
- block-secrets.py: add SAFE_PATH_PREFIXES to stop blocking .claude/ framework files
- safety-guardrails.py: narrow "token"/"password" patterns to file extensions only,
  add .claude/ dirs to safe prefixes, fix missing execute permission
- settings.local.json: remove duplicate workflow-context-injector.py (matcher "*",
  timeout 1s) and duplicate end-of-turn.sh Stop hook

All templates synced via make sync-templates.
635 passed, 1 skipped, 0 failures.
Curator agent was removed in the fixes branch (f9a6f3f) but the
template files were left behind. Clean up both .claude/ and
src/mapify_cli/templates/ copies.
@coderabbitai
Copy link

coderabbitai bot commented Feb 24, 2026

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info

Configuration used: defaults

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 656dca5 and 315caef.

📒 Files selected for processing (88)
  • .claude-plugin/PLUGIN.md
  • .claude-plugin/marketplace.json
  • .claude-plugin/plugin.json
  • .claude/agents/actor.md
  • .claude/agents/curator.md
  • .claude/agents/documentation-reviewer.md
  • .claude/agents/evaluator.md
  • .claude/agents/monitor.md
  • .claude/agents/predictor.md
  • .claude/agents/reflector.md
  • .claude/agents/research-agent.md
  • .claude/agents/task-decomposer.md
  • .claude/commands/map-debate.md
  • .claude/commands/map-debug.md
  • .claude/commands/map-efficient.md
  • .claude/commands/map-fast.md
  • .claude/commands/map-learn.md
  • .claude/commands/map-release.md
  • .claude/commands/map-review.md
  • .claude/hooks/block-secrets.py
  • .claude/hooks/safety-guardrails.py
  • .claude/hooks/workflow-context-injector.py
  • .claude/playbook.json.backup.20251028_160602
  • .claude/references/mcp-usage-examples.md
  • .claude/references/step-state-schema.md
  • .claude/references/workflow-state-schema.md
  • .claude/skills/map-cli-reference/SKILL.md
  • .claude/skills/map-cli-reference/scripts/check-command.sh
  • .claude/skills/map-workflows-guide/SKILL.md
  • .claude/skills/map-workflows-guide/resources/agent-architecture.md
  • .claude/skills/map-workflows-guide/resources/map-debug-deep-dive.md
  • .claude/skills/map-workflows-guide/resources/map-efficient-deep-dive.md
  • .claude/skills/map-workflows-guide/resources/map-fast-deep-dive.md
  • .claude/skills/map-workflows-guide/resources/map-feature-deep-dive.md
  • .claude/skills/map-workflows-guide/resources/map-refactor-deep-dive.md
  • .claude/skills/skill-rules.json
  • .gitignore
  • .map/scripts/map_orchestrator.py
  • CLAUDE.md
  • IMPLEMENTATION_SUMMARY.md
  • docs/ARCHITECTURE.md
  • docs/CLI_COMMAND_REFERENCE.md
  • docs/CLI_REFERENCE.json
  • docs/COMPLETE_WORKFLOW.md
  • docs/INSTALL.md
  • docs/USAGE.md
  • docs/WORKFLOW_FLOW.md
  • requirements-semantic.txt
  • src/mapify_cli/__init__.py
  • src/mapify_cli/templates/CLAUDE.md
  • src/mapify_cli/templates/agents/actor.md
  • src/mapify_cli/templates/agents/curator.md
  • src/mapify_cli/templates/agents/documentation-reviewer.md
  • src/mapify_cli/templates/agents/evaluator.md
  • src/mapify_cli/templates/agents/monitor.md
  • src/mapify_cli/templates/agents/predictor.md
  • src/mapify_cli/templates/agents/reflector.md
  • src/mapify_cli/templates/agents/research-agent.md
  • src/mapify_cli/templates/agents/task-decomposer.md
  • src/mapify_cli/templates/commands/map-debate.md
  • src/mapify_cli/templates/commands/map-debug.md
  • src/mapify_cli/templates/commands/map-efficient.md
  • src/mapify_cli/templates/commands/map-fast.md
  • src/mapify_cli/templates/commands/map-learn.md
  • src/mapify_cli/templates/commands/map-release.md
  • src/mapify_cli/templates/commands/map-review.md
  • src/mapify_cli/templates/hooks/block-secrets.py
  • src/mapify_cli/templates/hooks/safety-guardrails.py
  • src/mapify_cli/templates/hooks/workflow-context-injector.py
  • src/mapify_cli/templates/map/scripts/map_orchestrator.py
  • src/mapify_cli/templates/references/mcp-usage-examples.md
  • src/mapify_cli/templates/references/step-state-schema.md
  • src/mapify_cli/templates/references/workflow-state-schema.md
  • src/mapify_cli/templates/skills/map-cli-reference/SKILL.md
  • src/mapify_cli/templates/skills/map-cli-reference/scripts/check-command.sh
  • src/mapify_cli/templates/skills/map-workflows-guide/SKILL.md
  • src/mapify_cli/templates/skills/map-workflows-guide/resources/agent-architecture.md
  • src/mapify_cli/templates/skills/map-workflows-guide/resources/map-debug-deep-dive.md
  • src/mapify_cli/templates/skills/map-workflows-guide/resources/map-efficient-deep-dive.md
  • src/mapify_cli/templates/skills/map-workflows-guide/resources/map-fast-deep-dive.md
  • src/mapify_cli/templates/skills/map-workflows-guide/resources/map-feature-deep-dive.md
  • src/mapify_cli/templates/skills/map-workflows-guide/resources/map-refactor-deep-dive.md
  • src/mapify_cli/templates/skills/skill-rules.json
  • tests/test_agent_cli_correctness.py
  • tests/test_command_templates.py
  • tests/test_mapify_cli.py
  • tests/test_template_sync.py
  • tests/test_workflow_gate.py

📝 Walkthrough

Walkthrough

This pull request removes the ACE Learning System and Curator agent from the MAP Framework, reducing the agent roster from 12 to 11. The changes eliminate all mem0 MCP integration, including pattern storage, tiered search, and deduplication workflows. The MEM0_SEARCH step is renamed to CONTEXT_SEARCH, and documentation is updated throughout to reflect the simplified architecture.

Changes

Cohort / File(s) Summary
Plugin & Marketplace Metadata
.claude-plugin/PLUGIN.md, .claude-plugin/plugin.json, .claude-plugin/marketplace.json
Updated agent count from 12 to 11; removed ACE from keywords and features; removed ace_paper reference; removed Curator from included_components.
Agent Documentation (Main)
.claude/agents/actor.md, .claude/agents/curator.md, .claude/agents/documentation-reviewer.md, .claude/agents/evaluator.md, .claude/agents/monitor.md, .claude/agents/predictor.md, .claude/agents/reflector.md, .claude/agents/research-agent.md, .claude/agents/task-decomposer.md
Removed all mem0 MCP tool references (mcp__mem0__map_tiered_search, map_add_pattern); deleted entire curator.md; simplified tool selection workflows; removed pattern deduplication and storage guidance; reworked MCP tool examples to exclude mem0.
Command Documentation
.claude/commands/map-debate.md, .claude/commands/map-debug.md, .claude/commands/map-efficient.md, .claude/commands/map-fast.md, .claude/commands/map-learn.md, .claude/commands/map-release.md, .claude/commands/map-review.md
Removed mem0 context blocks; removed Curator from workflows; streamlined execution flows; removed mem0 search steps from pre-execution phases; updated map-review from 7 parallel calls (4 mem0 + 3 agents) to 3 agent calls; simplified map-learn by removing Curator storage/verification steps.
Hook Scripts
.claude/hooks/block-secrets.py, .claude/hooks/safety-guardrails.py, .claude/hooks/workflow-context-injector.py
Added SAFE_PATH_PREFIXES enumeration; refined DANGEROUS_FILE_PATTERNS for password/token detection; updated step 2.1 action text from "mem0 search" to "context search".
Reference Documentation
.claude/references/mcp-usage-examples.md, .claude/references/step-state-schema.md, .claude/references/workflow-state-schema.md
Removed mcp__mem0__map_tiered_search examples and sections; removed MEM0_SEARCH (2.1) from step sequences; removed mem0_search from workflow state completed/pending steps.
Skills & Guide Resources
.claude/skills/map-cli-reference/*, .claude/skills/map-workflows-guide/*
Removed mem0 MCP command references; removed Pattern Storage and Pattern Search sections; updated agent-architecture.md to remove Curator and reflect 11-agent model; renamed "Reflector/Curator: Batched Learning" to "Reflector: Batched Learning" in deep-dive resources.
Core CLI Implementation
src/mapify_cli/__init__.py
Removed curator from default agents mapping and MCP configuration; removed create_curator_content function; removed mem0 MCP tool from allowlist; updated Reflector description to remove ACE references.
Agent & Command Templates
src/mapify_cli/templates/agents/*, src/mapify_cli/templates/commands/*
Mirrored removals from main agent/command docs: removed mem0 references, removed curator.md template, simplified tool workflows, removed pattern deduplication steps.
Hook Templates
src/mapify_cli/templates/hooks/*
Added SAFE_PATH_PREFIXES and updated hook logic to match main implementation; refined secret detection patterns.
Orchestration & State
.map/scripts/map_orchestrator.py, src/mapify_cli/templates/map/scripts/map_orchestrator.py
Renamed STEP_PHASES["2.1"] from "MEM0_SEARCH" to "CONTEXT_SEARCH"; updated step instruction text accordingly.
Architecture & Workflow Documentation
docs/ARCHITECTURE.md, docs/COMPLETE_WORKFLOW.md, docs/WORKFLOW_FLOW.md, docs/USAGE.md, docs/CLI_COMMAND_REFERENCE.md, docs/INSTALL.md, CLAUDE.md, IMPLEMENTATION_SUMMARY.md
Removed mem0-centric sections; updated step sequencing to remove MEM0_SEARCH phase; removed Curator from learning workflows; replaced explicit mem0 references with generalized pattern terminology; simplified CLI reference documentation.
Build & Configuration
.gitignore, requirements-semantic.txt, src/mapify_cli/templates/CLAUDE.md
Removed curator-related temp file entries from .gitignore; deleted semantic search dependencies file; removed Curator safety guideline from CLAUDE template.
Test Suite
tests/test_agent_cli_correctness.py, tests/test_command_templates.py, tests/test_mapify_cli.py, tests/test_template_sync.py, tests/test_workflow_gate.py
Removed curator.md from expected agents list (12→11); removed mem0 query count assertions; removed mem0_search from workflow step expectations; removed curator skip checks.

Estimated code review effort

🎯 4 (Complex) | ⏱️ ~75 minutes

The changes span 90+ files with extensive scope, but the nature of edits is highly repetitive and consistent (systematic removal of mem0 references, Curator agent, and related workflows across the codebase). While individually each file change is straightforward, the breadth of the change set and potential for overlooked references in cascading systems demands careful verification of completeness and cross-file consistency.

Possibly related PRs

Poem

🐰 Whiskers twitch with glee—
No more curator's dance, mem0 retreats with grace,
Eleven agents hop where twelve once stepped,
Simpler paths now bloom! Learning flows anew.

✨ Finishing Touches
  • 📝 Generate docstrings (stacked PR)
  • 📝 Generate docstrings (commit on current branch)
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch cleanup-curator-removal

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

Comment @coderabbitai help to get the list of available commands and usage tips.

@azalio azalio merged commit 88f7b71 into main Feb 24, 2026
6 of 7 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