feat: enhance issue management tooling and clarify performance metrics

Enhanced issue management:
- Added create-issue target to Makefile with support for TITLE/BODY parameters
- Support for both inline BODY and BODY_FILE for complex markdown descriptions
- Created issue #82 for architectural independence improvement

Performance metrics clarification:
- Identified distinction between Performance Index (83.3/100 - GOOD) and Architecture Independence Index (14.3% - POOR)
- Performance Index: Template rendering, database ops, memory usage (markitect perf-track)
- Architecture Index: Layer isolation, dependency violations (make chaos-validate)
- Updated issue #82 to clarify scope: improve architectural independence while maintaining performance

Technical improvements:
- Added create-issue to .PHONY targets in Makefile
- Enhanced help documentation for issue management commands
- Preserved chaos validation results for historical tracking

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

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-10-03 11:09:47 +02:00
parent f6c285b774
commit e6adb3e6db
3 changed files with 1180 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
# MarkiTect - Advanced Markdown Engine
# Makefile for common development tasks
.PHONY: help setup install test build clean update status dev lint format check-deps venv-status update-digest add-diary-entry list-issues show-issue list-open-issues close-issue close-issue-enhanced close-issues-batch test-from-issue tdd-start tdd-add-test tdd-finish tdd-status test-status test-new test-coverage test-arch test-foundation test-infrastructure test-integration test-domain test-service test-application test-presentation test-quick test-layers test-random test-random-seed test-random-repeat test-install-randomly test-clean test-tdd test-changed test-module test-cache-clean test-efficient cli-help release-status release-validate release-prepare release-build release-publish release-dry-run chaos-validate chaos-matrix chaos-inject chaos-report
.PHONY: help setup install test build clean update status dev lint format check-deps venv-status update-digest add-diary-entry list-issues show-issue list-open-issues create-issue close-issue close-issue-enhanced close-issues-batch test-from-issue tdd-start tdd-add-test tdd-finish tdd-status test-status test-new test-coverage test-arch test-foundation test-infrastructure test-integration test-domain test-service test-application test-presentation test-quick test-layers test-random test-random-seed test-random-repeat test-install-randomly test-clean test-tdd test-changed test-module test-cache-clean test-efficient cli-help release-status release-validate release-prepare release-build release-publish release-dry-run chaos-validate chaos-matrix chaos-inject chaos-report
# Default target
help:
@@ -79,6 +79,7 @@ help:
@echo "Issue Management:"
@echo " list-issues - Show all gitea issues with status and priority"
@echo " list-open-issues - Show only open issues (active backlog)"
@echo " create-issue TITLE='...' BODY='...' - Create a new issue (or BODY_FILE='/path/to/file.md')"
@echo " show-issue NUM=X - Show detailed view of specific issue"
@echo " close-issue NUM=X [COMMENT='reason'] - Close an issue and mark as completed"
@echo " close-issue-enhanced NUM=X [WORK='description'] - Close issue with enhanced tddai/issue_closer.py"
@@ -411,6 +412,25 @@ show-issue: $(VENV)/bin/activate
list-open-issues: $(VENV)/bin/activate
@PYTHONPATH=. $(VENV_PYTHON) tddai_cli.py list-open-issues
# Create a new issue
create-issue:
@if [ -z "$(TITLE)" ]; then \
echo "❌ Please specify issue title: make create-issue TITLE='Fix bug' BODY='Description'"; \
echo "❌ Or use: make create-issue TITLE='Fix bug' BODY_FILE='/path/to/body.md'"; \
exit 1; \
fi
@if [ -z "$(BODY)" ] && [ -z "$(BODY_FILE)" ]; then \
echo "❌ Please specify either BODY='...' or BODY_FILE='/path/to/file.md'"; \
exit 1; \
fi
@echo "📋 Creating new issue..."
@echo "📋 Title: $(TITLE)"
@if [ -n "$(BODY_FILE)" ]; then \
tea issue create --title "$(TITLE)" --description "$$(cat $(BODY_FILE))"; \
else \
tea issue create --title "$(TITLE)" --description "$(BODY)"; \
fi
# Close an issue and mark as completed
close-issue: $(VENV)/bin/activate
@if [ -z "$(NUM)" ]; then \