@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.
Files changed (283) hide show
  1. package/LICENSE +21 -21
  2. package/README.en.md +447 -321
  3. package/README.md +418 -286
  4. package/knowledge/01-principles/00-principles-hierarchy.md +247 -0
  5. package/knowledge/01-principles/01-first-principles.md +241 -0
  6. package/knowledge/01-principles/02-strategic-principles.md +286 -0
  7. package/knowledge/01-principles/03-tactical-principles.md +385 -0
  8. package/knowledge/01-principles/04-operational-principles.md +275 -0
  9. package/knowledge/01-principles/05-domain-principles.md +539 -0
  10. package/knowledge/01-principles/06-methodology-principles.md +281 -0
  11. package/knowledge/01-principles/07-cognitive-principles.md +277 -0
  12. package/knowledge/01-principles/08-auto-fix-principles.md +320 -0
  13. package/knowledge/01-principles/09-constitution.md +220 -0
  14. package/knowledge/{principles/evolution.md → 01-principles/10-evolution-mechanism.md} +160 -14
  15. package/knowledge/01-principles/README.en.md +385 -0
  16. package/knowledge/01-principles/README.md +385 -0
  17. package/knowledge/{process/overview.md → 02-process/00-overview.md} +90 -5
  18. package/knowledge/02-process/README.en.md +143 -0
  19. package/knowledge/02-process/README.md +186 -0
  20. package/knowledge/{guides/support/pipeline-protocol.md → 03-guides/00-pipeline-protocol.md} +10 -10
  21. package/knowledge/{guides/support/team-orchestrator.md → 03-guides/01-team-orchestrator.md} +53 -8
  22. package/knowledge/{guides/stages/requirement-analyzer.md → 03-guides/02-analyze-requirement.md} +3 -3
  23. package/knowledge/{guides/stages/ai-effect-evaluator.md → 03-guides/08-evaluate-ai-effect.md} +14 -7
  24. package/knowledge/{guides/support/skill-distiller.md → 03-guides/19-distill-skill.md} +3 -3
  25. package/knowledge/{guides/support/skill-updater.md → 03-guides/20-update-skill.md} +1 -1
  26. package/knowledge/{guides/support/methodology-extractor.md → 03-guides/22-extract-methodology.md} +2 -2
  27. package/knowledge/{guides/support/complexity-assessor.md → 03-guides/24-assess-complexity.md} +6 -4
  28. package/knowledge/{guides/support/tech-stack-analyzer.md → 03-guides/26-analyze-tech-stack.md} +1 -1
  29. package/knowledge/{guides/domain-driven-design.md → 03-guides/42-apply-ddd.md} +1 -1
  30. package/knowledge/{process/ai-sdlc.md → 03-guides/43-run-ai-sdlc.md} +1 -1
  31. package/knowledge/{guides/knowledge-management.md → 03-guides/44-manage-knowledge.md} +4 -4
  32. package/knowledge/03-guides/README.en.md +212 -0
  33. package/knowledge/03-guides/README.md +212 -0
  34. package/knowledge/{checklists/requirement.md → 04-checklists/00-requirement.md} +1 -1
  35. package/knowledge/{checklists/design.md → 04-checklists/01-design.md} +1 -1
  36. package/knowledge/{checklists/code.md → 04-checklists/02-code.md} +16 -1
  37. package/knowledge/{checklists/release.md → 04-checklists/04-release.md} +1 -1
  38. package/knowledge/04-checklists/README.en.md +119 -0
  39. package/knowledge/04-checklists/README.md +123 -0
  40. package/knowledge/{config/validation-patterns.yaml → 05-config/00-validation-patterns.yaml} +1 -1
  41. package/knowledge/{config/team-tasks.yaml → 05-config/02-team-tasks.yaml} +2 -2
  42. package/knowledge/05-config/03-role-composition.yaml +346 -0
  43. package/knowledge/{config/skill-compositions.yaml → 05-config/05-skill-compositions.yaml} +24 -24
  44. package/knowledge/05-config/README.en.md +54 -0
  45. package/knowledge/05-config/README.md +132 -0
  46. package/knowledge/06-environment/00-template-registry.md +310 -0
  47. package/knowledge/06-environment/01-detection-patterns.yaml +1692 -0
  48. package/knowledge/{environment → 06-environment}/README.en.md +4 -0
  49. package/knowledge/{environment → 06-environment}/README.md +66 -25
  50. package/knowledge/{standards/coding-style.md → 07-standards/00-coding-style.md} +123 -4
  51. package/knowledge/{standards/code-review.md → 07-standards/01-code-review.md} +3 -3
  52. package/knowledge/{standards/data-consistency.md → 07-standards/02-data-consistency.md} +1 -1
  53. package/knowledge/{standards/document-versioning.md → 07-standards/03-document-versioning.md} +1 -1
  54. package/knowledge/{standards/risk-detection.md → 07-standards/04-risk-detection.md} +5 -5
  55. package/knowledge/07-standards/README.en.md +119 -0
  56. package/knowledge/07-standards/README.md +123 -0
  57. package/knowledge/08-organization/00-vision-mission.md +113 -0
  58. package/knowledge/{organization/ai-native-team.md → 08-organization/01-ai-native-culture.md} +1 -1
  59. package/knowledge/{organization/team-metrics.md → 08-organization/02-team-metrics.md} +1 -1
  60. package/knowledge/08-organization/03-committee-structure.md +54 -0
  61. package/knowledge/08-organization/04-governance-metrics.md +55 -0
  62. package/knowledge/08-organization/05-improvement-process.md +71 -0
  63. package/knowledge/08-organization/README.en.md +165 -0
  64. package/knowledge/08-organization/README.md +165 -0
  65. package/knowledge/09-templates/00-requirement-proposal.md +344 -0
  66. package/knowledge/09-templates/01-architecture-design.md +494 -0
  67. package/knowledge/09-templates/02-api-design.md +408 -0
  68. package/knowledge/09-templates/03-database-design.md +313 -0
  69. package/knowledge/09-templates/04-product-design.md +237 -0
  70. package/knowledge/09-templates/05-domain-business.md +388 -0
  71. package/knowledge/09-templates/06-test-design.md +268 -0
  72. package/knowledge/09-templates/07-evaluation-design.md +372 -0
  73. package/knowledge/09-templates/08-component-knowledge.md +272 -0
  74. package/knowledge/09-templates/09-best-practices.md +218 -0
  75. package/knowledge/{environment/middleware-knowledge.md → 09-templates/10-middleware-knowledge.md} +106 -1
  76. package/knowledge/09-templates/README.en.md +222 -0
  77. package/knowledge/09-templates/README.md +216 -0
  78. package/knowledge/README.en.md +372 -0
  79. package/knowledge/README.md +354 -99
  80. package/package.json +1 -1
  81. package/plugins/.claude-plugin/plugin.json +460 -81
  82. package/plugins/agents/roles/ceo.md +1 -1
  83. package/plugins/agents/roles/product-owner.md +1 -1
  84. package/plugins/agents/roles/tech-lead.md +1 -1
  85. package/plugins/agents/support/consistency-checker.md +36 -3
  86. package/plugins/agents/support/monitoring-agent.md +215 -0
  87. package/plugins/agents/support/safety-auditor.md +2 -2
  88. package/plugins/agents/support/stage-gate-evaluator.md +95 -11
  89. package/plugins/agents/support/test-coverage-reviewer.md +1 -1
  90. package/plugins/benchmarks/templates/README.md +165 -13
  91. package/plugins/benchmarks/templates/commands/apply-template.yaml +108 -0
  92. package/plugins/benchmarks/templates/commands/archive-template.yaml +65 -0
  93. package/plugins/benchmarks/templates/commands/env-export-template.yaml +64 -0
  94. package/plugins/benchmarks/templates/commands/env-sync-template.yaml +104 -0
  95. package/plugins/benchmarks/templates/commands/env-template-template.yaml +96 -0
  96. package/plugins/benchmarks/templates/commands/env-template.yaml +58 -0
  97. package/plugins/benchmarks/templates/commands/env-update-template.yaml +110 -0
  98. package/plugins/benchmarks/templates/commands/env-validate-template.yaml +95 -0
  99. package/plugins/benchmarks/templates/commands/field-evolve-template.yaml +104 -0
  100. package/plugins/benchmarks/templates/commands/project-evolve-template.yaml +104 -0
  101. package/plugins/benchmarks/templates/commands/propose-template.yaml +88 -0
  102. package/plugins/benchmarks/templates/commands/review-template.yaml +124 -0
  103. package/plugins/benchmarks/templates/commands/run-template.yaml +127 -0
  104. package/plugins/benchmarks/templates/commands/test-template.yaml +149 -0
  105. package/plugins/benchmarks/templates/pipeline/experiment-template.yaml +92 -0
  106. package/plugins/benchmarks/templates/pipeline/hotfix-template.yaml +81 -0
  107. package/plugins/benchmarks/templates/skills/agile-iteration-template.yaml +78 -0
  108. package/plugins/benchmarks/templates/skills/benchmark-executor-template.yaml +114 -0
  109. package/plugins/benchmarks/templates/skills/benchmark-generator-template.yaml +52 -0
  110. package/plugins/benchmarks/templates/skills/delivery-stage-template.yaml +130 -0
  111. package/plugins/benchmarks/templates/skills/design-stage-template.yaml +131 -0
  112. package/plugins/benchmarks/templates/skills/experiment-iteration-template.yaml +60 -0
  113. package/plugins/benchmarks/templates/skills/exploration-phase-template.yaml +114 -0
  114. package/plugins/benchmarks/templates/skills/field-evolve-analyzer-template.yaml +51 -0
  115. package/plugins/benchmarks/templates/skills/field-evolve-distiller-template.yaml +34 -0
  116. package/plugins/benchmarks/templates/skills/field-evolve-executor-template.yaml +50 -0
  117. package/plugins/benchmarks/templates/skills/field-evolve-fixer-template.yaml +52 -0
  118. package/plugins/benchmarks/templates/skills/field-evolve-learner-template.yaml +33 -0
  119. package/plugins/benchmarks/templates/skills/field-evolve-scanner-template.yaml +74 -0
  120. package/plugins/benchmarks/templates/skills/field-evolve-template.yaml +71 -0
  121. package/plugins/benchmarks/templates/skills/field-evolve-verifier-template.yaml +51 -0
  122. package/plugins/benchmarks/templates/skills/hotfix-iteration-template.yaml +54 -0
  123. package/plugins/benchmarks/templates/skills/implementation-stage-template.yaml +127 -0
  124. package/plugins/benchmarks/templates/skills/layer1-validation-template.yaml +121 -0
  125. package/plugins/benchmarks/templates/skills/project-evolve-analyzer-template.yaml +51 -0
  126. package/plugins/benchmarks/templates/skills/project-evolve-fixer-template.yaml +52 -0
  127. package/plugins/benchmarks/templates/skills/project-evolve-generator-template.yaml +34 -0
  128. package/plugins/benchmarks/templates/skills/project-evolve-learner-template.yaml +50 -0
  129. package/plugins/benchmarks/templates/skills/project-evolve-reviewer-template.yaml +50 -0
  130. package/plugins/benchmarks/templates/skills/project-evolve-scanner-template.yaml +75 -0
  131. package/plugins/benchmarks/templates/skills/project-evolve-template.yaml +72 -0
  132. package/plugins/benchmarks/templates/skills/project-evolve-verifier-template.yaml +51 -0
  133. package/plugins/benchmarks/templates/skills/skill-forge-template.yaml +117 -0
  134. package/plugins/benchmarks/templates/skills/startup-guard-template.yaml +103 -0
  135. package/plugins/benchmarks/templates/skills/testing-stage-template.yaml +146 -0
  136. package/plugins/benchmarks/templates/skills/waterfall-iteration-template.yaml +55 -0
  137. package/plugins/commands/README.en.md +2 -2
  138. package/plugins/commands/README.md +2 -2
  139. package/plugins/commands/apply.md +102 -16
  140. package/plugins/commands/archive.md +60 -4
  141. package/plugins/commands/env-sync.md +1047 -406
  142. package/plugins/commands/env-template.md +11 -135
  143. package/plugins/commands/env-update.md +1 -1
  144. package/plugins/commands/env-validate.md +3 -3
  145. package/plugins/commands/explore.md +118 -1
  146. package/plugins/commands/field-evolve.md +51 -175
  147. package/plugins/commands/project-evolve.md +167 -68
  148. package/plugins/commands/propose.md +97 -6
  149. package/plugins/commands/review.md +5 -5
  150. package/plugins/commands/run.md +841 -13
  151. package/plugins/commands/status.md +138 -17
  152. package/plugins/commands/test.md +389 -0
  153. package/plugins/hooks/constitution-guard.js +1 -1
  154. package/plugins/hooks/environment-autocommit.js +366 -24
  155. package/plugins/hooks/environment-manager.js +3 -2
  156. package/plugins/hooks/execution-tracker.js +109 -4
  157. package/plugins/hooks/layer1-validator.js +117 -1
  158. package/plugins/hooks/lib/auto-fix-loop.js +605 -0
  159. package/plugins/hooks/lib/environment-config-loader.js +11 -7
  160. package/plugins/hooks/lib/hook-state-manager.js +98 -0
  161. package/plugins/hooks/lib/memory-extractor.js +27 -5
  162. package/plugins/hooks/lib/memory-manager.js +1 -1
  163. package/plugins/hooks/lib/test-auto-fix.test.js +194 -0
  164. package/plugins/hooks/monitoring-trigger.js +467 -0
  165. package/plugins/skills/README.en.md +15 -3
  166. package/plugins/skills/README.md +21 -11
  167. package/plugins/skills/agile-iteration/SKILL.md +187 -0
  168. package/plugins/skills/delivery-stage/SKILL.md +133 -12
  169. package/plugins/skills/design-stage/SKILL.md +103 -12
  170. package/plugins/skills/experiment-evaluator/SKILL.md +271 -0
  171. package/plugins/skills/experiment-iteration/SKILL.md +154 -0
  172. package/plugins/skills/exploration-phase/SKILL.md +93 -10
  173. package/plugins/skills/field-evolve-analyzer/SKILL.md +65 -0
  174. package/plugins/skills/field-evolve-distiller/SKILL.md +66 -0
  175. package/plugins/skills/field-evolve-executor/SKILL.md +94 -0
  176. package/plugins/skills/field-evolve-executor/executor.js +342 -0
  177. package/plugins/skills/field-evolve-fixer/SKILL.md +69 -0
  178. package/plugins/skills/field-evolve-learner/SKILL.md +65 -0
  179. package/plugins/skills/field-evolve-scanner/SKILL.md +87 -0
  180. package/plugins/skills/field-evolve-scanner/scripts/fallback-scanner.js +288 -0
  181. package/plugins/skills/field-evolve-verifier/SKILL.md +64 -0
  182. package/plugins/skills/hotfix-iteration/SKILL.md +279 -0
  183. package/plugins/skills/implementation-stage/SKILL.md +156 -15
  184. package/plugins/skills/layer1-validation/SKILL.md +1 -1
  185. package/plugins/skills/pending-dashboard/SKILL.md +9 -8
  186. package/plugins/skills/project-evolve-analyzer/SKILL.md +95 -0
  187. package/plugins/skills/project-evolve-fixer/SKILL.md +99 -0
  188. package/plugins/skills/project-evolve-generator/SKILL.md +149 -0
  189. package/plugins/skills/project-evolve-learner/SKILL.md +103 -0
  190. package/plugins/skills/project-evolve-reviewer/SKILL.md +104 -0
  191. package/plugins/skills/project-evolve-scanner/SKILL.md +95 -0
  192. package/plugins/skills/project-evolve-scanner/scripts/dependency-reuse-checker.js +395 -0
  193. package/plugins/skills/project-evolve-scanner/scripts/subsystem-coverage.js +315 -0
  194. package/plugins/skills/project-evolve-verifier/SKILL.md +105 -0
  195. package/plugins/skills/requirement-stage/SKILL.md +47 -13
  196. package/plugins/skills/skill-forge/SKILL.md +2 -2
  197. package/plugins/skills/testing-stage/SKILL.md +583 -8
  198. package/plugins/skills/waterfall-iteration/SKILL.md +115 -0
  199. package/scripts/cli/index.js +1 -1
  200. package/scripts/cli/init.js +30 -4
  201. package/scripts/cli/list.js +3 -2
  202. package/scripts/config/commands.config.js +8 -8
  203. package/scripts/config/hooks.config.js +1 -1
  204. package/scripts/install/constants.js +204 -165
  205. package/scripts/state.js +210 -1
  206. package/knowledge/config/README.en.md +0 -44
  207. package/knowledge/config/README.md +0 -44
  208. package/knowledge/config/role-composition.yaml +0 -98
  209. package/knowledge/config/team-triggers.yaml +0 -198
  210. package/knowledge/domain/README.md +0 -115
  211. package/knowledge/domain/flows/README.md +0 -194
  212. package/knowledge/domain/glossary.md +0 -143
  213. package/knowledge/domain/rules.md +0 -138
  214. package/knowledge/environment/component-knowledge.md +0 -316
  215. package/knowledge/environment/detection-patterns.yaml +0 -502
  216. package/knowledge/environment/template-registry.md +0 -321
  217. package/knowledge/guides/requirement-engineering.md +0 -329
  218. package/knowledge/guides/system-design.md +0 -352
  219. package/knowledge/principles/constitution.md +0 -134
  220. package/knowledge/principles/core-principles.md +0 -368
  221. package/knowledge/principles/design-philosophy.md +0 -877
  222. package/knowledge/process/README.en.md +0 -38
  223. package/knowledge/process/README.md +0 -48
  224. package/knowledge/templates/ai-evaluation.md +0 -150
  225. package/knowledge/templates/api-design.md +0 -117
  226. package/knowledge/templates/database-design.md +0 -132
  227. package/knowledge/templates/domain-driven-design.md +0 -321
  228. package/knowledge/templates/product-proposal.md +0 -201
  229. package/knowledge/templates/system-design.md +0 -227
  230. package/knowledge/templates/task-breakdown.md +0 -107
  231. package/knowledge/templates/test-case.md +0 -170
  232. package/plugins/commands/validate.md +0 -108
  233. package/plugins/skills/benchmark-executor/README.md +0 -93
  234. package/plugins/skills/evolution-process/SKILL.md +0 -291
  235. package/plugins/skills/project-evolution/SKILL.md +0 -847
  236. package/scripts/evolution/evolution-router.js +0 -273
  237. package/scripts/evolution/evolution-signal-collector.js +0 -307
  238. package/scripts/evolution/knowledge-loader.js +0 -346
  239. package/scripts/evolution/marketplace.js +0 -317
  240. package/scripts/evolution/version-manager.js +0 -371
  241. /package/knowledge/{process → 02-process}/01-requirement.md +0 -0
  242. /package/knowledge/{process → 02-process}/02-design.md +0 -0
  243. /package/knowledge/{process → 02-process}/03-implementation.md +0 -0
  244. /package/knowledge/{process → 02-process}/04-review.md +0 -0
  245. /package/knowledge/{process → 02-process}/05-testing.md +0 -0
  246. /package/knowledge/{process → 02-process}/06-delivery.md +0 -0
  247. /package/knowledge/{guides/stages/design-planner.md → 03-guides/03-design-solution.md} +0 -0
  248. /package/knowledge/{guides/stages/code-implementer.md → 03-guides/04-implement-code.md} +0 -0
  249. /package/knowledge/{guides/stages/test-planner.md → 03-guides/05-plan-testing.md} +0 -0
  250. /package/knowledge/{guides/stages/test-generator.md → 03-guides/06-generate-tests.md} +0 -0
  251. /package/knowledge/{guides/stages/release-checker.md → 03-guides/07-check-release.md} +0 -0
  252. /package/knowledge/{guides/stages/requirement-reviewer.md → 03-guides/09-review-requirement.md} +0 -0
  253. /package/knowledge/{guides/stages/design-reviewer.md → 03-guides/10-review-design.md} +0 -0
  254. /package/knowledge/{guides/stages/code-reviewer.md → 03-guides/11-review-code.md} +0 -0
  255. /package/knowledge/{guides/stages/test-reviewer.md → 03-guides/12-review-testing.md} +0 -0
  256. /package/knowledge/{guides/stages/security-reviewer.md → 03-guides/13-audit-security.md} +0 -0
  257. /package/knowledge/{guides/stages/consistency-checker.md → 03-guides/14-check-consistency.md} +0 -0
  258. /package/knowledge/{guides/stages/unit-test-runner.md → 03-guides/15-run-unit-tests.md} +0 -0
  259. /package/knowledge/{guides/stages/integration-test-runner.md → 03-guides/16-run-integration-tests.md} +0 -0
  260. /package/knowledge/{guides/stages/test-context-analyzer.md → 03-guides/17-analyze-test-context.md} +0 -0
  261. /package/knowledge/{guides/support/practice-logger.md → 03-guides/18-log-practice.md} +0 -0
  262. /package/knowledge/{guides/support/skill-validator.md → 03-guides/21-validate-skill.md} +0 -0
  263. /package/knowledge/{guides/support/scope-inference.md → 03-guides/23-infer-scope.md} +0 -0
  264. /package/knowledge/{guides/support/component-discovery.md → 03-guides/25-discover-component.md} +0 -0
  265. /package/knowledge/{guides/support/environment-scanner.md → 03-guides/27-scan-environment.md} +0 -0
  266. /package/knowledge/{guides/support/environment-validator.md → 03-guides/28-validate-environment.md} +0 -0
  267. /package/knowledge/{guides/support/knowledge-generator.md → 03-guides/29-generate-knowledge.md} +0 -0
  268. /package/knowledge/{guides/support/ai-capability-analyzer.md → 03-guides/30-analyze-ai-capability.md} +0 -0
  269. /package/knowledge/{guides/support/ai-component-analyzer.md → 03-guides/31-analyze-ai-component.md} +0 -0
  270. /package/knowledge/{guides/support/ai-agent-analyzer.md → 03-guides/32-analyze-ai-agent.md} +0 -0
  271. /package/knowledge/{guides/support/ai-rag-analyzer.md → 03-guides/33-analyze-ai-rag.md} +0 -0
  272. /package/knowledge/{guides/support/ai-task-assessor.md → 03-guides/34-assess-ai-task.md} +0 -0
  273. /package/knowledge/{guides/support/ai-pipeline-evaluator.md → 03-guides/35-evaluate-ai-pipeline.md} +0 -0
  274. /package/knowledge/{guides/support/ai-artifact-evaluator.md → 03-guides/36-evaluate-ai-artifact.md} +0 -0
  275. /package/knowledge/{guides/support/ai-evaluation-planner.md → 03-guides/37-plan-ai-evaluation.md} +0 -0
  276. /package/knowledge/{guides/support/ai-path-evaluator.md → 03-guides/38-evaluate-ai-path.md} +0 -0
  277. /package/knowledge/{guides/support/ai-data-validator.md → 03-guides/39-validate-ai-data.md} +0 -0
  278. /package/knowledge/{guides/support/ai-anomaly-analyzer.md → 03-guides/40-detect-ai-anomaly.md} +0 -0
  279. /package/knowledge/{guides/support/ai-test-diagnostics.md → 03-guides/41-diagnose-ai-test.md} +0 -0
  280. /package/knowledge/{guides/support/test-runner.md → 03-guides/45-test-runner.md} +0 -0
  281. /package/knowledge/{checklists/test.md → 04-checklists/03-test.md} +0 -0
  282. /package/knowledge/{config/team-stage.yaml → 05-config/01-team-stage.yaml} +0 -0
  283. /package/knowledge/{config/role-extensions.yaml → 05-config/04-role-extensions.yaml} +0 -0
@@ -0,0 +1,372 @@
1
+ # AutoSpec Knowledge Layer
2
+
3
+ > **Version**: v5.0
4
+ > **Last Updated**: 2026-03-27
5
+ > **Changes**: Comprehensive restructuring - All directories added numeric prefixes, files sorted by priority, unified verb-based naming
6
+
7
+ This directory contains AutoSpec's core knowledge files, which are copied to the user project's `.autospec/knowledge/` directory during `autospec init`.
8
+
9
+ ## Directory Structure
10
+
11
+ ```
12
+ knowledge/
13
+ ├── 00-README.md # This file (Knowledge Layer Navigation)
14
+
15
+ ├── 01-principles/ # Principles Layer — 🔴 Frozen Zone (Constitution-level)
16
+ │ ├── README.md # Principles Overview + Quick Reference Navigation
17
+ │ ├── 00-principles-hierarchy.md # General Principles Framework (L1→L2→L3→L4 full traceability)
18
+ │ ├── 01-first-principles.md # L1 First Principles (P1-P3 Prism)
19
+ │ ├── 02-strategic-principles.md # L2 Strategic Principles (S1-S4)
20
+ │ ├── 03-tactical-principles.md # L3 Tactical Principles (T1-T6)
21
+ │ ├── 04-operational-principles.md # L4 Operational Principles (O1-O4)
22
+ │ ├── 05-domain-principles.md # Domain Practice Principles (DDD/Systems/Requirement/Code/CR/Knowledge Management)
23
+ │ ├── 06-methodology-principles.md # Methodology Principles (P1-P44)
24
+ │ ├── 07-cognitive-principles.md # Cognitive Enhancement Principles (CP1-CP10)
25
+ │ ├── 08-auto-fix-principles.md # Auto-Fix Principles (Lessons from Practice)
26
+ │ ├── 09-constitution.md # Project Constitution (15 Red Lines)
27
+ │ └── 10-evolution-mechanism.md # Self-Evolution Mechanism (Three-Layer Evolution System)
28
+
29
+ ├── 02-process/ # Process Layer — 🟡 Controlled Zone (6-Stage Execution Flow)
30
+ │ ├── README.md # Process Layer Navigation
31
+ │ ├── 00-overview.md # Process Overview (Startup Gateway + Execution Modes)
32
+ │ ├── 01-requirement.md # Requirement Analysis Stage
33
+ │ ├── 02-design.md # Solution Design Stage
34
+ │ ├── 03-implementation.md # Coding Implementation Stage
35
+ │ ├── 04-review.md # Code Review Stage
36
+ │ ├── 05-testing.md # QA Testing Stage
37
+ │ └── 06-delivery.md # Delivery & Deployment Stage
38
+
39
+ ├── 03-guides/ # Capability Guides — 🟡/🟢 Controlled/Free Zone (51 Skill Files)
40
+ │ # Core Protocols (00-01)
41
+ │ ├── 00-pipeline-protocol.md # Pipeline Protocol
42
+ │ ├── 01-team-orchestrator.md # Team Orchestrator
43
+ │ # Stage Execution (02-08)
44
+ │ ├── 02-analyze-requirement.md # Requirement Analysis
45
+ │ ├── 03-design-solution.md # Solution Design
46
+ │ ├── 04-implement-code.md # Coding Implementation
47
+ │ ├── 05-plan-testing.md # Testing Plan
48
+ │ ├── 06-generate-tests.md # Test Generation
49
+ │ ├── 07-check-release.md # Release Check
50
+ │ ├── 08-evaluate-ai-effect.md # AI Effect Evaluation
51
+ │ # Review Skills (09-14)
52
+ │ ├── 09-review-requirement.md # Requirement Review
53
+ │ ├── 10-review-design.md # Design Review
54
+ │ ├── 11-review-code.md # Code Review
55
+ │ ├── 12-review-testing.md # Testing Review
56
+ │ ├── 13-audit-security.md # Security Audit
57
+ │ ├── 14-check-consistency.md # Consistency Check
58
+ │ # Testing Execution (15-17)
59
+ │ ├── 15-run-unit-tests.md # Unit Testing
60
+ │ ├── 16-run-integration-tests.md # Integration Testing
61
+ │ ├── 17-analyze-test-context.md # Test Context Analysis
62
+ │ # Evolution Support (18-22)
63
+ │ ├── 18-log-practice.md # Practice Logging
64
+ │ ├── 19-distill-skill.md # Skill Distillation
65
+ │ ├── 20-update-skill.md # Skill Update
66
+ │ ├── 21-validate-skill.md # Skill Validation
67
+ │ ├── 22-extract-methodology.md # Methodology Extraction
68
+ │ # Context/Environment (23-29)
69
+ │ ├── 23-infer-scope.md # Scope Inference
70
+ │ ├── 24-assess-complexity.md # Complexity Assessment
71
+ │ ├── 25-discover-component.md # Component Discovery
72
+ │ ├── 26-analyze-tech-stack.md # Tech Stack Analysis
73
+ │ ├── 27-scan-environment.md # Environment Scanning
74
+ │ ├── 28-validate-environment.md # Environment Validation
75
+ │ ├── 29-generate-knowledge.md # Knowledge Generation
76
+ │ # AI Specialized (30-41)
77
+ │ ├── 30-analyze-ai-capability.md # AI Capability Analysis
78
+ │ ├── 31-analyze-ai-component.md # AI Component Analysis
79
+ │ ├── 32-analyze-ai-agent.md # AI Agent Analysis
80
+ │ ├── 33-analyze-ai-rag.md # AI RAG Analysis
81
+ │ ├── 34-assess-ai-task.md # AI Task Assessment
82
+ │ ├── 35-evaluate-ai-pipeline.md # AI Pipeline Evaluation
83
+ │ ├── 36-evaluate-ai-artifact.md # AI Artifact Evaluation
84
+ │ ├── 37-plan-ai-evaluation.md # AI Evaluation Plan
85
+ │ ├── 38-evaluate-ai-path.md # AI Path Assessment
86
+ │ ├── 39-validate-ai-data.md # AI Data Validation
87
+ │ ├── 40-detect-ai-anomaly.md # AI Anomaly Detection
88
+ │ ├── 41-diagnose-ai-test.md # AI Test Diagnosis
89
+ │ # Domain Methodology (42-44)
90
+ │ ├── 42-apply-ddd.md # DDD Application
91
+ │ ├── 43-run-ai-sdlc.md # AI-SDLC Execution
92
+ │ ├── 44-manage-knowledge.md # Knowledge Management
93
+ │ # Tool Skills (45)
94
+ │ └── 45-test-runner.md # Test Runner
95
+ │ # Files merged into templates (deleted)
96
+ │ # ├── 51-build-glossary.md → 09-templates/05-business-glossary.md
97
+ │ # ├── 52-define-domain-rules.md → 09-templates/06-business-rules.md
98
+ │ # ├── 53-engineer-requirement.md → 09-templates/00-requirement-proposal.md
99
+ │ # ├── 54-design-system.md → 09-templates/01-architecture-design.md
100
+ │ # ├── 56-draw-flow-chart.md → 09-templates/07-business-flows.md
101
+
102
+ ├── 04-checklists/ # Checklists — 🟡 Controlled Zone (Stage Check Items)
103
+ │ ├── README.md # Checklists Navigation
104
+ │ ├── 00-requirement.md # Requirement Checklist
105
+ │ ├── 01-design.md # Design Checklist
106
+ │ ├── 02-code.md # Coding Checklist
107
+ │ ├── 03-test.md # Testing Checklist
108
+ │ └── 04-release.md # Release Checklist
109
+
110
+ ├── 05-config/ # Configuration Files — 🟡 Controlled Zone (Validation Patterns + Team Config)
111
+ │ ├── README.md # Configuration Directory Navigation
112
+ │ ├── 00-validation-patterns.yaml # Validation Patterns Configuration
113
+ │ ├── 01-team-stage.yaml # Team Stage Configuration (with triggers)
114
+ │ ├── 02-team-tasks.yaml # Team Tasks Configuration
115
+ │ ├── 03-role-composition.yaml # Role Composition Configuration (with decision tree)
116
+ │ ├── 04-role-extensions.yaml # Role Extensions Configuration
117
+ │ └── 05-skill-compositions.yaml # Skill Compositions Configuration
118
+
119
+ ├── 06-environment/ # Environment Knowledge — 🔵 Environment Knowledge Zone (Middleware/Components/Integration)
120
+ │ ├── README.md # Environment Bridging Protocol
121
+ │ ├── 00-template-registry.md # Template Registry
122
+ │ └── 01-detection-patterns.yaml # Detection Patterns
123
+
124
+ ├── 07-standards/ # Standards & Norms — 🟡 Controlled Zone (Coding/Review/Data Consistency)
125
+ │ ├── README.md # Standards Navigation
126
+ │ ├── 00-coding-style.md # Coding Style Standards
127
+ │ ├── 01-code-review.md # Code Review Standards
128
+ │ ├── 02-data-consistency.md # Data Consistency Standards
129
+ │ ├── 03-document-versioning.md # Document Versioning Standards
130
+ │ └── 04-risk-detection.md # Risk Detection Standards
131
+
132
+ ├── 08-organization/ # Organization Knowledge — 🟢 Free Zone (Vision/Culture/Governance)
133
+ │ ├── README.md # Organization Layer Navigation
134
+ │ ├── 00-vision-mission.md # Vision, Mission, Core Values
135
+ │ ├── 01-ai-native-culture.md # AI Native Team Culture Handbook
136
+ │ ├── 02-team-metrics.md # Team Metrics System
137
+ │ ├── 03-committee-structure.md # Governance Committee Structure
138
+ │ ├── 04-governance-metrics.md # Governance Monitoring Metrics
139
+ │ └── 05-improvement-process.md # Improvement Process
140
+
141
+ └── 09-templates/ # Document Templates — 🟡 Controlled Zone (Standardized Templates)
142
+ ├── README.md # Template Navigation
143
+ ├── 00-requirement-proposal.md # Requirement Proposal Template
144
+ ├── 01-architecture-design.md # Architecture Design Template
145
+ ├── 02-api-design.md # API Design Template
146
+ ├── 03-database-design.md # Database Design Template
147
+ ├── 04-product-design.md # Product Design Template
148
+ ├── 05-business-glossary.md # Business Glossary Template
149
+ ├── 06-business-rules.md # Business Rules Template
150
+ ├── 07-business-flows.md # Business Flows Template
151
+ ├── 08-test-design.md # Test Design Template
152
+ ├── 09-evaluation-design.md # Evaluation Design (AI/Model)
153
+ ├── 10-component-knowledge.md # Component Knowledge Template
154
+ ├── 11-best-practices.md # Best Practices Template
155
+ └── 12-domain-model.md # Domain Model Template
156
+ ```
157
+
158
+ ## Core Files Overview
159
+
160
+ ### 01-principles/ — Principles Layer (Constitution-level)
161
+
162
+ | File | Description | Evolution Zone |
163
+ |------|------|---------|
164
+ | [01-principles/README.md](01-principles/README.md) | Principles Overview + Quick Reference Navigation | 🔴 Frozen Zone |
165
+ | [01-principles/00-principles-hierarchy.md](01-principles/00-principles-hierarchy.md) | General Principles Framework (L1→L2→L3→L4) | 🔴 Frozen Zone |
166
+ | [01-principles/01-first-principles.md](01-principles/01-first-principles.md) | L1 First Principles (P1-P3 Prism) | 🔴 Frozen Zone |
167
+ | [01-principles/02-strategic-principles.md](01-principles/02-strategic-principles.md) | L2 Strategic Principles (S1-S4) | 🔴 Frozen Zone |
168
+ | [01-principles/03-tactical-principles.md](01-principles/03-tactical-principles.md) | L3 Tactical Principles (T1-T6) | 🟡 Controlled Zone |
169
+ | [01-principles/04-operational-principles.md](01-principles/04-operational-principles.md) | L4 Operational Principles (O1-O4) | 🟡 Controlled Zone |
170
+ | [01-principles/05-domain-principles.md](01-principles/05-domain-principles.md) | Domain Practice Principles (DDP/SDP/REP/CEP/CRP/KMP) | 🟡 Controlled Zone |
171
+ | [01-principles/06-methodology-principles.md](01-principles/06-methodology-principles.md) | Methodology Principles (P1-P44) | 🟡 Controlled Zone |
172
+ | [01-principles/07-cognitive-principles.md](01-principles/07-cognitive-principles.md) | Cognitive Enhancement Principles (CP1-CP10) | 🟡 Controlled Zone |
173
+ | [01-principles/08-auto-fix-principles.md](01-principles/08-auto-fix-principles.md) | Auto-Fix Principles (AFP1-AFP6) | 🟡 Controlled Zone |
174
+ | [01-principles/09-constitution.md](01-principles/09-constitution.md) | Project Constitution (15 Red Lines) | 🔴 Frozen Zone |
175
+ | [01-principles/10-evolution-mechanism.md](01-principles/10-evolution-mechanism.md) | Self-Evolution Mechanism (Three-Layer Evolution System) | 🔴 Frozen Zone |
176
+
177
+ ### 02-process/ — Process Layer
178
+
179
+ | File | Description | Evolution Zone |
180
+ |------|------|---------|
181
+ | [02-process/README.md](02-process/README.md) | Process Layer Navigation | 🟡 Controlled Zone |
182
+ | [02-process/00-overview.md](02-process/00-overview.md) | Process Overview, Startup Gateway, Execution Modes | 🟡 Controlled Zone |
183
+ | [02-process/01-requirement.md](02-process/01-requirement.md) | Requirement Analysis Stage | 🟡 Controlled Zone |
184
+ | [02-process/02-design.md](02-process/02-design.md) | Solution Design Stage | 🟡 Controlled Zone |
185
+ | [02-process/03-implementation.md](02-process/03-implementation.md) | Coding Implementation Stage | 🟡 Controlled Zone |
186
+ | [02-process/04-review.md](02-process/04-review.md) | Code Review Stage | 🟡 Controlled Zone |
187
+ | [02-process/05-testing.md](02-process/05-testing.md) | QA Testing Stage | 🟡 Controlled Zone |
188
+ | [02-process/06-delivery.md](02-process/06-delivery.md) | Delivery & Deployment Stage | 🟡 Controlled Zone |
189
+
190
+ ### 03-guides/ — Capability Guides
191
+
192
+ | Category | Number Range | Files | Evolution Zone |
193
+ |----------|--------------|-------|----------------|
194
+ | Core Protocols | 00-01 | 2 | 🔴 Frozen Zone |
195
+ | Stage Execution | 02-08 | 7 | 🟡 Controlled Zone |
196
+ | Review Skills | 09-14 | 6 | 🟡 Controlled Zone |
197
+ | Testing Execution | 15-17 | 3 | 🟡 Controlled Zone |
198
+ | Evolution Support | 18-22 | 5 | 🟢 Free Zone |
199
+ | Context/Environment | 23-29 | 7 | 🟡 Controlled Zone |
200
+ | AI Specialized | 30-41 | 12 | 🟡 Controlled Zone |
201
+ | Domain Methodology | 50-57 | 8 | 🟡 Controlled Zone |
202
+ | Others | 99 | 1 | 🟢 Free Zone |
203
+
204
+ Complete file list: [03-guides/](03-guides/)
205
+
206
+ ### 04-checklists/ — Checklists
207
+
208
+ | File | Description | Evolution Zone |
209
+ |------|------|---------|
210
+ | [04-checklists/README.md](04-checklists/README.md) | Checklists Navigation | 🟡 Controlled Zone |
211
+ | [04-checklists/00-requirement.md](04-checklists/00-requirement.md) | Requirement Checklist | 🟡 Controlled Zone |
212
+ | [04-checklists/01-design.md](04-checklists/01-design.md) | Design Checklist | 🟡 Controlled Zone |
213
+ | [04-checklists/02-code.md](04-checklists/02-code.md) | Coding Checklist | 🟡 Controlled Zone |
214
+ | [04-checklists/03-test.md](04-checklists/03-test.md) | Testing Checklist | 🟡 Controlled Zone |
215
+ | [04-checklists/04-release.md](04-checklists/04-release.md) | Release Checklist | 🟡 Controlled Zone |
216
+
217
+ ### 05-config/ — Configuration Files
218
+
219
+ | File | Description | Evolution Zone |
220
+ |------|------|---------|
221
+ | [05-config/README.md](05-config/README.md) | Configuration Directory Navigation | 🟡 Controlled Zone |
222
+ | [05-config/00-validation-patterns.yaml](05-config/00-validation-patterns.yaml) | Validation Patterns Configuration | 🟡 Controlled Zone |
223
+ | [05-config/01-team-stage.yaml](05-config/01-team-stage.yaml) | Team Stage Configuration (with triggers) | 🟡 Controlled Zone |
224
+ | [05-config/02-team-tasks.yaml](05-config/02-team-tasks.yaml) | Team Tasks Configuration | 🟡 Controlled Zone |
225
+ | [05-config/03-role-composition.yaml](05-config/03-role-composition.yaml) | Role Composition Configuration (with decision tree) | 🟡 Controlled Zone |
226
+ | [05-config/04-role-extensions.yaml](05-config/04-role-extensions.yaml) | Role Extensions Configuration | 🟡 Controlled Zone |
227
+ | [05-config/05-skill-compositions.yaml](05-config/05-skill-compositions.yaml) | Skill Compositions Configuration | 🟡 Controlled Zone |
228
+
229
+ ### 06-environment/ — Environment Knowledge
230
+
231
+ | File | Description | Evolution Zone |
232
+ |------|------|---------|
233
+ | [06-environment/README.md](06-environment/README.md) | Environment Bridging Protocol | 🔵 Environment Knowledge Zone |
234
+ | [06-environment/00-template-registry.md](06-environment/00-template-registry.md) | Template Registry | 🔵 Environment Knowledge Zone |
235
+ | [06-environment/01-detection-patterns.yaml](06-environment/01-detection-patterns.yaml) | Detection Patterns | 🔵 Environment Knowledge Zone |
236
+
237
+ ### 09-templates/ — Document Templates
238
+
239
+ | File | Description | Evolution Zone |
240
+ |------|------|---------|
241
+ | [09-templates/README.md](09-templates/README.md) | Templates Directory Navigation | 🟡 Controlled Zone |
242
+ | [09-templates/13-middleware-knowledge.md](09-templates/13-middleware-knowledge.md) | Middleware Knowledge Template | 🔵 Environment Knowledge Zone |
243
+ | [09-templates/10-component-knowledge.md](09-templates/10-component-knowledge.md) | Component Knowledge Template | 🔵 Environment Knowledge Zone |
244
+
245
+ ### 07-standards/ — Standards & Norms
246
+
247
+ | File | Description | Evolution Zone |
248
+ |------|------|---------|
249
+ | [07-standards/README.md](07-standards/README.md) | Standards Navigation | 🟡 Controlled Zone |
250
+ | [07-standards/00-coding-style.md](07-standards/00-coding-style.md) | Coding Style Standards | 🟡 Controlled Zone |
251
+ | [07-standards/01-code-review.md](07-standards/01-code-review.md) | Code Review Standards | 🟡 Controlled Zone |
252
+ | [07-standards/02-data-consistency.md](07-standards/02-data-consistency.md) | Data Consistency Standards | 🟡 Controlled Zone |
253
+ | [07-standards/03-document-versioning.md](07-standards/03-document-versioning.md) | Document Versioning Standards | 🟡 Controlled Zone |
254
+ | [07-standards/04-risk-detection.md](07-standards/04-risk-detection.md) | Risk Detection Standards | 🟡 Controlled Zone |
255
+
256
+ ### 08-organization/ — Organization Layer
257
+
258
+ | File | Description | Evolution Zone |
259
+ |------|------|---------|
260
+ | [08-organization/README.md](08-organization/README.md) | Organization Layer Navigation | 🟢 Free Zone |
261
+ | [08-organization/00-vision-mission.md](08-organization/00-vision-mission.md) | Vision, Mission, Core Values | 🟡 Controlled Zone |
262
+ | [08-organization/01-ai-native-culture.md](08-organization/01-ai-native-culture.md) | AI Native Team Culture Handbook | 🟢 Free Zone |
263
+ | [08-organization/02-team-metrics.md](08-organization/02-team-metrics.md) | Team Metrics System | 🟢 Free Zone |
264
+ | [08-organization/03-committee-structure.md](08-organization/03-committee-structure.md) | Governance Committee Structure | 🟢 Free Zone |
265
+ | [08-organization/04-governance-metrics.md](08-organization/04-governance-metrics.md) | Governance Monitoring Metrics | 🟢 Free Zone |
266
+ | [08-organization/05-improvement-process.md](08-organization/05-improvement-process.md) | Improvement Process | 🟢 Free Zone |
267
+
268
+ ### 09-templates/ — Document Templates
269
+
270
+ | File | Description | Evolution Zone |
271
+ |------|------|---------|
272
+ | [09-templates/README.md](09-templates/README.md) | Template Navigation | 🟡 Controlled Zone |
273
+ | [09-templates/01-architecture-design.md](09-templates/01-architecture-design.md) | Architecture Design Template | 🟡 Controlled Zone |
274
+ | [09-templates/02-api-design.md](09-templates/02-api-design.md) | API Design Template | 🟡 Controlled Zone |
275
+ | [09-templates/03-database-design.md](09-templates/03-database-design.md) | Database Design Template | 🟡 Controlled Zone |
276
+ | [09-templates/04-product-design.md](09-templates/04-product-design.md) | Product Design Template | 🟡 Controlled Zone |
277
+ | [09-templates/05-business-glossary.md](09-templates/05-business-glossary.md) | Business Glossary Template | 🟡 Controlled Zone |
278
+ | [09-templates/06-business-rules.md](09-templates/06-business-rules.md) | Business Rules Template | 🟡 Controlled Zone |
279
+ | [09-templates/07-business-flows.md](09-templates/07-business-flows.md) | Business Flows Template | 🟡 Controlled Zone |
280
+ | [09-templates/08-test-design.md](09-templates/08-test-design.md) | Test Design Template | 🟡 Controlled Zone |
281
+ | [09-templates/09-evaluation-design.md](09-templates/09-evaluation-design.md) | Evaluation Design (AI/Model) | 🟡 Controlled Zone |
282
+ | [09-templates/10-component-knowledge.md](09-templates/10-component-knowledge.md) | Component Knowledge Template | 🟡 Controlled Zone |
283
+ | [09-templates/11-best-practices.md](09-templates/11-best-practices.md) | Best Practices Template | 🟡 Controlled Zone |
284
+ | [09-templates/12-domain-model.md](09-templates/12-domain-model.md) | Domain Model Template | 🟡 Controlled Zone |
285
+
286
+ ## Three-Layer Self-Evolution System
287
+
288
+ | Layer | Command | Goal | Location |
289
+ |-------|---------|------|----------|
290
+ | L1: Self-Evolve | `/self-evolve` | Framework iteration & upgrade | `.claude/commands/self-evolve.md` |
291
+ | L2: Field-Evolve | `/autospec:field-evolve` | Learning from practice projects | `plugins/commands/field-evolve.md` |
292
+ | L3: Project-Evolve | `/autospec:project-evolve` | Practice project self-optimization | `plugins/commands/project-evolve.md` |
293
+
294
+ **Benchmark-Driven Evolution**: Practice Flow → Benchmarks Evaluation → Field-Evolve Analysis → Distill Universal Templates → Update Framework Capabilities
295
+
296
+ ## Quick Navigation
297
+
298
+ ### Find Documents by Scenario
299
+
300
+ | Scenario | Documentation |
301
+ |----------|---------------|
302
+ | **Understanding Principles** | [01-principles/README.md](01-principles/README.md) - Principles Overview |
303
+ | **Principles Traceability** | [01-principles/00-principles-hierarchy.md](01-principles/00-principles-hierarchy.md) - L1→L2→L3→L4 Full Traceability |
304
+ | **Starting New Task** | [02-process/00-overview.md](02-process/00-overview.md) - Startup Gateway |
305
+ | **Requirement Analysis** | [02-process/01-requirement.md](02-process/01-requirement.md) + [04-checklists/00-requirement.md](04-checklists/00-requirement.md) |
306
+ | **Solution Design** | [02-process/02-design.md](02-process/02-design.md) + [04-checklists/01-design.md](04-checklists/01-design.md) |
307
+ | **Coding Implementation** | [02-process/03-implementation.md](02-process/03-implementation.md) + [07-standards/00-coding-style.md](07-standards/00-coding-style.md) |
308
+ | **Code Review** | [02-process/04-review.md](02-process/04-review.md) + [07-standards/01-code-review.md](07-standards/01-code-review.md) |
309
+ | **Testing** | [02-process/05-testing.md](02-process/05-testing.md) + [04-checklists/03-test.md](04-checklists/03-test.md) |
310
+ | **Delivery & Deployment** | [02-process/06-delivery.md](02-process/06-delivery.md) + [04-checklists/04-release.md](04-checklists/04-release.md) |
311
+ | **Encountering Errors** | [01-principles/08-auto-fix-principles.md](01-principles/08-auto-fix-principles.md) + [01-principles/09-constitution.md](01-principles/09-constitution.md) |
312
+ | **Framework Evolution** | [01-principles/10-evolution-mechanism.md](01-principles/10-evolution-mechanism.md) |
313
+ | **Domain-Driven Design** | [03-guides/42-apply-ddd.md](03-guides/42-apply-ddd.md) |
314
+
315
+ ### Principles Quick Reference
316
+
317
+ Complete principles quick reference table and traceability chain:
318
+ - [Principles Overview](01-principles/README.md#principles-quick-reference)
319
+ - [General Principles Framework](01-principles/00-principles-hierarchy.md)
320
+ - [L1 First Principles](01-principles/01-first-principles.md)
321
+ - [L2 Strategic Principles](01-principles/02-strategic-principles.md)
322
+ - [L3 Tactical Principles](01-principles/03-tactical-principles.md)
323
+ - [L4 Operational Principles](01-principles/04-operational-principles.md)
324
+
325
+ ## Design Principles
326
+
327
+ The Knowledge Layer follows these design principles:
328
+
329
+ 1. **Self-Contained**: Knowledge files are independent of `scripts/` code, can be copied to user projects independently
330
+ 2. **Extensible**: Enterprise overlay layer supports organizational customization
331
+ 3. **Evolvable**: Three-layer self-evolution system (L1 Self-Evolve → L2 Field-Evolve → L3 Project-Evolve) enables continuous improvement
332
+ 4. **Human-Machine Separation**: `guides/domain-*.md` files store human-maintained business knowledge
333
+ 5. **Benchmark-Driven**: Quantify evolution effects through Benchmarks evaluation, ensuring improvements are evidence-based
334
+ 6. **Unified Principles Layer**: All principles documents are stored in `01-principles/` directory for easy reference and traceability
335
+ 7. **Numeric Priority**: All directories and files have numeric prefixes (01-09) for quick location
336
+
337
+ ## Usage
338
+
339
+ ```bash
340
+ # Initialize project (copy Knowledge Layer to .autospec/knowledge/)
341
+ autospec init
342
+
343
+ # Update Knowledge Layer (preserves runtime state)
344
+ autospec update
345
+ ```
346
+
347
+ ## Runtime Directories
348
+
349
+ The following directories are automatically generated at runtime:
350
+
351
+ - `evaluation/` - Benchmark Cases (automatically archived from success/failure cases)
352
+ - `evolution/` - Evolution Records (practice-log, improvement proposals, etc.)
353
+ - `environment/` - Environment Knowledge (auto-detected and generated)
354
+
355
+ ## Change History
356
+
357
+ | Version | Date | Changes |
358
+ |---------|------|---------|
359
+ | v5.0 | 2026-03-27 | Comprehensive restructuring - All directories added numeric prefixes, files sorted by priority, unified verb-based naming |
360
+ | v4.0 | 2026-03-27 | Organization directory restructuring - Added vision/mission files, unified numeric prefixes |
361
+ | v3.0 | 2026-03-27 | Principles system integration - Unified principles directory, removed strategy/tactics separation |
362
+ | v2.0 | 2026-03-27 | Principles layer restructuring - Split principles into strategy and tactics layers |
363
+ | v1.0 | 2026-03-26 | Initial version - Unified principles directory for all principles documents |
364
+
365
+ ---
366
+
367
+ **Maintainer**: AutoSpec Team
368
+ **Feedback Channel**: Knowledge Base Git Repository Issues
369
+ **Related Documentation**:
370
+ - [Principles Layer](01-principles/README.md)
371
+ - [Process Layer](02-process/README.md)
372
+ - [Organization Layer](08-organization/README.md)