@chongyan/autospec 1.0.1 → 1.0.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.
- package/LICENSE +21 -21
- package/README.en.md +447 -321
- package/README.md +418 -286
- package/knowledge/01-principles/00-principles-hierarchy.md +247 -0
- package/knowledge/01-principles/01-first-principles.md +241 -0
- package/knowledge/01-principles/02-strategic-principles.md +286 -0
- package/knowledge/01-principles/03-tactical-principles.md +385 -0
- package/knowledge/01-principles/04-operational-principles.md +275 -0
- package/knowledge/01-principles/05-domain-principles.md +539 -0
- package/knowledge/01-principles/06-methodology-principles.md +281 -0
- package/knowledge/01-principles/07-cognitive-principles.md +277 -0
- package/knowledge/01-principles/08-auto-fix-principles.md +320 -0
- package/knowledge/01-principles/09-constitution.md +220 -0
- package/knowledge/{principles/evolution.md → 01-principles/10-evolution-mechanism.md} +160 -14
- package/knowledge/01-principles/README.en.md +385 -0
- package/knowledge/01-principles/README.md +385 -0
- package/knowledge/{process/overview.md → 02-process/00-overview.md} +90 -5
- package/knowledge/02-process/README.en.md +143 -0
- package/knowledge/02-process/README.md +186 -0
- package/knowledge/{guides/support/pipeline-protocol.md → 03-guides/00-pipeline-protocol.md} +10 -10
- package/knowledge/{guides/support/team-orchestrator.md → 03-guides/01-team-orchestrator.md} +53 -8
- package/knowledge/{guides/stages/requirement-analyzer.md → 03-guides/02-analyze-requirement.md} +3 -3
- package/knowledge/{guides/stages/ai-effect-evaluator.md → 03-guides/08-evaluate-ai-effect.md} +14 -7
- package/knowledge/{guides/support/skill-distiller.md → 03-guides/19-distill-skill.md} +3 -3
- package/knowledge/{guides/support/skill-updater.md → 03-guides/20-update-skill.md} +1 -1
- package/knowledge/{guides/support/methodology-extractor.md → 03-guides/22-extract-methodology.md} +2 -2
- package/knowledge/{guides/support/complexity-assessor.md → 03-guides/24-assess-complexity.md} +6 -4
- package/knowledge/{guides/support/tech-stack-analyzer.md → 03-guides/26-analyze-tech-stack.md} +1 -1
- package/knowledge/{guides/domain-driven-design.md → 03-guides/42-apply-ddd.md} +1 -1
- package/knowledge/{process/ai-sdlc.md → 03-guides/43-run-ai-sdlc.md} +1 -1
- package/knowledge/{guides/knowledge-management.md → 03-guides/44-manage-knowledge.md} +4 -4
- package/knowledge/03-guides/README.en.md +212 -0
- package/knowledge/03-guides/README.md +212 -0
- package/knowledge/{checklists/requirement.md → 04-checklists/00-requirement.md} +1 -1
- package/knowledge/{checklists/design.md → 04-checklists/01-design.md} +1 -1
- package/knowledge/{checklists/code.md → 04-checklists/02-code.md} +16 -1
- package/knowledge/{checklists/release.md → 04-checklists/04-release.md} +1 -1
- package/knowledge/04-checklists/README.en.md +119 -0
- package/knowledge/04-checklists/README.md +123 -0
- package/knowledge/{config/validation-patterns.yaml → 05-config/00-validation-patterns.yaml} +1 -1
- package/knowledge/{config/team-tasks.yaml → 05-config/02-team-tasks.yaml} +2 -2
- package/knowledge/05-config/03-role-composition.yaml +346 -0
- package/knowledge/{config/skill-compositions.yaml → 05-config/05-skill-compositions.yaml} +24 -24
- package/knowledge/05-config/README.en.md +54 -0
- package/knowledge/05-config/README.md +132 -0
- package/knowledge/06-environment/00-template-registry.md +310 -0
- package/knowledge/06-environment/01-detection-patterns.yaml +1692 -0
- package/knowledge/{environment → 06-environment}/README.en.md +4 -0
- package/knowledge/{environment → 06-environment}/README.md +66 -25
- package/knowledge/{standards/coding-style.md → 07-standards/00-coding-style.md} +123 -4
- package/knowledge/{standards/code-review.md → 07-standards/01-code-review.md} +3 -3
- package/knowledge/{standards/data-consistency.md → 07-standards/02-data-consistency.md} +1 -1
- package/knowledge/{standards/document-versioning.md → 07-standards/03-document-versioning.md} +1 -1
- package/knowledge/{standards/risk-detection.md → 07-standards/04-risk-detection.md} +5 -5
- package/knowledge/07-standards/README.en.md +119 -0
- package/knowledge/07-standards/README.md +123 -0
- package/knowledge/08-organization/00-vision-mission.md +113 -0
- package/knowledge/{organization/ai-native-team.md → 08-organization/01-ai-native-culture.md} +1 -1
- package/knowledge/{organization/team-metrics.md → 08-organization/02-team-metrics.md} +1 -1
- package/knowledge/08-organization/03-committee-structure.md +54 -0
- package/knowledge/08-organization/04-governance-metrics.md +55 -0
- package/knowledge/08-organization/05-improvement-process.md +71 -0
- package/knowledge/08-organization/README.en.md +165 -0
- package/knowledge/08-organization/README.md +165 -0
- package/knowledge/09-templates/00-requirement-proposal.md +344 -0
- package/knowledge/09-templates/01-architecture-design.md +494 -0
- package/knowledge/09-templates/02-api-design.md +408 -0
- package/knowledge/09-templates/03-database-design.md +313 -0
- package/knowledge/09-templates/04-product-design.md +237 -0
- package/knowledge/09-templates/05-domain-business.md +388 -0
- package/knowledge/09-templates/06-test-design.md +268 -0
- package/knowledge/09-templates/07-evaluation-design.md +372 -0
- package/knowledge/09-templates/08-component-knowledge.md +272 -0
- package/knowledge/09-templates/09-best-practices.md +218 -0
- package/knowledge/{environment/middleware-knowledge.md → 09-templates/10-middleware-knowledge.md} +106 -1
- package/knowledge/09-templates/README.en.md +222 -0
- package/knowledge/09-templates/README.md +216 -0
- package/knowledge/README.en.md +372 -0
- package/knowledge/README.md +354 -99
- package/package.json +1 -1
- package/plugins/.claude-plugin/plugin.json +460 -81
- package/plugins/agents/roles/ceo.md +1 -1
- package/plugins/agents/roles/product-owner.md +1 -1
- package/plugins/agents/roles/tech-lead.md +1 -1
- package/plugins/agents/support/consistency-checker.md +36 -3
- package/plugins/agents/support/monitoring-agent.md +215 -0
- package/plugins/agents/support/safety-auditor.md +2 -2
- package/plugins/agents/support/stage-gate-evaluator.md +95 -11
- package/plugins/agents/support/test-coverage-reviewer.md +1 -1
- package/plugins/benchmarks/templates/README.md +165 -13
- package/plugins/benchmarks/templates/commands/apply-template.yaml +108 -0
- package/plugins/benchmarks/templates/commands/archive-template.yaml +65 -0
- package/plugins/benchmarks/templates/commands/env-export-template.yaml +64 -0
- package/plugins/benchmarks/templates/commands/env-sync-template.yaml +104 -0
- package/plugins/benchmarks/templates/commands/env-template-template.yaml +96 -0
- package/plugins/benchmarks/templates/commands/env-template.yaml +58 -0
- package/plugins/benchmarks/templates/commands/env-update-template.yaml +110 -0
- package/plugins/benchmarks/templates/commands/env-validate-template.yaml +95 -0
- package/plugins/benchmarks/templates/commands/field-evolve-template.yaml +104 -0
- package/plugins/benchmarks/templates/commands/project-evolve-template.yaml +104 -0
- package/plugins/benchmarks/templates/commands/propose-template.yaml +88 -0
- package/plugins/benchmarks/templates/commands/review-template.yaml +124 -0
- package/plugins/benchmarks/templates/commands/run-template.yaml +127 -0
- package/plugins/benchmarks/templates/commands/test-template.yaml +149 -0
- package/plugins/benchmarks/templates/pipeline/experiment-template.yaml +92 -0
- package/plugins/benchmarks/templates/pipeline/hotfix-template.yaml +81 -0
- package/plugins/benchmarks/templates/skills/agile-iteration-template.yaml +78 -0
- package/plugins/benchmarks/templates/skills/benchmark-executor-template.yaml +114 -0
- package/plugins/benchmarks/templates/skills/benchmark-generator-template.yaml +52 -0
- package/plugins/benchmarks/templates/skills/delivery-stage-template.yaml +130 -0
- package/plugins/benchmarks/templates/skills/design-stage-template.yaml +131 -0
- package/plugins/benchmarks/templates/skills/experiment-iteration-template.yaml +60 -0
- package/plugins/benchmarks/templates/skills/exploration-phase-template.yaml +114 -0
- package/plugins/benchmarks/templates/skills/field-evolve-analyzer-template.yaml +51 -0
- package/plugins/benchmarks/templates/skills/field-evolve-distiller-template.yaml +34 -0
- package/plugins/benchmarks/templates/skills/field-evolve-executor-template.yaml +50 -0
- package/plugins/benchmarks/templates/skills/field-evolve-fixer-template.yaml +52 -0
- package/plugins/benchmarks/templates/skills/field-evolve-learner-template.yaml +33 -0
- package/plugins/benchmarks/templates/skills/field-evolve-scanner-template.yaml +74 -0
- package/plugins/benchmarks/templates/skills/field-evolve-template.yaml +71 -0
- package/plugins/benchmarks/templates/skills/field-evolve-verifier-template.yaml +51 -0
- package/plugins/benchmarks/templates/skills/hotfix-iteration-template.yaml +54 -0
- package/plugins/benchmarks/templates/skills/implementation-stage-template.yaml +127 -0
- package/plugins/benchmarks/templates/skills/layer1-validation-template.yaml +121 -0
- package/plugins/benchmarks/templates/skills/project-evolve-analyzer-template.yaml +51 -0
- package/plugins/benchmarks/templates/skills/project-evolve-fixer-template.yaml +52 -0
- package/plugins/benchmarks/templates/skills/project-evolve-generator-template.yaml +34 -0
- package/plugins/benchmarks/templates/skills/project-evolve-learner-template.yaml +50 -0
- package/plugins/benchmarks/templates/skills/project-evolve-reviewer-template.yaml +50 -0
- package/plugins/benchmarks/templates/skills/project-evolve-scanner-template.yaml +75 -0
- package/plugins/benchmarks/templates/skills/project-evolve-template.yaml +72 -0
- package/plugins/benchmarks/templates/skills/project-evolve-verifier-template.yaml +51 -0
- package/plugins/benchmarks/templates/skills/skill-forge-template.yaml +117 -0
- package/plugins/benchmarks/templates/skills/startup-guard-template.yaml +103 -0
- package/plugins/benchmarks/templates/skills/testing-stage-template.yaml +146 -0
- package/plugins/benchmarks/templates/skills/waterfall-iteration-template.yaml +55 -0
- package/plugins/commands/README.en.md +2 -2
- package/plugins/commands/README.md +2 -2
- package/plugins/commands/apply.md +102 -16
- package/plugins/commands/archive.md +60 -4
- package/plugins/commands/env-sync.md +1047 -406
- package/plugins/commands/env-template.md +11 -135
- package/plugins/commands/env-update.md +1 -1
- package/plugins/commands/env-validate.md +3 -3
- package/plugins/commands/explore.md +118 -1
- package/plugins/commands/field-evolve.md +51 -175
- package/plugins/commands/project-evolve.md +167 -68
- package/plugins/commands/propose.md +97 -6
- package/plugins/commands/review.md +5 -5
- package/plugins/commands/run.md +841 -13
- package/plugins/commands/status.md +138 -17
- package/plugins/commands/test.md +389 -0
- package/plugins/hooks/constitution-guard.js +1 -1
- package/plugins/hooks/environment-autocommit.js +366 -24
- package/plugins/hooks/environment-manager.js +3 -2
- package/plugins/hooks/execution-tracker.js +109 -4
- package/plugins/hooks/layer1-validator.js +117 -1
- package/plugins/hooks/lib/auto-fix-loop.js +605 -0
- package/plugins/hooks/lib/environment-config-loader.js +11 -7
- package/plugins/hooks/lib/hook-state-manager.js +98 -0
- package/plugins/hooks/lib/memory-extractor.js +27 -5
- package/plugins/hooks/lib/memory-manager.js +1 -1
- package/plugins/hooks/lib/test-auto-fix.test.js +194 -0
- package/plugins/hooks/monitoring-trigger.js +467 -0
- package/plugins/skills/README.en.md +15 -3
- package/plugins/skills/README.md +21 -11
- package/plugins/skills/agile-iteration/SKILL.md +187 -0
- package/plugins/skills/delivery-stage/SKILL.md +133 -12
- package/plugins/skills/design-stage/SKILL.md +103 -12
- package/plugins/skills/experiment-evaluator/SKILL.md +271 -0
- package/plugins/skills/experiment-iteration/SKILL.md +154 -0
- package/plugins/skills/exploration-phase/SKILL.md +93 -10
- package/plugins/skills/field-evolve-analyzer/SKILL.md +65 -0
- package/plugins/skills/field-evolve-distiller/SKILL.md +66 -0
- package/plugins/skills/field-evolve-executor/SKILL.md +94 -0
- package/plugins/skills/field-evolve-executor/executor.js +342 -0
- package/plugins/skills/field-evolve-fixer/SKILL.md +69 -0
- package/plugins/skills/field-evolve-learner/SKILL.md +65 -0
- package/plugins/skills/field-evolve-scanner/SKILL.md +87 -0
- package/plugins/skills/field-evolve-scanner/scripts/fallback-scanner.js +288 -0
- package/plugins/skills/field-evolve-verifier/SKILL.md +64 -0
- package/plugins/skills/hotfix-iteration/SKILL.md +279 -0
- package/plugins/skills/implementation-stage/SKILL.md +156 -15
- package/plugins/skills/layer1-validation/SKILL.md +1 -1
- package/plugins/skills/pending-dashboard/SKILL.md +9 -8
- package/plugins/skills/project-evolve-analyzer/SKILL.md +95 -0
- package/plugins/skills/project-evolve-fixer/SKILL.md +99 -0
- package/plugins/skills/project-evolve-generator/SKILL.md +149 -0
- package/plugins/skills/project-evolve-learner/SKILL.md +103 -0
- package/plugins/skills/project-evolve-reviewer/SKILL.md +104 -0
- package/plugins/skills/project-evolve-scanner/SKILL.md +95 -0
- package/plugins/skills/project-evolve-scanner/scripts/dependency-reuse-checker.js +395 -0
- package/plugins/skills/project-evolve-scanner/scripts/subsystem-coverage.js +315 -0
- package/plugins/skills/project-evolve-verifier/SKILL.md +105 -0
- package/plugins/skills/requirement-stage/SKILL.md +47 -13
- package/plugins/skills/skill-forge/SKILL.md +2 -2
- package/plugins/skills/testing-stage/SKILL.md +583 -8
- package/plugins/skills/waterfall-iteration/SKILL.md +115 -0
- package/scripts/cli/index.js +1 -1
- package/scripts/cli/init.js +30 -4
- package/scripts/cli/list.js +3 -2
- package/scripts/config/commands.config.js +8 -8
- package/scripts/config/hooks.config.js +1 -1
- package/scripts/install/constants.js +204 -165
- package/scripts/state.js +210 -1
- package/knowledge/config/README.en.md +0 -44
- package/knowledge/config/README.md +0 -44
- package/knowledge/config/role-composition.yaml +0 -98
- package/knowledge/config/team-triggers.yaml +0 -198
- package/knowledge/domain/README.md +0 -115
- package/knowledge/domain/flows/README.md +0 -194
- package/knowledge/domain/glossary.md +0 -143
- package/knowledge/domain/rules.md +0 -138
- package/knowledge/environment/component-knowledge.md +0 -316
- package/knowledge/environment/detection-patterns.yaml +0 -502
- package/knowledge/environment/template-registry.md +0 -321
- package/knowledge/guides/requirement-engineering.md +0 -329
- package/knowledge/guides/system-design.md +0 -352
- package/knowledge/principles/constitution.md +0 -134
- package/knowledge/principles/core-principles.md +0 -368
- package/knowledge/principles/design-philosophy.md +0 -877
- package/knowledge/process/README.en.md +0 -38
- package/knowledge/process/README.md +0 -48
- package/knowledge/templates/ai-evaluation.md +0 -150
- package/knowledge/templates/api-design.md +0 -117
- package/knowledge/templates/database-design.md +0 -132
- package/knowledge/templates/domain-driven-design.md +0 -321
- package/knowledge/templates/product-proposal.md +0 -201
- package/knowledge/templates/system-design.md +0 -227
- package/knowledge/templates/task-breakdown.md +0 -107
- package/knowledge/templates/test-case.md +0 -170
- package/plugins/commands/validate.md +0 -108
- package/plugins/skills/benchmark-executor/README.md +0 -93
- package/plugins/skills/evolution-process/SKILL.md +0 -291
- package/plugins/skills/project-evolution/SKILL.md +0 -847
- package/scripts/evolution/evolution-router.js +0 -273
- package/scripts/evolution/evolution-signal-collector.js +0 -307
- package/scripts/evolution/knowledge-loader.js +0 -346
- package/scripts/evolution/marketplace.js +0 -317
- package/scripts/evolution/version-manager.js +0 -371
- /package/knowledge/{process → 02-process}/01-requirement.md +0 -0
- /package/knowledge/{process → 02-process}/02-design.md +0 -0
- /package/knowledge/{process → 02-process}/03-implementation.md +0 -0
- /package/knowledge/{process → 02-process}/04-review.md +0 -0
- /package/knowledge/{process → 02-process}/05-testing.md +0 -0
- /package/knowledge/{process → 02-process}/06-delivery.md +0 -0
- /package/knowledge/{guides/stages/design-planner.md → 03-guides/03-design-solution.md} +0 -0
- /package/knowledge/{guides/stages/code-implementer.md → 03-guides/04-implement-code.md} +0 -0
- /package/knowledge/{guides/stages/test-planner.md → 03-guides/05-plan-testing.md} +0 -0
- /package/knowledge/{guides/stages/test-generator.md → 03-guides/06-generate-tests.md} +0 -0
- /package/knowledge/{guides/stages/release-checker.md → 03-guides/07-check-release.md} +0 -0
- /package/knowledge/{guides/stages/requirement-reviewer.md → 03-guides/09-review-requirement.md} +0 -0
- /package/knowledge/{guides/stages/design-reviewer.md → 03-guides/10-review-design.md} +0 -0
- /package/knowledge/{guides/stages/code-reviewer.md → 03-guides/11-review-code.md} +0 -0
- /package/knowledge/{guides/stages/test-reviewer.md → 03-guides/12-review-testing.md} +0 -0
- /package/knowledge/{guides/stages/security-reviewer.md → 03-guides/13-audit-security.md} +0 -0
- /package/knowledge/{guides/stages/consistency-checker.md → 03-guides/14-check-consistency.md} +0 -0
- /package/knowledge/{guides/stages/unit-test-runner.md → 03-guides/15-run-unit-tests.md} +0 -0
- /package/knowledge/{guides/stages/integration-test-runner.md → 03-guides/16-run-integration-tests.md} +0 -0
- /package/knowledge/{guides/stages/test-context-analyzer.md → 03-guides/17-analyze-test-context.md} +0 -0
- /package/knowledge/{guides/support/practice-logger.md → 03-guides/18-log-practice.md} +0 -0
- /package/knowledge/{guides/support/skill-validator.md → 03-guides/21-validate-skill.md} +0 -0
- /package/knowledge/{guides/support/scope-inference.md → 03-guides/23-infer-scope.md} +0 -0
- /package/knowledge/{guides/support/component-discovery.md → 03-guides/25-discover-component.md} +0 -0
- /package/knowledge/{guides/support/environment-scanner.md → 03-guides/27-scan-environment.md} +0 -0
- /package/knowledge/{guides/support/environment-validator.md → 03-guides/28-validate-environment.md} +0 -0
- /package/knowledge/{guides/support/knowledge-generator.md → 03-guides/29-generate-knowledge.md} +0 -0
- /package/knowledge/{guides/support/ai-capability-analyzer.md → 03-guides/30-analyze-ai-capability.md} +0 -0
- /package/knowledge/{guides/support/ai-component-analyzer.md → 03-guides/31-analyze-ai-component.md} +0 -0
- /package/knowledge/{guides/support/ai-agent-analyzer.md → 03-guides/32-analyze-ai-agent.md} +0 -0
- /package/knowledge/{guides/support/ai-rag-analyzer.md → 03-guides/33-analyze-ai-rag.md} +0 -0
- /package/knowledge/{guides/support/ai-task-assessor.md → 03-guides/34-assess-ai-task.md} +0 -0
- /package/knowledge/{guides/support/ai-pipeline-evaluator.md → 03-guides/35-evaluate-ai-pipeline.md} +0 -0
- /package/knowledge/{guides/support/ai-artifact-evaluator.md → 03-guides/36-evaluate-ai-artifact.md} +0 -0
- /package/knowledge/{guides/support/ai-evaluation-planner.md → 03-guides/37-plan-ai-evaluation.md} +0 -0
- /package/knowledge/{guides/support/ai-path-evaluator.md → 03-guides/38-evaluate-ai-path.md} +0 -0
- /package/knowledge/{guides/support/ai-data-validator.md → 03-guides/39-validate-ai-data.md} +0 -0
- /package/knowledge/{guides/support/ai-anomaly-analyzer.md → 03-guides/40-detect-ai-anomaly.md} +0 -0
- /package/knowledge/{guides/support/ai-test-diagnostics.md → 03-guides/41-diagnose-ai-test.md} +0 -0
- /package/knowledge/{guides/support/test-runner.md → 03-guides/45-test-runner.md} +0 -0
- /package/knowledge/{checklists/test.md → 04-checklists/03-test.md} +0 -0
- /package/knowledge/{config/team-stage.yaml → 05-config/01-team-stage.yaml} +0 -0
- /package/knowledge/{config/role-extensions.yaml → 05-config/04-role-extensions.yaml} +0 -0
package/README.en.md
CHANGED
|
@@ -4,87 +4,202 @@
|
|
|
4
4
|
|
|
5
5
|
**Autonomous Software Development Pipeline — AI drives the full cycle, humans stay on the loop.**
|
|
6
6
|
|
|
7
|
-
[中文文档](./README.md) · [Quick Start](#quick-start) · [How It Works](#how-it-works) · [Contributing](./CONTRIBUTING.md)
|
|
7
|
+
[中文文档](./README.md) · [Quick Start](#quick-start) · [Core Principles](#core-principles) · [How It Works](#how-it-works) · [Knowledge Structure](#knowledge-structure) · [Contributing](./CONTRIBUTING.md)
|
|
8
8
|
|
|
9
9
|
</div>
|
|
10
10
|
|
|
11
11
|
---
|
|
12
12
|
|
|
13
|
+
## One-Sentence Value
|
|
14
|
+
|
|
13
15
|
AutoSpec is an AI-driven development pipeline that automates the entire software delivery process — from requirement analysis to deployment. Instead of replacing developers, it structures the AI's work through a rigorous, verifiable pipeline with constitutional safety guards.
|
|
14
16
|
|
|
15
17
|
**Not "AI writes code faster" — but "AI autonomously completes the full SDLC with human oversight at key decision points."**
|
|
16
18
|
|
|
17
|
-
## Key
|
|
19
|
+
## Key Features
|
|
20
|
+
|
|
21
|
+
| Feature | Description |
|
|
22
|
+
|---------|-------------|
|
|
23
|
+
| **AI Autonomous Development** | Full pipeline from requirements to deployment |
|
|
24
|
+
| **Double-Layer Validation** | Deterministic verification → AI review |
|
|
25
|
+
| **Do-Review Separation** | Different AI instances, information isolation |
|
|
26
|
+
| **Constitutional Safety** | 15 red lines, irreversible actions require human confirmation |
|
|
27
|
+
| **Self-Evolution** | Practical experience feeds back, continuous improvement |
|
|
28
|
+
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
## Vision & Mission
|
|
32
|
+
|
|
33
|
+
### Vision
|
|
34
|
+
|
|
35
|
+
**Make AI a reliable development partner, unleashing human creativity.**
|
|
36
|
+
|
|
37
|
+
We believe AI should not replace humans, but become humanity's most reliable collaboration partner. By taking on repetitive, deterministic R&D work, AI frees humans from tedious coding tasks, allowing us to focus on high-value work that truly requires creativity and strategic thinking.
|
|
38
|
+
|
|
39
|
+
### Mission
|
|
18
40
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
- **
|
|
41
|
+
**Build an autonomous automated product development framework, where AI drives the complete SDLC and humans focus on high-value decisions.**
|
|
42
|
+
|
|
43
|
+
AutoSpec's mission is to achieve "Human On the Loop" rather than "Human In the Loop" collaboration model:
|
|
44
|
+
- **AI Responsible For**: Requirement analysis, design planning, implementation, code review, testing verification, delivery deployment
|
|
45
|
+
- **Human Responsible For**: Direction decisions, safety confirmation, value judgments, exception handling
|
|
46
|
+
|
|
47
|
+
### Core Values
|
|
48
|
+
|
|
49
|
+
| Value | Description |
|
|
50
|
+
|-------|-------------|
|
|
51
|
+
| **Verification First** | Deterministic verification > AI review > AI self-review |
|
|
52
|
+
| **Minimal Viable Process** | One file if possible; 5-minute onboarding |
|
|
53
|
+
| **Progressive Autonomy** | From "human reviews every step" to "human only manages harness" |
|
|
54
|
+
| **Safety First** | 15 constitutional red lines, irreversible actions require human confirmation |
|
|
55
|
+
| **Continuous Evolution** | Three-layer self-evolution system, practical experience automatically feeds back |
|
|
56
|
+
|
|
57
|
+
---
|
|
23
58
|
|
|
24
59
|
## Quick Start
|
|
25
60
|
|
|
61
|
+
### 1. Installation
|
|
62
|
+
|
|
26
63
|
```bash
|
|
27
64
|
# Install globally
|
|
28
65
|
npm install -g @chongyan/autospec
|
|
29
66
|
|
|
30
|
-
#
|
|
67
|
+
# Verify installation
|
|
68
|
+
autospec --help
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
**Requirements**: Node.js >= 18.0.0
|
|
72
|
+
|
|
73
|
+
### 2. Initialize Project
|
|
74
|
+
|
|
75
|
+
```bash
|
|
31
76
|
cd your-project
|
|
32
77
|
autospec init
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
**Init Options:**
|
|
81
|
+
|
|
82
|
+
| Option | Shorthand | Description | Values |
|
|
83
|
+
|--------|-----------|-------------|--------|
|
|
84
|
+
| `--workflow` | `-w` | Iteration mode | `waterfall` (default), `agile`, `experiment`, `hotfix` |
|
|
85
|
+
| `--roles` | `-r` | Roles | `backend`, `frontend`, `data`, `ai`, `quality` |
|
|
86
|
+
| `--domain` | `-d` | Domain (free text) | `fintech payment`, `ecommerce`... |
|
|
87
|
+
|
|
88
|
+
```bash
|
|
89
|
+
# Default: waterfall + generic domain
|
|
90
|
+
autospec init
|
|
91
|
+
|
|
92
|
+
# Hotfix workflow + backend role
|
|
93
|
+
autospec init -w hotfix -r backend
|
|
94
|
+
|
|
95
|
+
# Agile workflow + backend/AI roles
|
|
96
|
+
autospec init -w agile -r backend,ai
|
|
97
|
+
|
|
98
|
+
# Fintech domain + backend/data roles
|
|
99
|
+
autospec init -d "fintech payment" -r backend,data
|
|
100
|
+
```
|
|
33
101
|
|
|
34
|
-
|
|
102
|
+
### 3. Start Full Pipeline
|
|
103
|
+
|
|
104
|
+
In Claude Code:
|
|
105
|
+
|
|
106
|
+
```bash
|
|
35
107
|
/autospec:run
|
|
36
108
|
/autospec:run Build a user favorites feature with category filtering
|
|
37
109
|
```
|
|
38
110
|
|
|
39
|
-
|
|
111
|
+
> **Note**: `/autospec:run` already includes the complete requirement exploration phase (CEO alignment + requirement analysis), no need to run `/autospec:explore` separately.
|
|
40
112
|
|
|
41
|
-
|
|
113
|
+
### Execution Modes
|
|
42
114
|
|
|
43
|
-
|
|
115
|
+
| Mode | Description | Use Case |
|
|
116
|
+
|------|-------------|----------|
|
|
117
|
+
| **Autonomous Mode** | Full pipeline auto-execution, AI makes decisions | Automated development, unattended |
|
|
118
|
+
| **Interactive Mode** | Stage-by-stage execution, human confirmation required | Learning phase, complex projects, safety-critical |
|
|
119
|
+
|
|
120
|
+
**Recommendation**: Start with interactive mode for first use, switch to autonomous mode after familiarizing with the workflow.
|
|
121
|
+
|
|
122
|
+
---
|
|
123
|
+
|
|
124
|
+
## Core Principles
|
|
125
|
+
|
|
126
|
+
### The Triangular Prism: First Principles
|
|
44
127
|
|
|
45
128
|
```
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
[Layer 2] [Layer 2] [Layer 2] [Layer 2] [Layer 2] [Layer 2]
|
|
129
|
+
Verification-First
|
|
130
|
+
/ \
|
|
131
|
+
/ \
|
|
132
|
+
Minimal-Viable ——— Progressive-Autonomy
|
|
51
133
|
```
|
|
52
134
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
135
|
+
#### Verification-First
|
|
136
|
+
|
|
137
|
+
> "Accelerate the verification loop, not wait for models to improve." — Karpathy
|
|
138
|
+
|
|
139
|
+
AI outputs are **inherimately non-deterministic**. You cannot trust its "I'm done" — only trust **verifiable evidence**.
|
|
140
|
+
|
|
141
|
+
AutoSpec establishes a double-layer validation system:
|
|
142
|
+
- **Layer 1 (Deterministic)**: Build, test, lint, type-check — machine judgment, non-negotiable
|
|
143
|
+
- **Layer 2 (AI Review)**: Independent AI instance evaluation with structured evidence
|
|
56
144
|
|
|
57
145
|
Layer 1 fails → Layer 2 never runs.
|
|
58
146
|
|
|
59
|
-
|
|
147
|
+
#### Minimal-Viable Process
|
|
148
|
+
|
|
149
|
+
> "Users should understand the structure and start using within 5 minutes." — Design Iron Rule
|
|
150
|
+
|
|
151
|
+
Minimal doesn't mean cutting corners — it means **not doing unnecessary things**:
|
|
152
|
+
- One file if possible, not two
|
|
153
|
+
- Markdown if possible, not code
|
|
154
|
+
- One workflow doesn't fit all — choose dynamically based on complexity
|
|
155
|
+
- Build high-frequency capabilities in advance, build low-frequency when needed
|
|
156
|
+
|
|
157
|
+
#### Progressive Autonomy
|
|
60
158
|
|
|
61
|
-
|
|
159
|
+
> "Human On the Loop — don't inspect outputs, engineer the harness." — Kief Morris
|
|
62
160
|
|
|
63
|
-
|
|
64
|
-
-
|
|
65
|
-
-
|
|
66
|
-
- Learns existing test styles, reuses test infrastructure
|
|
67
|
-
- Generates test report
|
|
161
|
+
Trust is earned, not given by default:
|
|
162
|
+
- **Interactive Mode**: Confirm after each stage before proceeding
|
|
163
|
+
- **Autonomous Mode**: Confirm at requirements, design, delivery; autonomous in between
|
|
68
164
|
|
|
69
|
-
**
|
|
70
|
-
- Cross-system integration tests
|
|
71
|
-
- E2E tests
|
|
72
|
-
- Acceptance tests
|
|
73
|
-
- Learns existing test styles + loads environment knowledge best practices
|
|
165
|
+
When unsatisfied with outputs, **change the harness, not the outputs**.
|
|
74
166
|
|
|
75
|
-
|
|
76
|
-
1. Detects test frameworks (Jest, pytest, JUnit, etc.)
|
|
77
|
-
2. Analyzes assertion styles and organization
|
|
78
|
-
3. Extracts test infrastructure (setup/teardown, fixtures, mocks)
|
|
79
|
-
4. Loads integration test best practices from environment knowledge
|
|
167
|
+
### Core Design Principles
|
|
80
168
|
|
|
81
|
-
|
|
82
|
-
- Test knowledge stored in `knowledge/environment/overview.md`
|
|
83
|
-
- Free Markdown format (not structured YAML) for flexibility
|
|
84
|
-
- Self-evolution via skill-distiller: learns from test execution patterns
|
|
85
|
-
- Import organization knowledge via `autospec env:import`
|
|
169
|
+
See [`knowledge/01-principles/01-first-principles.md`](knowledge/01-principles/01-first-principles.md) for complete list.
|
|
86
170
|
|
|
87
|
-
|
|
171
|
+
| Principle | One-Liner |
|
|
172
|
+
|-----------|-----------|
|
|
173
|
+
| **DP1** Double-Layer Validation | Deterministic + AI review, Layer 1 must pass before Layer 2 |
|
|
174
|
+
| **DP2** Do-Review Separation | Producer and reviewer are different AI instances with information isolation |
|
|
175
|
+
| **DP6** Precision Retry | Retry only failed items, not full redo |
|
|
176
|
+
| **DP8** CSO Principle | Skill description only writes trigger conditions, forcing full load |
|
|
177
|
+
| **DP10** Safety & Emergency Stop | Four-layer safety + stop-the-line + irreversible guard |
|
|
178
|
+
| **DP16** Template-as-Constraint | Structured templates constrain output, prevention over detection |
|
|
179
|
+
| **DP17** Structured Clarification | 11-dimension scan + max 5 questions + AI recommended answers |
|
|
180
|
+
| **DP18** Cross-Artifact Consistency | 6-dimension check: duplicate/ambiguity/spec-gap/constitution-align/coverage/term-drift |
|
|
181
|
+
|
|
182
|
+
---
|
|
183
|
+
|
|
184
|
+
## How It Works
|
|
185
|
+
|
|
186
|
+
### Development Pipeline
|
|
187
|
+
|
|
188
|
+
```
|
|
189
|
+
[Stage 0] → Requirement → Design → Implementation → Review → Testing → Delivery
|
|
190
|
+
Env Check Analysis Planning (+ quick test) (isolated) QA Deploy
|
|
191
|
+
↓ ↓ ↓ ↓ ↓ ↓
|
|
192
|
+
[Layer 1] [Layer 1] [Layer 1] [Layer 1] [Layer 1] [Layer 1]
|
|
193
|
+
[Layer 2] [Layer 2] [Layer 2] [Layer 2] [Layer 2] [Layer 2]
|
|
194
|
+
```
|
|
195
|
+
|
|
196
|
+
**Double-Layer Validation**:
|
|
197
|
+
- **Layer 1 (Deterministic)**: Build/test/lint/type-check — machine judgment, non-negotiable
|
|
198
|
+
- **Layer 2 (AI Review)**: Independent AI instance with structured evidence review
|
|
199
|
+
|
|
200
|
+
Layer 1 fails → Layer 2 never runs.
|
|
201
|
+
|
|
202
|
+
### CEO Exploration Mechanism
|
|
88
203
|
|
|
89
204
|
Before requirement analysis, AutoSpec uses dual-agent debate to clarify requirements:
|
|
90
205
|
|
|
@@ -101,372 +216,383 @@ Before requirement analysis, AutoSpec uses dual-agent debate to clarify requirem
|
|
|
101
216
|
|------|--------|-------------|----------|
|
|
102
217
|
| **Waterfall** | 01→02→03→04→05→06 | Full 6-stage pipeline | New features, major changes |
|
|
103
218
|
| **Agile** | 01 + [02→03→04]×N + 05→06 | Story-driven cycles | Iterative development |
|
|
104
|
-
| **Experiment** | 01→02→03 + Evaluation | Prototype + AI
|
|
219
|
+
| **Experiment** | 01→02→03 + Evaluation | Prototype + AI evaluation | Technical exploration |
|
|
105
220
|
| **Hotfix** | 01→03→04→06 | Fast track with basic tests | Emergency fixes |
|
|
106
221
|
|
|
107
|
-
|
|
222
|
+
---
|
|
223
|
+
|
|
224
|
+
## Command System
|
|
108
225
|
|
|
109
|
-
|
|
226
|
+
### Slash Commands (AI-Driven)
|
|
110
227
|
|
|
111
|
-
|
|
228
|
+
#### Autonomous Mode (Recommended)
|
|
112
229
|
|
|
113
230
|
| Command | Description |
|
|
114
231
|
|---------|-------------|
|
|
115
|
-
| `/autospec:run` | Full pipeline autonomous execution
|
|
116
|
-
|
|
117
|
-
Run with parameters:
|
|
118
|
-
```
|
|
119
|
-
/autospec:run Build user favorites --workflow=agile
|
|
120
|
-
```
|
|
232
|
+
| `/autospec:run` | Full pipeline autonomous execution + workflow selection |
|
|
121
233
|
|
|
122
234
|
**Parameters:**
|
|
123
|
-
| Parameter | Shorthand | Description |
|
|
124
|
-
|
|
125
|
-
| `--workflow` | `-w` | Iteration mode
|
|
126
|
-
| `--roles` | `-r` | Roles
|
|
127
|
-
| `--domain` | `-d` |
|
|
128
|
-
| `--skip-workflow` | `-s` | Skip workflow selection, use default |
|
|
129
|
-
| `--help` | `-h` | Show help |
|
|
235
|
+
| Parameter | Shorthand | Description | Values |
|
|
236
|
+
|-----------|-----------|-------------|--------|
|
|
237
|
+
| `--workflow` | `-w` | Iteration mode | `waterfall`, `agile`, `experiment`, `hotfix` |
|
|
238
|
+
| `--roles` | `-r` | Roles | `backend`, `frontend`, `data`, `ai`, `quality` |
|
|
239
|
+
| `--domain` | `-d` | Domain (free text) | `fintech payment system`... |
|
|
130
240
|
|
|
131
|
-
|
|
241
|
+
#### Interactive Mode (Stage-by-Stage)
|
|
242
|
+
|
|
243
|
+
| Command | Chinese | Description |
|
|
244
|
+
|---------|---------|-------------|
|
|
245
|
+
| `/autospec:explore` | "我先想想" | Requirement exploration (CEO alignment + analysis) |
|
|
246
|
+
| `/autospec:propose` | "就这么干" | Design planning |
|
|
247
|
+
| `/autospec:apply` | "开工,按单子做" | Implementation (code + review + testing) |
|
|
248
|
+
| `/autospec:archive` | "做完了,收工" | Delivery + evolution archival |
|
|
249
|
+
|
|
250
|
+
#### Evolution Commands
|
|
251
|
+
|
|
252
|
+
| Command | Level | Description |
|
|
253
|
+
|---------|-------|-------------|
|
|
254
|
+
| `/self-evolve` | L1 Framework | AutoSpec framework's own iteration and upgrade |
|
|
255
|
+
| `/autospec:field-evolve` | L2 Domain | Learn and extract capabilities from实战 projects |
|
|
256
|
+
| `/autospec:project-evolve` | L3 Project | Project's own code, config, documentation optimization |
|
|
257
|
+
|
|
258
|
+
#### Utility Commands
|
|
132
259
|
|
|
133
260
|
| Command | Description |
|
|
134
261
|
|---------|-------------|
|
|
135
|
-
| `/autospec:
|
|
136
|
-
| `/autospec:
|
|
137
|
-
| `/autospec:
|
|
138
|
-
| `/autospec:archive` | Delivery + archival |
|
|
262
|
+
| `/autospec:status` | View pipeline progress |
|
|
263
|
+
| `/autospec:test` | Unified test command (validate + fix + evaluate) |
|
|
264
|
+
| `/autospec:memory` | Manage project memory system |
|
|
139
265
|
|
|
140
|
-
###
|
|
266
|
+
### CLI Commands
|
|
141
267
|
|
|
142
|
-
|
|
268
|
+
```bash
|
|
269
|
+
# Initialize
|
|
270
|
+
autospec init # Default: waterfall + generic domain
|
|
271
|
+
autospec init -w hotfix -r backend # Hotfix workflow + backend role
|
|
272
|
+
autospec init -w agile -r backend,ai # Agile workflow + backend/AI roles
|
|
273
|
+
autospec init -d "fintech payment" -r backend,data # Fintech domain + backend/data roles
|
|
274
|
+
|
|
275
|
+
# Status and update
|
|
276
|
+
autospec list # List all slash commands
|
|
277
|
+
autospec update # Update framework (preserve state)
|
|
278
|
+
```
|
|
143
279
|
|
|
144
|
-
|
|
145
|
-
2. Feed exploration results → `/autospec:run <exploration context>`
|
|
280
|
+
### Environment Integration Commands
|
|
146
281
|
|
|
147
|
-
|
|
282
|
+
`autospec init` automatically detects middleware and components in your project. Environment knowledge management commands:
|
|
148
283
|
|
|
149
|
-
|
|
284
|
+
```bash
|
|
285
|
+
/autospec:env # View environment configuration
|
|
286
|
+
/autospec:env-sync # Sync from code + auto-activate
|
|
287
|
+
/autospec:env-validate # Validate configuration completeness
|
|
288
|
+
/autospec:env-export <dir> # Export project knowledge base
|
|
289
|
+
/autospec:component # List available components
|
|
290
|
+
```
|
|
150
291
|
|
|
151
|
-
|
|
292
|
+
**Auto-detection**: `autospec init` automatically scans code for MySQL, Redis, Kafka, MongoDB, Elasticsearch, RabbitMQ, PostgreSQL usage, generates knowledge configs and activates them. See [Environment Integration Protocol](knowledge/06-environment/README.md) for details.
|
|
152
293
|
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
│ ✓ Stage 03: Implementation [Layer 1 ✓] [Layer 2 ✓] │
|
|
161
|
-
│ ✓ Stage 04: Code Review [Layer 1 ✓] [Layer 2 ✓] │
|
|
162
|
-
│ ✓ Stage 05: QA Testing [Layer 1 ✓] [Layer 2 ✓] │
|
|
163
|
-
│ ✓ Stage 06: Delivery [Layer 1 ✓] [Layer 2 ✓] │
|
|
164
|
-
├─────────────────────────────────────────────────────────────┤
|
|
165
|
-
│ Pipeline completed successfully! │
|
|
166
|
-
│ Output: .autospec/specs/{feature}/ │
|
|
167
|
-
└─────────────────────────────────────────────────────────────┘
|
|
168
|
-
```
|
|
294
|
+
---
|
|
295
|
+
|
|
296
|
+
## Self-Evolution
|
|
297
|
+
|
|
298
|
+
AutoSpec improves itself through a **three-layer self-evolution system**, forming a complete closed loop from project practice to framework upgrade.
|
|
299
|
+
|
|
300
|
+
### Three-Layer Evolution System
|
|
169
301
|
|
|
170
|
-
#### `/autospec:status` Output
|
|
171
302
|
```
|
|
172
|
-
|
|
173
|
-
│
|
|
174
|
-
|
|
175
|
-
│
|
|
176
|
-
│
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
303
|
+
┌─────────────────────────────────────────────────────────────────┐
|
|
304
|
+
│ L1: Self-Evolve (Framework Level) │
|
|
305
|
+
│ /self-evolve │
|
|
306
|
+
│ Goal: AutoSpec framework's own iteration and upgrade │
|
|
307
|
+
│ Output: Framework skills, methodologies, design principles │
|
|
308
|
+
└─────────────────────────────────────────────────────────────────┘
|
|
309
|
+
↓ Extract
|
|
310
|
+
┌─────────────────────────────────────────────────────────────────┐
|
|
311
|
+
│ L2: Field-Evolve (Domain Level) │
|
|
312
|
+
│ /autospec:field-evolve │
|
|
313
|
+
│ Goal: Framework learns and extracts capabilities from projects │
|
|
314
|
+
│ Output: Domain skills, best practices, benchmarks │
|
|
315
|
+
└─────────────────────────────────────────────────────────────────┘
|
|
316
|
+
↓ Apply
|
|
317
|
+
┌─────────────────────────────────────────────────────────────────┐
|
|
318
|
+
│ L3: Project-Evolve (Project Level) │
|
|
319
|
+
│ /autospec:project-evolve │
|
|
320
|
+
│ Goal:实战 project's own code, config, documentation optimization│
|
|
321
|
+
│ Output: Code quality improvement, test completion, docs │
|
|
322
|
+
└─────────────────────────────────────────────────────────────────┘
|
|
180
323
|
```
|
|
181
324
|
|
|
182
|
-
|
|
325
|
+
### Evolution Zones
|
|
326
|
+
|
|
327
|
+
| Zone | Level | Contents | Rules |
|
|
328
|
+
|------|-------|----------|-------|
|
|
329
|
+
| **Frozen** | L1 Core | Constitution, evolution rules, core principles | Human-only changes, never auto-modified |
|
|
330
|
+
| **Controlled** | L1/L2 Boundary | Stage definitions, universal skills, role profiles | Auto-proposed, human-approved |
|
|
331
|
+
| **Free** | L2 Domain | Business skills, benchmarks, decision trees | Auto-evolved, validator-verified |
|
|
332
|
+
| **Environment Knowledge** | L3 Project | Environment configs, component libraries, best practices | Project-level auto-optimization |
|
|
333
|
+
|
|
334
|
+
**Core Safety Principle**: The evolution system cannot modify its own evaluation criteria (immutable harness).
|
|
335
|
+
|
|
336
|
+
### Enterprise Adaptation
|
|
337
|
+
|
|
183
338
|
```
|
|
184
|
-
|
|
185
|
-
│
|
|
186
|
-
|
|
187
|
-
│
|
|
188
|
-
|
|
189
|
-
│
|
|
190
|
-
│
|
|
191
|
-
|
|
339
|
+
┌─────────────────────────────────┐
|
|
340
|
+
│ Enterprise Overlay │ ← Org-specific (not upstreamed)
|
|
341
|
+
│ org-constitution.md │
|
|
342
|
+
│ org-skills/ + domain-knowledge │
|
|
343
|
+
├─────────────────────────────────┤
|
|
344
|
+
│ AutoSpec Core Framework │ ← npm install (upgradeable)
|
|
345
|
+
│ constitution.md │
|
|
346
|
+
│ process/ guides/ agents/ ... │
|
|
347
|
+
└─────────────────────────────────┘
|
|
192
348
|
```
|
|
193
349
|
|
|
194
|
-
|
|
350
|
+
Configure domain overlay via `autospec init --domain <domain>`. The overlay adds domain-specific rules and skills **without forking** the core framework.
|
|
195
351
|
|
|
196
|
-
|
|
197
|
-
|---------|-------------|
|
|
198
|
-
| `/autospec:status` | Pipeline progress and state |
|
|
199
|
-
| `/autospec:validate` | Run Layer 1 validation (build/test/lint) |
|
|
200
|
-
| `/evolve` | Trigger self-evolution cycle |
|
|
352
|
+
---
|
|
201
353
|
|
|
202
|
-
##
|
|
354
|
+
## Safety & Quality
|
|
203
355
|
|
|
204
|
-
|
|
205
|
-
autospec init [options] # Initialize framework + slash commands
|
|
206
|
-
autospec status # Check pipeline state
|
|
207
|
-
autospec update # Update framework (preserve state)
|
|
208
|
-
```
|
|
356
|
+
### Five-Layer Safety Protection
|
|
209
357
|
|
|
210
|
-
**
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
358
|
+
1. **Constitutional Gate** — 15 inviolable red lines
|
|
359
|
+
2. **Permission Control** — Each agent only uses its authorized tools
|
|
360
|
+
3. **Stop-the-Line** — Security vulnerability / data loss / 3 failed retries → immediate halt
|
|
361
|
+
- **Precision Retry**: Level 1 (inline retry) → Level 2 (fix loop, max 3 times) → Level 3 (escalate to human)
|
|
362
|
+
4. **Irreversible Guard** — DB migrations, deployments, external APIs → require human confirmation
|
|
363
|
+
5. **Immutable Harness** — Evolution system cannot modify its own evaluation criteria and constitution
|
|
214
364
|
|
|
215
|
-
|
|
216
|
-
autospec init -w hotfix -r backend # Hotfix mode, backend role
|
|
217
|
-
autospec init -w agile -r backend,frontend # Agile mode, multi-role
|
|
365
|
+
### Quality Monitoring
|
|
218
366
|
|
|
219
|
-
|
|
220
|
-
autospec init -d fintech -r backend,data # Fintech domain, backend + data roles
|
|
367
|
+
AutoSpec automatically collects pipeline quality metrics via deterministic hooks:
|
|
221
368
|
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
369
|
+
| Metric | Collection | Purpose |
|
|
370
|
+
|--------|------------|---------|
|
|
371
|
+
| Layer 1 pass rate | `layer1-validator` | Code quality baseline |
|
|
372
|
+
| Retry count | `layer1-validator` | Process smoothness |
|
|
373
|
+
| Human intervention count | `layer1-validator` | Autonomy capability |
|
|
374
|
+
| Scope deviation events | `scope-sentinel` | Implementation discipline |
|
|
375
|
+
| Error patterns | `layer1-validator` | Evolution priority |
|
|
225
376
|
|
|
226
|
-
|
|
227
|
-
| Option | Shorthand | Description | Values |
|
|
228
|
-
|--------|-----------|-------------|--------|
|
|
229
|
-
| `--workflow` | `-w` | Iteration mode | `waterfall`, `agile`, `experiment`, `hotfix` |
|
|
230
|
-
| `--domain` | `-d` | Business domain (free text) | e.g., "fintech", "ecommerce", "healthcare" |
|
|
231
|
-
| `--roles` | `-r` | Project roles | Comma-separated: `backend`, `frontend`, `data`, `ai`, `quality` |
|
|
377
|
+
Metrics stored in `.autospec/runtime/metrics.json`, automatically merged into practice-log at delivery.
|
|
232
378
|
|
|
233
|
-
|
|
379
|
+
---
|
|
234
380
|
|
|
235
|
-
|
|
381
|
+
## Knowledge Structure
|
|
236
382
|
|
|
237
|
-
|
|
238
|
-
autospec env # Show environment configuration
|
|
239
|
-
autospec env:sync # Sync from code + auto-activate
|
|
240
|
-
autospec env:validate # Validate configuration
|
|
241
|
-
autospec env:import --git <url> # Import org knowledge from Git
|
|
242
|
-
autospec env:import --npm <pkg> # Import org knowledge from npm
|
|
243
|
-
autospec env:export <dir> # Export project knowledge
|
|
244
|
-
autospec component # List available components
|
|
245
|
-
autospec component:add <name> # Add component knowledge
|
|
246
|
-
```
|
|
383
|
+
AutoSpec's knowledge layer is divided into 9 modules by priority, each independently maintained with detailed README navigation files in the `knowledge/` directory.
|
|
247
384
|
|
|
248
|
-
|
|
385
|
+
### Overview
|
|
249
386
|
|
|
250
|
-
|
|
387
|
+
| No. | Module | Evolution Zone | Description |
|
|
388
|
+
|-----|--------|----------------|-------------|
|
|
389
|
+
| **01** | [principles/](knowledge/01-principles/README.md) | 🔴 Frozen | Principles — Constitution, evolution rules, core principles, design philosophy (4-layer system L1-L4) |
|
|
390
|
+
| **02** | [process/](knowledge/02-process/README.md) | 🟡 Controlled | Process — 6-stage execution flow + 4 workflows (waterfall/agile/experiment/hotfix) |
|
|
391
|
+
| **03** | [guides/](knowledge/03-guides/README.md) | 🟡/🟢 Mixed | Capability guides — 51 skill files (stage execution + review + testing + evolution + AI specialization) |
|
|
392
|
+
| **04** | [checklists/](knowledge/04-checklists/README.md) | 🟡 Controlled | Checklists — Stage-specific checklists (requirement/design/code/test/release) |
|
|
393
|
+
| **05** | [config/](knowledge/05-config/README.md) | 🟡 Controlled | Configuration — Validation patterns, team triggers, role configs (with dynamic decision tree) |
|
|
394
|
+
| **06** | [environment/](knowledge/06-environment/README.md) | 🔵 Environment | Environment knowledge — Middleware, components, integration protocols (auto-detection + knowledge feedback) |
|
|
395
|
+
| **07** | [standards/](knowledge/07-standards/README.md) | 🟡 Controlled | Standards — Coding/review/data consistency/document versioning/risk detection |
|
|
396
|
+
| **08** | [organization/](knowledge/08-organization/README.md) | 🟢 Free | Organization — Vision/Mission, AI Native culture, team metrics, governance committee |
|
|
397
|
+
| **09** | [templates/](knowledge/09-templates/README.md) | 🟡 Controlled | Templates — Standardized document templates (architecture/API/database/product/test/evaluation) |
|
|
251
398
|
|
|
252
|
-
|
|
399
|
+
### 01-principles/ — Principles Layer (Constitutional Level)
|
|
253
400
|
|
|
254
|
-
|
|
401
|
+
> See: [knowledge/01-principles/README.md](knowledge/01-principles/README.md)
|
|
255
402
|
|
|
256
|
-
AutoSpec's
|
|
403
|
+
The principles layer is AutoSpec's highest guiding principles, containing 4 levels (L1→L2→L3→L4):
|
|
257
404
|
|
|
258
|
-
|
|
405
|
+
| File | Description |
|
|
406
|
+
|------|-------------|
|
|
407
|
+
| [00-principles-hierarchy.md](knowledge/01-principles/00-principles-hierarchy.md) | Principles hierarchy (L1 First Principles→L2 Strategic→L3 Tactical→L4 Operational complete traceability) |
|
|
408
|
+
| [01-first-principles.md](knowledge/01-principles/01-first-principles.md) | L1 First Principles (Triangular Prism: Verification-First, Minimal-Viable, Progressive-Autonomy) |
|
|
409
|
+
| [02-strategic-principles.md](knowledge/01-principles/02-strategic-principles.md) | L2 Strategic Principles (S1 Double-Layer Validation, S2 Do-Review Separation, S3 Harness Engineering, S4 Informed Guessing) |
|
|
410
|
+
| [03-tactical-principles.md](knowledge/01-principles/03-tactical-principles.md) | L3 Tactical Principles (T1-T6: Task Decomposition, Context Management, Precision Retry, etc.) |
|
|
411
|
+
| [04-operational-principles.md](knowledge/01-principles/04-operational-principles.md) | L4 Operational Principles (O1-O4: Coding standard level) |
|
|
412
|
+
| [09-constitution.md](knowledge/01-principles/09-constitution.md) | Project Constitution (15 Red Lines: Safety/Process/Decision/Data/Operations) |
|
|
413
|
+
| [10-evolution-mechanism.md](knowledge/01-principles/10-evolution-mechanism.md) | Self-Evolution Mechanism (Three-Layer Evolution System + Evolution Zones + Auto-Fix) |
|
|
259
414
|
|
|
260
|
-
|
|
415
|
+
### 02-process/ — Process Layer
|
|
261
416
|
|
|
262
|
-
|
|
263
|
-
Project A development → practice-log → distiller extracts new skill → framework improves
|
|
264
|
-
Project B development → practice-log → extractor extracts methodology → framework improves
|
|
265
|
-
Project C development → domain skill accumulation → skills/domain/ expands
|
|
266
|
-
↓
|
|
267
|
-
Every project's experience makes the next project smoother
|
|
268
|
-
```
|
|
417
|
+
> See: [knowledge/02-process/README.md](knowledge/02-process/README.md)
|
|
269
418
|
|
|
270
|
-
|
|
271
|
-
- Domain-specific skills stay in enterprise overlay (not upstreamed)
|
|
272
|
-
- General improvements (pipeline optimization, skill improvements) contribute back to core framework
|
|
419
|
+
The process layer defines AutoSpec's 6-stage execution flow and 4 workflows:
|
|
273
420
|
|
|
274
|
-
|
|
421
|
+
| File | Description |
|
|
422
|
+
|------|-------------|
|
|
423
|
+
| [00-overview.md](knowledge/02-process/00-overview.md) | Process overview, startup gate, execution modes |
|
|
424
|
+
| [01-requirement.md](knowledge/02-process/01-requirement.md) | Requirement Analysis Stage |
|
|
425
|
+
| [02-design.md](knowledge/02-process/02-design.md) | Design Planning Stage |
|
|
426
|
+
| [03-implementation.md](knowledge/02-process/03-implementation.md) | Implementation Stage |
|
|
427
|
+
| [04-review.md](knowledge/02-process/04-review.md) | Code Review Stage |
|
|
428
|
+
| [05-testing.md](knowledge/02-process/05-testing.md) | QA Testing Stage |
|
|
429
|
+
| [06-delivery.md](knowledge/02-process/06-delivery.md) | Delivery Stage |
|
|
275
430
|
|
|
276
|
-
|
|
431
|
+
### 03-guides/ — Capability Guides
|
|
277
432
|
|
|
278
|
-
|
|
279
|
-
AutoSpec improvement需求 → Run AutoSpec pipeline → practice-log → framework evolves
|
|
280
|
-
↓
|
|
281
|
-
Same iteration is both output and evolution signal
|
|
282
|
-
```
|
|
433
|
+
> See: [knowledge/03-guides/README.md](knowledge/03-guides/README.md)
|
|
283
434
|
|
|
284
|
-
|
|
285
|
-
- Framework file changes must be validated through the framework's own review process
|
|
286
|
-
- The framework gets better with use, forming a flywheel effect
|
|
435
|
+
Capability guides contain 51 skill files, covering core protocols, stage execution, review skills, testing execution, evolution support, AI specializations:
|
|
287
436
|
|
|
288
|
-
|
|
437
|
+
| Category | No. Range | Files |
|
|
438
|
+
|----------|-----------|-------|
|
|
439
|
+
| Core Protocols | 00-01 | 2 |
|
|
440
|
+
| Stage Execution | 02-08 | 7 |
|
|
441
|
+
| Review Skills | 09-14 | 6 |
|
|
442
|
+
| Testing Execution | 15-17 | 3 |
|
|
443
|
+
| Evolution Support | 18-22 | 5 |
|
|
444
|
+
| Context/Environment | 23-29 | 7 |
|
|
445
|
+
| AI Specializations | 30-41 | 12 |
|
|
446
|
+
| Domain Methodologies | 50-57 | 8 |
|
|
289
447
|
|
|
290
|
-
|
|
291
|
-
|------|----------|------|
|
|
292
|
-
| **Frozen** | Constitution, evolution rules, core principles | Human-only changes. Never auto-modified. |
|
|
293
|
-
| **Controlled** | Pipeline stages, universal skills, role profiles | Auto-proposed, human-approved. |
|
|
294
|
-
| **Free** | Domain skills, decision trees, benchmarks | Auto-evolved, validator-verified. |
|
|
448
|
+
### 04-checklists/ — Checklists
|
|
295
449
|
|
|
296
|
-
|
|
450
|
+
> See: [knowledge/04-checklists/README.md](knowledge/04-checklists/README.md)
|
|
297
451
|
|
|
298
|
-
|
|
452
|
+
Checklists for each stage, ensuring quality shift-left:
|
|
299
453
|
|
|
300
|
-
|
|
454
|
+
| File | Description |
|
|
455
|
+
|------|-------------|
|
|
456
|
+
| [00-requirement.md](knowledge/04-checklists/00-requirement.md) | Requirement Checklist |
|
|
457
|
+
| [01-design.md](knowledge/04-checklists/01-design.md) | Design Checklist |
|
|
458
|
+
| [02-code.md](knowledge/04-checklists/02-code.md) | Code Checklist |
|
|
459
|
+
| [03-test.md](knowledge/04-checklists/03-test.md) | Testing Checklist |
|
|
460
|
+
| [04-release.md](knowledge/04-checklists/04-release.md) | Release Checklist |
|
|
301
461
|
|
|
302
|
-
|
|
303
|
-
Execute Pipeline → Collect Signals → Analyze Patterns → Propose Changes → Validate → Accept/Reject
|
|
304
|
-
↓
|
|
305
|
-
Regression? → Auto-rollback
|
|
306
|
-
```
|
|
462
|
+
### 05-config/ — Configuration Files
|
|
307
463
|
|
|
308
|
-
|
|
464
|
+
> See: [knowledge/05-config/README.md](knowledge/05-config/README.md)
|
|
309
465
|
|
|
310
|
-
|
|
466
|
+
Validation patterns, team triggers, role configurations:
|
|
311
467
|
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
├─────────────────────────────────┤
|
|
319
|
-
│ AutoSpec Core Framework │ ← npm install (upgradeable)
|
|
320
|
-
│ constitution.md │
|
|
321
|
-
│ pipeline/ skills/ roles/ ... │
|
|
322
|
-
└─────────────────────────────────┘
|
|
323
|
-
```
|
|
468
|
+
| File | Description |
|
|
469
|
+
|------|-------------|
|
|
470
|
+
| [00-validation-patterns.yaml](knowledge/05-config/00-validation-patterns.yaml) | Validation Patterns Configuration |
|
|
471
|
+
| [01-team-stage.yaml](knowledge/05-config/01-team-stage.yaml) | Team Stage Configuration (with triggers) |
|
|
472
|
+
| [02-team-tasks.yaml](knowledge/05-config/02-team-tasks.yaml) | Team Tasks Configuration |
|
|
473
|
+
| [03-role-composition.yaml](knowledge/05-config/03-role-composition.yaml) | Role Composition Configuration (with decision tree) |
|
|
324
474
|
|
|
325
|
-
|
|
475
|
+
### 06-environment/ — Environment Knowledge
|
|
326
476
|
|
|
327
|
-
|
|
477
|
+
> See: [knowledge/06-environment/README.md](knowledge/06-environment/README.md)
|
|
328
478
|
|
|
329
|
-
|
|
330
|
-
your-project/
|
|
331
|
-
├── .autospec/
|
|
332
|
-
│ ├── knowledge/ # Core knowledge (copied from npm)
|
|
333
|
-
│ ├── runtime/ # Current pipeline state
|
|
334
|
-
│ │ ├── config.json # Project configuration
|
|
335
|
-
│ │ ├── state.json # Pipeline state tracking
|
|
336
|
-
│ │ └── metrics.json # Quality metrics (auto-collected)
|
|
337
|
-
│ ├── environment/ # Environment integration layer
|
|
338
|
-
│ │ ├── env-knowledge/ # Middleware knowledge (mysql.yaml, redis.yaml)
|
|
339
|
-
│ │ ├── component-lib/ # Organization components
|
|
340
|
-
│ │ ├── integration/ # CI/CD, testing, deployment configs
|
|
341
|
-
│ │ └── registry.json # Knowledge registry
|
|
342
|
-
│ ├── specs/ # Pipeline artifacts (persistent)
|
|
343
|
-
│ │ └── {feature}/ # Per-feature outputs
|
|
344
|
-
│ │ ├── requirement.md
|
|
345
|
-
│ │ ├── design.md
|
|
346
|
-
│ │ ├── contracts/
|
|
347
|
-
│ │ ├── reviews/
|
|
348
|
-
│ │ └── tests/
|
|
349
|
-
│ ├── archives/ # Archived pipeline runs
|
|
350
|
-
│ └── evolution/ # Self-evolution data
|
|
351
|
-
│ ├── proposals/ # Evolution proposals (human-approved)
|
|
352
|
-
│ ├── practice-log/ # Practice logs
|
|
353
|
-
│ └── evolution-log.json # Evolution audit trail
|
|
354
|
-
└── .claude/
|
|
355
|
-
├── commands/
|
|
356
|
-
│ └── autospec/ # 8 slash commands (auto-generated)
|
|
357
|
-
│ ├── run.md # Main entry with mode picker
|
|
358
|
-
│ ├── explore.md # Big-phase: exploration
|
|
359
|
-
│ ├── propose.md # Big-phase: design
|
|
360
|
-
│ ├── apply.md # Big-phase: implementation
|
|
361
|
-
│ ├── archive.md # Big-phase: delivery
|
|
362
|
-
│ ├── status.md # Utility: state view
|
|
363
|
-
│ ├── validate.md # Utility: Layer 1 validation
|
|
364
|
-
│ └── evolve.md # Utility: self-evolution
|
|
365
|
-
├── skills/ # Auto-triggered skills
|
|
366
|
-
├── agents/ # Isolated agents (reviewer/test-reviewer/...)
|
|
367
|
-
└── settings.json # Hooks configuration
|
|
368
|
-
```
|
|
479
|
+
Environment integration protocol, enabling AutoSpec to seamlessly integrate with different organizations' middleware, components, custom frameworks:
|
|
369
480
|
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
│ ├── constitution.md # 13 constitutional red lines
|
|
375
|
-
│ ├── evolution.md # Self-evolution mechanism
|
|
376
|
-
│ ├── pipeline/ # 6-stage process definitions
|
|
377
|
-
│ ├── methodology/ # Design principles + checklists + cognitive enhancement
|
|
378
|
-
│ ├── skills/ # Executable AI skills (do + review)
|
|
379
|
-
│ ├── roles/ # Role profiles (backend/frontend/data/ai/quality)
|
|
380
|
-
│ ├── environment/ # Environment integration protocol
|
|
381
|
-
│ ├── config/ # Configuration files (validation patterns, team triggers)
|
|
382
|
-
│ └── hooks/ # Hook scripts (deterministic guards)
|
|
383
|
-
├── src/ # CLI tool source
|
|
384
|
-
│ └── core/
|
|
385
|
-
│ ├── environment/ # Environment detection & knowledge management
|
|
386
|
-
│ ├── generators/ # Code generators (commands, skills, agents, hooks)
|
|
387
|
-
│ ├── templates/ # Template files (moved from root templates/)
|
|
388
|
-
│ └── test/ # Test infrastructure
|
|
389
|
-
├── bin/ # CLI entry point
|
|
390
|
-
└── docs/ # Package documentation
|
|
391
|
-
```
|
|
481
|
+
| File | Description |
|
|
482
|
+
|------|-------------|
|
|
483
|
+
| [00-template-registry.md](knowledge/06-environment/00-template-registry.md) | Template Registry |
|
|
484
|
+
| [01-detection-patterns.yaml](knowledge/06-environment/01-detection-patterns.yaml) | Detection Patterns Configuration |
|
|
392
485
|
|
|
393
|
-
|
|
486
|
+
Template Resources (integrated into 09-templates):
|
|
394
487
|
|
|
395
|
-
|
|
488
|
+
| File | Description |
|
|
489
|
+
|------|-------------|
|
|
490
|
+
| [13-middleware-knowledge.md](knowledge/09-templates/13-middleware-knowledge.md) | Middleware Knowledge Template |
|
|
491
|
+
| [10-component-knowledge.md](knowledge/09-templates/10-component-knowledge.md) | Component Knowledge Template |
|
|
396
492
|
|
|
397
|
-
|
|
398
|
-
2. **Permission Control** — Each agent only accesses its authorized tools
|
|
399
|
-
3. **Stop-the-Line** — Security vulnerability, data loss risk, or 3 failed retries → immediate halt
|
|
400
|
-
- **Precision Retry**: Level 1 (inline retry) → Level 2 (fix loop, max 3 times) → Level 3 (escalate to human)
|
|
401
|
-
4. **Irreversible Action Guard** — DB migrations, deployments, external API calls → require human confirmation
|
|
493
|
+
### 07-standards/ — Standards
|
|
402
494
|
|
|
403
|
-
|
|
495
|
+
> See: [knowledge/07-standards/README.md](knowledge/07-standards/README.md)
|
|
404
496
|
|
|
405
|
-
|
|
497
|
+
Coding, review, data consistency standards:
|
|
406
498
|
|
|
407
|
-
|
|
499
|
+
| File | Description |
|
|
500
|
+
|------|-------------|
|
|
501
|
+
| [00-coding-style.md](knowledge/07-standards/00-coding-style.md) | Coding Style Guide |
|
|
502
|
+
| [01-code-review.md](knowledge/07-standards/01-code-review.md) | Code Review Standard |
|
|
503
|
+
| [02-data-consistency.md](knowledge/07-standards/02-data-consistency.md) | Data Consistency Standard |
|
|
504
|
+
| [03-document-versioning.md](knowledge/07-standards/03-document-versioning.md) | Document Versioning Standard |
|
|
505
|
+
| [04-risk-detection.md](knowledge/07-standards/04-risk-detection.md) | Risk Detection Standard |
|
|
408
506
|
|
|
409
|
-
|
|
507
|
+
### 08-organization/ — Organization Knowledge
|
|
410
508
|
|
|
411
|
-
|
|
412
|
-
|--------|--------|---------|
|
|
413
|
-
| Layer 1 pass/fail rate | `layer1-validator` hook | Code quality baseline |
|
|
414
|
-
| Retry count per stage | `layer1-validator` hook | Process smoothness |
|
|
415
|
-
| Human intervention count | `layer1-validator` hook | Autonomy capability |
|
|
416
|
-
| Scope deviation events | `scope-sentinel` hook | Implementation discipline |
|
|
417
|
-
| Error patterns | `layer1-validator` hook | Evolution priority |
|
|
509
|
+
> See: [knowledge/08-organization/README.md](knowledge/08-organization/README.md)
|
|
418
510
|
|
|
419
|
-
|
|
511
|
+
AI Native team culture, vision, governance:
|
|
420
512
|
|
|
421
|
-
|
|
513
|
+
| File | Description |
|
|
514
|
+
|------|-------------|
|
|
515
|
+
| [00-vision-mission.md](knowledge/08-organization/00-vision-mission.md) | Vision, Mission, Core Values (Verification-First, Minimal-Viable, Progressive-Autonomy, Safety-First, Continuous-Evolution) |
|
|
516
|
+
| [01-ai-native-culture.md](knowledge/08-organization/01-ai-native-culture.md) | AI Native Team Culture Handbook (Four Principles, Work Modes, Role Transition) |
|
|
517
|
+
| [02-team-metrics.md](knowledge/08-organization/02-team-metrics.md) | Team Metrics System (AI Capability, Process Efficiency, Quality, Team Health) |
|
|
518
|
+
| [03-committee-structure.md](knowledge/08-organization/03-committee-structure.md) | Governance Committee Structure (Technical/Quality/Strategy Committees + Governance Agents) |
|
|
519
|
+
| [04-governance-metrics.md](knowledge/08-organization/04-governance-metrics.md) | Governance Metrics (DORA/Layer1/Layer2/Benchmarks Pass Rate) |
|
|
520
|
+
| [05-improvement-process.md](knowledge/08-organization/05-improvement-process.md) | Improvement Process (Improvement Sources/Process/Classification/Integration with Self-Evolution) |
|
|
422
521
|
|
|
423
|
-
|
|
522
|
+
### 09-templates/ — Document Templates
|
|
424
523
|
|
|
425
|
-
|
|
426
|
-
|-----------|------------------|
|
|
427
|
-
| **CP1** Partner mode — challenge assumptions, flag blind spots | Requirement, Review, Test |
|
|
428
|
-
| **CP3** Ask before act — structured uncertainty management | Requirement, Design |
|
|
429
|
-
| **CP4** Complete logic chain — no conclusion without derivation | Design, Review |
|
|
430
|
-
| **CP5** Confidence labeling — mark uncertain judgments | All stages |
|
|
431
|
-
| **CP6** Error as signal — every retry/correction drives evolution | Test, Evolve |
|
|
432
|
-
| **CP8** Deviation detection — graduated 3-level alerts | Implementation, Delivery |
|
|
433
|
-
| **CP9** Just enough — resist overengineering | Design, Implementation |
|
|
434
|
-
| **CP10** Self-check before output | Implementation, Test, Delivery |
|
|
524
|
+
> See: [knowledge/09-templates/README.md](knowledge/09-templates/README.md)
|
|
435
525
|
|
|
436
|
-
|
|
526
|
+
Standardized document template library (sorted by priority):
|
|
437
527
|
|
|
438
|
-
|
|
|
439
|
-
|
|
440
|
-
| [
|
|
441
|
-
| [
|
|
442
|
-
| [
|
|
443
|
-
| [
|
|
444
|
-
| [
|
|
528
|
+
| File | Description |
|
|
529
|
+
|------|-------------|
|
|
530
|
+
| [01-architecture-design.md](knowledge/09-templates/01-architecture-design.md) | Architecture Design Template |
|
|
531
|
+
| [02-api-design.md](knowledge/09-templates/02-api-design.md) | API Design Template |
|
|
532
|
+
| [03-database-design.md](knowledge/09-templates/03-database-design.md) | Database Design Template |
|
|
533
|
+
| [04-product-design.md](knowledge/09-templates/04-product-design.md) | Product Design Template |
|
|
534
|
+
| [05-business-glossary.md](knowledge/09-templates/05-business-glossary.md) | Business Glossary Template |
|
|
535
|
+
| [06-business-rules.md](knowledge/09-templates/06-business-rules.md) | Business Rules Template |
|
|
536
|
+
| [07-business-flows.md](knowledge/09-templates/07-business-flows.md) | Business Flows Template |
|
|
537
|
+
| [08-test-design.md](knowledge/09-templates/08-test-design.md) | Test Design Template |
|
|
538
|
+
| [09-evaluation-design.md](knowledge/09-templates/09-evaluation-design.md) | Evaluation Design (AI/Model) |
|
|
539
|
+
| [10-component-knowledge.md](knowledge/09-templates/10-component-knowledge.md) | Component Knowledge Template |
|
|
540
|
+
| [11-best-practices.md](knowledge/09-templates/11-best-practices.md) | Best Practices Template |
|
|
541
|
+
| [12-domain-model.md](knowledge/09-templates/12-domain-model.md) | Domain Model Template |
|
|
445
542
|
|
|
446
|
-
|
|
543
|
+
---
|
|
447
544
|
|
|
448
|
-
|
|
545
|
+
## Plugins Structure
|
|
449
546
|
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
-
|
|
547
|
+
```
|
|
548
|
+
plugins/ # Plugins layer (commands, agents, skills, hooks)
|
|
549
|
+
├── commands/ # Slash command templates
|
|
550
|
+
├── agents/ # Agent definitions (roles + support)
|
|
551
|
+
│ ├── roles/ # Startup team roles (CEO, Product Owner, Engineer, etc.)
|
|
552
|
+
│ └── support/ # Support agents (reviewers, evaluators, stage-gate, etc.)
|
|
553
|
+
├── skills/ # Skill triggers
|
|
554
|
+
│ ├── *-stage/ # Stage skills (requirement/design/implementation/testing/delivery)
|
|
555
|
+
│ ├── *-iteration/ # Iteration skills (waterfall/agile/experiment/hotfix)
|
|
556
|
+
│ ├── field-evolve-*/ # Field evolution skills (scanner/executor/analyzer/fixer/verifier/learner/distiller)
|
|
557
|
+
│ ├── project-evolve-*/ # Project evolution skills (scanner/generator/analyzer/fixer/reviewer/verifier/learner)
|
|
558
|
+
│ └── benchmark-*/ # Benchmark-related skills
|
|
559
|
+
└── hooks/ # Lifecycle hooks (frozen-zone-guard/scope-sentinel/layer1-validator/execution-tracker/environment-manager)
|
|
560
|
+
```
|
|
561
|
+
|
|
562
|
+
### Latest Skills
|
|
563
|
+
|
|
564
|
+
**Field Evolution Skills (L2 Field-Evolve)**:
|
|
565
|
+
- `field-evolve-scanner` - Scan practice logs, identify patterns
|
|
566
|
+
- `field-evolve-executor` - Execute evolution workflow
|
|
567
|
+
- `field-evolve-analyzer` - Analyze evolution effectiveness
|
|
568
|
+
- `field-evolve-fixer` - Fix evolution issues
|
|
569
|
+
- `field-evolve-verifier` - Verify evolution results
|
|
570
|
+
- `field-evolve-learner` - Learn from evolution experience
|
|
571
|
+
- `field-evolve-distiller` - Distill universal skills
|
|
572
|
+
|
|
573
|
+
**Project Evolution Skills (L3 Project-Evolve)**:
|
|
574
|
+
- `project-evolve-scanner` - Scan project code quality
|
|
575
|
+
- `project-evolve-generator` - Generate optimization plans
|
|
576
|
+
- `project-evolve-analyzer` - Analyze project issues
|
|
577
|
+
- `project-evolve-fixer` - Fix project issues
|
|
578
|
+
- `project-evolve-reviewer` - Review fix results
|
|
579
|
+
- `project-evolve-verifier` - Verify fix effectiveness
|
|
580
|
+
- `project-evolve-learner` - Learn from project experience
|
|
581
|
+
|
|
582
|
+
---
|
|
460
583
|
|
|
461
584
|
## Contributing
|
|
462
585
|
|
|
463
|
-
|
|
464
|
-
- Framework pipeline and skill
|
|
586
|
+
We welcome contributions to:
|
|
587
|
+
- Framework pipeline and skill definition improvements
|
|
465
588
|
- Role profiles for new domains
|
|
466
|
-
- CLI tooling
|
|
589
|
+
- CLI tooling enhancements
|
|
467
590
|
- Practice log entries from real usage
|
|
591
|
+
- Enterprise adaptation experience
|
|
468
592
|
- Documentation and translations
|
|
469
593
|
|
|
594
|
+
See [CONTRIBUTING.md](./CONTRIBUTING.md) for details.
|
|
595
|
+
|
|
470
596
|
## License
|
|
471
597
|
|
|
472
|
-
[MIT](./LICENSE)
|
|
598
|
+
[MIT](./LICENSE)
|