@namch/agent-assistant 1.0.4 โ†’ 1.1.0

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 (86) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/README.md +1 -1
  3. package/agents/planner.md +59 -11
  4. package/agents/reporter.md +1 -1
  5. package/cli/install.js +514 -169
  6. package/code-assistants/antigravity-assistant/AntigravityGlobal.agent.md +38 -135
  7. package/code-assistants/antigravity-assistant/GEMINI.md +37 -137
  8. package/code-assistants/claude-assistant/CLAUDE.md +60 -38
  9. package/code-assistants/copilot-assistant/agent-assistant.agent.md +44 -125
  10. package/code-assistants/cursor-assistant/.cursorrules +42 -84
  11. package/code-assistants/cursor-assistant/rules/agent-assistant.mdc +37 -135
  12. package/commands/ask/fast.md +6 -4
  13. package/commands/ask/hard.md +6 -4
  14. package/commands/ask.md +3 -3
  15. package/commands/auto.md +3 -3
  16. package/commands/brainstorm/fast.md +6 -4
  17. package/commands/brainstorm/hard.md +6 -4
  18. package/commands/brainstorm.md +3 -3
  19. package/commands/code/fast.md +6 -4
  20. package/commands/code/focus.md +22 -46
  21. package/commands/code/hard.md +23 -48
  22. package/commands/code.md +3 -3
  23. package/commands/cook/fast.md +5 -3
  24. package/commands/cook/focus.md +22 -51
  25. package/commands/cook/hard.md +23 -55
  26. package/commands/cook.md +3 -3
  27. package/commands/debug/fast.md +5 -3
  28. package/commands/debug/focus.md +35 -40
  29. package/commands/debug/hard.md +38 -16
  30. package/commands/debug.md +3 -3
  31. package/commands/deploy/check.md +4 -4
  32. package/commands/deploy/preview.md +4 -4
  33. package/commands/deploy/production.md +4 -4
  34. package/commands/deploy/rollback.md +4 -4
  35. package/commands/deploy.md +3 -3
  36. package/commands/design/fast.md +6 -4
  37. package/commands/design/focus.md +28 -44
  38. package/commands/design/hard.md +53 -17
  39. package/commands/design.md +3 -3
  40. package/commands/docs/audit.md +5 -5
  41. package/commands/docs/business.md +5 -5
  42. package/commands/docs/core.md +5 -5
  43. package/commands/docs.md +3 -3
  44. package/commands/fix/fast.md +5 -3
  45. package/commands/fix/focus.md +36 -44
  46. package/commands/fix/hard.md +23 -37
  47. package/commands/fix.md +3 -3
  48. package/commands/plan/fast.md +6 -4
  49. package/commands/plan/focus.md +6 -4
  50. package/commands/plan/hard.md +6 -4
  51. package/commands/plan.md +3 -3
  52. package/commands/report/fast.md +6 -4
  53. package/commands/report/focus.md +6 -4
  54. package/commands/report/hard.md +6 -4
  55. package/commands/report.md +3 -3
  56. package/commands/review/fast.md +5 -3
  57. package/commands/review/hard.md +5 -3
  58. package/commands/review.md +3 -3
  59. package/commands/test/fast.md +5 -3
  60. package/commands/test/focus.md +24 -43
  61. package/commands/test/hard.md +24 -16
  62. package/commands/test.md +3 -3
  63. package/documents/HSOL-ASSESSMENT.md +121 -0
  64. package/documents/SMART-SKILL-ORCHESTRATION-BLUEPRINT.md +1341 -0
  65. package/documents/business/business-glossary.md +6 -6
  66. package/documents/knowledge-architecture.md +81 -1
  67. package/documents/knowledge-domain.md +4 -3
  68. package/documents/knowledge-overview.md +1 -1
  69. package/documents/knowledge-source-base.md +15 -10
  70. package/package.json +2 -2
  71. package/rules/AGENTS.md +187 -0
  72. package/rules/CONTEXT-GATE.md +362 -0
  73. package/rules/CORE.md +175 -0
  74. package/rules/ERRORS.md +127 -0
  75. package/rules/PHASES.md +156 -0
  76. package/rules/REFERENCE.md +179 -0
  77. package/rules/SKILLS.md +167 -0
  78. package/skills/find-skills/SKILL.md +137 -0
  79. package/rules/ADAPTIVE-EXECUTION.md +0 -271
  80. package/rules/AGENT-RULES.md +0 -285
  81. package/rules/BOOTSTRAP.md +0 -301
  82. package/rules/ERROR-RECOVERY.md +0 -201
  83. package/rules/EXECUTION-PROTOCOL.md +0 -485
  84. package/rules/ORCHESTRATION-LAWS.md +0 -218
  85. package/rules/QUICK-REFERENCE.md +0 -204
  86. package/rules/SKILL-DISCOVERY.md +0 -370
@@ -16,12 +16,14 @@ execution-mode: execute
16
16
  ## ๐Ÿ›‘ PRE-FLIGHT (DO FIRST โ€” BLOCKS PHASE 1)
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
+ 1. CORE.md โ€” Identity, Laws, Routing
20
+ 2. PHASES.md โ€” Phase Execution
21
+ 3. AGENTS.md โ€” Tiered Execution
22
22
 
23
23
  **โ›” Do not run Phase 1 until all are loaded.** Follow **all** rules in those files; they override any conflicting instructions in this file.
24
24
 
25
+ **Skills Resolution**: When delegating, load `SKILLS.md` on-demand. Fast variant uses matrix-only (no dynamic discovery for speed optimization).
26
+
25
27
  ---
26
28
 
27
29
  ## ๐Ÿ”€ TIERED EXECUTION
@@ -20,12 +20,14 @@ execution-mode: execute
20
20
 
21
21
  **LOAD now** (in order; path `./rules/` or `~/.{TOOL}/skills/agent-assistant/rules/`):
22
22
 
23
- 1. ORCHESTRATION-LAWS.md
24
- 2. ADAPTIVE-EXECUTION.md
25
- 3. EXECUTION-PROTOCOL.md
23
+ 1. CORE.md โ€” Identity, Laws, Routing
24
+ 2. PHASES.md โ€” Phase Execution
25
+ 3. AGENTS.md โ€” Tiered Execution
26
26
 
27
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
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
+
29
31
  ---
30
32
 
31
33
  ## ๐Ÿ”€ TIERED EXECUTION
@@ -52,7 +54,7 @@ All files in `./reports/` โ†’ English only.
52
54
 
53
55
  ## โ›” INCREMENTAL EXECUTION (MANDATORY)
54
56
 
55
- 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.
57
+ 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.
56
58
 
57
59
  ---
58
60
 
@@ -83,55 +85,45 @@ One phase at a time, each phase independent: Phase 1 โ†’ then Phase 2 โ†’ โ€ฆ in
83
85
 
84
86
  ---
85
87
 
86
- ## ๐Ÿ›ก๏ธ STRICT CONTEXT GATE โ€” Automatic Context Optimization
88
+ ## ๐Ÿ›ก๏ธ CONTEXT GATE CHECKPOINT
87
89
 
88
- > **โšก FOCUS MODE**: This checkpoint executes automatically. NO user input required.
90
+ > **โ›” BLOCKING**: Load Context Gate protocol NOW before proceeding.
91
+ >
92
+ > **LOAD**: `rules/CONTEXT-GATE.md` โ€” Execute FOCUS MODE protocol
89
93
  >
90
- > **PURPOSE**: Prevent "context rot" by forcibly clearing noisy debugging/planning history.
91
- > This acts as a mandatory "firewall" between Planning and Implementation phases.
94
+ > This is a MANDATORY checkpoint. Cannot skip or bypass.
92
95
 
93
- ### ๐Ÿ”’ AUTOMATIC EXECUTION (NO PROMPT)
96
+ ### โšก EXECUTION
94
97
 
95
98
  ```yaml
96
- strict_context_gate:
97
- mode: "AUTOMATIC - No user interaction"
98
- behavior: "Force Clear context & Auto-Implement"
99
-
100
- execution:
101
- 1. ANNOUNCE: |
102
- ## ๐Ÿ›ก๏ธ Strict Context Gate โ€” Automatic
103
-
104
- โœ… **Fix Plan Complete**: Strategy defined with rollback.
105
- ๐Ÿ”’ **Focus Mode**: Automatically clearing context for implementation.
106
-
107
- โšก Executing: **Clear context & Auto-Implement**...
108
-
109
- 2. CONTEXT_DIRECTIVE: |
110
- โ•”โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•—
111
- โ•‘ โ›” MANDATORY CONTEXT RESET โ€” FOCUS MODE โ•‘
112
- โ• โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•ฃ
113
- โ•‘ IGNORE: All previous debugging hypotheses, failed attempts, โ•‘
114
- โ•‘ research explorations, and intermediate reasoning. โ•‘
115
- โ•‘ โ•‘
116
- โ•‘ SOLE SOURCE OF TRUTH: Fix plan with rollback strategy. โ•‘
117
- โ•‘ โ•‘
118
- โ•‘ PROCEED: Begin Implementation phase with FRESH context mindset. โ•‘
119
- โ•‘ Treat this as a NEW conversation starting from Plan. โ•‘
120
- โ•šโ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•
121
-
122
- 3. LOAD: Read Fix plan completely as if seeing it for the first time
123
-
124
- 4. PROCEED: Start Phase 4 (Implementation) immediately
99
+ context_gate_execution:
100
+ mode: "FOCUS (Automatic)"
101
+ trigger: "After Phase 3 (Fix Planning) completes"
102
+ protocol: "Follow rules/CONTEXT-GATE.md ยง FOCUS MODE"
103
+
104
+ variant_adjustments:
105
+ remaining_phases: "Phase 4 โ†’ 5 โ†’ 5.5"
106
+ plan_type: "Fix plan with rollback strategy"
125
107
  ```
126
108
 
127
- ### ๐Ÿ“‹ Post-Gate Status
109
+ **DO NOT proceed to Phase 4 until Context Gate completes.**
110
+
111
+ ---
112
+
113
+ ## โœ… Reloaded:
114
+ - User request (original issue verbatim)
115
+ - Acceptance criteria (fix verification checkpoints)
116
+ - Fix plan with rollback strategy
117
+ - Remaining phases workflow
118
+ - Implementation rules summary
128
119
 
129
- ```markdown
130
- ๐Ÿ”’ **Context Gate Passed**
120
+ ## โŒ Discarded:
121
+ - Debugging hypotheses
122
+ - Failed investigation attempts
123
+ - Research explorations
124
+ - Chat history noise
131
125
 
132
- - Previous context: DISCARDED
133
- - Active context: Fix plan only
134
- - Mode: Fresh implementation start
126
+ Mode: Fresh implementation start
135
127
 
136
128
  Proceeding to Implementation...
137
129
  ```
@@ -16,12 +16,14 @@ execution-mode: execute
16
16
  ## ๐Ÿ›‘ PRE-FLIGHT (DO FIRST โ€” BLOCKS PHASE 1)
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
+ 1. CORE.md โ€” Identity, Laws, Routing
20
+ 2. PHASES.md โ€” Phase Execution
21
+ 3. AGENTS.md โ€” Tiered Execution
22
22
 
23
23
  **โ›” Do not run Phase 1 until all are loaded.** Follow **all** rules in those files; they override any conflicting instructions in this file.
24
24
 
25
+ **Skills Resolution**: When delegating, load `SKILLS.md` on-demand for fitness calculation and dynamic discovery (hard/focus variants enable find-skills).
26
+
25
27
  ---
26
28
 
27
29
  ## ๐Ÿ”€ TIERED EXECUTION
@@ -48,7 +50,7 @@ All files in `./reports/` โ†’ English only.
48
50
 
49
51
  ## โ›” INCREMENTAL EXECUTION (MANDATORY)
50
52
 
51
- 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.
53
+ 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.
52
54
 
53
55
  ---
54
56
 
@@ -95,45 +97,29 @@ One phase at a time, each phase independent: Phase 1 โ†’ then Phase 2 โ†’ โ€ฆ in
95
97
 
96
98
  **Choose how to proceed with implementation:**
97
99
 
98
- | Option | Action | Description |
99
- |--------|--------|-------------|
100
- | **1. ๐Ÿš€ Clear context & Auto-Implement** | `RECOMMENDED` | Fresh start: Reload Plan, ignore chat history, begin fix immediately |
101
- | **2. โธ๏ธ Clear context & Manual** | `SAFE` | Clear context, reload Plan, pause for your command before coding |
102
- | **3. โš ๏ธ Continue (No Clear)** | `RISKY` | Proceed with full history attached (may cause hallucination) |
100
+ ## ๐Ÿ›ก๏ธ VERIFICATION CHECKPOINT
103
101
 
104
- โณ Awaiting selection...
105
- ```
102
+ > **โ›” BLOCKING**: Load Context Gate protocol NOW before proceeding.
103
+ >
104
+ > **LOAD**: `rules/CONTEXT-GATE.md` โ€” Execute HARD MODE protocol
105
+ >
106
+ > This is a MANDATORY checkpoint. Cannot skip or bypass.
106
107
 
107
- ### ๐Ÿ”„ EXECUTION BEHAVIOR
108
+ ### โšก EXECUTION
108
109
 
109
110
  ```yaml
110
- option_1_clear_auto_implement:
111
- behavior: "RECOMMENDED - Simulate fresh start"
112
- steps:
113
- 1. ACKNOWLEDGE: "๐Ÿš€ Executing Clear context & Auto-Implement..."
114
- 2. CONTEXT_DIRECTIVE: |
115
- โ›” IGNORE all previous chat messages and reasoning chains.
116
- โœ… RELOAD: Fix plan as SOLE SOURCE OF TRUTH.
117
- โœ… PROCEED: Begin Phase 4 (Implementation) immediately.
118
- 3. EXECUTE: Start Implementation phase with fresh context mindset
119
-
120
- option_2_clear_manual:
121
- behavior: "Clear and wait for explicit command"
122
- steps:
123
- 1. ACKNOWLEDGE: "โธ๏ธ Context cleared. Plan reloaded."
124
- 2. CONTEXT_DIRECTIVE: |
125
- โ›” IGNORE all previous chat messages and reasoning chains.
126
- โœ… RELOAD: Fix plan as SOLE SOURCE OF TRUTH.
127
- 3. OUTPUT: "Ready for fix implementation. Type `/continue` or give specific instructions."
128
- 4. WAIT: For user command before proceeding
129
-
130
- option_3_continue_no_clear:
131
- behavior: "Proceed with caution - context rot risk"
132
- steps:
133
- 1. WARN: "โš ๏ธ Continuing with full history. Higher hallucination risk."
134
- 2. PROCEED: Continue to Phase 4 with existing context
111
+ context_gate_execution:
112
+ mode: "HARD (User Choice)"
113
+ trigger: "After Phase 3 (Fix Planning) completes"
114
+ protocol: "Follow rules/CONTEXT-GATE.md ยง HARD MODE"
115
+
116
+ variant_adjustments:
117
+ plan_type: "Fix plan with rollback strategy"
118
+ remaining_phases: "Phase 4 โ†’ 5 โ†’ 5.5"
135
119
  ```
136
120
 
121
+ **DO NOT proceed to Phase 4 until user selects option.**
122
+
137
123
  ---
138
124
 
139
125
  ## ๐ŸŽญ Phase 4: IMPLEMENTATION
package/commands/fix.md CHANGED
@@ -17,9 +17,9 @@ execution-mode: router
17
17
 
18
18
  **LOAD now** (in order; path `./rules/` or `~/.{TOOL}/skills/agent-assistant/rules/`):
19
19
 
20
- 1. ORCHESTRATION-LAWS.md
21
- 2. ADAPTIVE-EXECUTION.md
22
- 3. EXECUTION-PROTOCOL.md
20
+ 1. CORE.md โ€” Identity, Laws, Routing
21
+ 2. PHASES.md โ€” Phase Execution
22
+ 3. AGENTS.md โ€” Tiered Execution
23
23
 
24
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 workflow, and execute it.
25
25
 
@@ -17,12 +17,14 @@ execution-mode: execute
17
17
 
18
18
  **LOAD now** (in order; path `./rules/` or `~/.{TOOL}/skills/agent-assistant/rules/`):
19
19
 
20
- 1. ORCHESTRATION-LAWS.md
21
- 2. ADAPTIVE-EXECUTION.md
22
- 3. EXECUTION-PROTOCOL.md
20
+ 1. CORE.md โ€” Identity, Laws, Routing
21
+ 2. PHASES.md โ€” Phase Execution
22
+ 3. AGENTS.md โ€” Tiered Execution
23
23
 
24
24
  **โ›” Do not run Phase 1 until all are loaded.** Follow **all** rules in those files; they override any conflicting instructions in this file.
25
25
 
26
+ **Skills Resolution**: When delegating, load `SKILLS.md` on-demand. Fast variant uses matrix-only (no dynamic discovery for speed optimization).
27
+
26
28
  ---
27
29
 
28
30
  ## ๐Ÿ”€ TIERED EXECUTION
@@ -38,7 +40,7 @@ execution-mode: execute
38
40
 
39
41
  ## โ›” INCREMENTAL EXECUTION (MANDATORY)
40
42
 
41
- 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.
43
+ 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.
42
44
 
43
45
  ---
44
46
 
@@ -20,12 +20,14 @@ execution-mode: execute
20
20
 
21
21
  **LOAD now** (in order; path `./rules/` or `~/.{TOOL}/skills/agent-assistant/rules/`):
22
22
 
23
- 1. ORCHESTRATION-LAWS.md
24
- 2. ADAPTIVE-EXECUTION.md
25
- 3. EXECUTION-PROTOCOL.md
23
+ 1. CORE.md โ€” Identity, Laws, Routing
24
+ 2. PHASES.md โ€” Phase Execution
25
+ 3. AGENTS.md โ€” Tiered Execution
26
26
 
27
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
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
+
29
31
  ---
30
32
 
31
33
  ## ๐Ÿ”€ TIERED EXECUTION
@@ -69,7 +71,7 @@ When the logical plan would have **> 3 phases** or **estimated effort > 3 days**
69
71
 
70
72
  ## โ›” INCREMENTAL EXECUTION (MANDATORY)
71
73
 
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.
74
+ 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.
73
75
 
74
76
  ---
75
77
 
@@ -17,12 +17,14 @@ execution-mode: execute
17
17
 
18
18
  **LOAD now** (in order; path `./rules/` or `~/.{TOOL}/skills/agent-assistant/rules/`):
19
19
 
20
- 1. ORCHESTRATION-LAWS.md
21
- 2. ADAPTIVE-EXECUTION.md
22
- 3. EXECUTION-PROTOCOL.md
20
+ 1. CORE.md โ€” Identity, Laws, Routing
21
+ 2. PHASES.md โ€” Phase Execution
22
+ 3. AGENTS.md โ€” Tiered Execution
23
23
 
24
24
  **โ›” Do not run Phase 1 until all are loaded.** Follow **all** rules in those files; they override any conflicting instructions in this file.
25
25
 
26
+ **Skills Resolution**: When delegating, load `SKILLS.md` on-demand for fitness calculation and dynamic discovery (hard/focus variants enable find-skills).
27
+
26
28
  ---
27
29
 
28
30
  ## ๐Ÿ”€ TIERED EXECUTION
@@ -66,7 +68,7 @@ When the logical plan would have **> 3 phases** or **estimated effort > 3 days**
66
68
 
67
69
  ## โ›” INCREMENTAL EXECUTION (MANDATORY)
68
70
 
69
- 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.
71
+ 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.
70
72
 
71
73
  ---
72
74
 
package/commands/plan.md CHANGED
@@ -17,9 +17,9 @@ execution-mode: router
17
17
 
18
18
  **LOAD now** (in order; path `./rules/` or `~/.{TOOL}/skills/agent-assistant/rules/`):
19
19
 
20
- 1. ORCHESTRATION-LAWS.md
21
- 2. ADAPTIVE-EXECUTION.md
22
- 3. EXECUTION-PROTOCOL.md
20
+ 1. CORE.md โ€” Identity, Laws, Routing
21
+ 2. PHASES.md โ€” Phase Execution
22
+ 3. AGENTS.md โ€” Tiered Execution
23
23
 
24
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.
25
25
 
@@ -20,12 +20,14 @@ execution-mode: execute
20
20
 
21
21
  **LOAD now** (in order; path `./rules/` or `~/.{TOOL}/skills/agent-assistant/rules/`):
22
22
 
23
- 1. ORCHESTRATION-LAWS.md
24
- 2. ADAPTIVE-EXECUTION.md
25
- 3. EXECUTION-PROTOCOL.md
23
+ 1. CORE.md โ€” Identity, Laws, Routing
24
+ 2. PHASES.md โ€” Phase Execution
25
+ 3. AGENTS.md โ€” Tiered Execution
26
26
 
27
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
28
 
29
+ **Skills Resolution**: When delegating, load `SKILLS.md` on-demand. Fast variant uses matrix-only (no dynamic discovery for speed optimization).
30
+
29
31
  ---
30
32
 
31
33
  ## ๐Ÿ”€ TIERED EXECUTION
@@ -41,7 +43,7 @@ execution-mode: execute
41
43
 
42
44
  ## โ›” INCREMENTAL EXECUTION (MANDATORY)
43
45
 
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.
46
+ 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.
45
47
 
46
48
  ---
47
49
 
@@ -20,12 +20,14 @@ execution-mode: execute
20
20
 
21
21
  **LOAD now** (in order; path `./rules/` or `~/.{TOOL}/skills/agent-assistant/rules/`):
22
22
 
23
- 1. ORCHESTRATION-LAWS.md
24
- 2. ADAPTIVE-EXECUTION.md
25
- 3. EXECUTION-PROTOCOL.md
23
+ 1. CORE.md โ€” Identity, Laws, Routing
24
+ 2. PHASES.md โ€” Phase Execution
25
+ 3. AGENTS.md โ€” Tiered Execution
26
26
 
27
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
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
+
29
31
  ---
30
32
 
31
33
  ## ๐Ÿ”€ TIERED EXECUTION
@@ -59,7 +61,7 @@ All files in `./reports/` โ†’ English only.
59
61
 
60
62
  ## โ›” INCREMENTAL EXECUTION (MANDATORY)
61
63
 
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.
64
+ 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.
63
65
 
64
66
  ---
65
67
 
@@ -19,12 +19,14 @@ execution-mode: execute
19
19
 
20
20
  **LOAD now** (in order; path `./rules/` or `~/.{TOOL}/skills/agent-assistant/rules/`):
21
21
 
22
- 1. ORCHESTRATION-LAWS.md
23
- 2. ADAPTIVE-EXECUTION.md
24
- 3. EXECUTION-PROTOCOL.md
22
+ 1. CORE.md โ€” Identity, Laws, Routing
23
+ 2. PHASES.md โ€” Phase Execution
24
+ 3. AGENTS.md โ€” Tiered Execution
25
25
 
26
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
27
 
28
+ **Skills Resolution**: When delegating, load `SKILLS.md` on-demand for fitness calculation and dynamic discovery (hard/focus variants enable find-skills).
29
+
28
30
  ---
29
31
 
30
32
  ## ๐Ÿ”€ TIERED EXECUTION
@@ -58,7 +60,7 @@ All files in `./reports/` โ†’ English only.
58
60
 
59
61
  ## โ›” INCREMENTAL EXECUTION (MANDATORY)
60
62
 
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.
63
+ 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.
62
64
 
63
65
  ---
64
66
 
@@ -19,9 +19,9 @@ execution-mode: router
19
19
 
20
20
  **LOAD now** (in order; path `./rules/` or `~/.{TOOL}/skills/agent-assistant/rules/`):
21
21
 
22
- 1. ORCHESTRATION-LAWS.md
23
- 2. ADAPTIVE-EXECUTION.md
24
- 3. EXECUTION-PROTOCOL.md
22
+ 1. CORE.md โ€” Identity, Laws, Routing
23
+ 2. PHASES.md โ€” Phase Execution
24
+ 3. AGENTS.md โ€” Tiered Execution
25
25
 
26
26
  **โ›” 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 workflow, and execute it.
27
27
 
@@ -16,12 +16,14 @@ execution-mode: execute
16
16
  ## ๐Ÿ›‘ PRE-FLIGHT (DO FIRST โ€” BLOCKS PHASE 1)
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
+ 1. CORE.md โ€” Identity, Laws, Routing
20
+ 2. PHASES.md โ€” Phase Execution
21
+ 3. AGENTS.md โ€” Tiered Execution
22
22
 
23
23
  **โ›” Do not run Phase 1 until all are loaded.** Follow **all** rules in those files; they override any conflicting instructions in this file.
24
24
 
25
+ **Skills Resolution**: When delegating, load `SKILLS.md` on-demand. Fast variant uses matrix-only (no dynamic discovery for speed optimization).
26
+
25
27
  ---
26
28
 
27
29
  ## ๐Ÿ”€ TIERED EXECUTION
@@ -16,12 +16,14 @@ execution-mode: execute
16
16
  ## ๐Ÿ›‘ PRE-FLIGHT (DO FIRST โ€” BLOCKS PHASE 1)
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
+ 1. CORE.md โ€” Identity, Laws, Routing
20
+ 2. PHASES.md โ€” Phase Execution
21
+ 3. AGENTS.md โ€” Tiered Execution
22
22
 
23
23
  **โ›” Do not run Phase 1 until all are loaded.** Follow **all** rules in those files; they override any conflicting instructions in this file.
24
24
 
25
+ **Skills Resolution**: When delegating, load `SKILLS.md` on-demand for fitness calculation and dynamic discovery (hard/focus variants enable find-skills).
26
+
25
27
  ---
26
28
 
27
29
  ## ๐Ÿ”€ TIERED EXECUTION
@@ -16,9 +16,9 @@ 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
+ 1. CORE.md โ€” Identity, Laws, Routing
20
+ 2. PHASES.md โ€” Phase Execution
21
+ 3. AGENTS.md โ€” Tiered Execution
22
22
 
23
23
  **โ›” 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 workflow, and execute it.
24
24
 
@@ -16,12 +16,14 @@ execution-mode: execute
16
16
  ## ๐Ÿ›‘ PRE-FLIGHT (DO FIRST โ€” BLOCKS PHASE 1)
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
+ 1. CORE.md โ€” Identity, Laws, Routing
20
+ 2. PHASES.md โ€” Phase Execution
21
+ 3. AGENTS.md โ€” Tiered Execution
22
22
 
23
23
  **โ›” Do not run Phase 1 until all are loaded.** Follow **all** rules in those files; they override any conflicting instructions in this file.
24
24
 
25
+ **Skills Resolution**: When delegating, load `SKILLS.md` on-demand. Fast variant uses matrix-only (no dynamic discovery for speed optimization).
26
+
25
27
  ---
26
28
 
27
29
  ## ๐Ÿ”€ TIERED EXECUTION
@@ -20,12 +20,14 @@ execution-mode: execute
20
20
 
21
21
  **LOAD now** (in order; path `./rules/` or `~/.{TOOL}/skills/agent-assistant/rules/`):
22
22
 
23
- 1. ORCHESTRATION-LAWS.md
24
- 2. ADAPTIVE-EXECUTION.md
25
- 3. EXECUTION-PROTOCOL.md
23
+ 1. CORE.md โ€” Identity, Laws, Routing
24
+ 2. PHASES.md โ€” Phase Execution
25
+ 3. AGENTS.md โ€” Tiered Execution
26
26
 
27
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
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
+
29
31
  ---
30
32
 
31
33
  ## ๐Ÿ”€ TIERED EXECUTION
@@ -64,54 +66,33 @@ One phase at a time, each phase independent: Phase 1 โ†’ then Phase 2 โ†’ โ€ฆ in
64
66
 
65
67
  ---
66
68
 
67
- ## ๐Ÿ›ก๏ธ STRICT CONTEXT GATE โ€” Automatic Context Optimization
69
+ ## ๐Ÿ›ก๏ธ CONTEXT GATE CHECKPOINT
68
70
 
69
- > **โšก FOCUS MODE**: This checkpoint executes automatically. NO user input required.
70
- >
71
- > **PURPOSE**: Prevent "context rot" by forcibly clearing strategy discussion noise.
72
- > This acts as a mandatory "firewall" before test execution phases.
71
+ > **โ›” BLOCKING**: Load Context Gate protocol NOW before proceeding.
72
+ >
73
+ > **LOAD**: `rules/CONTEXT-GATE.md` โ€” Execute FOCUS MODE (Test variant)
74
+ >
75
+ > This is a MANDATORY checkpoint. Cannot skip or bypass.
73
76
 
74
- ### ๐Ÿ”’ AUTOMATIC EXECUTION (NO PROMPT)
77
+ ### โšก EXECUTION
75
78
 
76
79
  ```yaml
77
- strict_context_gate:
78
- mode: "AUTOMATIC - No user interaction"
79
- behavior: "Force Clear context & Execute"
80
+ context_gate_execution:
81
+ mode: "FOCUS (Automatic)"
82
+ trigger: "After Phase 1 (Test Strategy) completes"
83
+ protocol: "Follow rules/CONTEXT-GATE.md ยง FOCUS MODE ยง test_focus_variant"
80
84
 
81
- execution:
82
- 1. ANNOUNCE: |
83
- ## ๐Ÿ›ก๏ธ Strict Context Gate โ€” Automatic
84
-
85
- โœ… **Test Strategy Complete**: Strategy defined, test types identified.
86
- ๐Ÿ”’ **Focus Mode**: Automatically clearing context for test execution.
87
-
88
- โšก Executing: **Clear context & Execute**...
89
-
90
- 2. CONTEXT_DIRECTIVE: |
91
- โ•”โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•—
92
- โ•‘ โ›” MANDATORY CONTEXT RESET โ€” FOCUS MODE โ•‘
93
- โ• โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•ฃ
94
- โ•‘ IGNORE: All strategy discussions, rejected approaches, โ•‘
95
- โ•‘ and intermediate test planning reasoning. โ•‘
96
- โ•‘ โ•‘
97
- โ•‘ SOLE SOURCE OF TRUTH: Finalized test strategy. โ•‘
98
- โ•‘ โ•‘
99
- โ•‘ PROCEED: Execute test phases with FRESH context mindset. โ•‘
100
- โ•‘ Focus purely on test execution and verification. โ•‘
101
- โ•šโ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•
102
-
103
- 3. LOAD: Finalized test strategy as if seeing it for the first time
104
-
105
- 4. PROCEED: Start Phase 2 (Dependency Mapping) immediately
85
+ variant_adjustments:
86
+ plan_source: "Finalized test strategy from Phase 1"
87
+ remaining_phases: "Phase 2 โ†’ 3 โ†’ 4 โ†’ 5"
106
88
  ```
107
89
 
108
- ### ๐Ÿ“‹ Post-Gate Status
90
+ **DO NOT proceed to Phase 2 until Context Gate completes.**
91
+ - Rejected approaches
92
+ - Planning noise
93
+ - Chat history
109
94
 
110
- ```markdown
111
- ๐Ÿ”’ **Context Gate Passed**
112
- - Previous context: DISCARDED
113
- - Active context: Test strategy only
114
- - Mode: Fresh execution start
95
+ Mode: Fresh execution start
115
96
 
116
97
  Proceeding to Test Execution...
117
98
  ```