Skip to content

Comments

refactor: aggressive simplification — remove bloat, consolidate skills/commands#21

Merged
zircote merged 1 commit intomainfrom
refactor/simplify-and-pare-down
Feb 18, 2026
Merged

refactor: aggressive simplification — remove bloat, consolidate skills/commands#21
zircote merged 1 commit intomainfrom
refactor/simplify-and-pare-down

Conversation

@zircote
Copy link
Owner

@zircote zircote commented Feb 17, 2026

Summary

  • 104 files changed, +561 / -23,255 lines (net -22,694 lines removed)
  • Skills: 14 → 10, with consistent naming (dropped redundant mnemonic- prefix)
  • Commands: 15 → 11
  • GitHub Workflows: 13 → 5
  • Tests: 397/397 passing throughout, zero regressions

What was removed

  • Dead docs: docs/archive/ (24 files), docs/enterprise/ (6 files), reports/ (7 files)
  • Deprecated ontologies, duplicate images, one-shot migration scripts
  • Over-engineered agentic workflow files (8 .lock.yml + .md pairs)
  • Redundant docs: api-reference.md, architecture/ subdir, tutorials/README.md, lib/README.md
  • lib/__init__.py stripped from 139-line kitchen-sink re-exports to 1-line docstring

What was consolidated

  • Skills merged: search-enhanced + progressive-disclosuresearch; agent-coordinationblackboard; organization deleted (all duplicated)
  • Skills rewritten: search 494→167 lines, format 745→197 lines
  • Commands deleted: init (subset of setup), discover (ontology handles), search-enhanced (redundant), team-audit (custodian covers)
  • Skill naming normalized: mnemonic-corecore, mnemonic-searchsearch, etc.

Test plan

  • 397/397 pytest tests passing after each iteration
  • All cross-references in docs, ADRs, tools, README updated
  • tools/mnemonic-validate hardcoded path updated to skills/format/SKILL.md
  • No broken links to deleted files remain (CHANGELOG historical refs preserved)
  • CI workflows pass on this PR

…s/commands, normalize naming

- Delete 73 files: dead docs (archive/, enterprise/, reports/), deprecated ontologies,
  duplicate images, one-shot migration scripts, over-engineered agentic workflows
- Consolidate skills 14→10: merge search-enhanced/progressive-disclosure into search,
  agent-coordination into blackboard, delete organization (all duplicated content)
- Consolidate commands 15→11: delete init (subset of setup), discover (ontology handles),
  search-enhanced (redundant), team-audit (custodian covers)
- Rewrite skills: search 494→167 lines, format 745→197 lines, blackboard absorbs coordination
- Strip lib/__init__.py from 139-line kitchen-sink re-exports to 1-line docstring
- Normalize skill naming: drop redundant mnemonic- prefix (core, search, format, setup, blackboard)
- Delete 8 GitHub workflow files (agentic lock.yml + .md pairs)
- Fix all cross-references in docs, ADRs, tools, README
- 397/397 tests passing throughout
Copilot AI review requested due to automatic review settings February 17, 2026 00:19
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR aggressively reduces repository size by removing deprecated docs/scripts and consolidating skills/commands, including renaming skills to a consistent scheme (dropping the mnemonic- prefix) and updating documentation references accordingly.

Changes:

  • Removed legacy migration/cleanup scripts and large archived documentation/research content.
  • Consolidated/renamed skills and commands (e.g., search-enhanced merged into search) and updated docs/ADRs to match new paths/names.
  • Simplified lib/__init__.py from a large re-export surface to a minimal module docstring.

Reviewed changes

Copilot reviewed 75 out of 104 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
scripts/migrate_scope_paths.py Removed legacy one-off migration script as part of repo de-bloat.
scripts/migrate_namespaces.py Removed legacy namespace migration script.
scripts/fix_malformed_memories.py Removed legacy memory repair script.
scripts/cleanup_memory_paths.py Removed legacy path cleanup script.
reports/ai-memory-filesystem-research/state.json Removed generated research artifact content.
reports/ai-memory-filesystem-research/README.md Removed research index doc for the deleted report.
reports/ai-memory-filesystem-research/2026-01-24-report-metadata.json Removed report metadata artifact.
reports/ai-memory-filesystem-research/2026-01-24-executive-summary.md Removed executive summary artifact.
reports/README.md Removed reports index to match removal of reports/ content.
lib/init.py Simplified package init to avoid kitchen-sink re-exports.
lib/README.md Removed large internal library README (doc consolidation).
docs/validation.md Updated skill path reference to skills/format/SKILL.md.
docs/tutorials/README.md Removed tutorials index README (docs consolidation).
docs/semantic-search.md Updated references from search-enhanced to consolidated search skill.
docs/ontologies.md Removed docs mention of deleted /mnemonic:discover command.
docs/library-reference.md Removed link to deleted lib/README.md.
docs/enterprise/research-validation.md Removed enterprise docs subtree content (de-bloat).
docs/enterprise/productivity-roi.md Removed enterprise docs subtree content (de-bloat).
docs/enterprise/developer-experience.md Removed enterprise docs subtree content (de-bloat).
docs/enterprise/compliance-governance.md Removed enterprise docs subtree content (de-bloat).
docs/enterprise/README.md Removed enterprise docs landing page.
docs/archive/templates/plugin-hooks/mnemonic-suggest.py Removed archived template content.
docs/archive/templates/plugin-hooks/hooks.json.template Removed archived template content.
docs/archive/templates/plugin-hooks/README.md Removed archived template content.
docs/archive/templates/mnemonic-protocol.md Removed archived template content.
docs/archive/templates/cursor-rule.mdc Removed archived template content.
docs/archive/templates/copilot-instructions.md Removed archived template content.
docs/archive/templates/codex-skill/SKILL.md Removed archived template content.
docs/archive/templates/CONVENTIONS.md Removed archived template content.
docs/archive/templates/AGENTS.md Removed archived template content.
docs/archive/integrations/windsurf.md Removed archived integration doc.
docs/archive/integrations/opencode.md Removed archived integration doc.
docs/archive/integrations/github-copilot.md Removed archived integration doc.
docs/archive/integrations/gemini-cli.md Removed archived integration doc.
docs/archive/integrations/cursor.md Removed archived integration doc.
docs/archive/integrations/continue.md Removed archived integration doc.
docs/archive/integrations/codex-cli.md Removed archived integration doc.
docs/archive/integrations/aider.md Removed archived integration doc.
docs/archive/integrations/README.md Removed archived integrations index.
docs/archive/community/quickstart-memory-bank.md Removed archived community doc.
docs/archive/community/mnemonic-vs-memory-bank.md Removed archived community doc.
docs/archive/community/migration-from-memory-bank.md Removed archived community doc.
docs/archive/community/adoption-stories.md Removed archived community doc.
docs/archive/community/README.md Removed archived community index.
docs/archive/community/CONTRIBUTING-COMMUNITY.md Removed archived community contributing guide.
docs/architecture/path-resolution-integration.md Removed outdated integration guide as part of docs consolidation.
docs/architecture.md Updated docs to match consolidated skills/commands and removed references to deleted docs.
docs/api-reference.md Removed redundant Python API reference doc.
docs/agent-coordination.md Removed coordination doc in favor of blackboard skill reference.
docs/adrs/adr-009-unified-path-resolution.md Removed link to deleted path-resolution integration guide.
docs/adrs/adr-008-custom-ontologies.md Updated skill path references to renamed format skill.
docs/adrs/adr-004-mif-schema-validation.md Updated naming references for format skill (but see suggestion).
docs/adrs/adr-002-mif-level-3-format.md Updated references to renamed core/format skills.
docs/adrs/adr-001-filesystem-based-storage.md Updated references to renamed core/format skills.
commands/team-audit.md Removed command as part of command consolidation.
commands/search-enhanced.md Removed command as search is consolidated into /mnemonic:search.
commands/init.md Removed redundant init command (subset of setup).
commands/discover.md Removed discover command (Ontology now covers).
commands/capture.md Updated schema reference to format skill.
README.md Updated top-level docs/command/skill references to consolidated, renamed set.
.github/workflows/update-docs.md Removed workflow as part of CI/workflow reduction.
.github/workflows/plan.md Removed workflow as part of CI/workflow reduction.
.github/workflows/issue-triage.md Removed workflow as part of CI/workflow reduction.
.github/workflows/ci-doctor.md Removed workflow as part of CI/workflow reduction.
.claude-plugin/plugin.json Simplified plugin manifest (but see suggestion).

"./agents/mnemonic-search-subcall.md",
"./agents/compression-worker.md",
"./agents/ontology-discovery.md"
]
Copy link

Copilot AI Feb 17, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The plugin manifest no longer declares any commands, skills, or agents. If the runtime relies on plugin.json for registration (as the removed content suggests), this will prevent the plugin from loading any functionality. Consider restoring explicit commands/skills/agents entries (or, if you intentionally switched to auto-discovery, keep the change but ensure the loader is updated accordingly and documented).

Suggested change
]
],
"commands": [],
"skills": [],
"agents": []

Copilot uses AI. Check for mistakes.
---
title: "MIF Schema as Single Source of Truth for Validation"
description: "Validation tool parses MIF schema from mnemonic-format SKILL.md directly"
description: "Validation tool parses MIF schema from format SKILL.md directly"
Copy link

Copilot AI Feb 17, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These references appear to use an incorrect path (format/SKILL.md) and are inconsistent with other updated docs that point to skills/format/SKILL.md. Update these to the full skills/format/SKILL.md path to avoid broken references and keep ADR wording consistent.

Suggested change
description: "Validation tool parses MIF schema from format SKILL.md directly"
description: "Validation tool parses MIF schema from skills/format/SKILL.md directly"

Copilot uses AI. Check for mistakes.
### Option 3: Parse Schema from SKILL.md (Selected)

**Description**: Validation tool parses rules directly from `mnemonic-format/SKILL.md`.
**Description**: Validation tool parses rules directly from `format/SKILL.md`.
Copy link

Copilot AI Feb 17, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These references appear to use an incorrect path (format/SKILL.md) and are inconsistent with other updated docs that point to skills/format/SKILL.md. Update these to the full skills/format/SKILL.md path to avoid broken references and keep ADR wording consistent.

Suggested change
**Description**: Validation tool parses rules directly from `format/SKILL.md`.
**Description**: Validation tool parses rules directly from `skills/format/SKILL.md`.

Copilot uses AI. Check for mistakes.
@zircote zircote merged commit 304764e into main Feb 18, 2026
7 checks passed
@zircote zircote deleted the refactor/simplify-and-pare-down branch February 18, 2026 01:01
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