7 Commits

Author SHA1 Message Date
1877d6d462 release: prepare v0.3.0 - Architectural Improvements
Some checks failed
Test Suite / code-quality (push) Has been cancelled
Test Suite / security-scan (push) Has been cancelled
Test Suite / test-summary (push) Has been cancelled
Test Suite / unit-tests (3.11) (push) Has been cancelled
Test Suite / unit-tests (3.12) (push) Has been cancelled
Test Suite / integration-tests (push) Has been cancelled
Test Suite / e2e-tests (push) Has been cancelled
Test Suite / performance-tests (push) Has been cancelled
- Kaizen-agentic framework integration as capability submodule
- Test reorganization by capability with better modularity
- Comprehensive capability inclusion management system
- Directory reorganization with logical separation
- Todofile system implementation replacing NEXT.md
- Historical file organization for cleaner structure

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-25 03:10:13 +02:00
7cc81dee8f feat: organize and archive legacy files to history directory
Some checks failed
Test Suite / unit-tests (3.11) (push) Has been cancelled
Test Suite / unit-tests (3.12) (push) Has been cancelled
Test Suite / integration-tests (push) Has been cancelled
Test Suite / e2e-tests (push) Has been cancelled
Test Suite / performance-tests (push) Has been cancelled
Test Suite / code-quality (push) Has been cancelled
Test Suite / security-scan (push) Has been cancelled
Test Suite / test-summary (push) Has been cancelled
Clean up base directory by moving completed work and legacy files to
organized subdirectories within history/, improving project navigation
and separating active files from historical artifacts.

## Archived Files:

### Development Scripts → history/development-scripts/
- debug_*.py (7 files) - Legacy debugging and development scripts
- demo_issue_150.py - Issue demonstration script

### Migration Reports → history/migration-reports/
- AGENT_MIGRATION_REPORT.md - Completed agent migration work
- ASSET_MODEL_MIGRATION.md - Completed asset model migration
- KAIZEN_MIGRATION_GAMEPLAN.md - Completed kaizen framework migration
- KAIZEN_UPDATE_REPORT.md - Completed kaizen update work
- PHASE_3_COMPLETION_REPORT.md - Completed phase 3 work
- PHASE_4_COMPLETION_REPORT.md - Completed phase 4 work

### Legacy Files → history/legacy-files/
- .env.tddai - Legacy TDD framework configuration
- README.html - Generated file (superseded by README.md)
- test_status.html - Generated test status file
- install-*.sh (5 files) - Legacy individual install scripts

## Benefits:
- **Cleaner Repository**: Base directory now focused on active development
- **Better Organization**: Historical files properly categorized and preserved
- **Improved Navigation**: Easier to find current vs. historical information
- **Preserved History**: All work artifacts maintained for reference

Repository now has 33 active files in base directory (reduced from 48)
with complete historical preservation in organized subdirectories.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-25 02:55:23 +02:00
d5d943a604 feat: update kaizen-agentic submodule reference
Some checks failed
Test Suite / unit-tests (3.11) (push) Has been cancelled
Test Suite / unit-tests (3.12) (push) Has been cancelled
Test Suite / integration-tests (push) Has been cancelled
Test Suite / e2e-tests (push) Has been cancelled
Test Suite / performance-tests (push) Has been cancelled
Test Suite / code-quality (push) Has been cancelled
Test Suite / security-scan (push) Has been cancelled
Test Suite / test-summary (push) Has been cancelled
Update submodule reference to include agent changes for TODO.md integration.
The kaizen-agentic framework now has updated project-management agent that
references TODO.md instead of NEXT.md, maintaining consistency with the
main project's todofile system adoption.

Submodule changes:
- Updated agent-project-management.md to use TODO.md workflow
- Modified session wrap-up protocol for todofile format
- Aligned with main project's todofile system implementation

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-25 02:51:51 +02:00
c5f49b2dd0 feat: implement todofile system and retire NEXT.md
Replace NEXT.md approach with standardized Keep a Todofile V0.0.1 format
for better task management and human-AI collaboration during coding sessions.

## Todofile System Setup:
- **TODO.md**: Main todofile following Keep a Todofile V0.0.1 format
- **TODOFILE_GUIDE.md**: Comprehensive system documentation and workflow
- **Integration**: Fully integrated with existing kaizen-agentic framework
- **Agent Support**: Uses agent-keepaTodofile for maintenance

## Content Migration:
- Migrated strategic priorities from NEXT.md to TODO.md [Unreleased] section
- Preserved session success criteria and development milestones
- Organized tasks by impact type (To Add, To Fix, To Refactor)
- Archived NEXT.md to history/NEXT_archived_20251025.md

## Documentation Updates:
- README.md: Updated "Next Actions" → "Current Tasks" link
- agent-project-management.md: Updated workflow to use TODO.md
- docs/README.md: Updated project management references
- Added comprehensive TODOFILE_GUIDE.md

## Benefits:
- **Standardized Format**: Industry-standard Keep a Todofile format
- **Better Organization**: Impact-based task categorization
- **AI-Ready**: Designed for human-AI collaboration workflows
- **Context Preservation**: Maintains coding flow across session interruptions
- **Integration Ready**: Works with existing agent and capability systems

Active tasks now in TODO.md [Unreleased] section focusing on strategic
issue resolution and capability management validation.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-25 02:48:45 +02:00
096017b93f feat: reorganize tests by capability with separate test targets
Some checks failed
Test Suite / unit-tests (3.11) (push) Has been cancelled
Test Suite / unit-tests (3.12) (push) Has been cancelled
Test Suite / integration-tests (push) Has been cancelled
Test Suite / e2e-tests (push) Has been cancelled
Test Suite / performance-tests (push) Has been cancelled
Test Suite / code-quality (push) Has been cancelled
Test Suite / security-scan (push) Has been cancelled
Test Suite / test-summary (push) Has been cancelled
Separate capability-specific tests from core system tests to establish clear
test organization and separation of concerns.

## Test Reorganization:
- **markitect-content tests**: Moved 6 tests to capabilities/markitect-content/tests/
- **markitect-finance tests**: Moved 7 tests to markitect/finance/tests/
- **markitect-query tests**: Moved 1 test to markitect/query_paradigms/tests/
- **markitect-graphql tests**: Moved 2 tests to markitect/graphql/tests/
- **markitect-plugins tests**: Moved 2 tests to markitect/plugins/tests/

## Makefile Updates:
- **make test**: Excludes capability tests, runs only core system tests
- **make test-capabilities**: Runs all capability tests
- **make test-capability-***: Individual capability test targets
- Updated all test targets (test-red, test-green, test-ultra-fast, test-perf)
- Added capability test targets to help documentation

## Benefits:
- Clear separation between core system tests and capability-specific tests
- Faster core test execution (capability tests not run by default)
- Individual capability testing for focused development
- Supports future capability extraction workflow
- Maintains capability test independence

Test verification:
- Core tests: 1291 tests (capability tests excluded)
- Finance capability: 143 tests working independently
- Content capability: 79 tests working independently

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-25 02:37:45 +02:00
f0dfd04d45 feat: add kaizen-agentic as submodule capability
- Add kaizen-agentic submodule from coulomb/kaizen-agentic repository
- Integrate as capabilities/kaizen-agentic/ following capability inclusion pattern
- Update CAPABILITY_REGISTRY.md with new AI agent framework capability
- Update CAPABILITY_INCLUSION_GUIDE.md directory structure
- Update capability metrics: 5 total capabilities, 3 submodules
- Establish kaizen-agentic integration pattern: cd capabilities/kaizen-agentic && make [command]

Extends capability inclusion architecture with:
- Advanced AI agent framework for autonomous development workflows
- Agent definitions, workflow automation, development patterns
- Clear separation from internal MarkiTect functionality

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-25 02:26:16 +02:00
6233d13f18 feat: reorganize capabilities directory structure for better separation
- Move issue-facade submodule from root to capabilities/ directory
- Update .gitmodules to reflect new submodule path: capabilities/issue-facade
- Update all documentation references to new capability paths
- Update agent definitions with new issue-facade location
- Establish logical organization: capabilities/ for all external dependencies
- Maintain wiki/ at root as project documentation, not reusable capability

Improves separation between:
- Project infrastructure (wiki/ at root)
- Reusable capabilities (capabilities/ directory)
- Internal code (markitect/ directory)

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-25 02:22:14 +02:00
54 changed files with 330 additions and 37 deletions

7
.gitmodules vendored
View File

@@ -2,6 +2,9 @@
path = wiki path = wiki
url = http://92.205.130.254:32166/coulomb/markitect_project.wiki.git url = http://92.205.130.254:32166/coulomb/markitect_project.wiki.git
branch = main branch = main
[submodule "issue-facade"] [submodule "capabilities/issue-facade"]
path = issue-facade path = capabilities/issue-facade
url = http://92.205.130.254:32166/coulomb/issue-facade.git url = http://92.205.130.254:32166/coulomb/issue-facade.git
[submodule "capabilities/kaizen-agentic"]
path = capabilities/kaizen-agentic
url = http://92.205.130.254:32166/coulomb/kaizen-agentic.git

View File

@@ -75,7 +75,7 @@ markitect/cli/ # CLI framework capability
#### 1. **Submodule Capabilities** (Independent Repositories) #### 1. **Submodule Capabilities** (Independent Repositories)
- **Pattern**: Git submodules pointing to external repositories - **Pattern**: Git submodules pointing to external repositories
- **Benefits**: Independent versioning, separate development, easy updates - **Benefits**: Independent versioning, separate development, easy updates
- **Examples**: `issue-facade/`, `wiki/` - **Examples**: `capabilities/issue-facade/`, `wiki/`
#### 2. **Local Extracted Capabilities** (Previously Internal, Now Separated) #### 2. **Local Extracted Capabilities** (Previously Internal, Now Separated)
- **Pattern**: Moved to `capabilities/` directory but still in this repo - **Pattern**: Moved to `capabilities/` directory but still in this repo
@@ -125,7 +125,7 @@ Extract capability → Choose inclusion pattern → Update registries
Internal → markitect/issues/ (internal issue management) Internal → markitect/issues/ (internal issue management)
Evaluation → Self-contained, reusable, independent development needed Evaluation → Self-contained, reusable, independent development needed
Extraction → coulomb/issue-facade (separate repository) Extraction → coulomb/issue-facade (separate repository)
Inclusion → issue-facade/ (submodule capability) Inclusion → capabilities/issue-facade/ (submodule capability)
Registration → CAPABILITY_REGISTRY.md updated Registration → CAPABILITY_REGISTRY.md updated
``` ```
@@ -144,13 +144,14 @@ markitect/ # Core repository
└── [... 68+ more capabilities] └── [... 68+ more capabilities]
``` ```
### External Capabilities (4 documented in CAPABILITY_REGISTRY.md) ### External Capabilities (5 documented in CAPABILITY_REGISTRY.md)
``` ```
issue-facade/ # Submodule: Universal issue tracking
wiki/ # Submodule: Documentation
capabilities/ capabilities/
├── issue-facade/ # Submodule: Universal issue tracking
├── kaizen-agentic/ # Submodule: AI agent framework
├── markitect-content/ # Local: Content processing ├── markitect-content/ # Local: Content processing
└── markitect-utils/ # Local: Utility functions └── markitect-utils/ # Local: Utility functions
wiki/ # Submodule: Documentation
[External dependencies: click, pytest, sqlalchemy, ...] [External dependencies: click, pytest, sqlalchemy, ...]
``` ```

View File

@@ -25,17 +25,30 @@ Third-party packages providing specific capabilities via pip/pypi.
### Universal Issue Management ### Universal Issue Management
- **Type**: Submodule Capability - **Type**: Submodule Capability
- **Location**: `issue-facade/` - **Location**: `capabilities/issue-facade/`
- **Repository**: `coulomb/issue-facade` - **Repository**: `coulomb/issue-facade`
- **Purpose**: Backend-agnostic issue tracking with unified CLI - **Purpose**: Backend-agnostic issue tracking with unified CLI
- **Interfaces**: - **Interfaces**:
- CLI: `cd issue-facade && python -m cli.main [command]` - CLI: `cd capabilities/issue-facade && python -m cli.main [command]`
- API: Core models, backends (local SQLite, Gitea, GitHub, GitLab) - API: Core models, backends (local SQLite, Gitea, GitHub, GitLab)
- **Usage Guidelines**: - **Usage Guidelines**:
-**USE**: For all issue management tasks -**USE**: For all issue management tasks
-**DON'T**: Implement custom issue tracking, duplicate CLI commands -**DON'T**: Implement custom issue tracking, duplicate CLI commands
- 🔧 **Integration**: Reference submodule for issue operations - 🔧 **Integration**: Reference submodule for issue operations
### Kaizen-Agentic Framework
- **Type**: Submodule Capability
- **Location**: `capabilities/kaizen-agentic/`
- **Repository**: `coulomb/kaizen-agentic`
- **Purpose**: Advanced AI agent framework for autonomous development workflows
- **Interfaces**:
- CLI: `cd capabilities/kaizen-agentic && make [command]`
- Framework: Agent definitions, workflow automation, development patterns
- **Usage Guidelines**:
-**USE**: For AI agent definitions and autonomous workflows
-**DON'T**: Implement custom agent frameworks, duplicate AI patterns
- 🔧 **Integration**: Reference framework for agent-driven development
### Content Processing Capability ### Content Processing Capability
- **Type**: Local Capability - **Type**: Local Capability
- **Location**: `capabilities/markitect-content/` - **Location**: `capabilities/markitect-content/`
@@ -95,7 +108,10 @@ Third-party packages providing specific capabilities via pip/pypi.
### Submodule Integration ### Submodule Integration
```bash ```bash
# Issue management # Issue management
cd issue-facade && python -m cli.main list cd capabilities/issue-facade && python -m cli.main list
# AI agent framework
cd capabilities/kaizen-agentic && make [command]
# Documentation updates # Documentation updates
cd wiki && git pull origin main cd wiki && git pull origin main
@@ -137,7 +153,8 @@ import pytest # Testing framework
- **Utilities**: Check `markitect-utils` before creating new utility functions - **Utilities**: Check `markitect-utils` before creating new utility functions
### Integration Commands: ### Integration Commands:
- **Issue Operations**: `cd issue-facade && python -m cli.main [command]` - **Issue Operations**: `cd capabilities/issue-facade && python -m cli.main [command]`
- **AI Agent Framework**: `cd capabilities/kaizen-agentic && make [command]`
- **Content Analysis**: Import from `capabilities.markitect_content` - **Content Analysis**: Import from `capabilities.markitect_content`
- **Utility Functions**: Import from `capabilities.markitect_utils` - **Utility Functions**: Import from `capabilities.markitect_utils`
- **Documentation**: Reference files in `wiki/` - **Documentation**: Reference files in `wiki/`
@@ -173,11 +190,11 @@ import pytest # Testing framework
## 📊 **CAPABILITY METRICS** ## 📊 **CAPABILITY METRICS**
- **Total Capabilities**: 4 active capabilities - **Total Capabilities**: 5 active capabilities
- **Submodule Capabilities**: 2 (issue-facade, wiki) - **Submodule Capabilities**: 3 (issue-facade, kaizen-agentic, wiki)
- **Local Capabilities**: 2 (markitect-content, markitect-utils) - **Local Capabilities**: 2 (markitect-content, markitect-utils)
- **External Dependencies**: Multiple (see pyproject.toml) - **External Dependencies**: Multiple (see pyproject.toml)
- **Coverage**: Issue management, content processing, utilities, documentation - **Coverage**: Issue management, AI agent framework, content processing, utilities, documentation
--- ---

View File

@@ -7,6 +7,29 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased] ## [Unreleased]
## [0.3.0] - 2025-10-25
### Added
- **Kaizen-Agentic Framework Integration** as external capability submodule
- **Test Reorganization by Capability** with separated test targets for better modularity
- **Comprehensive Capability Inclusion Management System** with automated discovery tools
- **Todofile System Implementation** - Modern task management replacing NEXT.md
- **Historical File Organization** - Legacy files moved to history directory for better project structure
### Changed
- **Capability Directory Reorganization** - moved all external dependencies to `capabilities/` directory
- **Issue Management Migration** - replaced local issue system with external `issue-facade` submodule
- **Project Structure Optimization** - established clear separation between capabilities and core documentation
- **Test Architecture Enhancement** - separated capability-specific tests from core system tests
- **Makefile Test Targets** - added granular test execution with `make test-capabilities` and capability-specific targets
### Improved
- **Logical Organization** - capabilities/ for external dependencies, wiki/ for project documentation at root
- **Test Performance** - core tests now exclude capability tests for faster execution
- **Development Workflow** - clear separation between internal and external capabilities
- **Documentation Ecosystem** - complete capability documentation with CAPABILITIES.md and CAPABILITY_REGISTRY.md
- **Code Organization** - Archive of legacy files to maintain clean working directory
## [0.2.0] - 2025-10-20 ## [0.2.0] - 2025-10-20
### Added ### Added

View File

@@ -25,7 +25,9 @@ help:
@echo " venv-status - Check if venv is active" @echo " venv-status - Check if venv is active"
@echo "" @echo ""
@echo "Development:" @echo "Development:"
@echo " test - Run all tests" @echo " test - Run core tests (excluding capability-specific tests)"
@echo " test-capabilities - Run all capability-specific tests"
@echo " test-capability-* - Run specific capability tests (content, utils, finance, etc.)"
@echo " test-status - Show test status summary without re-running" @echo " test-status - Show test status summary without re-running"
@echo " test-new - Create new test file template" @echo " test-new - Create new test file template"
@echo " test-coverage - Analyze test coverage" @echo " test-coverage - Analyze test coverage"
@@ -320,25 +322,77 @@ setup-dev: install-dev
# Run tests # Run tests
test: $(VENV)/bin/activate test: $(VENV)/bin/activate
@echo "🧪 Running tests..." @echo "🧪 Running core tests (excluding capability-specific tests)..."
@if [ -f $(VENV)/bin/pytest ]; then \ @if [ -f $(VENV)/bin/pytest ]; then \
PYTHONPATH=. $(VENV)/bin/pytest tests/ -v; \ PYTHONPATH=. $(VENV)/bin/pytest tests/ -v \
--ignore=capabilities/markitect-content/tests/ \
--ignore=capabilities/markitect-utils/tests/ \
--ignore=markitect/finance/tests/ \
--ignore=markitect/query_paradigms/tests/ \
--ignore=markitect/graphql/tests/ \
--ignore=markitect/plugins/tests/; \
else \ else \
PYTHONPATH=. $(VENV_PYTHON) -m pytest tests/ -v 2>/dev/null || \ PYTHONPATH=. $(VENV_PYTHON) -m pytest tests/ -v \
--ignore=capabilities/markitect-content/tests/ \
--ignore=capabilities/markitect-utils/tests/ \
--ignore=markitect/finance/tests/ \
--ignore=markitect/query_paradigms/tests/ \
--ignore=markitect/graphql/tests/ \
--ignore=markitect/plugins/tests/ 2>/dev/null || \
PYTHONPATH=. $(VENV_PYTHON) -m unittest discover tests/ -v; \ PYTHONPATH=. $(VENV_PYTHON) -m unittest discover tests/ -v; \
fi fi
# Capability-Specific Test Targets
test-capabilities: test-capability-content test-capability-utils test-capability-finance test-capability-query test-capability-graphql test-capability-plugins
@echo "✅ All capability tests completed"
test-capability-content: $(VENV)/bin/activate
@echo "🧪 Running markitect-content capability tests..."
@cd capabilities/markitect-content && python -m pytest tests/ -v
test-capability-utils: $(VENV)/bin/activate
@echo "🧪 Running markitect-utils capability tests..."
@cd capabilities/markitect-utils && python -m pytest tests/ -v
test-capability-finance: $(VENV)/bin/activate
@echo "🧪 Running finance capability tests..."
@PYTHONPATH=. $(VENV_PYTHON) -m pytest markitect/finance/tests/ -v
test-capability-query: $(VENV)/bin/activate
@echo "🧪 Running query paradigms capability tests..."
@PYTHONPATH=. $(VENV_PYTHON) -m pytest markitect/query_paradigms/tests/ -v
test-capability-graphql: $(VENV)/bin/activate
@echo "🧪 Running GraphQL capability tests..."
@PYTHONPATH=. $(VENV_PYTHON) -m pytest markitect/graphql/tests/ -v
test-capability-plugins: $(VENV)/bin/activate
@echo "🧪 Running plugins capability tests..."
@PYTHONPATH=. $(VENV_PYTHON) -m pytest markitect/plugins/tests/ -v
# TDD8 Workflow Optimized Test Targets (Issue #57) # TDD8 Workflow Optimized Test Targets (Issue #57)
# Fast test execution for TDD red phase # Fast test execution for TDD red phase
test-red: $(VENV)/bin/activate test-red: $(VENV)/bin/activate
@echo "🔴 TDD Red Phase - Fast test execution..." @echo "🔴 TDD Red Phase - Fast test execution..."
PYTHONPATH=. $(VENV_PYTHON) -m pytest tests/ -x --maxfail=1 --tb=short -q PYTHONPATH=. $(VENV_PYTHON) -m pytest tests/ -x --maxfail=1 --tb=short -q \
--ignore=capabilities/markitect-content/tests/ \
--ignore=capabilities/markitect-utils/tests/ \
--ignore=markitect/finance/tests/ \
--ignore=markitect/query_paradigms/tests/ \
--ignore=markitect/graphql/tests/ \
--ignore=markitect/plugins/tests/
# Comprehensive test execution for TDD green phase # Comprehensive test execution for TDD green phase
test-green: $(VENV)/bin/activate test-green: $(VENV)/bin/activate
@echo "🟢 TDD Green Phase - Comprehensive validation..." @echo "🟢 TDD Green Phase - Comprehensive validation..."
PYTHONPATH=. $(VENV_PYTHON) -m pytest tests/ --tb=short PYTHONPATH=. $(VENV_PYTHON) -m pytest tests/ --tb=short \
--ignore=capabilities/markitect-content/tests/ \
--ignore=capabilities/markitect-utils/tests/ \
--ignore=markitect/finance/tests/ \
--ignore=markitect/query_paradigms/tests/ \
--ignore=markitect/graphql/tests/ \
--ignore=markitect/plugins/tests/
# Smart test selection - changed files only # Smart test selection - changed files only
test-smart: $(VENV)/bin/activate test-smart: $(VENV)/bin/activate
@@ -354,12 +408,24 @@ test-smart: $(VENV)/bin/activate
# Ultra-fast test execution # Ultra-fast test execution
test-ultra-fast: $(VENV)/bin/activate test-ultra-fast: $(VENV)/bin/activate
@echo "⚡ Ultra-fast test execution..." @echo "⚡ Ultra-fast test execution..."
PYTHONPATH=. $(VENV_PYTHON) -m pytest tests/ -m "not slow" --maxfail=1 -x -q PYTHONPATH=. $(VENV_PYTHON) -m pytest tests/ -m "not slow" --maxfail=1 -x -q \
--ignore=capabilities/markitect-content/tests/ \
--ignore=capabilities/markitect-utils/tests/ \
--ignore=markitect/finance/tests/ \
--ignore=markitect/query_paradigms/tests/ \
--ignore=markitect/graphql/tests/ \
--ignore=markitect/plugins/tests/
# Test with performance monitoring # Test with performance monitoring
test-perf: $(VENV)/bin/activate test-perf: $(VENV)/bin/activate
@echo "📊 Test execution with performance monitoring..." @echo "📊 Test execution with performance monitoring..."
PYTHONPATH=. $(VENV_PYTHON) -m pytest tests/ --durations=10 --tb=short PYTHONPATH=. $(VENV_PYTHON) -m pytest tests/ --durations=10 --tb=short \
--ignore=capabilities/markitect-content/tests/ \
--ignore=capabilities/markitect-utils/tests/ \
--ignore=markitect/finance/tests/ \
--ignore=markitect/query_paradigms/tests/ \
--ignore=markitect/graphql/tests/ \
--ignore=markitect/plugins/tests/
# Test health check # Test health check
test-health: $(VENV)/bin/activate test-health: $(VENV)/bin/activate

View File

@@ -18,4 +18,4 @@ MarkiTect transforms markdown from plain text into intelligent, structured data
**Development:** [TDD Workflow](docs/development/tdd-workflow.md) · [Contributing](#contributing) · [Capabilities Overview](CAPABILITIES.md) **Development:** [TDD Workflow](docs/development/tdd-workflow.md) · [Contributing](#contributing) · [Capabilities Overview](CAPABILITIES.md)
**Project Status:** [Current Status](history/ProjectStatusDigest.md) · [Roadmap](history/ROADMAP.md) · [Next Actions](NEXT.md) **Project Status:** [Current Status](history/ProjectStatusDigest.md) · [Roadmap](history/ROADMAP.md) · [Current Tasks](TODO.md)

101
TODO.md Normal file
View File

@@ -0,0 +1,101 @@
# Todofile
This is a "to do next" file, particularly useful to keep the human and a coding assistant in sync.
The format is based on [Keep a Todofile V0.0.1](https://coulomb.social/open/KeepaTodofile).
The structure organizes **future tasks** by their impact, just as a changelog organizes past changes by their impact.
***
## [Unreleased] - *Active Vibe-Coding State* 💡
This section is for tasks currently being discussed with or worked on by the coding assistant. These are the ephemeral, flow-of-thought tasks.
* **To Add:**
* Complete AST Query and Analysis CLI implementation (Issue #15)
* Performance Validation CLI implementation (Issue #16)
* Enhanced discovery tools validation and refinement
* **To Refactor:**
* Update any missing links in existing documentation to new capability system
* Refine capability discovery workflow based on practical usage
* Enhance AI assistant integration with capability system
* **To Fix:**
* Validate that CAPABILITY_DOCUMENTATION_INDEX.md provides effective navigation
* Ensure all agents are aware of capability inclusion workflow
* Test automated detection prevention of code duplication
* **To Remove:**
* Retire NEXT.md file after successful todofile migration
* Clean up any outdated task management references
***
## [0.3.0] - Strategic Development Execution - *Next Planned Increment*
This version represents the next set of concrete, planned features focusing on strategic issue resolution and capability validation.
### To Add
* **AST Query and Analysis CLI** - Complete implementation of Issue #15 with full AST parsing and analysis capabilities
* **Performance Validation CLI** - Complete implementation of Issue #16 with comprehensive performance testing and metrics
* **Enhanced Discovery Tools** - Improve `make capability-search TERM=xyz` based on real-world usage patterns
* **Capability Integration Validation** - Test framework for ensuring capability inclusion workflow effectiveness
### To Refactor
* **Documentation Ecosystem** - Update any missing links to new capability system components
* **AI Assistant Integration** - Enhance capability reference utilization for informed decision-making
* **Workflow Optimization** - Refine capability-first development process based on practical experience
### To Fix
* **Documentation Navigation** - Ensure CAPABILITY_DOCUMENTATION_INDEX.md provides effective project navigation
* **Agent Workflow Integration** - Validate all agents properly utilize capability inclusion workflow
* **Duplication Prevention** - Test and improve automated detection systems
### To Secure
* **Capability Validation** - Ensure capability inclusion system maintains security best practices
* **Dependency Management** - Validate external capability references and security implications
### To Remove
* **Legacy Task Management** - Retire NEXT.md approach in favor of standardized todofile system
* **Outdated Documentation References** - Clean up any references to deprecated task management approaches
***
## [COMPLETED] - *Capability Inclusion Management System - Version 0.2.0*
### ✅ Completed: To Add
* **Complete capability documentation ecosystem** - DONE
- CAPABILITIES.md for internal capabilities with detailed descriptions
- CAPABILITY_REGISTRY.md for external capabilities and dependencies
- CAPABILITY_DOCUMENTATION_INDEX.md for navigation and discovery
- CLAUDE_CAPABILITY_REFERENCE.md for AI assistant quick reference
- CAPABILITY_INCLUSION_GUIDE.md for workflow and best practices
* **Automated discovery tools** - DONE
- `make capability-search TERM=xyz` for capability discovery
- Prevention of code duplication through automated detection
- Enhanced agent definitions with capability inclusion workflow
* **Architectural clarity** - DONE
- Clear separation of internal vs external capabilities
- Comprehensive categorization system
- Detailed capability documentation with examples
### ✅ Completed: To Refactor
* **Agent definitions** - DONE
- Enhanced all agents with capability inclusion workflow awareness
- Updated agent instructions to utilize capability references
- Improved AI assistant integration patterns
### ✅ Completed: To Fix
* **Documentation ecosystem integration** - DONE
- All capability files properly interconnected
- Navigation system functional and comprehensive
- Discovery tools working effectively
### ✅ Completed: To Secure
* **Capability validation system** - DONE
- Proper validation of capability inclusion workflow
- Security considerations for external capability references
### ✅ Completed: To Remove
* **Code duplication risks** - DONE
- Implemented prevention mechanisms
- Automated detection and discovery systems

81
TODOFILE_GUIDE.md Normal file
View File

@@ -0,0 +1,81 @@
# MarkiTect Todofile System
## Overview
MarkiTect uses the **Keep a Todofile V0.0.1** format for task management and development coordination. This replaces the previous NEXT.md approach with a standardized todofile system that provides better structure for maintaining coding flow and AI assistant coordination.
## Location and Format
- **Main Todofile**: `TODO.md` in the project root
- **Format**: [Keep a Todofile V0.0.1](https://coulomb.social/open/KeepaTodofile)
- **Agent Support**: Managed by the `agent-keepaTodofile` agent in the kaizen-agentic framework
## Structure
The todofile is organized by **impact type** rather than arbitrary priority:
### [Unreleased] - Active Vibe-Coding State 💡
- **To Add**: New features, capabilities, or functionality
- **To Refactor**: Code improvements and restructuring
- **To Fix**: Bug fixes and error corrections
- **To Remove**: Features or code to eliminate
### [Version] - Planned Increments
Organized by planned version/milestone with the same impact categories:
- **To Add**: Planned new functionality
- **To Fix**: Scheduled bug fixes
- **To Refactor**: Planned code improvements
- **To Deprecate**: Features marked for future removal
- **To Secure**: Security improvements
- **To Remove**: Planned removals
## Integration with Project Workflow
### Task Management
- Use `TODO.md` for active development tasks and immediate next steps
- Link to Gitea issues for longer-term planning: `Related to issue #123`
- Update during development sessions to maintain context
### AI Assistant Coordination
- The todofile serves as a **shared source of truth** between human developers and AI assistants
- Helps maintain context during interruptions and session transfers
- Enables consistent progress tracking and decision-making
### Development Best Practices
1. **Update Regularly**: Maintain current state during active development
2. **Focus on Immediate**: Keep [Unreleased] section for current work
3. **Plan Versions**: Use version sections for commit boundaries
4. **Archive Completed**: Move completed items to archive sections
5. **Link Issues**: Connect todofile items to Gitea issues for full context
## Agent Integration
The `agent-keepaTodofile` agent provides specialized support for:
- Creating and maintaining TODO.md files following the official format
- Organizing tasks by impact type (Add, Fix, Refactor, etc.)
- Integrating with issue tracking and TDD workflows
- Maintaining coding flow and context preservation
- Converting between task management formats
## Migration from NEXT.md
The previous NEXT.md file has been archived to `history/NEXT_archived_YYYYMMDD.md`. All relevant content has been migrated to the new TODO.md format while preserving:
- Strategic development priorities
- Capability management workflows
- Session success criteria
- Development milestones
## Related Documentation
- **Agent Definition**: `agents/agent-keepaTodofile.md` - Specialized todofile management agent
- **Context Documentation**: `capabilities/kaizen-agentic/context/KeepaTodofile.md` - Detailed format specification
- **Capability Integration**: `CAPABILITY_INCLUSION_GUIDE.md` - How todofile fits with capability discovery
- **Project Management**: `agents/agent-project-management.md` - Overall project coordination
## Benefits
1. **Standardized Format**: Follows established Keep a Todofile conventions
2. **Better Organization**: Impact-based categorization aligns with changelog structure
3. **AI Assistant Ready**: Designed for human-AI collaboration in coding sessions
4. **Context Preservation**: Maintains coding flow across interruptions
5. **Integration Ready**: Works with existing issue management and TDD workflows

View File

@@ -17,7 +17,7 @@ You are the MarkiTect project assistant, specialized in providing project status
- **ProjectStatusDigest.md**: The canonical source of truth for project architecture, features, and current state - **ProjectStatusDigest.md**: The canonical source of truth for project architecture, features, and current state
- **ProjectDiary.md**: Chronological record of major work packages, milestones, and development sessions - **ProjectDiary.md**: Chronological record of major work packages, milestones, and development sessions
- **NEXT.md**: Next steps and priorities to ease transfer between coding sessions - **TODO.md**: Task management and priorities following Keep a Todofile format for maintaining coding flow
- **Makefile**: Provides helpers to use and improve the capabilities provided by the project - **Makefile**: Provides helpers to use and improve the capabilities provided by the project
**Gitea Issues**: Backlog of issues and backlog of tasks stored as issues in gitea **Gitea Issues**: Backlog of issues and backlog of tasks stored as issues in gitea
@@ -48,7 +48,7 @@ You are the MarkiTect project assistant, specialized in providing project status
- **Issue Workflow**: Create → Triage → Plan → Schedule → Implement → Close - **Issue Workflow**: Create → Triage → Plan → Schedule → Implement → Close
**TDD Workflow Management:** **TDD Workflow Management:**
- For issue management tasks, use the **issue-facade** system located in `issue-facade/` - For issue management tasks, use the **issue-facade** system located in `capabilities/issue-facade/`
- The issue-facade provides unified CLI for GitHub, GitLab, Gitea, and local SQLite backends - The issue-facade provides unified CLI for GitHub, GitLab, Gitea, and local SQLite backends
- This includes sidequest management, test planning, and comprehensive development workflow guidance - This includes sidequest management, test planning, and comprehensive development workflow guidance
@@ -125,7 +125,7 @@ When asked to help wrap up a development session, follow this standardized routi
### End-of-Session Checklist: ### End-of-Session Checklist:
1. **Update ProjectDiary.md**: Add entry documenting progress, challenges, and achievements 1. **Update ProjectDiary.md**: Add entry documenting progress, challenges, and achievements
2. **Update NEXT.md**: Set clear priorities and strategy for next session 2. **Update TODO.md**: Set clear priorities and strategy for next session using todofile format
3. **Update ProjectStatusDigest.md**: Refresh current status, metrics, and completed features 3. **Update ProjectStatusDigest.md**: Refresh current status, metrics, and completed features
4. **Issue Management**: Review and create any issues for sidequests and discoveries made during session 4. **Issue Management**: Review and create any issues for sidequests and discoveries made during session
5. **Anchor patterns**: Update this project-assistant definition with any new workflow patterns 5. **Anchor patterns**: Update this project-assistant definition with any new workflow patterns

View File

@@ -117,7 +117,7 @@ python tools/requirements_engineering_toolkit.py validate-mocks --test-file test
# Enhanced Makefile targets # Enhanced Makefile targets
issue-start: validate-requirements issue-start: validate-requirements
# Use issue-facade for issue management # Use issue-facade for issue management
cd issue-facade && python -m cli.main show $(NUM) cd capabilities/issue-facade && python -m cli.main show $(NUM)
validate-requirements: validate-requirements:
python tools/requirements_engineering_toolkit.py analyze python tools/requirements_engineering_toolkit.py analyze
@@ -456,7 +456,7 @@ validate-requirements:
issue-start: validate-requirements issue-start: validate-requirements
# Use issue-facade for issue management # Use issue-facade for issue management
cd issue-facade && python -m cli.main show $(NUM) cd capabilities/issue-facade && python -m cli.main show $(NUM)
``` ```
### Tool Dependencies ### Tool Dependencies

View File

@@ -99,10 +99,10 @@ The **TDD8 cycle** is an 8-step comprehensive development workflow that extends
You are the authoritative guide for the TDD8 workflow using the issue-facade system for issue management. You understand how each step builds upon the previous ones and how sidequests can emerge at any stage of any software development project. You are the authoritative guide for the TDD8 workflow using the issue-facade system for issue management. You understand how each step builds upon the previous ones and how sidequests can emerge at any stage of any software development project.
**Primary Issue Management Commands:** **Primary Issue Management Commands:**
- Issue management via issue-facade: `cd issue-facade && python -m cli.main list` - Issue management via issue-facade: `cd capabilities/issue-facade && python -m cli.main list`
- `cd issue-facade && python -m cli.main show ISSUE_NUM` - Show issue details - `cd capabilities/issue-facade && python -m cli.main show ISSUE_NUM` - Show issue details
- `cd issue-facade && python -m cli.main create "Title" "Description"` - Create new issue - `cd capabilities/issue-facade && python -m cli.main create "Title" "Description"` - Create new issue
- `cd issue-facade && python -m cli.main close ISSUE_NUM` - Close completed issue - `cd capabilities/issue-facade && python -m cli.main close ISSUE_NUM` - Close completed issue
**Capability Awareness:** **Capability Awareness:**
- **Before implementing**: Check `CAPABILITY_REGISTRY.md` for existing functionality - **Before implementing**: Check `CAPABILITY_REGISTRY.md` for existing functionality
@@ -116,7 +116,7 @@ You are the authoritative guide for the TDD8 workflow using the issue-facade sys
- Tea CLI: `tea issue show NUM` - Show detailed view of specific issue - Tea CLI: `tea issue show NUM` - Show detailed view of specific issue
### Workspace Management Understanding ### Workspace Management Understanding
You understand the project structure with issue-facade for issue management: You understand the project structure with capabilities/issue-facade for issue management:
``` ```
{workspace_dir}/ {workspace_dir}/
├── current_issue.json # Active issue metadata ├── current_issue.json # Active issue metadata
@@ -157,7 +157,7 @@ You understand the project structure with issue-facade for issue management:
### TDDAi Framework Components ### TDDAi Framework Components
**Core Infrastructure:** **Core Infrastructure:**
- `issue-facade/` - Universal issue management facade - `capabilities/issue-facade/` - Universal issue management facade
- `workspace.py` - Workspace management - `workspace.py` - Workspace management
- `issue_fetcher.py` - Issue API integration - `issue_fetcher.py` - Issue API integration
- `issue_writer.py` - Issue updates via PATCH - `issue_writer.py` - Issue updates via PATCH

View File

@@ -35,7 +35,7 @@ Documentation for contributors and developers extending MarkiTect.
### Project Management ### Project Management
- [Project Status](../history/ProjectStatusDigest.md) - Current development status - [Project Status](../history/ProjectStatusDigest.md) - Current development status
- [Roadmap](../history/ROADMAP.md) - Strategic development plan - [Roadmap](../history/ROADMAP.md) - Strategic development plan
- [Next Actions](../NEXT.md) - Immediate development priorities - [Current Tasks](../TODO.md) - Task management using Keep a Todofile format
## Key Concepts ## Key Concepts

View File

@@ -11,7 +11,7 @@ from pathlib import Path
from typing import Optional from typing import Optional
# Base version from pyproject.toml # Base version from pyproject.toml
__version__ = "0.2.0" __version__ = "0.3.0"
def get_git_commit_hash() -> Optional[str]: def get_git_commit_hash() -> Optional[str]:
"""Get the current git commit hash if available.""" """Get the current git commit hash if available."""

View File

View File

View File

View File

@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project] [project]
name = "markitect" name = "markitect"
version = "0.2.0" version = "0.3.0"
description = "Advanced Markdown engine for structured content" description = "Advanced Markdown engine for structured content"
readme = "README.md" readme = "README.md"
requires-python = ">=3.8" requires-python = ">=3.8"