docs: amend constitution to v1.6.0 (add 'Everything is a Plugin' principle) and refactor 010 plan

This commit is contained in:
2026-01-07 18:36:38 +03:00
parent 297b29986d
commit a3dc1fb2b9
3 changed files with 178 additions and 7 deletions

View File

@@ -1,14 +1,13 @@
<!--
SYNC IMPACT REPORT
Version: 1.5.0 (Fractal Complexity Limit)
Version: 1.6.0 (Plugin Architecture Mandate)
Changes:
- Added Section VI (Fractal Complexity Limit) to enforce strict module (~300 lines) and function (~30-50 lines) size limits.
- Aims to maintain semantic coherence and avoid "Attention Sink".
- Added Principle VII (Everything is a Plugin) to enforce modular plugin architecture for all features.
- Updated Governance section.
Templates Status:
- .specify/templates/plan-template.md: ✅ Aligned.
- .specify/templates/plan-template.md: ✅ Aligned (Dynamic check).
- .specify/templates/spec-template.md: ✅ Aligned.
- .specify/templates/tasks-arch-template.md: ✅ Aligned (New role-based split).
- .specify/templates/tasks-dev-template.md: ✅ Aligned (New role-based split).
- .specify/templates/tasks-template.md: ✅ Aligned.
-->
# Semantic Code Generation Constitution
@@ -47,6 +46,9 @@ To maintain semantic coherence and avoid "Attention Sink" issues:
This ensures every vector embedding remains sharp and focused.
### VII. Everything is a Plugin
All functional extensions, tools, or major features must be implemented as modular Plugins inheriting from `PluginBase`. Logic should not reside in standalone services or scripts unless strictly necessary for core infrastructure. This ensures a unified execution model via the `TaskManager`, consistent logging, and modularity.
## File Structure Standards
### Python Modules
@@ -96,4 +98,4 @@ This Constitution establishes the "Semantic Code Generation Protocol" as the sup
- **Review**: Code reviews must verify that implementation matches the preceding contracts and that no "naked code" exists outside of semantic anchors.
- **Compliance**: Failure to adhere to the `[DEF]` / `[/DEF]` structure (including matching closing tags) constitutes a build failure.
**Version**: 1.5.0 | **Ratified**: 2025-12-19 | **Last Amended**: 2025-12-27
**Version**: 1.6.0 | **Ratified**: 2025-12-19 | **Last Amended**: 2026-01-07