@namch/agent-assistant 1.0.2 β†’ 1.0.4

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 (43) hide show
  1. package/CHANGELOG.md +54 -0
  2. package/README.md +24 -9
  3. package/agents/reporter.md +177 -0
  4. package/code-assistants/antigravity-assistant/AntigravityGlobal.agent.md +3 -1
  5. package/code-assistants/antigravity-assistant/GEMINI.md +2 -0
  6. package/code-assistants/copilot-assistant/agent-assistant.agent.md +5 -0
  7. package/code-assistants/cursor-assistant/rules/agent-assistant.mdc +3 -1
  8. package/commands/code/focus.md +343 -0
  9. package/commands/code/hard.md +79 -0
  10. package/commands/code.md +16 -7
  11. package/commands/cook/focus.md +262 -0
  12. package/commands/cook/hard.md +59 -0
  13. package/commands/cook.md +13 -7
  14. package/commands/debug/focus.md +155 -0
  15. package/commands/debug/hard.md +53 -0
  16. package/commands/debug.md +9 -4
  17. package/commands/design/focus.md +267 -0
  18. package/commands/design/hard.md +53 -0
  19. package/commands/design.md +13 -7
  20. package/commands/fix/focus.md +175 -0
  21. package/commands/fix/hard.md +57 -0
  22. package/commands/fix.md +13 -7
  23. package/commands/plan/focus.md +190 -0
  24. package/commands/plan/hard.md +56 -0
  25. package/commands/plan.md +13 -7
  26. package/commands/report/fast.md +71 -0
  27. package/commands/report/focus.md +156 -0
  28. package/commands/report/hard.md +112 -0
  29. package/commands/report.md +89 -0
  30. package/commands/test/focus.md +165 -0
  31. package/commands/test/hard.md +53 -0
  32. package/commands/test.md +9 -4
  33. package/documents/business/business-features.md +1 -1
  34. package/documents/business/business-glossary.md +9 -8
  35. package/documents/business/business-prd.md +8 -8
  36. package/documents/knowledge-architecture.md +1 -1
  37. package/documents/knowledge-domain.md +5 -4
  38. package/documents/knowledge-overview.md +7 -6
  39. package/documents/knowledge-source-base.md +9 -9
  40. package/package.json +4 -2
  41. package/rules/AGENT-RULES.md +2 -1
  42. package/rules/BOOTSTRAP.md +3 -0
  43. package/rules/QUICK-REFERENCE.md +8 -0
@@ -0,0 +1,190 @@
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. ORCHESTRATION-LAWS.md
24
+ 2. ADAPTIVE-EXECUTION.md
25
+ 3. EXECUTION-PROTOCOL.md
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
+ ---
30
+
31
+ ## πŸ”€ TIERED EXECUTION
32
+
33
+ | Tier | When | Action |
34
+ | ---------- | ------------------ | ---------------------------- |
35
+ | **TIER 1** | runSubagent EXISTS | Invoke sub-agent (MANDATORY) |
36
+ | **TIER 2** | Tool MISSING | EMBODY agent file (FALLBACK) |
37
+
38
+ ---
39
+
40
+ ## πŸ“ DELIVERABLE FILES
41
+
42
+ | Agent | Output |
43
+ | ---------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
44
+ | researcher | `./reports/researchers/RESEARCH-{task}.md` |
45
+ | scouter | `./reports/scouts/SCOUT-{task}.md` |
46
+ | planner | **One** `./reports/plans/PLAN-{task}.md` **OR** multiple `./reports/plans/PLAN-{task}-phase1.md`, `PLAN-{task}-phase2.md`, … (see **Complexity & plan splitting** below) |
47
+
48
+ **Plans are source of truth for implementation.** All files in `./reports/` β†’ English only.
49
+
50
+ ---
51
+
52
+ ## πŸ“ COMPLEXITY & PLAN SPLITTING (MANDATORY FOR PLANNER)
53
+
54
+ 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.
55
+
56
+ | Condition | Planner output |
57
+ | -------------------------- | ---------------------------------------------------------------- |
58
+ | ≀ 3 phases, ≀ 3 days | **One** `PLAN-{task}.md` |
59
+ | > 3 phases **or** > 3 days | **Multiple** `PLAN-{task}-phase1.md`, `PLAN-{task}-phase2.md`, … |
60
+
61
+ **Multi-plan rules:**
62
+
63
+ - Naming: `PLAN-{task}-phase1.md`, `PLAN-{task}-phase2.md`, …
64
+ - Order: Execute in numeric order; phase N starts only after phase Nβˆ’1 is complete.
65
+ - Each file: scope **only** that phase; Prerequisites state "Phase Nβˆ’1 complete" (or prior deliverables); clear handoff to next file.
66
+ - Index (optional): planner may add `PLAN-{task}-INDEX.md` listing phases and file names for navigation.
67
+
68
+ ---
69
+
70
+ ## β›” INCREMENTAL EXECUTION (MANDATORY)
71
+
72
+ 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/EXECUTION-PROTOCOL.md Β§ Phase output structure.
73
+
74
+ ---
75
+
76
+ ## 🎭 Phase 1: RESEARCH
77
+
78
+ | Agent | `researcher` |
79
+ | ------ | --------------------------------------------- |
80
+ | Goal | Research best practices and patterns |
81
+ | Output | `./reports/researchers/RESEARCH-{task}.md` |
82
+ | Exit | Best practices identified, sources documented |
83
+
84
+ ---
85
+
86
+ ## 🎭 Phase 2: CODEBASE ANALYSIS
87
+
88
+ | Agent | `scouter` |
89
+ | ------ | -------------------------------------------- |
90
+ | Goal | Full architecture mapping |
91
+ | Output | `./reports/scouts/SCOUT-{task}.md` |
92
+ | Exit | Architecture understood, dependencies mapped |
93
+
94
+ ---
95
+
96
+ ## 🎭 Phase 3: DESIGN (IF UI NEEDED)
97
+
98
+ | Agent | `designer` |
99
+ | ------- | ------------------------------------------------- |
100
+ | Trigger | Task involves UI/UX |
101
+ | Goal | Design approach input |
102
+ | Exit | Design approach defined, accessibility considered |
103
+
104
+ ---
105
+
106
+ ## 🎭 Phase 4: PLAN CREATION
107
+
108
+ | Agent | `planner` |
109
+ | ------------ | --------------------------------------------------------------------------------------------------------------------------- |
110
+ | Prerequisite | **READ** RESEARCH + SCOUT files (and DESIGN if Phase 3 ran) |
111
+ | Goal | Create detailed implementation plan as **one file** or **multiple phase files** (see **Complexity & plan splitting** above) |
112
+ | Output | One `./reports/plans/PLAN-{task}.md` **or** multiple `./reports/plans/PLAN-{task}-phase1.md`, `PLAN-{task}-phase2.md`, … |
113
+
114
+ **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`.
115
+
116
+ **CONSTRAINT INHERITANCE:**
117
+
118
+ ```
119
+ Plan(s) MUST reference prior phases:
120
+ - "Based on research finding R1..."
121
+ - "Following pattern from Scout..."
122
+ - "Per design decision D1..."
123
+ ```
124
+
125
+ | Exit | One plan file **or** multiple phase plan files created; each has scope, prerequisites, tasks, exit criteria, risks, rollback; order and handoffs clear |
126
+
127
+ ---
128
+
129
+ ## πŸ›‘οΈ STRICT CONTEXT GATE β€” Automatic Context Optimization
130
+
131
+ > **⚑ FOCUS MODE**: This checkpoint executes automatically. NO user input required.
132
+ >
133
+ > **PURPOSE**: Prevent "context rot" by forcibly clearing noisy research/planning history.
134
+ > This acts as a mandatory "firewall" before handoff to implementation workflows.
135
+
136
+ ### πŸ”’ AUTOMATIC EXECUTION (NO PROMPT)
137
+
138
+ ```yaml
139
+ strict_context_gate:
140
+ mode: "AUTOMATIC - No user interaction"
141
+ behavior: "Force Clear context & Ready"
142
+
143
+ execution:
144
+ 1. ANNOUNCE: |
145
+ ## πŸ›‘οΈ Strict Context Gate β€” Automatic
146
+
147
+ βœ… **Plan Complete**: Plan file(s) created.
148
+ πŸ”’ **Focus Mode**: Automatically clearing context for implementation handoff.
149
+
150
+ ⚑ Executing: **Clear context & Ready**...
151
+
152
+ 2. CONTEXT_DIRECTIVE: |
153
+ ╔══════════════════════════════════════════════════════════════════╗
154
+ β•‘ β›” MANDATORY CONTEXT RESET β€” FOCUS MODE β•‘
155
+ ╠══════════════════════════════════════════════════════════════════╣
156
+ β•‘ IGNORE: All previous research discussions, exploration paths, β•‘
157
+ β•‘ rejected alternatives, and intermediate reasoning. β•‘
158
+ β•‘ β•‘
159
+ β•‘ SOLE SOURCE OF TRUTH: Plan file(s) in ./reports/plans/ β•‘
160
+ β•‘ β•‘
161
+ β•‘ HANDOFF: Plan is ready for `/code:focus` implementation. β•‘
162
+ β•‘ Implementation should treat Plan as fresh context. β•‘
163
+ β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•
164
+
165
+ 3. OUTPUT: Plan summary for user
166
+
167
+ 4. PROCEED: To COMPLETION
168
+ ```
169
+
170
+ ### πŸ“‹ Post-Gate Status
171
+
172
+ ```markdown
173
+ πŸ”’ **Context Gate Passed**
174
+
175
+ - Previous context: DISCARDED
176
+ - Active context: Plan file(s) only
177
+ - Mode: Clean handoff ready
178
+
179
+ Plan ready for implementation...
180
+ ```
181
+
182
+ ---
183
+
184
+ ## COMPLETION
185
+
186
+ Present plan with:
187
+
188
+ 1. βœ… **Plan Ready** β€” `./reports/plans/PLAN-{task}.md` (single) **or** `PLAN-{task}-phase1.md`, `PLAN-{task}-phase2.md`, … (multi-phase, execute in order)
189
+ 2. πŸ”’ **Context Optimized** β€” Ready for focus implementation
190
+ 3. 🍳 **Implement** β†’ `/code:focus` (run phase-by-phase when multiple plan files exist)
@@ -123,6 +123,62 @@ Plan(s) MUST reference prior phases:
123
123
 
124
124
  ---
125
125
 
126
+ ## πŸ›‘οΈ VERIFICATION CHECKPOINT β€” Context Optimization
127
+
128
+ > **PURPOSE**: Prevent "context rot" by clearing noisy research/planning history before implementation.
129
+ >
130
+ > Long-running planning sessions fill context with noise that degrades implementation quality.
131
+ > This checkpoint acts as a "firewall" before handing off to implementation workflows.
132
+
133
+ ### ⚑ OPTIONS (Present to User)
134
+
135
+ ```markdown
136
+ ## πŸ›‘οΈ Context Optimization Checkpoint
137
+
138
+ **Planning Complete** β€” Plan file(s) created.
139
+
140
+ **Choose how to proceed:**
141
+
142
+ | Option | Action | Description |
143
+ |--------|--------|-------------|
144
+ | **1. πŸš€ Clear context & Ready** | `RECOMMENDED` | Fresh start for implementation: Reload Plan, ignore planning history |
145
+ | **2. ⏸️ Review First** | `SAFE` | Clear context, show plan summary, wait for approval |
146
+ | **3. ⚠️ Continue (No Clear)** | `RISKY` | Keep full history (may affect `/cook:hard` quality) |
147
+
148
+ ⏳ Awaiting selection...
149
+ ```
150
+
151
+ ### πŸ”„ EXECUTION BEHAVIOR
152
+
153
+ ```yaml
154
+ option_1_clear_ready:
155
+ behavior: "RECOMMENDED - Prepare clean handoff"
156
+ steps:
157
+ 1. ACKNOWLEDGE: "πŸš€ Context optimized. Plan ready for implementation."
158
+ 2. CONTEXT_DIRECTIVE: |
159
+ β›” IGNORE all previous research/planning reasoning chains.
160
+ βœ… PLAN FILE is SOLE SOURCE OF TRUTH for implementation.
161
+ 3. OUTPUT: "Run `/code:focus` to implement with clean context."
162
+
163
+ option_2_review_first:
164
+ behavior: "Clear and show summary"
165
+ steps:
166
+ 1. ACKNOWLEDGE: "⏸️ Context cleared."
167
+ 2. CONTEXT_DIRECTIVE: |
168
+ β›” IGNORE all previous research/planning reasoning chains.
169
+ βœ… PLAN FILE is SOLE SOURCE OF TRUTH.
170
+ 3. OUTPUT: Display plan summary for user review
171
+ 4. WAIT: For user approval before proceeding
172
+
173
+ option_3_continue_no_clear:
174
+ behavior: "Proceed with caution - context rot risk"
175
+ steps:
176
+ 1. WARN: "⚠️ Continuing with full history. May affect implementation quality."
177
+ 2. PROCEED: Complete workflow with existing context
178
+ ```
179
+
180
+ ---
181
+
126
182
  ## COMPLETION
127
183
 
128
184
  Present plan with:
package/commands/plan.md CHANGED
@@ -16,9 +16,10 @@ execution-mode: router
16
16
  ## πŸ›‘ PRE-FLIGHT (DO FIRST β€” BLOCKS EXECUTION)
17
17
 
18
18
  **LOAD now** (in order; path `./rules/` or `~/.{TOOL}/skills/agent-assistant/rules/`):
19
- 1. ORCHESTRATION-LAWS.md
20
- 2. ADAPTIVE-EXECUTION.md
21
- 3. EXECUTION-PROTOCOL.md
19
+
20
+ 1. ORCHESTRATION-LAWS.md
21
+ 2. ADAPTIVE-EXECUTION.md
22
+ 3. EXECUTION-PROTOCOL.md
22
23
 
23
24
  **β›” Do not run any workflow phase until all are loaded.** Follow **all** rules in those files. Then run this file's ROUTING LOGIC, LOAD the chosen variant (e.g. plan/hard.md), and execute it.
24
25
 
@@ -33,6 +34,9 @@ IF task is clear (known approach, codebase-only):
33
34
  IF task is complex (research needed, architectural):
34
35
  β†’ Route to /plan:hard
35
36
 
37
+ IF task is complex AND clean implementation handoff is critical:
38
+ β†’ Route to /plan:focus
39
+
36
40
  IF unsure:
37
41
  β†’ Default to /plan:fast
38
42
  ```
@@ -41,10 +45,11 @@ IF unsure:
41
45
 
42
46
  ## AVAILABLE ROUTES
43
47
 
44
- | Route | When to Use |
45
- | ------------ | ------------------------------- |
46
- | `/plan:fast` | Quick planning without research |
47
- | `/plan:hard` | Full planning with research |
48
+ | Route | When to Use |
49
+ | ------------- | ---------------------------------------------------- |
50
+ | `/plan:fast` | Quick planning without research |
51
+ | `/plan:hard` | Full planning with research |
52
+ | `/plan:focus` | Full planning with **enforced context optimization** |
48
53
 
49
54
  ---
50
55
 
@@ -59,6 +64,7 @@ IF unsure:
59
64
 
60
65
  1. ⚑ **Fast** β†’ `/plan:fast` β€” Quick plan
61
66
  2. ⚑⚑⚑ **Hard** β†’ `/plan:hard` β€” Full research-backed plan
67
+ 3. 🎯 **Focus** β†’ `/plan:focus` β€” Full plan with **automatic context clearing** (clean implementation handoff)
62
68
 
63
69
  ⏳ Awaiting selection...
64
70
  ```
@@ -0,0 +1,71 @@
1
+ ---
2
+ description: ⚑ Fast Report β€” Quick status updates and summaries
3
+ version: "1.0"
4
+ category: documentation
5
+ execution-mode: execute
6
+ ---
7
+
8
+ # /report:fast β€” Quick Status Report
9
+
10
+ > **MISSION**: Generate concise, actionable status reports and summaries.
11
+ >
12
+ > Use for daily standups, progress checks, and high-level overviews.
13
+ > For **update existing files** or **generate from template**, use `/report:hard` or `/report:focus`.
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. ORCHESTRATION-LAWS.md
24
+ 2. ADAPTIVE-EXECUTION.md
25
+ 3. EXECUTION-PROTOCOL.md
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
+ ---
30
+
31
+ ## πŸ”€ TIERED EXECUTION
32
+
33
+ | Tier | When | Action |
34
+ | ---------- | ------------------ | ---------------------------- |
35
+ | **TIER 1** | runSubagent EXISTS | Invoke sub-agent (MANDATORY) |
36
+ | **TIER 2** | Tool MISSING | EMBODY agent file (FALLBACK) |
37
+
38
+ **❌ Anti-Lazy**: Never use TIER 2 when TIER 1 tool available.
39
+
40
+ ---
41
+
42
+ ## β›” INCREMENTAL EXECUTION (MANDATORY)
43
+
44
+ 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/EXECUTION-PROTOCOL.md Β§ Phase output structure.
45
+
46
+ ---
47
+
48
+ ## 🎭 Phase 1: INFORMATION GATHERING
49
+
50
+ | Agent | `reporter` |
51
+ | ----- | ---------------------------------------- |
52
+ | Goal | Scan current state and recent activities |
53
+ | Exit | Progress summarized, key sources scanned |
54
+
55
+ ---
56
+
57
+ ## 🎭 Phase 2: REPORT GENERATION
58
+
59
+ | Agent | `reporter` |
60
+ | ----- | -------------------------------------------------------------------------- |
61
+ | Goal | Infer intent; if **create report** β†’ generate concise status report |
62
+ | Exit | Report with Summary, Key Changes, Next Steps β€” or recommend `/report:hard`/`/report:focus` if user intent is update/template |
63
+
64
+ ---
65
+
66
+ ## COMPLETION
67
+
68
+ Present report:
69
+
70
+ 1. βœ… **Report Ready** β€” Displayed in chat
71
+ 2. πŸ“„ **Save?** β†’ If user wants to save: `./reports/general/REPORT-status-{YYYY-MM-DD}.md`
@@ -0,0 +1,156 @@
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. ORCHESTRATION-LAWS.md
24
+ 2. ADAPTIVE-EXECUTION.md
25
+ 3. EXECUTION-PROTOCOL.md
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
+ ---
30
+
31
+ ## πŸ”€ TIERED EXECUTION
32
+
33
+ | Tier | When | Action |
34
+ | ---------- | ------------------ | ---------------------------- |
35
+ | **TIER 1** | runSubagent EXISTS | Invoke sub-agent (MANDATORY) |
36
+ | **TIER 2** | Tool MISSING | EMBODY agent file (FALLBACK) |
37
+
38
+ **❌ Anti-Lazy**: Never use TIER 2 when TIER 1 tool available.
39
+
40
+ ---
41
+
42
+ ## πŸ“ DELIVERABLES (Reporter chooses from user intent)
43
+
44
+ | User intent | Reporter output |
45
+ | ----------- | ---------------- |
46
+ | **Create report** | `./reports/general/REPORT-FOCUS-{date}.md` or path user asked |
47
+ | **Update existing** | **Edit** related files; do **not** create new report unless also asked |
48
+ | **From template** | File(s) matching user format/template |
49
+
50
+ | Agent | When creating report |
51
+ | ---------- | ------------------------------------------------- |
52
+ | researcher | (optional) verification checklist |
53
+ | scouter | (optional) evidence output |
54
+ | reporter | Per table above β€” create / update / from template |
55
+
56
+ All files in `./reports/` β†’ English only.
57
+
58
+ ---
59
+
60
+ ## β›” INCREMENTAL EXECUTION (MANDATORY)
61
+
62
+ 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/EXECUTION-PROTOCOL.md Β§ Phase output structure.
63
+
64
+ ---
65
+
66
+ ## πŸ›‘οΈ FOCUS CONTEXT GATE β€” Automatic Context Optimization
67
+
68
+ > **⚑ FOCUS MODE**: This checkpoint executes automatically. NO user input required.
69
+ >
70
+ > **PURPOSE**: Ensure report is based ONLY on facts, not conversation hallucinations.
71
+ > This acts as a mandatory "firewall" before analysis begins.
72
+
73
+ ### πŸ”’ AUTOMATIC EXECUTION (NO PROMPT)
74
+
75
+ ```yaml
76
+ focus_context_gate:
77
+ mode: "AUTOMATIC - No user interaction"
78
+ behavior: "Force Clear context & Analyze"
79
+
80
+ execution:
81
+ 1. ANNOUNCE: |
82
+ ## πŸ›‘οΈ Focus Context Gate β€” Automatic
83
+
84
+ βœ… **Target Defined**: Analysis target identified.
85
+ πŸ”’ **Focus Mode**: Automatically clearing context for objective analysis.
86
+
87
+ ⚑ Executing: **Clear context & Analyze**...
88
+
89
+ 2. CONTEXT_DIRECTIVE: |
90
+ ╔══════════════════════════════════════════════════════════════════╗
91
+ β•‘ β›” MANDATORY CONTEXT RESET β€” FOCUS MODE β•‘
92
+ ╠══════════════════════════════════════════════════════════════════╣
93
+ β•‘ IGNORE: All previous chat assumptions, unverified claims, β•‘
94
+ β•‘ and subjective contextual bias. β•‘
95
+ β•‘ β•‘
96
+ β•‘ SOLE SOURCE OF TRUTH: The actual Codebase and Documentation. β•‘
97
+ β•‘ β•‘
98
+ β•‘ PROCEED: Begin Analysis phase with FRESH, OBJECTIVE mindset. β•‘
99
+ β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•
100
+
101
+ 3. LOAD: Read specified target files as if seeing them for the first time
102
+
103
+ 4. PROCEED: Start Phase 1 (Objective Analysis) immediately
104
+ ```
105
+
106
+ ### πŸ“‹ Post-Gate Status
107
+
108
+ ```markdown
109
+ πŸ”’ **Context Gate Passed**
110
+
111
+ - Previous context: DISCARDED
112
+ - Active context: Target files / codebase only
113
+ - Mode: Fresh objective analysis
114
+
115
+ Proceeding to Phase 1...
116
+ ```
117
+
118
+ ---
119
+
120
+ ## 🎭 Phase 1: RESEARCH (AUDIT CRITERIA)
121
+
122
+ | Agent | `researcher` |
123
+ | ------ | ----------------------------------------------------- |
124
+ | Goal | Research audit/report criteria and what to verify |
125
+ | Exit | Verification checklist and report criteria defined |
126
+
127
+ ---
128
+
129
+ ## 🎭 Phase 2: EVIDENCE COLLECTION
130
+
131
+ | Agent | `scouter` |
132
+ | ------ | ------------------------------- |
133
+ | Goal | Gather raw, verifiable evidence |
134
+ | Exit | Factual state documented, no assumptions |
135
+
136
+ ---
137
+
138
+ ## 🎭 Phase 3: VERIFICATION & OUTPUT (create / update / from template)
139
+
140
+ | Agent | `reporter` |
141
+ | ----------- | -------------------------------------------------------------------------- |
142
+ | Prerequisite| **USE** Phase 1 criteria + Phase 2 evidence only |
143
+ | Goal | From **user intent**: synthesize into (1) new report, (2) **updates** to existing files, or (3) file(s) from template |
144
+ | Output | **Create**: `./reports/general/REPORT-FOCUS-{date}.md`. **Update**: edit related files. **Template**: file(s) matching user format. |
145
+ | Exit | Deliverable matches intent; every claim cited when creating report. |
146
+
147
+ ---
148
+
149
+ ## COMPLETION
150
+
151
+ Deliverable per **user intent**:
152
+
153
+ 1. βœ… **Create report** β†’ `./reports/general/REPORT-FOCUS-{date}.md` (or path user asked)
154
+ 2. βœ… **Update existing** β†’ Related files edited; list what was updated
155
+ 3. βœ… **From template** β†’ File(s) matching user format; list path(s)
156
+ 4. πŸ•΅οΈ **Audit** β†’ `/review:focus` (optional)
@@ -0,0 +1,112 @@
1
+ ---
2
+ description: ⚑ Detailed Report β€” Comprehensive project analysis and documentation
3
+ version: "1.0"
4
+ category: documentation
5
+ execution-mode: execute
6
+ ---
7
+
8
+ # /report:hard β€” Comprehensive Project Report
9
+
10
+ > **MISSION**: Generate detailed output for **any topic** β€” reports, doc updates, or template-based files.
11
+ >
12
+ > Use for: sprint reviews, technical docs, any-topic reports, updating existing files, or generating from user format/template.
13
+
14
+ <task>$ARGUMENTS</task>
15
+
16
+ ---
17
+
18
+ ## πŸ›‘ PRE-FLIGHT (DO FIRST β€” BLOCKS PHASE 1)
19
+
20
+ **LOAD now** (in order; path `./rules/` or `~/.{TOOL}/skills/agent-assistant/rules/`):
21
+
22
+ 1. ORCHESTRATION-LAWS.md
23
+ 2. ADAPTIVE-EXECUTION.md
24
+ 3. EXECUTION-PROTOCOL.md
25
+
26
+ **β›” Do not run Phase 1 until all are loaded.** Follow **all** rules in those files; they override any conflicting instructions in this file.
27
+
28
+ ---
29
+
30
+ ## πŸ”€ TIERED EXECUTION
31
+
32
+ | Tier | When | Action |
33
+ | ---------- | ------------------ | ---------------------------- |
34
+ | **TIER 1** | runSubagent EXISTS | Invoke sub-agent (MANDATORY) |
35
+ | **TIER 2** | Tool MISSING | EMBODY agent file (FALLBACK) |
36
+
37
+ **❌ Anti-Lazy**: Never use TIER 2 when TIER 1 tool available.
38
+
39
+ ---
40
+
41
+ ## πŸ“ DELIVERABLES (Reporter chooses from user intent)
42
+
43
+ | User intent | Reporter output |
44
+ | ----------- | ---------------- |
45
+ | **Create report** | New file: `./reports/general/REPORT-{type}-{date}.md` (or path user asks) |
46
+ | **Update existing** | **Edit** related files (docs, README, etc.); do **not** create new report unless also asked |
47
+ | **From template** | New file(s) matching user format/template (e.g. after scouting source) |
48
+
49
+ | Agent | Output (when creating) |
50
+ | ---------- | ------------------------------------------------ |
51
+ | researcher | `./reports/researchers/RESEARCH-{task}.md` (optional) |
52
+ | scouter | `./reports/scouts/SCOUT-{task}.md` (optional) |
53
+ | reporter | Per table above β€” create report **or** update existing **or** generate from template |
54
+
55
+ All files in `./reports/` β†’ English only.
56
+
57
+ ---
58
+
59
+ ## β›” INCREMENTAL EXECUTION (MANDATORY)
60
+
61
+ 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/EXECUTION-PROTOCOL.md Β§ Phase output structure.
62
+
63
+ ---
64
+
65
+ ## 🎭 Phase 1: RESEARCH
66
+
67
+ | Agent | `researcher` |
68
+ | ------ | ---------------------------------------------------------- |
69
+ | Goal | Research report scope, audience, and best practices for project/technical reports |
70
+ | Output | `./reports/researchers/RESEARCH-{task}.md` (optional) |
71
+ | Exit | Report scope and criteria defined, templates identified |
72
+
73
+ ---
74
+
75
+ ## 🎭 Phase 2: DEEP SCAN
76
+
77
+ | Agent | `scouter` |
78
+ | ------ | --------------------------------- |
79
+ | Goal | Full codebase structural analysis |
80
+ | Output | `./reports/scouts/SCOUT-{task}.md` |
81
+ | Exit | Architecture and recent changes documented |
82
+
83
+ ---
84
+
85
+ ## 🎭 Phase 3: DATA SYNTHESIS
86
+
87
+ | Agent | `reporter` |
88
+ | ----------- | ------------------------------------------------ |
89
+ | Prerequisite| **READ** RESEARCH + SCOUT outputs if present |
90
+ | Goal | Aggregate data from Scouter, Plans, and History; identify discrepancies and milestones |
91
+ | Exit | Data synthesized, gaps and milestones identified |
92
+
93
+ ---
94
+
95
+ ## 🎭 Phase 4: OUTPUT (create / update / from template)
96
+
97
+ | Agent | `reporter` |
98
+ | ----- | --------------------------------------------------------------------------- |
99
+ | Goal | From **user intent**: (1) create new report, (2) **update** existing files, or (3) generate from template/format |
100
+ | Output| **Create**: `./reports/general/REPORT-{type}-{date}.md` or path user asked. **Update**: edit related files. **Template**: file(s) matching user format. |
101
+ | Exit | Deliverable matches intent β€” report file, updated docs, or template-based file(s). |
102
+
103
+ ---
104
+
105
+ ## COMPLETION
106
+
107
+ Deliverable per **user intent**:
108
+
109
+ 1. βœ… **Create report** β†’ `./reports/general/REPORT-{type}-{date}.md` (or path user asked)
110
+ 2. βœ… **Update existing** β†’ Related files edited; list what was updated
111
+ 3. βœ… **From template** β†’ File(s) matching user format; list path(s)
112
+ 4. πŸ“’ **Share** β†’ `/internal-comms` (optional)