telos-framework 0.3.1 → 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.
@@ -210,7 +210,7 @@ Wait for user response. If they want refinements, engage conversationally:
210
210
 
211
211
  Once the hierarchy is finalized, create the following files:
212
212
 
213
- ### 4.1 Create `telos/content/TELOS.md`
213
+ ### 4.1 Create `.telos/TELOS.md`
214
214
 
215
215
  ```markdown
216
216
  # Telos: Ultimate Purpose
@@ -260,7 +260,7 @@ Tools**: [Build systems]
260
260
 
261
261
  ### 4.2 Create Agent Files
262
262
 
263
- 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`:
264
264
 
265
265
  **Template structure:**
266
266
 
@@ -339,14 +339,58 @@ For each level (L9 → L1), create `telos/agents/l[N]-[agent-name].md`:
339
339
  - Tools: [Detected linters - ESLint, Prettier, etc.]
340
340
  - Examples: Reject PR with linting errors
341
341
 
342
- ### 4.3 Create Platform Integration
342
+ ### 4.3 Integrate with AI Assistant Configuration Files
343
343
 
344
- If `.claude/` exists, create:
344
+ Check for and update existing AI assistant configuration files to reference
345
+ `.telos/TELOS.md`:
345
346
 
346
- - `AGENTS.md` - Reference to Telos hierarchy
347
- - Update `CLAUDE.md` (if exists) with Telos instructions
347
+ **Files to check:**
348
348
 
349
- If `.opencode/` exists, do the same in that directory.
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
361
+
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.
366
+
367
+ **When to reference Telos:**
368
+
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.
350
394
 
351
395
  ### 4.4 Create Orchestrator (Optional)
352
396
 
@@ -373,17 +417,21 @@ Once all files are generated, display:
373
417
  ✅ **Telos initialization complete!**
374
418
 
375
419
  **Generated files:**
376
- - `telos/content/TELOS.md` - Ultimate purpose and hierarchy
377
- - `telos/agents/l9-telos-guardian.md` through `l1-syntax-linter.md`
378
- - `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.)
379
423
  - `logos/orchestrator.js` - Request router (if applicable)
380
424
 
381
425
  **Next steps:**
382
- 1. Review the generated agent definitions in `telos/agents/`
426
+ 1. Review the generated agent definitions in `..telos/agents/`
383
427
  2. Run `/telos-validate` to check alignment with current codebase
384
428
  3. Run `/telos-status` to see current configuration
385
429
  4. Start developing with purpose-driven AI assistance!
386
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
+
387
435
  **Slash commands available:**
388
436
  - `/telos-validate` - Check if current code aligns with Telos
389
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.1",
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