telos-framework 0.2.0 → 0.3.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 (103) hide show
  1. package/.claude/agents/behavioral-transformation-agent.md +144 -0
  2. package/.claude/agents/command-system-agent.md +335 -0
  3. package/.claude/agents/completion-gate.md +71 -0
  4. package/.claude/agents/component-implementation-agent.md +174 -0
  5. package/.claude/agents/devops-agent.md +128 -0
  6. package/.claude/agents/dynamic-agent-creator.md +103 -0
  7. package/.claude/agents/enhanced-project-manager-agent.md +145 -0
  8. package/.claude/agents/enhanced-quality-gate.md +54 -0
  9. package/.claude/agents/feature-implementation-agent.md +148 -0
  10. package/.claude/agents/functional-testing-agent.md +51 -0
  11. package/.claude/agents/hook-integration-agent.md +204 -0
  12. package/.claude/agents/infrastructure-implementation-agent.md +175 -0
  13. package/.claude/agents/lib/research-analyzer.js +470 -0
  14. package/.claude/agents/metrics-collection-agent.md +374 -0
  15. package/.claude/agents/npx-package-agent.md +246 -0
  16. package/.claude/agents/polish-implementation-agent.md +151 -0
  17. package/.claude/agents/prd-agent.md +76 -0
  18. package/.claude/agents/prd-mvp.md +101 -0
  19. package/.claude/agents/prd-research-agent.md +482 -0
  20. package/.claude/agents/quality-agent.md +128 -0
  21. package/.claude/agents/readiness-gate.md +104 -0
  22. package/.claude/agents/research-agent.md +173 -0
  23. package/.claude/agents/routing-agent.md +108 -0
  24. package/.claude/agents/task-checker.md +163 -0
  25. package/.claude/agents/task-executor.md +107 -0
  26. package/.claude/agents/task-orchestrator.md +343 -0
  27. package/.claude/agents/tdd-validation-agent.md +187 -0
  28. package/.claude/agents/testing-implementation-agent.md +151 -0
  29. package/.claude/agents/van-maintenance-agent.md +64 -0
  30. package/.claude/agents/workflow-agent.md +87 -0
  31. package/.claude/commands/autocompact.md +41 -0
  32. package/.claude/commands/continue-handoff.md +98 -0
  33. package/.claude/commands/mock.md +45 -0
  34. package/.claude/commands/reset-handoff.md +59 -0
  35. package/.claude/commands/telos/init.md +326 -0
  36. package/.claude/commands/telos/quick.md +90 -0
  37. package/.claude/commands/telos/reset.md +100 -0
  38. package/.claude/commands/telos/status.md +170 -0
  39. package/.claude/commands/telos/validate.md +143 -0
  40. package/.claude/commands/tm/add-dependency/add-dependency.md +55 -0
  41. package/.claude/commands/tm/add-subtask/add-subtask.md +76 -0
  42. package/.claude/commands/tm/add-subtask/convert-task-to-subtask.md +71 -0
  43. package/.claude/commands/tm/add-task/add-task.md +78 -0
  44. package/.claude/commands/tm/analyze-complexity/analyze-complexity.md +121 -0
  45. package/.claude/commands/tm/clear-subtasks/clear-all-subtasks.md +93 -0
  46. package/.claude/commands/tm/clear-subtasks/clear-subtasks.md +86 -0
  47. package/.claude/commands/tm/complexity-report/complexity-report.md +117 -0
  48. package/.claude/commands/tm/expand/expand-all-tasks.md +51 -0
  49. package/.claude/commands/tm/expand/expand-task.md +49 -0
  50. package/.claude/commands/tm/fix-dependencies/fix-dependencies.md +81 -0
  51. package/.claude/commands/tm/generate/generate-tasks.md +121 -0
  52. package/.claude/commands/tm/help.md +81 -0
  53. package/.claude/commands/tm/init/init-project-quick.md +46 -0
  54. package/.claude/commands/tm/init/init-project.md +50 -0
  55. package/.claude/commands/tm/learn.md +103 -0
  56. package/.claude/commands/tm/list/list-tasks-by-status.md +39 -0
  57. package/.claude/commands/tm/list/list-tasks-with-subtasks.md +29 -0
  58. package/.claude/commands/tm/list/list-tasks.md +43 -0
  59. package/.claude/commands/tm/models/setup-models.md +51 -0
  60. package/.claude/commands/tm/models/view-models.md +51 -0
  61. package/.claude/commands/tm/next/next-task.md +66 -0
  62. package/.claude/commands/tm/parse-prd/parse-prd-with-research.md +48 -0
  63. package/.claude/commands/tm/parse-prd/parse-prd.md +49 -0
  64. package/.claude/commands/tm/remove-dependency/remove-dependency.md +62 -0
  65. package/.claude/commands/tm/remove-subtask/remove-subtask.md +84 -0
  66. package/.claude/commands/tm/remove-task/remove-task.md +107 -0
  67. package/.claude/commands/tm/set-status/to-cancelled.md +55 -0
  68. package/.claude/commands/tm/set-status/to-deferred.md +47 -0
  69. package/.claude/commands/tm/set-status/to-done.md +44 -0
  70. package/.claude/commands/tm/set-status/to-in-progress.md +36 -0
  71. package/.claude/commands/tm/set-status/to-pending.md +32 -0
  72. package/.claude/commands/tm/set-status/to-review.md +40 -0
  73. package/.claude/commands/tm/setup/install-taskmaster.md +117 -0
  74. package/.claude/commands/tm/setup/quick-install-taskmaster.md +22 -0
  75. package/.claude/commands/tm/show/show-task.md +82 -0
  76. package/.claude/commands/tm/status/project-status.md +64 -0
  77. package/.claude/commands/tm/sync-readme/sync-readme.md +117 -0
  78. package/.claude/commands/tm/tm-main.md +146 -0
  79. package/.claude/commands/tm/update/update-single-task.md +119 -0
  80. package/.claude/commands/tm/update/update-task.md +72 -0
  81. package/.claude/commands/tm/update/update-tasks-from-id.md +108 -0
  82. package/.claude/commands/tm/utils/analyze-project.md +97 -0
  83. package/.claude/commands/tm/validate-dependencies/validate-dependencies.md +71 -0
  84. package/.claude/commands/tm/workflows/auto-implement-tasks.md +97 -0
  85. package/.claude/commands/tm/workflows/command-pipeline.md +77 -0
  86. package/.claude/commands/tm/workflows/smart-workflow.md +55 -0
  87. package/.claude/commands/van.md +150 -0
  88. package/.claude/docs/README.md +214 -0
  89. package/.claude/docs/TROUBLESHOOTING.md +126 -0
  90. package/.claude/hooks/block-destructive-commands.sh +243 -0
  91. package/.claude/hooks/collective-metrics.sh +291 -0
  92. package/.claude/hooks/directive-enforcer.sh +117 -0
  93. package/.claude/hooks/load-behavioral-system.sh +49 -0
  94. package/.claude/hooks/routing-executor.sh +4 -0
  95. package/.claude/hooks/test-driven-handoff.sh +653 -0
  96. package/.claude/settings.json +125 -0
  97. package/README.md +39 -15
  98. package/lib/commands/init.js +52 -157
  99. package/lib/installers/memory-files.js +77 -0
  100. package/lib/installers/slash-commands.js +77 -0
  101. package/package.json +7 -2
  102. package/templates/AGENTS.md +79 -0
  103. package/templates/CLAUDE.md +54 -0
@@ -0,0 +1,59 @@
1
+ # Reset Agent Handoff Workflow
2
+
3
+ Reset the agent handoff system by cleaning up state files and logs.
4
+
5
+ ## What This Does
6
+
7
+ Clears all handoff-related state files so you can start a fresh agent workflow:
8
+
9
+ - Removes `.claude/handoff/NEXT_ACTION.json` (pending delegation context)
10
+ - Clears handoff logs in `/tmp/test-driven-handoff.log`
11
+ - Resets any stuck delegation state
12
+ - Prepares for clean workflow restart
13
+
14
+ ## Usage
15
+
16
+ ```bash
17
+ # Remove handoff context files
18
+ rm -f .claude/handoff/NEXT_ACTION.json
19
+
20
+ # Clear handoff logs
21
+ > /tmp/test-driven-handoff.log
22
+
23
+ # Optional: Clear any other temp handoff files
24
+ rm -f .claude/handoff/*.json
25
+ ```
26
+
27
+ ## When to Use
28
+
29
+ - **Stuck Handoffs**: When delegation gets stuck or loops
30
+ - **Fresh Start**: Before beginning new agent workflow
31
+ - **Testing**: Between test runs to ensure clean state
32
+ - **Debugging**: When investigating handoff issues
33
+
34
+ ## Files Cleaned
35
+
36
+ - `.claude/handoff/NEXT_ACTION.json` - Current delegation context
37
+ - `/tmp/test-driven-handoff.log` - Hook execution logs
38
+ - `.claude/handoff/*.json` - Any other handoff state files
39
+
40
+ ## Safe Operation
41
+
42
+ This only removes temporary state files, never:
43
+ - TaskMaster data (`.taskmaster/tasks/`)
44
+ - Agent definitions (`.claude/agents/`)
45
+ - Hook scripts (`.claude/hooks/`)
46
+ - Project files or code
47
+
48
+ ## Verification
49
+
50
+ After reset, verify clean state:
51
+ ```bash
52
+ ls .claude/handoff/ # Should be empty or not exist
53
+ tail /tmp/test-driven-handoff.log # Should be empty
54
+ ```
55
+
56
+ Quick one-liner for complete reset:
57
+ ```bash
58
+ rm -f .claude/handoff/*.json && > /tmp/test-driven-handoff.log && echo "Handoff workflow reset complete"
59
+ ```
@@ -0,0 +1,326 @@
1
+ ---
2
+ description: Initialize Telos multi-agent system for this project
3
+ ---
4
+
5
+ # Telos Initialization
6
+
7
+ You are initializing the **Telos Framework** - a 9-level purpose-driven
8
+ architecture for AI-assisted software development. Your role is to analyze this
9
+ codebase, propose a complete hierarchy from ultimate purpose (L9) to code
10
+ structure (L1), and generate all necessary files.
11
+
12
+ ## Step 1: Analyze Codebase
13
+
14
+ Read and analyze the following to understand this project:
15
+
16
+ ### 1.1 Project Documentation
17
+
18
+ - **README.md** - Extract:
19
+ - Project purpose and description
20
+ - Target users/beneficiaries
21
+ - Goals and success metrics
22
+ - Technology stack
23
+
24
+ ### 1.2 Package Configuration
25
+
26
+ Check for and read (if exists):
27
+
28
+ - **package.json** (Node.js) - Identify:
29
+ - Dependencies and frameworks (React, Express, Next.js, etc.)
30
+ - Dev dependencies (testing, linting, build tools)
31
+ - Scripts (test, lint, build commands)
32
+ - **pyproject.toml** or **requirements.txt** (Python)
33
+ - **Cargo.toml** (Rust)
34
+ - **pom.xml** or **build.gradle** (Java)
35
+ - **go.mod** (Go)
36
+
37
+ ### 1.3 Source Code Structure
38
+
39
+ Scan the primary source directory:
40
+
41
+ - Look for **src/**, **lib/**, **app/**, or similar
42
+ - Identify:
43
+ - Component patterns (React components, Vue SFCs)
44
+ - API structure (routes, endpoints, controllers)
45
+ - Architectural patterns (MVC, microservices, monolith)
46
+ - Database integration (Prisma, Sequelize, MongoDB)
47
+
48
+ ### 1.4 Testing and Quality Tools
49
+
50
+ Check for:
51
+
52
+ - **Test frameworks**: Jest, Vitest, Pytest, RSpec, etc.
53
+ - **Linters**: ESLint, Prettier, Ruff, Clippy, etc.
54
+ - **Type checkers**: TypeScript, mypy, etc.
55
+
56
+ ### 1.5 Project State
57
+
58
+ Run: `git status` to check if this is an active repository
59
+
60
+ ## Step 2: Propose Telos Hierarchy
61
+
62
+ Based on your analysis, propose a complete 9-level hierarchy. Present it in a
63
+ clear table:
64
+
65
+ | Level | Agent Name | Purpose Statement | Reasoning |
66
+ | ------ | ---------------------- | ------------------------------------ | ------------------------------------- |
67
+ | **L9** | Telos-Guardian | [Proposed ultimate purpose] | [Why this is the ultimate purpose] |
68
+ | **L8** | Market-Analyst | [Proposed business value] | [Business outcomes this serves] |
69
+ | **L7** | Insight-Synthesizer | [Proposed product strategy] | [How it delivers user value] |
70
+ | **L6** | UX-Simulator | [Proposed experience philosophy] | [User experience principles] |
71
+ | **L5** | Journey-Validator | [Proposed workflow validation] | [User journey requirements] |
72
+ | **L4** | Integration-Contractor | [Proposed API/integration contracts] | [Based on detected APIs/integrations] |
73
+ | **L3** | Component-Architect | [Proposed component design] | [Based on detected framework] |
74
+ | **L2** | Function-Author | [Proposed function implementation] | [Based on detected test framework] |
75
+ | **L1** | Syntax-Linter | [Proposed code quality standard] | [Based on detected linters] |
76
+
77
+ ### Auto-generation Guidelines for L1-L4:
78
+
79
+ **L1 (Syntax-Linter)** - Based on detected tools:
80
+
81
+ - If ESLint found → "Ensure code passes ESLint strict mode with zero warnings"
82
+ - If Prettier found → "Maintain consistent code formatting via Prettier"
83
+ - If Ruff found (Python) → "Enforce Ruff linting rules for code quality"
84
+ - If Clippy found (Rust) → "Pass all Clippy lints at deny level"
85
+
86
+ **L2 (Function-Author)** - Based on test framework:
87
+
88
+ - If Vitest found → "Write TDD functions with Vitest coverage >80%"
89
+ - If Jest found → "Implement testable functions with Jest unit tests"
90
+ - If Pytest found → "Write pure functions with pytest coverage"
91
+
92
+ **L3 (Component-Architect)** - Based on framework:
93
+
94
+ - If React found → "Design reusable React components following composition
95
+ patterns"
96
+ - If Vue found → "Build modular Vue components with clear prop contracts"
97
+ - If Flutter found → "Create widget hierarchies following Material/Cupertino
98
+ design"
99
+
100
+ **L4 (Integration-Contractor)** - Based on detected APIs:
101
+
102
+ - If Express found → "Maintain RESTful API contracts with OpenAPI docs"
103
+ - If FastAPI found → "Define typed API endpoints with automatic validation"
104
+ - If GraphQL found → "Maintain GraphQL schema contracts"
105
+
106
+ ## Step 3: User Review (Strategic Layers Only)
107
+
108
+ After presenting the table, say:
109
+
110
+ ---
111
+ **Strategic layers (L9-L5) define your project's purpose and require your input.**
112
+
113
+ **Technical layers (L1-L4) are auto-generated based on your detected tooling:**
114
+ - L1: [List detected linters]
115
+ - L2: [List detected test frameworks]
116
+ - L3: [List detected component frameworks]
117
+ - L4: [List detected API frameworks]
118
+
119
+ **Please review the strategic layers (L9-L5). Would you like to refine any of these?**
120
+
121
+ Options:
122
+ - "Accept all" - Proceed with generation
123
+ - "Refine L9" - Edit ultimate purpose layer
124
+ - "Refine L8" - Edit business value layer
125
+ - "Refine all" - Walk through each strategic layer
126
+ - "Restart" - Re-analyze with different focus
127
+ ---
128
+
129
+ Wait for user response. If they want refinements, engage conversationally:
130
+
131
+ - Ask for their vision for the specific layer
132
+ - Propose updated purpose statement
133
+ - Confirm before moving to next layer
134
+
135
+ ## Step 4: Generate Telos System
136
+
137
+ Once the hierarchy is finalized, create the following files:
138
+
139
+ ### 4.1 Create `telos/content/TELOS.md`
140
+
141
+ ```markdown
142
+ # Telos: Ultimate Purpose
143
+
144
+ ## Ultimate Purpose
145
+
146
+ [L9 purpose statement]
147
+
148
+ ## Beneficiaries
149
+
150
+ [Who benefits from this project - extracted from README or inferred]
151
+
152
+ ## Measurable Impact
153
+
154
+ [Success metrics - extracted from README or project goals]
155
+
156
+ ## Ethical Constraints
157
+
158
+ [Constraints on how purpose is achieved - inferred from domain]
159
+
160
+ ## 9-Level Hierarchy
161
+
162
+ | Level | Agent | Purpose |
163
+ | ----- | ---------------------- | ------------ |
164
+ | L9 | Telos-Guardian | [L9 purpose] |
165
+ | L8 | Market-Analyst | [L8 purpose] |
166
+ | L7 | Insight-Synthesizer | [L7 purpose] |
167
+ | L6 | UX-Simulator | [L6 purpose] |
168
+ | L5 | Journey-Validator | [L5 purpose] |
169
+ | L4 | Integration-Contractor | [L4 purpose] |
170
+ | L3 | Component-Architect | [L3 purpose] |
171
+ | L2 | Function-Author | [L2 purpose] |
172
+ | L1 | Syntax-Linter | [L1 purpose] |
173
+
174
+ ## Detected Technology Stack
175
+
176
+ **Languages**: [Detected languages] **Frameworks**: [Detected frameworks]
177
+ **Testing**: [Test frameworks] **Linting**: [Linters and formatters] **Build
178
+ Tools**: [Build systems]
179
+
180
+ ## Initialization Metadata
181
+
182
+ - **Initialized**: [Current date]
183
+ - **AI Assistant**: Claude via Telos `/telos-init`
184
+ - **Project Type**: [Inferred project type]
185
+ ```
186
+
187
+ ### 4.2 Create Agent Files
188
+
189
+ For each level (L9 → L1), create `telos/agents/l[N]-[agent-name].md`:
190
+
191
+ **Template structure:**
192
+
193
+ ```markdown
194
+ # L[N]: [Agent Name]
195
+
196
+ ## Purpose
197
+
198
+ [Purpose statement for this level]
199
+
200
+ ## Role
201
+
202
+ [What this agent is responsible for]
203
+
204
+ ## Capabilities
205
+
206
+ [What this agent can do]
207
+
208
+ ## Tools
209
+
210
+ [List relevant tools based on detected stack]
211
+
212
+ ## Validation Criteria
213
+
214
+ [How to verify this agent's output aligns with purpose]
215
+
216
+ ## Examples
217
+
218
+ [2-3 examples of decisions this agent would make]
219
+ ```
220
+
221
+ **Specific guidance per level:**
222
+
223
+ **L9 (Telos-Guardian)**: Ultimate purpose keeper
224
+
225
+ - Tools: Read access to all specs, ability to veto changes
226
+ - Examples: Reject feature that violates core purpose
227
+
228
+ **L8 (Market-Analyst)**: Business value measurer
229
+
230
+ - Tools: Analytics, metrics dashboards, user feedback
231
+ - Examples: Evaluate feature ROI against business goals
232
+
233
+ **L7 (Insight-Synthesizer)**: Product strategist
234
+
235
+ - Tools: User research, competitive analysis, roadmap planning
236
+ - Examples: Prioritize features based on user insights
237
+
238
+ **L6 (UX-Simulator)**: Experience designer
239
+
240
+ - Tools: Figma, user testing, accessibility checkers
241
+ - Examples: Ensure UI meets experience philosophy
242
+
243
+ **L5 (Journey-Validator)**: Workflow verifier
244
+
245
+ - Tools: E2E testing, user flow analysis, journey mapping
246
+ - Examples: Validate checkout flow meets user expectations
247
+
248
+ **L4 (Integration-Contractor)**: API contract enforcer
249
+
250
+ - Tools: [Detected API tools - OpenAPI, GraphQL schema, etc.]
251
+ - Examples: Ensure breaking changes follow versioning strategy
252
+
253
+ **L3 (Component-Architect)**: UI component designer
254
+
255
+ - Tools: [Detected framework - React, Vue, etc.], Storybook
256
+ - Examples: Design reusable button component following design system
257
+
258
+ **L2 (Function-Author)**: Function implementer
259
+
260
+ - Tools: [Detected test framework], code coverage tools
261
+ - Examples: Write TDD function with 100% coverage
262
+
263
+ **L1 (Syntax-Linter)**: Code quality enforcer
264
+
265
+ - Tools: [Detected linters - ESLint, Prettier, etc.]
266
+ - Examples: Reject PR with linting errors
267
+
268
+ ### 4.3 Create Platform Integration
269
+
270
+ If `.claude/` exists, create:
271
+
272
+ - `AGENTS.md` - Reference to Telos hierarchy
273
+ - Update `CLAUDE.md` (if exists) with Telos instructions
274
+
275
+ If `.opencode/` exists, do the same in that directory.
276
+
277
+ ### 4.4 Create Orchestrator (Optional)
278
+
279
+ If JavaScript/Node.js project, create `logos/orchestrator.js`:
280
+
281
+ ```javascript
282
+ // Telos-Logos orchestrator
283
+ // Routes requests to appropriate L1-L9 agents
284
+
285
+ const hierarchy = [
286
+ { level: 9, name: "telos-guardian", role: "ultimate-purpose" },
287
+ { level: 8, name: "market-analyst", role: "business-value" },
288
+ // ... all 9 levels
289
+ ];
290
+
291
+ module.exports = { hierarchy };
292
+ ```
293
+
294
+ ## Step 5: Completion
295
+
296
+ Once all files are generated, display:
297
+
298
+ ---
299
+ ✅ **Telos initialization complete!**
300
+
301
+ **Generated files:**
302
+ - `telos/content/TELOS.md` - Ultimate purpose and hierarchy
303
+ - `telos/agents/l9-telos-guardian.md` through `l1-syntax-linter.md`
304
+ - `AGENTS.md` - Agent reference guide
305
+ - `logos/orchestrator.js` - Request router (if applicable)
306
+
307
+ **Next steps:**
308
+ 1. Review the generated agent definitions in `telos/agents/`
309
+ 2. Run `/telos-validate` to check alignment with current codebase
310
+ 3. Run `/telos-status` to see current configuration
311
+ 4. Start developing with purpose-driven AI assistance!
312
+
313
+ **Slash commands available:**
314
+ - `/telos-validate` - Check if current code aligns with Telos
315
+ - `/telos-status` - Show current Telos configuration
316
+ - `/telos-reset` - Clear and reinitialize
317
+ ---
318
+
319
+ ## Tips
320
+
321
+ - If README is missing or vague, ask user for clarification before proposing L9
322
+ - If no testing framework detected, suggest adding one in L2
323
+ - If no linter detected, suggest adding one in L1
324
+ - For empty/greenfield projects, ask user for project vision before proposing
325
+ hierarchy
326
+ - Be conversational and collaborative - this is a dialogue, not a survey
@@ -0,0 +1,90 @@
1
+ ---
2
+ description: Quick Telos initialization with auto-accepted AI proposals
3
+ ---
4
+
5
+ # Telos Quick Initialization
6
+
7
+ This is the fast-track initialization mode that accepts all AI-proposed
8
+ hierarchy levels without user review. Use this when you trust the AI analysis
9
+ and want to get started immediately.
10
+
11
+ ## Process
12
+
13
+ 1. **Analyze codebase** (same as `/telos-init`)
14
+ 2. **Propose hierarchy** (auto-accept without showing to user)
15
+ 3. **Generate all files** immediately
16
+ 4. **Show summary** of what was created
17
+
18
+ ## Step 1: Silent Analysis
19
+
20
+ Perform the same analysis as `/telos-init`:
21
+
22
+ - Read README.md
23
+ - Check package.json / pyproject.toml / Cargo.toml
24
+ - Scan src/ or lib/ directory
25
+ - Detect testing and linting tools
26
+ - Check git status
27
+
28
+ ## Step 2: Auto-Generate Hierarchy
29
+
30
+ Generate the 9-level hierarchy without user interaction:
31
+
32
+ **L9-L5 (Strategic)**: Infer from README and project description **L4-L1
33
+ (Technical)**: Auto-generate from detected tools
34
+
35
+ Do NOT ask for user review - proceed directly to generation.
36
+
37
+ ## Step 3: Generate Files
38
+
39
+ Create all files exactly as specified in `/telos-init` Step 4:
40
+
41
+ - `telos/content/TELOS.md`
42
+ - `telos/agents/l9-telos-guardian.md` through `l1-syntax-linter.md`
43
+ - `AGENTS.md` (if `.claude/` or `.opencode/` exists)
44
+ - `logos/orchestrator.js` (if Node.js project)
45
+
46
+ ## Step 4: Display Summary
47
+
48
+ Once complete, show:
49
+
50
+ ---
51
+ ⚡ **Telos quick initialization complete!**
52
+
53
+ **Generated hierarchy:**
54
+
55
+ | Level | Agent | Purpose |
56
+ |-------|-------|---------|
57
+ | L9 | Telos-Guardian | [Purpose] |
58
+ | L8 | Market-Analyst | [Purpose] |
59
+ | L7 | Insight-Synthesizer | [Purpose] |
60
+ | L6 | UX-Simulator | [Purpose] |
61
+ | L5 | Journey-Validator | [Purpose] |
62
+ | L4 | Integration-Contractor | [Purpose] |
63
+ | L3 | Component-Architect | [Purpose] |
64
+ | L2 | Function-Author | [Purpose] |
65
+ | L1 | Syntax-Linter | [Purpose] |
66
+
67
+ **Files created:**
68
+ - `telos/content/TELOS.md`
69
+ - `telos/agents/` (9 agent definitions)
70
+ - `AGENTS.md`
71
+ - `logos/orchestrator.js` (if applicable)
72
+
73
+ **Not satisfied?** Run `/telos-reset` then `/telos-init` for interactive mode.
74
+ ---
75
+
76
+ ## When to Use Quick Mode
77
+
78
+ ✅ **Use quick mode when:**
79
+
80
+ - Starting a new project with clear conventions
81
+ - The codebase already has comprehensive README
82
+ - You trust AI inference for strategic purpose
83
+ - You want to iterate quickly and refine later
84
+
85
+ ❌ **Use full `/telos-init` when:**
86
+
87
+ - Project has unique or nuanced purpose
88
+ - Strategic direction needs human input
89
+ - Multiple stakeholders need alignment
90
+ - Initial setup must be perfect
@@ -0,0 +1,100 @@
1
+ ---
2
+ description: Clear existing Telos installation and reinitialize
3
+ ---
4
+
5
+ # Telos Reset
6
+
7
+ This command removes all existing Telos configuration and allows you to start
8
+ fresh.
9
+
10
+ ## What Gets Removed
11
+
12
+ This command will **delete** the following:
13
+
14
+ - `telos/content/TELOS.md`
15
+ - `telos/agents/` directory (all L1-L9 agent files)
16
+ - `logos/orchestrator.js` (if present)
17
+ - Telos sections in `AGENTS.md` and `CLAUDE.md` (if present)
18
+
19
+ ## Safety Check
20
+
21
+ Before proceeding, ask the user:
22
+
23
+ ---
24
+ ⚠️ **Warning: This will delete all Telos configuration files.**
25
+
26
+ **Files to be removed:**
27
+ - `telos/content/TELOS.md`
28
+ - `telos/agents/l1-*.md` through `l9-*.md`
29
+ - `logos/orchestrator.js`
30
+ - Telos references in AGENTS.md / CLAUDE.md
31
+
32
+ **Are you sure you want to reset?** (yes/no)
33
+ ---
34
+
35
+ If user responds "no" or anything other than "yes", abort with message: "Reset
36
+ cancelled. Your Telos configuration is unchanged."
37
+
38
+ ## Reset Process
39
+
40
+ If user confirms "yes":
41
+
42
+ ### Step 1: Remove Files
43
+
44
+ Delete the following files (if they exist):
45
+
46
+ ```bash
47
+ rm -rf telos/content/TELOS.md
48
+ rm -rf telos/agents/
49
+ rm -rf logos/orchestrator.js
50
+ ```
51
+
52
+ ### Step 2: Clean Memory Files
53
+
54
+ If `AGENTS.md` exists:
55
+
56
+ - Remove any sections with headers containing "Telos" or "L1-L9"
57
+ - Keep all other content intact
58
+
59
+ If `CLAUDE.md` exists:
60
+
61
+ - Remove any sections referencing Telos
62
+ - Keep all other project-specific content
63
+
64
+ ### Step 3: Clean State
65
+
66
+ Remove any initialization state files:
67
+
68
+ ```bash
69
+ rm -f .telos-init-state.json
70
+ ```
71
+
72
+ ### Step 4: Confirm Completion
73
+
74
+ Display:
75
+
76
+ ---
77
+ ✅ **Telos reset complete.**
78
+
79
+ **Removed:**
80
+ - All Telos content and agent files
81
+ - Telos references in AGENTS.md / CLAUDE.md
82
+ - Initialization state
83
+
84
+ **Next steps:**
85
+ - Run `/telos-init` for full interactive setup
86
+ - Run `/telos-quick` for fast auto-generation
87
+ - Run `telos init` (CLI) to reinstall slash commands if needed
88
+ ---
89
+
90
+ ## Edge Cases
91
+
92
+ **If no Telos files found:** Display: "No Telos installation detected. Nothing
93
+ to reset."
94
+
95
+ **If only partial installation found:** Remove what exists and notify: "Partial
96
+ Telos installation found. Removed existing files. Run `/telos-init` to complete
97
+ setup."
98
+
99
+ **If git repository has uncommitted Telos files:** Warn: "You have uncommitted
100
+ Telos files. Consider running `git status` before resetting."