Files
markitect-main/tddai-setup.sh
tegwick 0053fa68ec refactor: Make tddai framework project-agnostic and fix test configuration
FRAMEWORK DECOUPLING:
- Remove all MarkiTect-specific references from tddai core modules
- Update tddai-assistant.md to use generic examples and language
- Change CLI output from "MarkiTect Issues" to "Project Issues"
- Update coverage_analyzer.py docstring to be project-neutral

CONFIGURATION SYSTEM:
- Make tddai configuration flexible via environment variables
- Add comprehensive documentation for project setup in config.py
- Create .env.tddai and tddai-setup.sh for MarkiTect-specific config
- Support configurable workspace naming (.tddai_workspace default)

TEST INFRASTRUCTURE CLEANUP:
- Fix IssueWriter test failures caused by config validation changes
- Implement _get_test_config() helper for isolated test configurations
- Ensure all 13 IssueWriter tests pass with proper test patterns
- Maintain clean test separation and project independence

FRAMEWORK PORTABILITY:
- TDD8 methodology now completely generic and reusable
- Configuration examples for GitHub/GitLab integration
- Ready for extraction to separate repository when needed
- All 45 tests pass cleanly confirming successful refactoring

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-24 00:04:54 +02:00

13 lines
478 B
Bash

#!/bin/bash
# TDDAi environment setup for MarkiTect project
# Source this file to configure tddai for this specific project
export TDDAI_WORKSPACE_DIR=.markitect_workspace
export TDDAI_GITEA_URL=http://92.205.130.254:32166
export TDDAI_REPO_OWNER=coulomb
export TDDAI_REPO_NAME=markitect_project
echo "✅ TDDAi configured for MarkiTect project"
echo " Workspace: $TDDAI_WORKSPACE_DIR"
echo " Repository: $TDDAI_REPO_OWNER/$TDDAI_REPO_NAME"
echo " URL: $TDDAI_GITEA_URL"