Commit Graph

27 Commits

Author SHA1 Message Date
7b9d6af5a1 fix: Python 3.6 compatibility for tests
- Replace walrus operator (:=) with traditional assignment in config.py
- Replace datetime.fromisoformat() with strptime() for Python 3.6
- Replace subprocess capture_output and text params with PIPE and universal_newlines
- All tests now pass on Python 3.6.9

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-23 01:40:37 +02:00
7bdc21d3ef build: Helpers to initially setup the dev env 2025-09-23 01:23:32 +02:00
c657094e08 agent: Needed to reinstall claude on Ubuntu 24.04 2025-09-23 01:21:34 +02:00
ef510bbf00 chore: Updated to Ubuntu 24.04 and created new .venv 2025-09-23 01:19:57 +02:00
086515e071 chore: Keep old venv from ubuntu 18.04 for now just in case. 2025-09-23 01:16:12 +02:00
1c40b7a77d agent: Implemented subagents and claude issue handling assistence 2025-09-22 23:03:31 +02:00
6364bb8447 chore: Change NEXT file to correct filetype 2025-09-22 21:11:38 +02:00
84498e9df7 docs: Add ProjectDiary 2025-09-22 21:08:08 +02:00
001343c208 docs: add NEXT.txt with tomorrow's development plan
- Primary focus: validate tddai infrastructure robustness
- Plan to use tddai to test tddai itself (dogfooding)
- Ensure foundation is solid before building new features
- Include secondary opportunities for core MarkiTect development
- Set clear success criteria for infrastructure validation

Ready for tomorrow's session focused on testing and validation.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-22 02:30:17 +02:00
a0522fd534 docs: update ProjectStatusDigest with TDD infrastructure
- Add comprehensive TDD Infrastructure section with tddai library
- Update Current State to reflect complete TDD implementation
- Update Development Tools to include pytest and TDD automation
- Expand Repository Structure to show tddai library and CLI
- Add complete TDD Workflow section with tdd- prefixed targets
- Update Issue Management section with Gitea API integration
- Reflect 20+ passing tests and AI-assisted development cycle
- Update getting started guide with new workflow commands

ProjectStatusDigest now accurately represents the mature TDD-enabled
development environment with comprehensive tooling and automation.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-22 02:23:34 +02:00
bc00cc7eb3 docs: add ProjectDiary entry for TDD infrastructure implementation
- Document complete tddai Python library implementation
- Summarize key achievements: 5 core modules, CLI interface, 20 passing tests
- Record transition from shell-based to Python library architecture
- Note tdd- prefix renaming and proper TDD green-state practices
- Estimate 3-4 hours development time with ~100K AI tokens used
- Maintain reverse chronological order for diary entries

This completes the documentation of the major TDD infrastructure milestone.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-22 02:20:08 +02:00
68af98049e fix: update tests to use renamed tdd- prefixed make targets
- Update test_make_workspace_status_command → test_make_tdd_status_command
- Update test_make_add_test_command_without_workspace → test_make_tdd_add_test_command_without_workspace
- Change test subprocess calls from 'workspace-status' to 'tdd-status'
- Change test subprocess calls from 'add-test' to 'tdd-add-test'

All 20 tests now pass successfully with the new target names.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-22 02:17:04 +02:00
41193d0746 refactor: rename workspace targets to TDD Workspace with tdd- prefix
- Rename "Issue Workspace" category to "TDD Workspace" in help output
- Add tdd- prefix to all workspace-related targets:
  - start-issue → tdd-start
  - add-test → tdd-add-test
  - workspace-status → tdd-status
  - finish-issue → tdd-finish
- Update .PHONY declarations for new target names
- Update all CLI output messages to reference new target names
- Maintain backward compatibility in CLI functionality

This provides clearer naming that emphasizes the TDD focus and avoids
confusion with general issue management targets.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-22 02:14:57 +02:00
84161e77a9 fix: update Makefile targets to use venv Python with PYTHONPATH
- Fix test target to run with PYTHONPATH=. for tddai module discovery
- Update all tddai CLI targets to use $(VENV_PYTHON) instead of python3
- Add PYTHONPATH=. to all CLI commands for proper module resolution
- Ensure all targets depend on $(VENV)/bin/activate

Resolves issue where 'make test' was failing due to module import errors.
All 20 tests now pass successfully.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-22 02:07:05 +02:00
5155a548eb feat: implement tddai Python library for TDD workspace management
- Create comprehensive tddai package with workspace, issue fetcher, and test generator modules
- Add Python CLI interface (tddai_cli.py) to replace complex Makefile shell logic
- Update Makefile targets to use Python CLI for better maintainability
- Implement proper behavior-based tests instead of file existence checks
- Add workspace lifecycle management (create, active, finish, cleanup)
- Add issue fetching from Gitea API with error handling
- Add comprehensive test coverage with 19 passing tests
- Support environment variable configuration for different deployments

This addresses issue #11: Setup TDD workspace infrastructure
All tests pass and the system achieves green state before commit.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-22 02:04:19 +02:00
b03160437e build: Add issue workspace system for structured TDD workflow
- Add start-issue NUM=X target to create structured issue workspaces
- Add add-test target for iterative test generation within workspace
- Add workspace-status target to monitor active workspace state
- Add finish-issue target to move tests to main and cleanup workspace
- Create workspace structure with requirements.md and test_plan.md templates
- Include .markitect_workspace/ in .gitignore for temporary development files
- Enable multiple test generation per issue with proper organization
- Provide guided workflow for issue breakdown and test planning

This replaces single test generation with comprehensive workspace approach
supporting complex issues requiring multiple test scenarios.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-22 01:28:55 +02:00
0043bc6cef build: Add test-from-issue target for TDD workflow
- Add test-from-issue NUM=X target to generate test skeletons from gitea issues
- Integrate Claude Code requirement checking and issue data fetching
- Provide comprehensive test generation guidance with TDD best practices
- Include issue details, test naming conventions, and pytest requirements
- Enable systematic conversion of issue backlog into test-driven development
- Support error handling for non-existent issues

This establishes the core infrastructure for issue-driven TDD workflow

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-22 01:17:54 +02:00
adf48c704c build: Add gitea issue management targets
- Add list-issues target for comprehensive issue overview
- Add show-issue NUM=X target for detailed issue inspection
- Add list-open-issues target for active backlog filtering
- Configure gitea API endpoints with proper URL handling
- Include error handling and jq fallback support
- Enable command-line access to issue tracking and backlog

This establishes foundation for issue-driven TDD workflow

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-22 01:11:00 +02:00
15cd8130a4 docs: Add ProjectDiary.md for tracking development milestones
- Create ProjectDiary.md with reverse chronological milestone tracking
- Add make add-diary-entry target with Claude Code prerequisite check
- Include initial entry documenting today's infrastructure setup
- Track contributors, time estimates, and AI token usage
- Provide structured format for future development logging
- Guide users through diary entry creation process

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-22 00:49:23 +02:00
72195d0aa5 docs: Add ProjectStatusDigest.md with automated update target
- Create comprehensive project status digest documentation
- Add make update-digest target with Claude Code prerequisite check
- Include current architecture, features, and development approach
- Document repository structure and getting started guide
- Add digest update workflow for version releases

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-22 00:37:04 +02:00
eab65c74b5 build: Enhance venv-status to detect shell activation state
- Add venv-status target to check current shell activation
- Detect if venv exists but not activated vs actively running
- Handle different venv active vs project venv scenarios
- Use realpath for robust path comparison across symlinks
- Clean output with --no-print-directory flag
- Integrate status check into help target

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-22 00:18:24 +02:00
ad35e4f754 build: Add comprehensive Makefile for development workflow
- Setup and installation targets (setup, install, dev)
- Development targets (test, build, lint, format)
- Maintenance targets (update, status, clean, check-deps)
- Automatic virtual environment management
- Smart upstream update with submodule handling

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-21 23:46:46 +02:00
f8aed9951d Update wiki submodule to latest
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-21 23:24:37 +02:00
49d3f5f295 Add wiki as submodule tracking main 2025-09-16 23:28:11 +02:00
089787532d Add wiki as submodule tracking main 2025-09-16 23:27:40 +02:00
189b75b3e8 chore: gitignore and repo cleanup 2025-09-16 03:04:18 +02:00
babd121564 chore: first commit 2025-09-16 02:56:34 +02:00