telos-framework 0.2.0 → 0.3.1

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 +400 -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,79 @@
1
+ # Agent Framework
2
+
3
+ This project uses the **Telos Framework** - a 9-level purpose-driven
4
+ architecture for AI-assisted software development.
5
+
6
+ ## Purpose Hierarchy
7
+
8
+ The Telos system organizes development decisions across 9 hierarchical levels,
9
+ from ultimate purpose (L9) to code syntax (L1). Each level is managed by a
10
+ specialized agent.
11
+
12
+ ### Strategic Layers (L9-L5)
13
+
14
+ These agents handle high-level purpose, strategy, and user experience:
15
+
16
+ - **L9: Telos-Guardian** (`telos/agents/l9-telos-guardian.md`) - Ultimate
17
+ purpose keeper
18
+ - **L8: Market-Analyst** (`telos/agents/l8-market-analyst.md`) - Business value
19
+ measurer
20
+ - **L7: Insight-Synthesizer** (`telos/agents/l7-insight-synthesizer.md`) -
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
24
+ verifier
25
+
26
+ ### Technical Layers (L4-L1)
27
+
28
+ These agents handle implementation details and code quality:
29
+
30
+ - **L4: Integration-Contractor** (`telos/agents/l4-integration-contractor.md`) -
31
+ API contract enforcer
32
+ - **L3: Component-Architect** (`telos/agents/l3-component-architect.md`) -
33
+ Component designer
34
+ - **L2: Function-Author** (`telos/agents/l2-function-author.md`) - Function
35
+ implementer
36
+ - **L1: Syntax-Linter** (`telos/agents/l1-syntax-linter.md`) - Code quality
37
+ enforcer
38
+
39
+ ## Telos-Logos System
40
+
41
+ **Telos** (purpose) is defined in `telos/content/TELOS.md` - the ultimate goal
42
+ this project serves.
43
+
44
+ **Logos** (logic) is managed by the orchestrator in `logos/orchestrator.js` -
45
+ routes development requests to the appropriate agent based on the nature of the
46
+ work.
47
+
48
+ ## Using Telos in Development
49
+
50
+ When working on this project:
51
+
52
+ 1. **Check purpose alignment**: Before major changes, consult the relevant agent
53
+ definition
54
+ 2. **Validate decisions**: Run `/telos-validate` to ensure code aligns with
55
+ purpose
56
+ 3. **Review hierarchy**: Run `/telos-status` to see current configuration
57
+ 4. **Refine as needed**: Run `/telos-init` to reconfigure if project direction
58
+ changes
59
+
60
+ ## Slash Commands
61
+
62
+ - `/telos-init` - Initialize or reconfigure Telos hierarchy
63
+ - `/telos-quick` - Fast initialization with auto-accepted proposals
64
+ - `/telos-validate` - Check code alignment with purpose hierarchy
65
+ - `/telos-status` - Show current Telos configuration
66
+ - `/telos-reset` - Clear and reinitialize
67
+
68
+ ## Philosophy
69
+
70
+ The Telos framework ensures that every line of code serves a clear purpose,
71
+ traceable back to the ultimate goal. This creates:
72
+
73
+ - **Clarity**: Everyone understands why we're building what we're building
74
+ - **Alignment**: Technical decisions support strategic goals
75
+ - **Focus**: No feature creep or purposeless code
76
+ - **Quality**: Each layer has clear validation criteria
77
+
78
+ For more information, see
79
+ [Telos Framework documentation](https://github.com/yourusername/telos).
@@ -0,0 +1,54 @@
1
+ # Project Context for Claude
2
+
3
+ This project uses the **Telos Framework** for purpose-driven development.
4
+
5
+ ## Before Making Changes
6
+
7
+ 1. **Check Telos hierarchy**: Run `/telos-status` to see the 9-level purpose
8
+ structure
9
+ 2. **Understand the purpose**: Read `telos/content/TELOS.md` for ultimate
10
+ project goals
11
+ 3. **Consult the right agent**: Check the appropriate agent definition in
12
+ `telos/agents/`
13
+
14
+ ## Agent Responsibilities
15
+
16
+ When working on different types of tasks, reference the corresponding agent:
17
+
18
+ | Task Type | Consult Agent | File |
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` |
29
+
30
+ ## Validation
31
+
32
+ After completing significant work:
33
+
34
+ - Run `/telos-validate` to ensure changes align with purpose
35
+ - Fix any misalignments before committing
36
+
37
+ ## Commands
38
+
39
+ - `/telos-status` - View current purpose hierarchy
40
+ - `/telos-validate` - Check alignment with purpose
41
+ - `/telos-init` - Reconfigure if project direction changes
42
+
43
+ ## Integration with OpenSpec
44
+
45
+ If this project uses OpenSpec for change management, ensure that:
46
+
47
+ - Major changes have proposals referencing Telos levels
48
+ - Breaking changes are validated against L9 (ultimate purpose)
49
+ - Technical specs reference L1-L4 agents for implementation guidance
50
+
51
+ ---
52
+
53
+ **Remember**: Every change should serve the ultimate purpose defined in L9. When
54
+ in doubt, consult the Telos hierarchy.