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.
- package/.claude/agents/behavioral-transformation-agent.md +144 -0
- package/.claude/agents/command-system-agent.md +335 -0
- package/.claude/agents/completion-gate.md +71 -0
- package/.claude/agents/component-implementation-agent.md +174 -0
- package/.claude/agents/devops-agent.md +128 -0
- package/.claude/agents/dynamic-agent-creator.md +103 -0
- package/.claude/agents/enhanced-project-manager-agent.md +145 -0
- package/.claude/agents/enhanced-quality-gate.md +54 -0
- package/.claude/agents/feature-implementation-agent.md +148 -0
- package/.claude/agents/functional-testing-agent.md +51 -0
- package/.claude/agents/hook-integration-agent.md +204 -0
- package/.claude/agents/infrastructure-implementation-agent.md +175 -0
- package/.claude/agents/lib/research-analyzer.js +470 -0
- package/.claude/agents/metrics-collection-agent.md +374 -0
- package/.claude/agents/npx-package-agent.md +246 -0
- package/.claude/agents/polish-implementation-agent.md +151 -0
- package/.claude/agents/prd-agent.md +76 -0
- package/.claude/agents/prd-mvp.md +101 -0
- package/.claude/agents/prd-research-agent.md +482 -0
- package/.claude/agents/quality-agent.md +128 -0
- package/.claude/agents/readiness-gate.md +104 -0
- package/.claude/agents/research-agent.md +173 -0
- package/.claude/agents/routing-agent.md +108 -0
- package/.claude/agents/task-checker.md +163 -0
- package/.claude/agents/task-executor.md +107 -0
- package/.claude/agents/task-orchestrator.md +343 -0
- package/.claude/agents/tdd-validation-agent.md +187 -0
- package/.claude/agents/testing-implementation-agent.md +151 -0
- package/.claude/agents/van-maintenance-agent.md +64 -0
- package/.claude/agents/workflow-agent.md +87 -0
- package/.claude/commands/autocompact.md +41 -0
- package/.claude/commands/continue-handoff.md +98 -0
- package/.claude/commands/mock.md +45 -0
- package/.claude/commands/reset-handoff.md +59 -0
- package/.claude/commands/telos/init.md +400 -0
- package/.claude/commands/telos/quick.md +90 -0
- package/.claude/commands/telos/reset.md +100 -0
- package/.claude/commands/telos/status.md +170 -0
- package/.claude/commands/telos/validate.md +143 -0
- package/.claude/commands/tm/add-dependency/add-dependency.md +55 -0
- package/.claude/commands/tm/add-subtask/add-subtask.md +76 -0
- package/.claude/commands/tm/add-subtask/convert-task-to-subtask.md +71 -0
- package/.claude/commands/tm/add-task/add-task.md +78 -0
- package/.claude/commands/tm/analyze-complexity/analyze-complexity.md +121 -0
- package/.claude/commands/tm/clear-subtasks/clear-all-subtasks.md +93 -0
- package/.claude/commands/tm/clear-subtasks/clear-subtasks.md +86 -0
- package/.claude/commands/tm/complexity-report/complexity-report.md +117 -0
- package/.claude/commands/tm/expand/expand-all-tasks.md +51 -0
- package/.claude/commands/tm/expand/expand-task.md +49 -0
- package/.claude/commands/tm/fix-dependencies/fix-dependencies.md +81 -0
- package/.claude/commands/tm/generate/generate-tasks.md +121 -0
- package/.claude/commands/tm/help.md +81 -0
- package/.claude/commands/tm/init/init-project-quick.md +46 -0
- package/.claude/commands/tm/init/init-project.md +50 -0
- package/.claude/commands/tm/learn.md +103 -0
- package/.claude/commands/tm/list/list-tasks-by-status.md +39 -0
- package/.claude/commands/tm/list/list-tasks-with-subtasks.md +29 -0
- package/.claude/commands/tm/list/list-tasks.md +43 -0
- package/.claude/commands/tm/models/setup-models.md +51 -0
- package/.claude/commands/tm/models/view-models.md +51 -0
- package/.claude/commands/tm/next/next-task.md +66 -0
- package/.claude/commands/tm/parse-prd/parse-prd-with-research.md +48 -0
- package/.claude/commands/tm/parse-prd/parse-prd.md +49 -0
- package/.claude/commands/tm/remove-dependency/remove-dependency.md +62 -0
- package/.claude/commands/tm/remove-subtask/remove-subtask.md +84 -0
- package/.claude/commands/tm/remove-task/remove-task.md +107 -0
- package/.claude/commands/tm/set-status/to-cancelled.md +55 -0
- package/.claude/commands/tm/set-status/to-deferred.md +47 -0
- package/.claude/commands/tm/set-status/to-done.md +44 -0
- package/.claude/commands/tm/set-status/to-in-progress.md +36 -0
- package/.claude/commands/tm/set-status/to-pending.md +32 -0
- package/.claude/commands/tm/set-status/to-review.md +40 -0
- package/.claude/commands/tm/setup/install-taskmaster.md +117 -0
- package/.claude/commands/tm/setup/quick-install-taskmaster.md +22 -0
- package/.claude/commands/tm/show/show-task.md +82 -0
- package/.claude/commands/tm/status/project-status.md +64 -0
- package/.claude/commands/tm/sync-readme/sync-readme.md +117 -0
- package/.claude/commands/tm/tm-main.md +146 -0
- package/.claude/commands/tm/update/update-single-task.md +119 -0
- package/.claude/commands/tm/update/update-task.md +72 -0
- package/.claude/commands/tm/update/update-tasks-from-id.md +108 -0
- package/.claude/commands/tm/utils/analyze-project.md +97 -0
- package/.claude/commands/tm/validate-dependencies/validate-dependencies.md +71 -0
- package/.claude/commands/tm/workflows/auto-implement-tasks.md +97 -0
- package/.claude/commands/tm/workflows/command-pipeline.md +77 -0
- package/.claude/commands/tm/workflows/smart-workflow.md +55 -0
- package/.claude/commands/van.md +150 -0
- package/.claude/docs/README.md +214 -0
- package/.claude/docs/TROUBLESHOOTING.md +126 -0
- package/.claude/hooks/block-destructive-commands.sh +243 -0
- package/.claude/hooks/collective-metrics.sh +291 -0
- package/.claude/hooks/directive-enforcer.sh +117 -0
- package/.claude/hooks/load-behavioral-system.sh +49 -0
- package/.claude/hooks/routing-executor.sh +4 -0
- package/.claude/hooks/test-driven-handoff.sh +653 -0
- package/.claude/settings.json +125 -0
- package/README.md +39 -15
- package/lib/commands/init.js +52 -157
- package/lib/installers/memory-files.js +77 -0
- package/lib/installers/slash-commands.js +77 -0
- package/package.json +7 -2
- package/templates/AGENTS.md +79 -0
- 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.
|