@namch/agent-assistant 1.3.1 β†’ 1.3.2

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.
Files changed (81) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/README.md +3 -4
  3. package/code-assistants/codex-assistant/CODEX.md +1 -2
  4. package/commands/ask/hard.md +1 -1
  5. package/commands/brainstorm/hard.md +1 -1
  6. package/commands/code/hard.md +1 -1
  7. package/commands/code.md +2 -7
  8. package/commands/cook/hard.md +1 -1
  9. package/commands/cook.md +1 -6
  10. package/commands/debug/hard.md +1 -1
  11. package/commands/debug.md +1 -6
  12. package/commands/design/hard.md +1 -1
  13. package/commands/design.md +1 -6
  14. package/commands/fix/hard.md +1 -1
  15. package/commands/fix.md +1 -6
  16. package/commands/plan/hard.md +1 -1
  17. package/commands/plan.md +1 -6
  18. package/commands/report/fast.md +2 -2
  19. package/commands/report/hard.md +1 -1
  20. package/commands/report.md +2 -7
  21. package/commands/review/hard.md +1 -1
  22. package/commands/test/hard.md +1 -1
  23. package/commands/test.md +1 -6
  24. package/documents/HSOL-ASSESSMENT.md +6 -6
  25. package/documents/SMART-SKILL-ORCHESTRATION-BLUEPRINT.md +1 -1
  26. package/documents/business/business-features/01-feature-inventory.md +5 -5
  27. package/documents/business/business-features/03-feature-specifications.md +7 -8
  28. package/documents/business/business-features/04-dependencies-and-release-sequencing.md +3 -3
  29. package/documents/business/business-features/05-success-metrics.md +2 -2
  30. package/documents/business/business-prd/03-stakeholders-and-requirements.md +1 -1
  31. package/documents/business/business-workflows/02-workflow-catalog.md +2 -2
  32. package/documents/business/business-workflows/03-detailed-workflows.md +5 -5
  33. package/documents/business/business-workflows/04-decision-rules-and-exceptions.md +2 -2
  34. package/documents/business/business-workflows/05-sla-and-handoffs.md +1 -1
  35. package/documents/knowledge-architecture/00-index.md +2 -2
  36. package/documents/knowledge-architecture/01-system-overview.md +2 -2
  37. package/documents/knowledge-architecture/02-components.md +8 -8
  38. package/documents/knowledge-architecture/03-data-flow.md +1 -2
  39. package/documents/knowledge-architecture/04-design-patterns.md +1 -2
  40. package/documents/knowledge-architecture/05-decisions.md +3 -3
  41. package/documents/knowledge-domain/00-index.md +1 -1
  42. package/documents/knowledge-domain/01-entities.md +9 -10
  43. package/documents/knowledge-domain/03-api-contracts.md +17 -19
  44. package/documents/knowledge-domain/04-business-rules.md +0 -1
  45. package/documents/knowledge-overview/00-index.md +1 -1
  46. package/documents/knowledge-overview/01-project-identity.md +1 -1
  47. package/documents/knowledge-overview/03-features.md +2 -3
  48. package/documents/knowledge-source-base/01-directory-structure.md +9 -9
  49. package/documents/knowledge-source-base/03-key-modules.md +11 -12
  50. package/documents/knowledge-source-base/04-configuration.md +1 -1
  51. package/documents/knowledge-standards/02-conventions.md +0 -1
  52. package/matrix-skills/_index.yaml +1 -1
  53. package/package.json +1 -1
  54. package/rules/AGENTS.md +1 -1
  55. package/rules/REFERENCE.md +8 -8
  56. package/rules/SKILLS.md +1 -1
  57. package/rules/TEAMS.md +1 -2
  58. package/code-assistants/codex-assistant/skills/agent-assistant-code-focus/SKILL.md +0 -18
  59. package/code-assistants/codex-assistant/skills/agent-assistant-code-focus/agents/openai.yaml +0 -4
  60. package/code-assistants/codex-assistant/skills/agent-assistant-cook-focus/SKILL.md +0 -18
  61. package/code-assistants/codex-assistant/skills/agent-assistant-cook-focus/agents/openai.yaml +0 -4
  62. package/code-assistants/codex-assistant/skills/agent-assistant-debug-focus/SKILL.md +0 -18
  63. package/code-assistants/codex-assistant/skills/agent-assistant-debug-focus/agents/openai.yaml +0 -4
  64. package/code-assistants/codex-assistant/skills/agent-assistant-design-focus/SKILL.md +0 -18
  65. package/code-assistants/codex-assistant/skills/agent-assistant-design-focus/agents/openai.yaml +0 -4
  66. package/code-assistants/codex-assistant/skills/agent-assistant-fix-focus/SKILL.md +0 -18
  67. package/code-assistants/codex-assistant/skills/agent-assistant-fix-focus/agents/openai.yaml +0 -4
  68. package/code-assistants/codex-assistant/skills/agent-assistant-plan-focus/SKILL.md +0 -18
  69. package/code-assistants/codex-assistant/skills/agent-assistant-plan-focus/agents/openai.yaml +0 -4
  70. package/code-assistants/codex-assistant/skills/agent-assistant-report-focus/SKILL.md +0 -18
  71. package/code-assistants/codex-assistant/skills/agent-assistant-report-focus/agents/openai.yaml +0 -4
  72. package/code-assistants/codex-assistant/skills/agent-assistant-test-focus/SKILL.md +0 -18
  73. package/code-assistants/codex-assistant/skills/agent-assistant-test-focus/agents/openai.yaml +0 -4
  74. package/commands/code/focus.md +0 -297
  75. package/commands/cook/focus.md +0 -209
  76. package/commands/debug/focus.md +0 -103
  77. package/commands/design/focus.md +0 -229
  78. package/commands/fix/focus.md +0 -145
  79. package/commands/plan/focus.md +0 -140
  80. package/commands/report/focus.md +0 -107
  81. package/commands/test/focus.md +0 -123
@@ -1,140 +0,0 @@
1
- ---
2
- description: πŸ”’ Focused Plan β€” Research-backed planning with enforced context optimization
3
- version: "1.0"
4
- category: planning
5
- execution-mode: execute
6
- ---
7
-
8
- # /plan:focus β€” Focus Comprehensive Planning
9
-
10
- > **MISSION**: Create thorough implementation plan with **enforced context optimization**.
11
- >
12
- > This variant automatically clears context before handoffβ€”no user prompt required.
13
- > Use when you want guaranteed clean plan handoff without context rot risk.
14
-
15
- <task>$ARGUMENTS</task>
16
-
17
- ---
18
-
19
- ## πŸ›‘ PRE-FLIGHT (DO FIRST β€” BLOCKS PHASE 1)
20
-
21
- **LOAD now** (in order; path `./rules/` or `~/.{TOOL}/skills/agent-assistant/rules/`):
22
-
23
- 1. CORE.md β€” Identity, Laws, Routing
24
- 2. PHASES.md β€” Phase Execution
25
- 3. AGENTS.md β€” Tiered Execution
26
-
27
- **β›” Do not run Phase 1 until all are loaded.** Follow **all** rules in those files; they override any conflicting instructions in this file.
28
-
29
- **Skills Resolution**: When delegating, load `SKILLS.md` on-demand for fitness calculation and dynamic discovery (focus variant enables find-skills for superior skill matching).
30
-
31
- ---
32
-
33
- ## πŸ”€ TIERED EXECUTION
34
-
35
- | Tier | When | Action |
36
- | ---------- | ------------------ | ---------------------------- |
37
- | **TIER 1** | runSubagent EXISTS | Invoke sub-agent (MANDATORY) |
38
- | **TIER 2** | Tool MISSING | EMBODY agent file (FALLBACK) |
39
-
40
- ---
41
-
42
- ## πŸ“ DELIVERABLE FILES
43
-
44
- | Agent | Output |
45
- | ---------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
46
- | researcher | `./reports/{topic}/researchers/RESEARCH-{task}` |
47
- | scouter | `./reports/{topic}/scouts/SCOUT-{task}` |
48
- | planner | **One** `./reports/{topic}/plans/PLAN-{task}` **OR** multiple `./reports/{topic}/plans/PLAN-{task}-phase1`, `PLAN-{task}-phase2`, … (see **Complexity & plan splitting** below) |
49
-
50
- **Plans are source of truth for implementation.** All files in `./reports/{topic}/` β†’ English only.
51
- **⚠️ Paths above = base names.** Small (≀ 150 lines) β†’ create as `{name}.md`. Large (> 150 lines or β‰₯ 4 sections) β†’ create as `{name}/` folder with `00-index.md` + `01-*.md`, `02-*.md` section files.
52
-
53
- ---
54
-
55
- ## πŸ“ COMPLEXITY & PLAN SPLITTING (MANDATORY FOR PLANNER)
56
-
57
- When the logical plan would have **> 3 phases** or **estimated effort > 3 days**, the planner **MUST** produce **multiple plan files** (one per executable phase or per milestone group), **not** one monolithic file.
58
-
59
- | Condition | Planner output |
60
- | -------------------------- | ---------------------------------------------------------------- |
61
- | ≀ 3 phases, ≀ 3 days | **One** `PLAN-{task}.md` |
62
- | > 3 phases **or** > 3 days | **Multiple** `PLAN-{task}-phase1.md`, `PLAN-{task}-phase2.md`, … |
63
-
64
- **Multi-plan rules:**
65
-
66
- - Naming: `PLAN-{task}-phase1.md`, `PLAN-{task}-phase2.md`, …
67
- - Order: Execute in numeric order; phase N starts only after phase Nβˆ’1 is complete.
68
- - Each file: scope **only** that phase; Prerequisites state "Phase Nβˆ’1 complete" (or prior deliverables); clear handoff to next file.
69
- - Index (optional): planner may add `PLAN-{task}-INDEX.md` listing phases and file names for navigation.
70
-
71
- ---
72
-
73
- ## β›” INCREMENTAL EXECUTION (MANDATORY)
74
-
75
- One phase at a time, each phase independent: Phase 1 β†’ then Phase 2 β†’ … in one reply. No batching (load only what each phase needs). **Within each phase:** when doing a part, output it in format so user sees what's happening (announce before doing). Format: rules/PHASES.md Β§ Phase output structure.
76
-
77
- ---
78
-
79
- ## 🎭 Phase 1: RESEARCH
80
-
81
- | Agent | `researcher` |
82
- | ------ | --------------------------------------------- |
83
- | Goal | Research best practices and patterns |
84
- | Output | `./reports/{topic}/researchers/RESEARCH-{task}` |
85
- | Exit | Best practices identified, sources documented |
86
-
87
- ---
88
-
89
- ## 🎭 Phase 2: CODEBASE ANALYSIS
90
-
91
- | Agent | `scouter` |
92
- | ------ | -------------------------------------------- |
93
- | Goal | Full architecture mapping |
94
- | Output | `./reports/{topic}/scouts/SCOUT-{task}` |
95
- | Exit | Architecture understood, dependencies mapped |
96
-
97
- ---
98
-
99
- ## 🎭 Phase 3: DESIGN (IF UI NEEDED)
100
-
101
- | Agent | `designer` |
102
- | ------- | ------------------------------------------------- |
103
- | Trigger | Task involves UI/UX |
104
- | Goal | Design approach input |
105
- | Exit | Design approach defined, accessibility considered |
106
-
107
- ---
108
-
109
- ## 🎭 Phase 4: PLAN CREATION
110
-
111
- | Agent | `planner` |
112
- | ------------ | --------------------------------------------------------------------------------------------------------------------------- |
113
- | Prerequisite | **READ** RESEARCH + SCOUT files (and DESIGN if Phase 3 ran) |
114
- | Goal | Create detailed implementation plan as **one file** or **multiple phase files** (see **Complexity & plan splitting** above) |
115
- | Output | One `./reports/{topic}/plans/PLAN-{task}` **or** multiple `./reports/{topic}/plans/PLAN-{task}-phase1`, `PLAN-{task}-phase2`, … |
116
-
117
- **Directive to planner:** If the task decomposes into **> 3 phases** or **> 3 days** effort, produce **multiple plan files** (one per phase/milestone), each executable in sequence. Otherwise produce a single `PLAN-{task}.md`.
118
-
119
- **CONSTRAINT INHERITANCE:**
120
-
121
- ```
122
- Plan(s) MUST reference prior phases:
123
- - "Based on research finding R1..."
124
- - "Following pattern from Scout..."
125
- - "Per design decision D1..."
126
- ```
127
-
128
- | Exit | One plan file **or** multiple phase plan files created; each has scope, prerequisites, tasks, exit criteria, risks, rollback; order and handoffs clear |
129
-
130
- ---
131
-
132
- ---
133
-
134
- ## COMPLETION
135
-
136
- Present plan with:
137
-
138
- 1. βœ… **Plan Ready** β€” `./reports/{topic}/plans/PLAN-{task}` (single) **or** `PLAN-{task}-phase1`, `PLAN-{task}-phase2`, … (multi-phase, execute in order)
139
- 2. πŸ”’ **Context Optimized** β€” Ready for focus implementation
140
- 3. 🍳 **Implement** β†’ `/code:focus` (run phase-by-phase when multiple plan files exist)
@@ -1,107 +0,0 @@
1
- ---
2
- description: πŸ”’ Focused Report β€” Deep analysis with enforced context optimization
3
- version: "1.0"
4
- category: documentation
5
- execution-mode: execute
6
- ---
7
-
8
- # /report:focus β€” Focused Deep Analysis Report
9
-
10
- > **MISSION**: Generate verifiable, objective output with **enforced context optimization** β€” report, update, or template.
11
-
12
- > This variant automatically clears context before analysisβ€”no user prompt required.
13
- > Use when you want a "clean slate" audit or unbiased analysis. Reporter chooses: **create report**, **update existing files**, or **generate from template** per user intent.
14
-
15
- <task>$ARGUMENTS</task>
16
-
17
- ---
18
-
19
- ## πŸ›‘ PRE-FLIGHT (DO FIRST β€” BLOCKS PHASE 1)
20
-
21
- **LOAD now** (in order; path `./rules/` or `~/.{TOOL}/skills/agent-assistant/rules/`):
22
-
23
- 1. CORE.md β€” Identity, Laws, Routing
24
- 2. PHASES.md β€” Phase Execution
25
- 3. AGENTS.md β€” Tiered Execution
26
-
27
- **β›” Do not run Phase 1 until all are loaded.** Follow **all** rules in those files; they override any conflicting instructions in this file.
28
-
29
- **Skills Resolution**: When delegating, load `SKILLS.md` on-demand for fitness calculation and dynamic discovery (focus variant enables find-skills for superior skill matching).
30
-
31
- ---
32
-
33
- ## πŸ”€ TIERED EXECUTION
34
-
35
- | Tier | When | Action |
36
- | ---------- | ------------------ | ---------------------------- |
37
- | **TIER 1** | runSubagent EXISTS | Invoke sub-agent (MANDATORY) |
38
- | **TIER 2** | Tool MISSING | EMBODY agent file (FALLBACK) |
39
-
40
- **❌ Anti-Lazy**: Never use TIER 2 when TIER 1 tool available.
41
-
42
- ---
43
-
44
- ## πŸ“ DELIVERABLES (Reporter chooses from user intent)
45
-
46
- | User intent | Reporter output |
47
- | ----------- | ---------------- |
48
- | **Create report** | `./reports/{topic}/general/REPORT-FOCUS-{date}` or path user asked |
49
- | **Update existing** | **Edit** related files; do **not** create new report unless also asked |
50
- | **From template** | File(s) matching user format/template |
51
-
52
- | Agent | When creating report |
53
- | ---------- | ------------------------------------------------- |
54
- | researcher | (optional) verification checklist |
55
- | scouter | (optional) evidence output |
56
- | reporter | Per table above β€” create / update / from template |
57
-
58
- All files in `./reports/{topic}/` β†’ English only.
59
- **⚠️ Paths above = base names.** Small (≀ 150 lines) β†’ create as `{name}.md`. Large (> 150 lines or β‰₯ 4 sections) β†’ create as `{name}/` folder with `00-index.md` + `01-*.md`, `02-*.md` section files.
60
-
61
- ---
62
-
63
- ## β›” INCREMENTAL EXECUTION (MANDATORY)
64
-
65
- One phase at a time, each phase independent: Phase 1 β†’ then Phase 2 β†’ … in one reply. No batching (load only what each phase needs). **Within each phase:** when doing a part, output it in format so user sees what's happening (announce before doing). Format: rules/PHASES.md Β§ Phase output structure.
66
-
67
- ---
68
-
69
- ---
70
-
71
- ## 🎭 Phase 1: RESEARCH (AUDIT CRITERIA)
72
-
73
- | Agent | `researcher` |
74
- | ------ | ----------------------------------------------------- |
75
- | Goal | Research audit/report criteria and what to verify |
76
- | Exit | Verification checklist and report criteria defined |
77
-
78
- ---
79
-
80
- ## 🎭 Phase 2: EVIDENCE COLLECTION
81
-
82
- | Agent | `scouter` |
83
- | ------ | ------------------------------- |
84
- | Goal | Gather raw, verifiable evidence |
85
- | Exit | Factual state documented, no assumptions |
86
-
87
- ---
88
-
89
- ## 🎭 Phase 3: VERIFICATION & OUTPUT (create / update / from template)
90
-
91
- | Agent | `reporter` |
92
- | ----------- | -------------------------------------------------------------------------- |
93
- | Prerequisite| **USE** Phase 1 criteria + Phase 2 evidence only |
94
- | Goal | From **user intent**: synthesize into (1) new report, (2) **updates** to existing files, or (3) file(s) from template |
95
- | Output | **Create**: `./reports/{topic}/general/REPORT-FOCUS-{date}`. **Update**: edit related files. **Template**: file(s) matching user format. |
96
- | Exit | Deliverable matches intent; every claim cited when creating report. |
97
-
98
- ---
99
-
100
- ## COMPLETION
101
-
102
- Deliverable per **user intent**:
103
-
104
- 1. βœ… **Create report** β†’ `./reports/{topic}/general/REPORT-FOCUS-{date}` (or path user asked)
105
- 2. βœ… **Update existing** β†’ Related files edited; list what was updated
106
- 3. βœ… **From template** β†’ File(s) matching user format; list path(s)
107
- 4. πŸ•΅οΈ **Audit** β†’ `/review:focus` (optional)
@@ -1,123 +0,0 @@
1
- ---
2
- description: πŸ”’ Focused Test β€” Comprehensive QA with enforced context optimization
3
- version: "1.0"
4
- category: validation
5
- execution-mode: execute
6
- ---
7
-
8
- # /test:focus β€” Focus Comprehensive Testing
9
-
10
- > **MISSION**: Full QA workflow with **enforced context optimization**.
11
- >
12
- > This variant automatically clears context before test executionβ€”no user prompt required.
13
- > Use when you want guaranteed focused test execution without strategy noise.
14
-
15
- <scope>$ARGUMENTS</scope>
16
-
17
- ---
18
-
19
- ## πŸ›‘ PRE-FLIGHT (DO FIRST β€” BLOCKS PHASE 1)
20
-
21
- **LOAD now** (in order; path `./rules/` or `~/.{TOOL}/skills/agent-assistant/rules/`):
22
-
23
- 1. CORE.md β€” Identity, Laws, Routing
24
- 2. PHASES.md β€” Phase Execution
25
- 3. AGENTS.md β€” Tiered Execution
26
-
27
- **β›” Do not run Phase 1 until all are loaded.** Follow **all** rules in those files; they override any conflicting instructions in this file.
28
-
29
- **Skills Resolution**: When delegating, load `SKILLS.md` on-demand for fitness calculation and dynamic discovery (focus variant enables find-skills for superior skill matching).
30
-
31
- ---
32
-
33
- ## πŸ”€ TIERED EXECUTION
34
-
35
- | Tier | When | Action |
36
- | ---------- | ------------------ | ---------------------------- |
37
- | **TIER 1** | runSubagent EXISTS | Invoke sub-agent (MANDATORY) |
38
- | **TIER 2** | Tool MISSING | EMBODY agent file (FALLBACK) |
39
-
40
- ---
41
-
42
- ## πŸ“ PLAN CHECKPOINT VERIFICATION
43
-
44
- ```
45
- IF ./reports/{topic}/plans/PLAN-{scope} exists (.md file or folder):
46
- 1. READ plan completely
47
- 2. EXTRACT all checkpoints
48
- 3. FOR EACH checkpoint β†’ Create test
49
- 4. OUTPUT: "Checkpoint Coverage: X/Y"
50
- ```
51
-
52
- ---
53
-
54
- ## β›” INCREMENTAL EXECUTION (MANDATORY)
55
-
56
- One phase at a time, each phase independent: Phase 1 β†’ then Phase 2 β†’ … in one reply. No batching (load only what each phase needs). **Within each phase:** when doing a part, output it in format so user sees what's happening (announce before doing).
57
-
58
- ---
59
-
60
- ## 🎭 Phase 1: TEST STRATEGY
61
-
62
- | Agent | `tester` |
63
- | ----- | --------------------------------------- |
64
- | Goal | Design test strategy |
65
- | Exit | Strategy defined, test types identified |
66
-
67
- ---
68
- - Rejected approaches
69
- - Planning noise
70
- - Chat history
71
-
72
- Mode: Fresh execution start
73
-
74
- Proceeding to Test Execution...
75
- ```
76
-
77
- ---
78
-
79
- ## 🎭 Phase 2: DEPENDENCY MAPPING
80
-
81
- | Agent | `scouter` |
82
- | ----- | -------------------------------------- |
83
- | Goal | Map test dependencies |
84
- | Exit | Dependencies mapped, environment ready |
85
-
86
- ---
87
-
88
- ## 🎭 Phase 3: TEST EXECUTION
89
-
90
- | Agent | `tester` |
91
- | ------------ | --------------------------------------------------------------- |
92
- | Prerequisite | READ PLAN file if exists |
93
- | Goal | Run full test suite |
94
- | Exit | All tests run, coverage measured, checkpoint mapping documented |
95
-
96
- ---
97
-
98
- ## 🎭 Phase 4: FAILURE ANALYSIS (IF FAILURES)
99
-
100
- | Agent | `debugger` |
101
- | ------- | ---------------------- |
102
- | Trigger | If failures exist |
103
- | Goal | Analyze failures |
104
- | Exit | Root causes identified |
105
-
106
- ---
107
-
108
- ## 🎭 Phase 5: QUALITY GATES
109
-
110
- | Agent | `tester` |
111
- | ----- | --------------------------------- |
112
- | Goal | Verify quality gates |
113
- | Exit | All gates pass, coverage adequate |
114
-
115
- ---
116
-
117
- ## COMPLETION
118
-
119
- Present test report with:
120
-
121
- 1. βœ… **Pass** β€” All tests green (Focus Mode)
122
- 2. πŸ”§ **Fix** β†’ `/fix:fast`
123
- 3. πŸ“ **Review** β†’ `/review`