Manage project memories (constraints, decisions, conventions) - add, list, update, deprecate, or detect conflicts
/plugin marketplace add mwguerra/claude-code-plugins/plugin install docs-specialist@mwguerra-marketplace<action> [args] [--debug]You are implementing /mwguerra:taskmanager:memory.
This command provides direct access to the project memory system, allowing users to manage global memories outside of task execution.
--debug or -d: Enable verbose debug logging to .taskmanager/logs/debug.logWhen --debug is provided:
sess-$(date +%Y%m%d%H%M%S) (e.g., sess-20251212103045)..taskmanager/state.json:
logging.sessionId to the generated ID.logging.debugEnabled = true.logging.debugEnabled = false and logging.sessionId = null at completion.add "description" - Add a new global memoryUsage: /memory add "Always use TypeScript strict mode"
$2 onwards.AskUserQuestion to gather additional details:
taskmanager-memory skill to create the memory:
source.type = "user", source.via = "memory command".status = "active".autoUpdatable = false (user-created).list [--active|--all|--deprecated] - List memoriesUsage:
/memory list - List active memories (default)/memory list --active - List active memories/memory list --all - List all memories including deprecated/memory list --deprecated - List only deprecated memories.taskmanager/memories.json.--active: status == "active"--all: No filter--deprecated: status == "deprecated" || status == "superseded"ID | Kind | Title | Importance | Uses
---------|------------|--------------------------------|------------|-----
M-0001 | constraint | Always use Pest for tests | 5 | 12
M-0002 | decision | Use TypeScript strict mode | 4 | 3
show <id> - Show memory detailsUsage: /memory show M-0001
.taskmanager/memories.json.Memory: M-0001
Title: Always use Pest for tests in Laravel apps
Kind: constraint
Status: active
Importance: 5/5
Confidence: 0.95
Why Important:
Ensures consistency across all test suites and aligns with team standard.
Body:
For any Laravel project in this monorepo, always create tests in Pest.
Do not mix PHPUnit-style tests unless migrating legacy code.
Scope:
- Files: tests/, app/
- Domains: testing, architecture
Source: user (mwguerra) via cli
Timestamps:
- Created: 2025-11-22T10:00:00Z
- Updated: 2025-11-22T10:00:00Z
- Last Used: 2025-12-10T14:30:00Z
Usage: 12 times
Conflict History: (none)
update <id> "new description" - Update memory contentUsage: /memory update M-0001 "Always use Pest for tests, including feature and unit tests"
.taskmanager/memories.json.source.type == "user": Proceed (user can update their own memories).source.type != "user": Ask for confirmation since this is a system memory.AskUserQuestion to confirm the update and ask if any other fields should change.body with new description.updatedAt.id, createdAt, or source.memories.json.deprecate <id> [reason] - Mark memory as deprecatedUsage:
/memory deprecate M-0001/memory deprecate M-0001 "No longer using Pest, switched to PHPUnit".taskmanager/memories.json.AskUserQuestion.status = "deprecated".updatedAt.conflictResolutions[]:
{
"timestamp": "<now>",
"resolution": "deprecated",
"reason": "<the reason>"
}
memories.json.supersede <old-id> "new description" - Supersede with new memoryUsage: /memory supersede M-0001 "Use PHPUnit for all tests instead of Pest"
.taskmanager/memories.json.add):
body from the description.source.type = "user", source.via = "memory command (supersede)".status = "superseded".supersededBy = "<new-id>".updatedAt.conflictResolutions[]:
{
"timestamp": "<now>",
"resolution": "superseded",
"reason": "Superseded by <new-id>"
}
memories.json.conflicts - Check all memories for conflictsUsage: /memory conflicts
.taskmanager/memories.json.scope.files - do referenced files still exist?Checking 5 active memories for conflicts...
Conflicts found:
[WARNING] M-0003: API validation rules
- File not found: app/Services/OldValidator.php
- Suggested action: Update scope or deprecate
[INFO] M-0005: Test coverage requirements
- Referenced domain "e2e-testing" has failing tests
No conflicts: M-0001, M-0002, M-0004
AskUserQuestion.search "query" - Search memories by contentUsage: /memory search "testing"
.taskmanager/memories.json.titlebodytagsscope.domainslist format)./memory list to see available memories."/init first."This command MUST log to .taskmanager/logs/:
To errors.log (ALWAYS):
To decisions.log (ALWAYS):
To debug.log (ONLY when --debug enabled):