telos-framework 0.3.0 → 0.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.
@@ -59,20 +59,94 @@ Run: `git status` to check if this is an active repository
59
59
 
60
60
  ## Step 2: Propose Telos Hierarchy
61
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] |
62
+ Based on your analysis, propose a complete 9-level hierarchy. Present it using
63
+ this block format:
64
+
65
+ ```
66
+ ═══════════════════════════════════════════════════════════════════════════
67
+ PROPOSED TELOS HIERARCHY
68
+ ═══════════════════════════════════════════════════════════════════════════
69
+
70
+ ───────────────────────────────────────────────────────────────────────────
71
+ L9 - Telos-Guardian (Ultimate Purpose)
72
+ ───────────────────────────────────────────────────────────────────────────
73
+ Purpose: [Proposed ultimate purpose statement]
74
+
75
+ Reasoning: [Why this is the ultimate purpose - based on README, project
76
+ description, and inferred mission]
77
+ ───────────────────────────────────────────────────────────────────────────
78
+
79
+ ───────────────────────────────────────────────────────────────────────────
80
+ L8 - Market-Analyst (Business Value)
81
+ ───────────────────────────────────────────────────────────────────────────
82
+ Purpose: [Proposed business value statement]
83
+
84
+ Reasoning: [Business outcomes this project serves - based on metrics, KPIs,
85
+ or market positioning mentioned in docs]
86
+ ───────────────────────────────────────────────────────────────────────────
87
+
88
+ ───────────────────────────────────────────────────────────────────────────
89
+ L7 - Insight-Synthesizer (Product Strategy)
90
+ ───────────────────────────────────────────────────────────────────────────
91
+ Purpose: [Proposed product strategy statement]
92
+
93
+ Reasoning: [How it delivers user value - based on features, roadmap, or
94
+ user-facing goals]
95
+ ───────────────────────────────────────────────────────────────────────────
96
+
97
+ ───────────────────────────────────────────────────────────────────────────
98
+ L6 - UX-Simulator (Experience Philosophy)
99
+ ───────────────────────────────────────────────────────────────────────────
100
+ Purpose: [Proposed UX philosophy statement]
101
+
102
+ Reasoning: [User experience principles - based on UI framework, design
103
+ system, or accessibility mentions]
104
+ ───────────────────────────────────────────────────────────────────────────
105
+
106
+ ───────────────────────────────────────────────────────────────────────────
107
+ L5 - Journey-Validator (Workflow Validation)
108
+ ───────────────────────────────────────────────────────────────────────────
109
+ Purpose: [Proposed workflow validation statement]
110
+
111
+ Reasoning: [User journey requirements - based on E2E tests, integration
112
+ tests, or workflow documentation]
113
+ ───────────────────────────────────────────────────────────────────────────
114
+
115
+ ───────────────────────────────────────────────────────────────────────────
116
+ L4 - Integration-Contractor (API Contracts)
117
+ ───────────────────────────────────────────────────────────────────────────
118
+ Purpose: [Proposed API contract statement]
119
+
120
+ Reasoning: [Based on detected API frameworks, protocols, and integration
121
+ patterns]
122
+ ───────────────────────────────────────────────────────────────────────────
123
+
124
+ ───────────────────────────────────────────────────────────────────────────
125
+ L3 - Component-Architect (Component Design)
126
+ ───────────────────────────────────────────────────────────────────────────
127
+ Purpose: [Proposed component architecture statement]
128
+
129
+ Reasoning: [Based on detected UI framework, component patterns, and
130
+ architectural choices]
131
+ ───────────────────────────────────────────────────────────────────────────
132
+
133
+ ───────────────────────────────────────────────────────────────────────────
134
+ L2 - Function-Author (Function Implementation)
135
+ ───────────────────────────────────────────────────────────────────────────
136
+ Purpose: [Proposed function implementation statement]
137
+
138
+ Reasoning: [Based on detected test framework, testing strategy, and code
139
+ coverage requirements]
140
+ ───────────────────────────────────────────────────────────────────────────
141
+
142
+ ───────────────────────────────────────────────────────────────────────────
143
+ L1 - Syntax-Linter (Code Quality)
144
+ ───────────────────────────────────────────────────────────────────────────
145
+ Purpose: [Proposed code quality statement]
146
+
147
+ Reasoning: [Based on detected linters, formatters, and quality standards]
148
+ ═══════════════════════════════════════════════════════════════════════════
149
+ ```
76
150
 
77
151
  ### Auto-generation Guidelines for L1-L4:
78
152
 
@@ -136,7 +210,7 @@ Wait for user response. If they want refinements, engage conversationally:
136
210
 
137
211
  Once the hierarchy is finalized, create the following files:
138
212
 
139
- ### 4.1 Create `telos/content/TELOS.md`
213
+ ### 4.1 Create `.telos/TELOS.md`
140
214
 
141
215
  ```markdown
142
216
  # Telos: Ultimate Purpose
@@ -186,7 +260,7 @@ Tools**: [Build systems]
186
260
 
187
261
  ### 4.2 Create Agent Files
188
262
 
189
- For each level (L9 → L1), create `telos/agents/l[N]-[agent-name].md`:
263
+ For each level (L9 → L1), create `..telos/agents/l[N]-[agent-name].md`:
190
264
 
191
265
  **Template structure:**
192
266
 
@@ -265,14 +339,58 @@ For each level (L9 → L1), create `telos/agents/l[N]-[agent-name].md`:
265
339
  - Tools: [Detected linters - ESLint, Prettier, etc.]
266
340
  - Examples: Reject PR with linting errors
267
341
 
268
- ### 4.3 Create Platform Integration
342
+ ### 4.3 Integrate with AI Assistant Configuration Files
343
+
344
+ Check for and update existing AI assistant configuration files to reference
345
+ `.telos/TELOS.md`:
346
+
347
+ **Files to check:**
348
+
349
+ - `AGENTS.md` - Unified standard (if exists, prepend Telos reference)
350
+ - `CLAUDE.md` - Claude Code (if exists, prepend Telos reference)
351
+ - `.cursorrules` - Cursor IDE (if exists, prepend Telos reference)
352
+ - `.clinerules` - Cline/VS Code (if exists, prepend Telos reference)
353
+ - `.windsurfrules` - Windsurf IDE (if exists, prepend Telos reference)
354
+ - `.roo/config` or `.roocode` - Roo Code (if exists, prepend Telos reference)
355
+ - `GEMINI.md` - Google Gemini (if exists, prepend Telos reference)
356
+
357
+ **For each existing file, prepend this instruction:**
358
+
359
+ ```markdown
360
+ ## Telos Purpose Hierarchy
269
361
 
270
- If `.claude/` exists, create:
362
+ **IMPORTANT**: Before making any significant changes to this project, consult
363
+ the Telos purpose hierarchy defined in `.telos/TELOS.md`. This file contains the
364
+ 9-level purpose structure (L9: Ultimate Purpose → L1: Code Quality) that guides
365
+ all development decisions.
271
366
 
272
- - `AGENTS.md` - Reference to Telos hierarchy
273
- - Update `CLAUDE.md` (if exists) with Telos instructions
367
+ **When to reference Telos:**
274
368
 
275
- If `.opencode/` exists, do the same in that directory.
369
+ - Before implementing new features (check L9-L5 strategic alignment)
370
+ - Before refactoring code (ensure L1-L4 technical standards are maintained)
371
+ - When resolving conflicts between requirements (appeal to higher-level purpose)
372
+ - During code review (validate against appropriate agent level)
373
+
374
+ **Quick reference:**
375
+
376
+ - L9 (Telos-Guardian): Ultimate purpose - does this serve our mission?
377
+ - L8 (Market-Analyst): Business value - does this deliver measurable outcomes?
378
+ - L7 (Insight-Synthesizer): Product strategy - does this align with our roadmap?
379
+ - L6 (UX-Simulator): Experience - does this meet UX standards?
380
+ - L5 (Journey-Validator): Workflows - do user journeys work end-to-end?
381
+ - L4 (Integration-Contractor): API contracts - are integrations maintained?
382
+ - L3 (Component-Architect): Components - does this follow our patterns?
383
+ - L2 (Function-Author): Functions - is this testable and maintainable?
384
+ - L1 (Syntax-Linter): Code quality - does this pass linting/formatting?
385
+
386
+ See `.telos/TELOS.md` for complete hierarchy and `..telos/agents/` for detailed
387
+ agent definitions.
388
+
389
+ ---
390
+ ```
391
+
392
+ **If no AI assistant config files exist**, create `AGENTS.md` with Telos
393
+ content.
276
394
 
277
395
  ### 4.4 Create Orchestrator (Optional)
278
396
 
@@ -299,17 +417,21 @@ Once all files are generated, display:
299
417
  ✅ **Telos initialization complete!**
300
418
 
301
419
  **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
420
+ - `.telos/TELOS.md` - Ultimate purpose and hierarchy
421
+ - `..telos/agents/l9-telos-guardian.md` through `l1-syntax-linter.md`
422
+ - Updated AI assistant config files (AGENTS.md, CLAUDE.md, .cursorrules, etc.)
305
423
  - `logos/orchestrator.js` - Request router (if applicable)
306
424
 
307
425
  **Next steps:**
308
- 1. Review the generated agent definitions in `telos/agents/`
426
+ 1. Review the generated agent definitions in `..telos/agents/`
309
427
  2. Run `/telos-validate` to check alignment with current codebase
310
428
  3. Run `/telos-status` to see current configuration
311
429
  4. Start developing with purpose-driven AI assistance!
312
430
 
431
+ **Your AI assistant now knows about Telos!** All existing config files (AGENTS.md,
432
+ CLAUDE.md, .cursorrules, etc.) have been updated to reference `.telos/TELOS.md`
433
+ before making changes.
434
+
313
435
  **Slash commands available:**
314
436
  - `/telos-validate` - Check if current code aligns with Telos
315
437
  - `/telos-status` - Show current Telos configuration
@@ -38,8 +38,8 @@ Do NOT ask for user review - proceed directly to generation.
38
38
 
39
39
  Create all files exactly as specified in `/telos-init` Step 4:
40
40
 
41
- - `telos/content/TELOS.md`
42
- - `telos/agents/l9-telos-guardian.md` through `l1-syntax-linter.md`
41
+ - `.telos/TELOS.md`
42
+ - `.telos/agents/l9-telos-guardian.md` through `l1-syntax-linter.md`
43
43
  - `AGENTS.md` (if `.claude/` or `.opencode/` exists)
44
44
  - `logos/orchestrator.js` (if Node.js project)
45
45
 
@@ -65,8 +65,8 @@ Once complete, show:
65
65
  | L1 | Syntax-Linter | [Purpose] |
66
66
 
67
67
  **Files created:**
68
- - `telos/content/TELOS.md`
69
- - `telos/agents/` (9 agent definitions)
68
+ - `.telos/TELOS.md`
69
+ - `.telos/agents/` (9 agent definitions)
70
70
  - `AGENTS.md`
71
71
  - `logos/orchestrator.js` (if applicable)
72
72
 
@@ -11,8 +11,8 @@ fresh.
11
11
 
12
12
  This command will **delete** the following:
13
13
 
14
- - `telos/content/TELOS.md`
15
- - `telos/agents/` directory (all L1-L9 agent files)
14
+ - `.telos/TELOS.md`
15
+ - `.telos/agents/` directory (all L1-L9 agent files)
16
16
  - `logos/orchestrator.js` (if present)
17
17
  - Telos sections in `AGENTS.md` and `CLAUDE.md` (if present)
18
18
 
@@ -24,8 +24,8 @@ Before proceeding, ask the user:
24
24
  ⚠️ **Warning: This will delete all Telos configuration files.**
25
25
 
26
26
  **Files to be removed:**
27
- - `telos/content/TELOS.md`
28
- - `telos/agents/l1-*.md` through `l9-*.md`
27
+ - `.telos/TELOS.md`
28
+ - `.telos/agents/l1-*.md` through `l9-*.md`
29
29
  - `logos/orchestrator.js`
30
30
  - Telos references in AGENTS.md / CLAUDE.md
31
31
 
@@ -44,8 +44,8 @@ If user confirms "yes":
44
44
  Delete the following files (if they exist):
45
45
 
46
46
  ```bash
47
- rm -rf telos/content/TELOS.md
48
- rm -rf telos/agents/
47
+ rm -rf .telos/TELOS.md
48
+ rm -rf .telos/agents/
49
49
  rm -rf logos/orchestrator.js
50
50
  ```
51
51
 
@@ -10,8 +10,8 @@ Display the current Telos configuration for this project.
10
10
 
11
11
  First, check if Telos is initialized:
12
12
 
13
- - Look for `telos/content/TELOS.md`
14
- - Look for `telos/agents/` directory
13
+ - Look for `.telos/TELOS.md`
14
+ - Look for `.telos/agents/` directory
15
15
 
16
16
  If not found, display:
17
17
 
@@ -27,7 +27,7 @@ If Telos is initialized, read and display:
27
27
 
28
28
  ### 1. Ultimate Purpose
29
29
 
30
- From `telos/content/TELOS.md`, extract and display:
30
+ From `.telos/TELOS.md`, extract and display:
31
31
 
32
32
  ```
33
33
  🎯 **Ultimate Purpose (L9)**
@@ -55,7 +55,7 @@ Display all 9 levels:
55
55
 
56
56
  ### 3. Technology Stack
57
57
 
58
- From `telos/content/TELOS.md`, show detected stack:
58
+ From `.telos/TELOS.md`, show detected stack:
59
59
 
60
60
  ```
61
61
  **Technology Stack**
@@ -11,8 +11,8 @@ purpose hierarchy.
11
11
 
12
12
  Check if Telos is initialized:
13
13
 
14
- - `telos/content/TELOS.md` must exist
15
- - At least some agent files in `telos/agents/` must exist
14
+ - `.telos/TELOS.md` must exist
15
+ - At least some agent files in `.telos/agents/` must exist
16
16
 
17
17
  If not found, display: "❌ Telos not initialized. Run `/telos-init` first."
18
18
 
@@ -20,7 +20,7 @@ If not found, display: "❌ Telos not initialized. Run `/telos-init` first."
20
20
 
21
21
  ### Step 1: Load Telos Configuration
22
22
 
23
- Read `telos/content/TELOS.md` to extract:
23
+ Read `.telos/TELOS.md` to extract:
24
24
 
25
25
  - Ultimate purpose (L9)
26
26
  - 9-level hierarchy definitions
@@ -60,7 +60,9 @@ async function initCommand(options) {
60
60
  console.log(chalk.bold.white('Next steps:\n'));
61
61
  console.log(chalk.white('1. Open this project in Claude Code (or your AI coding assistant)'));
62
62
  console.log(chalk.white('2. Run the slash command: ') + chalk.bold.green('/telos-init'));
63
- console.log(chalk.white('3. Follow the interactive setup to configure your purpose hierarchy\n'));
63
+ console.log(chalk.white('3. AI will analyze your codebase and propose a 9-level purpose hierarchy'));
64
+ console.log(chalk.white('4. Review strategic layers (L9-L5) and provide refinements'));
65
+ console.log(chalk.white('5. AI generates .telos/TELOS.md and updates your config files\n'));
64
66
 
65
67
  console.log(chalk.dim('Available commands after initialization:'));
66
68
  console.log(chalk.dim(' /telos-init - Initialize Telos with interactive review'));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "telos-framework",
3
- "version": "0.3.0",
3
+ "version": "0.3.2",
4
4
  "description": "Telos-driven Multi-Agent Development Framework - A philosophically-grounded AI collective for purpose-aligned software development",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -13,32 +13,32 @@ specialized agent.
13
13
 
14
14
  These agents handle high-level purpose, strategy, and user experience:
15
15
 
16
- - **L9: Telos-Guardian** (`telos/agents/l9-telos-guardian.md`) - Ultimate
16
+ - **L9: Telos-Guardian** (`.telos/agents/l9-telos-guardian.md`) - Ultimate
17
17
  purpose keeper
18
- - **L8: Market-Analyst** (`telos/agents/l8-market-analyst.md`) - Business value
18
+ - **L8: Market-Analyst** (`.telos/agents/l8-market-analyst.md`) - Business value
19
19
  measurer
20
- - **L7: Insight-Synthesizer** (`telos/agents/l7-insight-synthesizer.md`) -
20
+ - **L7: Insight-Synthesizer** (`.telos/agents/l7-insight-synthesizer.md`) -
21
21
  Product strategist
22
- - **L6: UX-Simulator** (`telos/agents/l6-ux-simulator.md`) - Experience designer
23
- - **L5: Journey-Validator** (`telos/agents/l5-journey-validator.md`) - Workflow
22
+ - **L6: UX-Simulator** (`.telos/agents/l6-ux-simulator.md`) - Experience designer
23
+ - **L5: Journey-Validator** (`.telos/agents/l5-journey-validator.md`) - Workflow
24
24
  verifier
25
25
 
26
26
  ### Technical Layers (L4-L1)
27
27
 
28
28
  These agents handle implementation details and code quality:
29
29
 
30
- - **L4: Integration-Contractor** (`telos/agents/l4-integration-contractor.md`) -
30
+ - **L4: Integration-Contractor** (`.telos/agents/l4-integration-contractor.md`) -
31
31
  API contract enforcer
32
- - **L3: Component-Architect** (`telos/agents/l3-component-architect.md`) -
32
+ - **L3: Component-Architect** (`.telos/agents/l3-component-architect.md`) -
33
33
  Component designer
34
- - **L2: Function-Author** (`telos/agents/l2-function-author.md`) - Function
34
+ - **L2: Function-Author** (`.telos/agents/l2-function-author.md`) - Function
35
35
  implementer
36
- - **L1: Syntax-Linter** (`telos/agents/l1-syntax-linter.md`) - Code quality
36
+ - **L1: Syntax-Linter** (`.telos/agents/l1-syntax-linter.md`) - Code quality
37
37
  enforcer
38
38
 
39
39
  ## Telos-Logos System
40
40
 
41
- **Telos** (purpose) is defined in `telos/content/TELOS.md` - the ultimate goal
41
+ **Telos** (purpose) is defined in `.telos/TELOS.md` - the ultimate goal
42
42
  this project serves.
43
43
 
44
44
  **Logos** (logic) is managed by the orchestrator in `logos/orchestrator.js` -
@@ -6,10 +6,10 @@ This project uses the **Telos Framework** for purpose-driven development.
6
6
 
7
7
  1. **Check Telos hierarchy**: Run `/telos-status` to see the 9-level purpose
8
8
  structure
9
- 2. **Understand the purpose**: Read `telos/content/TELOS.md` for ultimate
9
+ 2. **Understand the purpose**: Read `.telos/TELOS.md` for ultimate
10
10
  project goals
11
11
  3. **Consult the right agent**: Check the appropriate agent definition in
12
- `telos/agents/`
12
+ `.telos/agents/`
13
13
 
14
14
  ## Agent Responsibilities
15
15
 
@@ -17,15 +17,15 @@ When working on different types of tasks, reference the corresponding agent:
17
17
 
18
18
  | Task Type | Consult Agent | File |
19
19
  | --------------------------- | --------------------------- | ------------------------------------------- |
20
- | Project direction decisions | Telos-Guardian (L9) | `telos/agents/l9-telos-guardian.md` |
21
- | Business value questions | Market-Analyst (L8) | `telos/agents/l8-market-analyst.md` |
22
- | Product strategy | Insight-Synthesizer (L7) | `telos/agents/l7-insight-synthesizer.md` |
23
- | UX/design decisions | UX-Simulator (L6) | `telos/agents/l6-ux-simulator.md` |
24
- | User workflow validation | Journey-Validator (L5) | `telos/agents/l5-journey-validator.md` |
25
- | API changes | Integration-Contractor (L4) | `telos/agents/l4-integration-contractor.md` |
26
- | Component design | Component-Architect (L3) | `telos/agents/l3-component-architect.md` |
27
- | Function implementation | Function-Author (L2) | `telos/agents/l2-function-author.md` |
28
- | Code quality | Syntax-Linter (L1) | `telos/agents/l1-syntax-linter.md` |
20
+ | Project direction decisions | Telos-Guardian (L9) | `.telos/agents/l9-telos-guardian.md` |
21
+ | Business value questions | Market-Analyst (L8) | `.telos/agents/l8-market-analyst.md` |
22
+ | Product strategy | Insight-Synthesizer (L7) | `.telos/agents/l7-insight-synthesizer.md` |
23
+ | UX/design decisions | UX-Simulator (L6) | `.telos/agents/l6-ux-simulator.md` |
24
+ | User workflow validation | Journey-Validator (L5) | `.telos/agents/l5-journey-validator.md` |
25
+ | API changes | Integration-Contractor (L4) | `.telos/agents/l4-integration-contractor.md` |
26
+ | Component design | Component-Architect (L3) | `.telos/agents/l3-component-architect.md` |
27
+ | Function implementation | Function-Author (L2) | `.telos/agents/l2-function-author.md` |
28
+ | Code quality | Syntax-Linter (L1) | `.telos/agents/l1-syntax-linter.md` |
29
29
 
30
30
  ## Validation
31
31