@vheins/local-memory-mcp 0.14.7 → 0.14.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,32 +3,26 @@ name: memory-index-policy
3
3
  description: Strict memory storage criteria.
4
4
  arguments: []
5
5
  agent: Memory Auditor
6
- version: "1.0.0"
7
- license: Proprietary — Personal Use Only
8
6
  category: workflows
9
- type: Utility
10
- complexity: Beginner
7
+ version: "1.0.0"
11
8
  tags: [memory, indexing, policy, mcp]
12
- author: vheins
13
9
  ---
14
- # Memory Indexing Rules
15
10
 
16
- ## ❌ FORBIDDEN
17
- - Temporary discussions/brainstorming.
18
- - Opinions without consensus.
19
- - Generic knowledge from public docs.
11
+ ## FSM
12
+
13
+ Entry=G0 S0 → S1 → S2 Exit=stored|rejected
14
+ Guard: S(N) req S(N-1)✅
15
+
16
+ G0 | is durable + project-specific? NOT forbidden types? | content provided? | → S0 / reject | —
17
+ S0 | classify type (code_fact|decision|mistake|pattern|task_archive) + tech tags | G0✅ | classified | —
18
+ S1 | scope: is_global ONLY if cross-repo applicable | S0✅ | scoped | —
19
+ S2 | store via memory-store | S1✅ | memory created | —
20
20
 
21
- ## MANDATORY
22
- Only store durable, project-specific knowledge.
23
- - **Types**: `code_fact`, `decision`, `mistake`, `pattern`, `task_archive`.
24
- - **Content**: Architecture, UI/UX choices, stack patterns, hard-won bug fixes.
25
- - **Global**: Set `is_global` only if applicable across repositories (e.g., framework anti-patterns).
26
- - **Categorization**: Use accurate technology tags.
21
+ ## Forbidden (G0→reject)
27
22
 
28
- ## Operational Note
29
- - Do **not** store agent coordination state as memory.
30
- - Use `handoff-create`, `handoff-list`, and `handoff-update` for agent handoffs.
31
- - Use `task-claim` for task ownership instead of encoding claims in memory metadata.
32
- - File ownership/claims are coordination state; never store them as `file_claim` memory entries.
33
- - Use `standard-store` for normative coding standards; do not bury implementation rules in generic `decision` memories.
34
- - Use `standard-search` as the standards navigation layer before applying or creating standards.
23
+ - Temporary discussions / brainstorming
24
+ - Opinions without consensus
25
+ - Generic knowledge from public docs
26
+ - Agent coordination state (use handoff-create/handoff-list/handoff-update instead)
27
+ - File ownership / claims (use task-claim/claim-list/claim-release instead)
28
+ - Implementation rules (use standard-store instead)
@@ -3,22 +3,20 @@ name: project-briefing
3
3
  description: Contextual onboarding to current repository.
4
4
  arguments: []
5
5
  agent: Session Concierge
6
- version: "1.0.0"
7
- license: Proprietary — Personal Use Only
8
6
  category: workflows
9
- type: Utility
10
- complexity: Beginner
7
+ version: "1.0.0"
11
8
  tags: [workflow, briefing, onboarding, memory, backlog]
12
- author: vheins
13
9
  ---
14
- Initialize session in repository.
15
10
 
16
- Briefing Steps:
17
- 1. **Repository**: Identify current repo from context.
18
- 2. **Tasks**: Call `task-list` for `in_progress,pending` tasks.
19
- 3. **Handoffs**: Call `handoff-list` with `status=pending` to surface transfer context. Treat only handoffs with unfinished work, blockers, next owner, or linked task as active.
20
- 4. **Memory**: Call `memory-search` or `memory-recap` for recent decisions, patterns, and mistakes; hydrate important entries with `memory-detail`.
21
- 5. **Standards**: Call `standard-search` with current repo/stack as the mandatory pre-implementation standards check. If no relevant standards are returned, say no applicable standards were found.
22
- 6. **Core Context**: Summarize active task, pending handoffs, applicable standards, and top architectural decisions.
23
- 7. **Priority Reminder**: Treat task priority with MCP semantics: `1=Low`, `2=Normal`, `3=Medium`, `4=High`, `5=Critical`.
24
- 8. **Action**: Propose next steps based on the active queue.
11
+ ## FSM
12
+
13
+ Entry=S0 S1-4(parallel) S5 → S6 Exit=briefed
14
+ Guard: S(N) req S(N-1)✅
15
+
16
+ S0 | identify current repo | | repo context |
17
+ S1 | load tasks: task-list (in_progress, pending) | S0✅ | active tasks |
18
+ S2 | load handoffs: handoff-list (pending) active only if unfinished work/blockers/linked task | S0✅ | pending transfers | —
19
+ S3 | load memory: memory-search or memory-recap; hydrate via memory-detail | S0✅ | decisions, patterns, mistakes | —
20
+ S4 | load standards: standard-search (repo, stack) | S0✅ | applicable standards | —
21
+ S5 | summarize core: active task + pending handoffs + standards + top decisions | S1-4✅ | briefing | —
22
+ S6 | propose next steps based on active queue; priority: 1=Low 2=Normal 3=Medium 4=High 5=Critical | S5✅ | action plan | —
@@ -6,55 +6,41 @@ arguments:
6
6
  description: Module, feature, or component to audit.
7
7
  required: false
8
8
  agent: Quality Auditor
9
- version: "1.0.0"
10
- license: Proprietary — Personal Use Only
11
9
  category: workflows
12
- type: Orchestrator
13
- complexity: Advanced
10
+ version: "1.0.0"
14
11
  tags: [workflow, audit, ux, gap-analysis, mcp]
15
- author: vheins
16
12
  ---
17
- # Skill: review-and-audit (Audit Agent)
18
-
19
- ## 1. ANALYSIS
20
- 1. **Sequential Discovery**: Explore docs and code sequentially. NO parallel sub-agents.
21
- 2. **UX Audit**: Use `chrome-dev-tools` for visual, navigation, and responsiveness checks.
22
- 3. **Reference Audit**: Check current tool/prompt/resource definitions through code or the dashboard Reference flow.
23
- 4. **Compare**: Match docs + code findings against live UI to find gaps/misalignments.
24
-
25
- ## 🚫 FORBIDDEN: NON-EXECUTION
26
- DO NOT edit/create/delete files, run commands, or implement code.
27
- **Allowed**: Read code, `chrome-dev-tools`, `task-create`, `memory-store`, `task-list`, `memory-search`, `standard-search`, `handoff-list`, `handoff-update`.
28
-
29
- ## ✅ OUTPUT: MCP ONLY
30
- ONLY call MCP tools. No prose, code, or external plans.
31
-
32
- ## 2. PRE-TASK ANALYSIS
33
- 1. **Search**: Call `memory-search` (Hybrid Search). 0.55 similarity threshold.
34
- 2. **Standards**: Call `standard-search` before creating implementation tasks so task scope reflects applicable coding standards. If no relevant standards are returned, note that no applicable standards were found.
35
- 3. **Handoffs**: Call `handoff-list` for pending transfer context related to the target. Treat handoffs as active only when they contain unfinished work, blockers, a next owner, or a linked task.
36
- 4. **De-duplicate**: Call `task-list`. Skip existing/redundant tasks. Link via `parent_id`/`depends_on`.
37
-
38
- ## 3. TASK DESIGN & FORMAT
39
- - **Atomic**: One change per task.
40
- - **Attributes**: `task_code`, `phase`, `priority`, `agent`, `model`.
41
- - **Priority Scale**: Use MCP ordering exactly: `1=Low`, `2=Normal`, `3=Medium`, `4=High`, `5=Critical`. `5` is the highest urgency.
42
- - **Description** (STRICT FORMAT):
43
- ### 1. Context & Analysis
44
- - **Finding**: Gap trigger.
45
- - **Observation**: Reasoning.
46
- - **Goal**: Clear objective.
47
- ### 2. Target Files & Implementation
48
- - Combined scope/steps per path/layer.
49
- ### 3. Acceptance & Verification
50
- - **Checklist**: `[ ]` criteria.
51
- - **Testing**: Scenarios.
52
-
53
- ## 4. LOGGING & MULTI-TASK
54
- - Log architectural/feature changes as `type: decision` via `memory-store`.
55
- - Log reusable coding rules as `standard-store` only when the rule is durable and source-backed.
56
- - Use Parent/Child structure for complex gaps.
57
-
58
- ## 5. SELF-CHECK
59
- - ❌ No implementation.
60
- - ✅ ONLY MCP tool calls.
13
+
14
+ ## FSM
15
+
16
+ Entry=S0 S1 S2 S3 Exit=done
17
+ Guard: S(N) req S(N-1)✅; NO code/edit/delete read+MCP tools ONLY
18
+
19
+ S0 | sequential discovery: docs code UI (chrome-dev-tools) | | findings | —
20
+ S1 | pre-task analysis: memory-search (0.55 threshold) + standard-search + handoff-list + task-list dedup | S0✅ | context | —
21
+ S2 | design tasks: atomic, attributes (task_code, phase, priority, agent, model), strict description format | S1✅ | task specs | —
22
+ S3 | create via task-create + log decisions via memory-store + standard-store for coding rules | S2✅ | MCP tasks | —
23
+
24
+ ## Description Format (STRICT — used in S2)
25
+
26
+ ```
27
+ ### 1. Context & Analysis
28
+ - **Trigger**: Instruction/finding.
29
+ - **Observation**: Technical reasoning.
30
+ - **Goal**: Clear objective.
31
+ ### 2. Step & Implementation
32
+ - Detailed execution steps per path/layer.
33
+ ### 3. Acceptance & Verification
34
+ - **Checklist**: `[ ]` criteria.
35
+ - **Testing**: Scenarios.
36
+ ```
37
+
38
+ ## Priority Scale
39
+
40
+ `1=Low` `2=Normal` `3=Medium` `4=High` `5=Critical`
41
+
42
+ ## Logging
43
+
44
+ - Decisions `memory-store` (type=decision)
45
+ - Reusable coding rules → `standard-store` (only if durable + source-backed)
46
+ - Complex gaps parent/child structure
@@ -12,43 +12,31 @@ arguments:
12
12
  description: Module, feature, or component to audit.
13
13
  required: false
14
14
  agent: Quality Auditor
15
- version: "1.0.0"
16
15
  category: workflows
16
+ version: "1.0.0"
17
17
  tags: [workflow, audit, github, issue-triage]
18
18
  ---
19
19
 
20
- # Skill: review-and-post-issue (Audit Agent)
21
-
22
- ## 1. ANALYSIS
23
- 1. **Sequential Discovery**: Explore docs and code sequentially. NO parallel sub-agents.
24
- 2. **UX Audit**: If applicable, use `chrome-dev-tools` for visual, navigation, and responsiveness checks.
25
- 3. **Compare**: Match findings against live UI to find gaps/misalignments.
26
-
27
- ## 🚫 FORBIDDEN: NON-EXECUTION
28
- DO NOT edit/create/delete files, run commands, or implement code.
29
- **Allowed**: Read code, `chrome-dev-tools`, `memory-search`, GitHub `search_issues`, `issue_write`.
20
+ ## FSM
30
21
 
31
- ## OUTPUT: GITHUB ONLY
32
- ONLY call: `search_issues`, `issue_write` (method: 'create'), `memory-search`.
33
- No prose. No external plans.
22
+ Entry=S0 S1 S2 → S3 Exit=done
23
+ Guard: S(N) req S(N-1)✅; NO code/edit/delete — GitHub+MCP tools ONLY
34
24
 
35
- ## 2. PRE-ISSUE ANALYSIS
36
- 1. **Search**: Call `memory-search` (Hybrid Search). 0.55 similarity threshold.
37
- 2. **De-duplicate**: Call `search_issues`. Skip existing/redundant issues. Comment on related issues if distinct.
25
+ S0 | sequential discovery: docs → code → UI (chrome-dev-tools if applicable) | — | findings | —
26
+ S1 | pre-issue analysis: memory-search (0.55 threshold) + search_issues dedup (comment on related if distinct) | S0✅ | context | —
27
+ S2 | design issues: atomic, strict body format, labels | S1✅ | issue specs | —
28
+ S3 | create via issue_write(method=create) | S2✅ | GitHub issues | —
38
29
 
39
- ## 3. ISSUE DESIGN & FORMAT
40
- - **Atomic**: One change per issue.
41
- - **Body** (STRICT FORMAT):
42
- ### 1. Context & Analysis
43
- - **Finding**: Gap trigger.
44
- - **Observation**: Reasoning.
45
- - **Goal**: Clear objective.
46
- ### 2. Target Files & Implementation
47
- - Path/layer specific changes.
48
- ### 3. Acceptance & Verification
49
- - **Checklist**: `[ ]` criteria.
50
- - **Testing**: Scenarios.
30
+ ## Issue Body Format (STRICT — used in S2)
51
31
 
52
- ## 4. SELF-CHECK
53
- - No implementation.
54
- - ONLY GitHub/Memory tool calls.
32
+ ```
33
+ ### 1. Context & Analysis
34
+ - **Trigger**: Instruction/finding.
35
+ - **Observation**: Technical reasoning.
36
+ - **Goal**: Clear objective.
37
+ ### 2. Step & Implementation
38
+ - Detailed execution steps per path/layer.
39
+ ### 3. Acceptance & Verification
40
+ - **Checklist**: `[ ]` criteria.
41
+ - **Testing**: Scenarios.
42
+ ```
@@ -12,20 +12,19 @@ arguments:
12
12
  description: Logs, errors, metrics.
13
13
  required: false
14
14
  agent: Diagnostic Lead
15
- version: "1.0.0"
16
15
  category: debugging
16
+ version: "1.0.0"
17
17
  tags: [root-cause, 5-why, debugging, diagnosis]
18
18
  ---
19
19
 
20
- Conduct root cause analysis for repository bug.
20
+ ## FSM
21
+
22
+ Entry=S0 → S1 → S2 → S3 Exit=diagnosis
23
+ Guard: S(N) req S(N-1)✅
21
24
 
22
- Stack: {{tech_stack}}
23
- Bug: {{bug_description}}
24
- Symptoms: {{symptoms}}
25
+ S0 | restate symptom: technical problem statement | tech_stack + bug_description provided? | symptom statement | —
26
+ S1 | 5-why analysis: causal chain from symptom to core failure | S0✅ | causal chain | —
27
+ S2 | identify root cause: "root cause is [X] because [Y], allowing [Z]" | S1✅ | root cause | —
28
+ S3 | recommend fix addressing root cause + prevention (monitoring/test) | S2✅ | recommendation | —
25
29
 
26
- Output:
27
- 1. **Symptom**: Technical problem restatement.
28
- 2. **5-Whys**: Causal chain from symptom to core failure.
29
- 3. **Root Cause**: "The root cause is [X] because [Y], allowing [Z]."
30
- 4. **Recommendation**: Fix addressing root cause.
31
- 5. **Prevention**: Monitoring/testing measure.
30
+ Stack: {{tech_stack}} Bug: {{bug_description}} Symptoms: {{symptoms}}
@@ -12,20 +12,20 @@ arguments:
12
12
  description: Usage context.
13
13
  required: false
14
14
  agent: Security Engineer
15
- version: "1.0.0"
16
15
  category: debugging
16
+ version: "1.0.0"
17
17
  tags: [security, triage, vulnerability, cvss, appsec]
18
18
  ---
19
19
 
20
- Triage vulnerability for repository.
20
+ ## FSM
21
+
22
+ Entry=S0 → S1 → S2 → S3 → S4 Exit=assessment
23
+ Guard: S(N) req S(N-1)✅
21
24
 
22
- Stack: {{tech_stack}}
23
- Report: {{vulnerability_report}}
24
- Context: {{codebase_context}}
25
+ S0 | classify: type, CVE, CVSS vector, score | tech_stack + vuln_report provided? | classification | —
26
+ S1 | assess exploitability: reachability + attack scenarios | S0✅ | exploit scenarios | —
27
+ S2 | assess impact: CIA triad | S1✅ | impact assessment | —
28
+ S3 | remediate: priority P0-P3 + fix steps | S2✅ | remediation plan | —
29
+ S4 | verify: testing method to confirm fix | S3✅ | verification plan | —
25
30
 
26
- Output:
27
- 1. **Classification**: Type, CVE, CVSS, vector.
28
- 2. **Exploitability**: Reachability & scenarios.
29
- 3. **Impact**: CIA impact.
30
- 4. **Remediation**: Priority (P0-P3) & fix steps.
31
- 5. **Verification**: Testing method.
31
+ Stack: {{tech_stack}} Report: {{vulnerability_report}} Context: {{codebase_context}}
@@ -9,28 +9,19 @@ arguments:
9
9
  description: Production context (SLA, data, conventions).
10
10
  required: false
11
11
  agent: Principal Reviewer
12
- version: "1.1.0"
12
+ version: "1.2.0"
13
13
  category: coding
14
14
  tags: [code-review, production-readiness, security, observability, senior-review, architecture]
15
15
  ---
16
16
 
17
- Perform production-readiness review for repository.
17
+ ## FSM
18
18
 
19
- Stack: {{tech_stack}}
20
- Context: {{context}}
19
+ Entry=S0 → S1 → S2 → S3 Exit=decision
20
+ Guard: S(N) req S(N-1)✅; cite code evidence only; ONE fix option per finding
21
21
 
22
- Audit Dimensions:
23
- 1. **Errors**: Completeness & patterns.
24
- 2. **Security**: Validation, injection, secrets.
25
- 3. **Performance**: Complexity, DB efficiency.
26
- 4. **Observability**: Logs, metrics, traces.
27
- 5. **Testing**: Coverage & quality.
28
- 6. **Docs**: Clarity & accuracy.
22
+ S0 | audit 6 dimensions: errors, security, performance (N+1, cache, complexity), observability (logs, metrics, traces), testing (coverage, quality), docs (clarity) | tech_stack provided? | findings[] | —
23
+ S1 | check cross-domain invariants: lifecycle, concurrency guard, derived state, upload safety, file>500→refactor, doc hierarchy | S0✅ | invariant results | —
24
+ S2 | assign severity: CRITICAL (bug/data loss) | HIGH (concurrency/arch) | MEDIUM (maintainability) | LOW (cosmetic) | S0-1✅ | scored findings | —
25
+ S3 | produce: DECISION (APPROVE|REQUEST_CHANGES|NOT_READY) + SEVERITY_SCORE + MESSAGE (blockers only) | S2✅ | review decision | —
29
26
 
30
- Output per Finding:
31
- - **Severity**: P0-P3.
32
- - **Problem**: What & why.
33
- - **Location**: Path/function.
34
- - **Fix**: Actionable step.
35
-
36
- Verdict: READY | READY WITH MINOR FIXES | NOT READY
27
+ Stack: {{tech_stack}} Context: {{context}}
@@ -6,46 +6,24 @@ arguments:
6
6
  description: The full URL of the GitHub issue to resolve.
7
7
  required: true
8
8
  agent: SENTINEL Issue Resolver
9
- version: "1.0.0"
10
- license: Proprietary — Personal Use Only
11
9
  category: workflows
12
- type: Orchestrator
13
- complexity: Advanced
10
+ version: "1.0.0"
14
11
  tags: [workflow, github, issue-resolution, sentinel]
15
- author: vheins
16
12
  ---
17
13
 
18
- # SENTINEL Protocol
19
-
20
- You are **SENTINEL**, an elite issue resolution agent. Your primary objective is to eliminate errors and fulfill requirements described in GitHub issues with surgical precision.
21
-
22
- ## 1. INTELLIGENCE GATHERING
23
- 1. **Analyze Issue**: Use `issue_read` to fetch the main description AND all comments. Comments often contain critical root cause analysis, reproduction steps, or specific user requirements.
24
- 2. **Context Synthesis**: Combine the issue data with local codebase knowledge. Search project memory (`memory-search`) and coding standards (`standard-search`) to ensure your fix aligns with existing architecture.
25
- 3. **Task Registration**: Use `task-create` to register your plan in MCP. Link the task to the GitHub Issue URL in the metadata.
26
-
27
- ## 2. EXECUTION & RESOLUTION
28
- 1. **Claim Work**: Use `task-claim` for the generated task.
29
- 2. **Implement Fix**: Perform the necessary code changes. Ensure all changes follow established project conventions and pass existing tests.
30
- 3. **Validate**: Run tests and linters to verify the fix. Perform end-to-end verification if applicable.
31
-
32
- ## 3. FINALIZATION & COMMIT
33
- 1. **Identity**: Use the local Git configuration (name/email) for all commits.
34
- 2. **Commit Format**: Every commit MUST follow this specific structure:
35
- ```
36
- type(scope): your commit message
37
-
38
- - {{task_title}}
39
- {{summary_task}}
40
-
41
- {{keyword}} #{{issue_number}}
42
- ```
43
- Use `fix` for bug fixes, `closes` for features/chores, `resolve` as general. Extract the issue number from the provided `issue_url`.
14
+ ## FSM
44
15
 
45
- 3. **MCP Update**: Transition the task to `completed` with a detailed comment linking to the resolution.
46
- 4. **Issue Closure**: If authorized or part of the workflow, add a final comment to the GitHub issue summarizing the fix.
16
+ Entry=S0 S1 S2 S3 S4 S5 S6 S7 → S8 Exit=resolved
17
+ Guard: S(N) req S(N-1)✅; autonomous no permission per step
47
18
 
48
- ## OUTPUT: AUTONOMOUS ACTION
49
- Do not ask for permission for each step. Analyze, plan, fix, and verify. Provide a final summary of the resolution to the user.
19
+ S0 | fetch: issue_read body + ALL comments (get_comments) | issue_url provided? | raw issue + all comments | —
20
+ S1 | analyze comments: extract requirements, hints, root cause clues, reproduction steps, error details | S0✅ | comment analysis |
21
+ S2 | detect attachments: parse all comments for image/video markdown URLs, linked assets | S1✅ | attachment URL list | —
22
+ S3 | download: gh CLI (gh issue view, gh api) to fetch each attachment — private repo, NO curl | S2✅ & attachments exist? | local files | —
23
+ S4 | analyze attachments: inspect screenshots/videos for UI bugs, error states, configs, visual hints | S3✅ | attachment analysis | —
24
+ S5 | research: memory-search + standard-search + codebase exploration (trace call sites, read docs) | S0-4✅ | full context | —
25
+ S6 | register: task-create (link issue URL) + task-claim + task-update→in_progress | S5✅ | MCP task | —
26
+ S7 | implement fix + validate: tests, linters, e2e | S6✅ | verified changes | —
27
+ S8 | finalize: commit (type(scope): msg — fix #N) + task-update→completed + issue comment summary | S7✅ | resolution | —
50
28
 
51
- Target Issue: {{issue_url}}
29
+ Target: {{issue_url}}
@@ -6,21 +6,21 @@ arguments:
6
6
  description: High-level session goal.
7
7
  required: true
8
8
  agent: Strategy Lead
9
- version: "1.0.0"
10
9
  category: workflows
10
+ version: "1.0.0"
11
11
  tags: [workflow, planning, task-breakdown]
12
12
  ---
13
13
 
14
- Plan execution for: '{{objective}}'.
14
+ ## FSM
15
+
16
+ Entry=S0 → S1 → S2 → S3 → S4 → S5 Exit=planned
17
+ Guard: S(N) req S(N-1)✅
15
18
 
16
- Steps:
17
- 1. **Orient**: Call `task-list` to avoid duplicate active/backlog work.
18
- 2. **Standards**: Call `standard-search` for objectives that may lead to code edits, test edits, refactors, migrations, or implementation decisions. If no relevant standards are returned, state that no applicable standards were found.
19
- 3. **Handoffs**: Call `handoff-list` for pending context that may affect sequencing. Stale pending handoffs that only summarize completed work should be closed with `handoff-update`, not planned as queue work.
20
- 4. **Analyze**: Break into 3-7 atomic, verifiable tasks.
21
- 5. **Phase**: Group into `research`, `implementation`, and `validation`.
22
- 6. **Hierarchy**: Use `parent_id` / `depends_on` for sequencing.
23
- 7. **Priority Scale**: When creating tasks, use the exact MCP scale `1=Low`, `2=Normal`, `3=Medium`, `4=High`, `5=Critical`. Higher number means higher urgency.
24
- 8. **Create**: Use `task-create` in current repo with stable `task_code`, tags, and acceptance criteria.
19
+ S0 | orient: task-list (avoid dupes) + standard-search (if code edits) + handoff-list (close stale) | objective provided? | existing state | —
20
+ S1 | analyze: break into 3-7 atomic verifiable tasks | S0✅ | task breakdown | —
21
+ S2 | phase: group into research / implementation / validation | S1✅ | phased tasks |
22
+ S3 | hierarchy: parent_id + depends_on for sequencing; priority 1-5 scale | S2✅ | structured plan |
23
+ S4 | create via task-create (stable task_code, tags, acceptance criteria) | S3✅ | MCP tasks | —
24
+ S5 | display final plan to user | S4✅ | user output | —
25
25
 
26
- Display final plan to user.
26
+ Objective: {{objective}}
@@ -3,36 +3,27 @@ name: task-management-guidelines
3
3
  description: Task tracking & progress management standards.
4
4
  arguments: []
5
5
  agent: Project Manager
6
- version: "1.0.0"
7
- license: Proprietary — Personal Use Only
8
6
  category: workflows
9
- type: Utility
10
- complexity: Beginner
7
+ version: "1.0.0"
11
8
  tags: [workflow, tasks, status-management, mcp]
12
- author: vheins
13
9
  ---
14
- # Task Management Standards
15
10
 
16
- ## 1. NAVIGATION (`task-list`)
17
- - **Sync**: Call `task-list` at every session start (default: `in_progress,pending`).
18
- - **Format**: Compact pointer table: `id`, `task_code`, `title`, `status`, `priority`, `updated_at`, `comments_count`. Use `query` for keyword search.
19
- - **Priority Scale**: Interpret `priority` with MCP semantics: `1=Low`, `2=Normal`, `3=Medium`, `4=High`, `5=Critical`.
20
- - **Retrieve**: Fetch full context via `task-detail` AFTER selecting a task. The hydrated task includes current coordination state such as active claims and pending handoffs.
21
- - **Coordination**: Check active ownership with task coordination metadata, `task-claim`, and `claim-list`. NEVER work on tasks claimed by others. Focus on ONE task at a time.
11
+ ## FSM Task Lifecycle
12
+
13
+ Entry=S0 S1 S2 S3 S4 Exit=done|archived
14
+ Guard: S(N) req S(N-1)✅; MUST transition backlog/pending in_progress completed
15
+
16
+ S0 | plan: task-create for full lifecycle (Research→Strategy→Execution→Validation) | | tasks |
17
+ S1 | claim: task-claim with task_code; inspect via claim-list | S0✅, not claimed by others | ownership | —
18
+ S2 | progress: task-update → in_progress | S1✅ | active work | —
19
+ S3 | validate: tests pass / explicit doc why verification skipped | S2✅ | evidence | —
20
+ S4 | complete: task-update → completed (auto-releases claims, expires handoffs, archives) | S3✅ | completion | —
21
+
22
+ ## FSM — Navigation
22
23
 
23
- ## 2. DETAIL TOOLS
24
- - **Tasks**: Call `task-detail` for history/comments (ID or `task_code`).
25
- - **Memory**: Call `memory-detail` for full entry content.
26
- - **Standards**: Call `standard-search` before any code edit, test edit, refactor, migration, or implementation decision. If no relevant standards are returned, continue and state that no applicable standards were found.
27
- - **Handoffs**: Call `handoff-list` to discover pending context transfers before starting a task. Close stale handoffs with `handoff-update` when no concrete next owner, unfinished task, or blocker remains.
24
+ Entry=S0 S1 → S2 Exit=mutated
25
+ Guard: S(N) req S(N-1)
28
26
 
29
- ## 3. WORKFLOW
30
- - **Planning**: Create tasks for full lifecycle (Research Strategy Execution Validation).
31
- - **Transition Safety**: MUST move from `backlog/pending` `in_progress` `completed`. Skipping `in_progress` is forbidden.
32
- - **Automatic Cleanup**: `task-update` to `completed` or `canceled` automatically releases active claims and expires pending handoffs linked to that task.
33
- - **Claiming**: Use `task-claim` when taking ownership of a task, with `task_code` when working from human-visible queues.
34
- - **Claim Inspection**: Use `claim-list` when ownership is unclear or when triaging stale work.
35
- - **Claim Release**: Use `claim-release` to clear stale ownership explicitly when a task is being handed back or reassigned.
36
- - **Handoff**: Use `handoff-create` only when pausing or transferring unfinished work. Do not use pending handoffs for completion summaries; close consumed/stale handoffs with `handoff-update`.
37
- - **Validation**: Only mark `completed` after passing tests or explicitly documenting why verification could not run.
38
- - **Archiving**: Completion triggers auto-archive to `task_archive` memory with token reporting.
27
+ S0 | list: task-list (in_progress, pending) | — | pointer table | —
28
+ S1 | detail: task-detail after selecting (includes claims + handoffs) | S0✅ | full context | —
29
+ S2 | mutate: task-create | task-update | task-delete | S1✅ | changed |