@morodomi/ait3
Version:
AITΒ³ Development Platform - AI + Ticket + Test + Tool driven development methodology
267 lines (204 loc) β’ 12.4 kB
Markdown
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [1.2.1] - 2025-07-12
### Fixed
#### π Bug Fixes
- **GitHub API Consistency** (#128) - Standardized all GitHubTicketService methods to use `octokit.rest.*` pattern
- Updated 8 methods from deprecated `octokit.issues.*` to modern `octokit.rest.issues.*`
- Ensures compatibility with Octokit v17+ library updates
- No breaking changes - purely internal consistency improvement
- **Security Test Corrections** (#130) - Fixed GitHubTicketService security test expectations
- Updated tests to match actual Octokit API behavior
- Verified that malicious inputs are safely handled as string parameters
- Added comprehensive error handling tests for API failures
### Changed
#### π§ͺ Test Improvements
- **Better Security Testing** - Tests now verify actual security behavior rather than theoretical vulnerabilities
- **API Pattern Enforcement** - Added tests to ensure consistent use of `octokit.rest.*` pattern
## [1.2.0] - 2025-07-11
### Added
#### π Documentation & Guides
- **Release Process Guide** - Added `.claude/commands/release` with comprehensive release workflow
- **Review Command Installation** - `ait3 install command review` for multi-agent review guide
- **Improved ESLint Configuration** - Added explanatory comments for better maintainability
### Changed
#### π§Ή Code Quality Improvements
- **Zero ESLint Warnings** - Achieved through smart configuration instead of manual fixes
- Test files now disable `explicit-function-return-type` rule automatically
- Configuration-based solution prevents future occurrences
- Reduced from 42 warnings to 0 (100% improvement)
- **Improved Type Safety** - Replaced all `any` types with `unknown` and proper type guards
- **Better Test File Coverage** - ESLint rules now apply to both `src/**/*.test.ts` and `tests/**/*.test.ts`
#### π§ Command Improvements
- **`ait3 init` refinement** - Moved review command to separate installation (`ait3 install command review`)
- **Consistent command structure** - All command guides follow the same format in `.claude/commands/`
### Fixed
#### π Bug Fixes
- **Unused variable warnings** - Fixed all instances with proper `_` prefix convention
- **Catch block improvements** - Removed unused error parameters where not needed
- **Type annotation consistency** - Resolved all missing return type warnings through configuration
### Developer Experience
#### π Performance & Efficiency
- **ESLint configuration** - 42 warnings resolved in minutes vs hours of manual work
- **Future-proof solution** - New test files automatically inherit proper ESLint rules
- **Cleaner codebase** - Zero warnings improve IDE experience and code clarity
## [1.1.0] - 2025-07-10
### Added
#### π GitHub Issues Integration
- **`ait3 setup ticket github`** - Configure GitHub Issues as ticket backend
- **`ait3 setup ticket local`** - Switch back to local file backend
- **Automatic repository detection** - From git remotes with validation
- **GitHub CLI integration** - Authentication and permission checking
- **Dual backend support** - Seamless switching between local and GitHub
#### π Ticket Migration System
- **`ait3 migrate local github`** - Migrate all tickets to GitHub Issues
- **`ait3 migrate github local`** - Migrate all tickets to local files
- **`ait3 migrate --tickets "1,3-5"`** - Selective migration by ID or range
- **Description preservation** - Full markdown content migration
- **Bidirectional migration** - Complete roundtrip compatibility
#### ποΈ AI-Optimized Ticket Deletion
- **`ait3 ticket delete <id>`** - Delete tickets with complete information output
- **`--dry-run` option** - Preview deletion without execution
- **Workflow protection** - Blocks deletion of tickets in 'doing' status
- **AI recovery support** - Outputs complete ticket content for context window recovery
- **Git integration** - Uses `git rm` with filesystem fallback
#### βοΈ Enhanced Setup & Configuration
- **Multiple remote handling** - Intelligent GitHub repository detection
- **Configuration validation** - Comprehensive error handling and user guidance
- **Idempotent operations** - Safe to run multiple times with status checking
- **Interactive guidance** - Clear next-step instructions for setup
#### π Simplified Project Initialization
- **`ait3 init`** - Redesigned to generate 3 files for Claude Code integration
- **No more subcommands** - Removed confusing `init claude-md` subcommand
- **Git-friendly overwrites** - Always overwrites files, assuming version control
- **Three essential files**:
- `CLAUDE.ait3.md` - Full AITΒ³ template with project analysis
- `.claude/CLAUDE.md` - Minimal working version
- `.claude/commands/ait3-init` - Integration guide
#### π Security Enhancement
- **`ait3 install security`** - Add security permissions to Claude Code
- **Deny dangerous commands** - Block curl, wget, rm by default
- **Smart permission merging** - Preserves existing settings
- **Non-intrusive** - Only modifies permissions.deny array
### Enhanced
#### π Ticket Management
- **`ait3 ticket undo <id>`** - Undo ticket to previous state
- **Enhanced error handling** - User-friendly messages across all commands
- **Location information** - Display ticket storage location (local path/GitHub URL)
- **Status tracking** - Improved state management for complex workflows
- **Improved missing argument errors** - Helpful examples when ticket ID is missing
- **Backend-aware help messages** - Different examples for local vs GitHub backends
#### ποΈ Service Architecture
- **Extended TicketService interface** - Added delete operations support
- **GitService file removal** - New `removeFile()` method with git integration
- **Robust error handling** - Comprehensive GitHub API error classification
- **Backend abstraction** - Clean separation between local and GitHub operations
#### π Documentation & Integration
- **Updated command templates** - Current implementation in `.claude/commands/ait3`
- **GitHub integration examples** - Setup workflows and usage patterns
- **Gemini CLI analysis patterns** - Backend validation and architecture analysis
- **Enhanced CLAUDE.md** - v1.1 feature documentation and examples
### Technical Improvements
#### π Type Safety & Validation
- **Enhanced TypeScript types** - `DeleteTicketArgs` and extended service interfaces
- **Input validation** - Comprehensive ID format and parameter checking
- **API error handling** - GitHub authentication, permissions, and network failures
- **Configuration management** - Type-safe backend configuration with validation
#### π§ͺ Testing & Quality
- **18 comprehensive unit tests** - Delete command with full scenario coverage
- **Integration testing** - Setup and migration command validation
- **Mock GitHub API testing** - Error scenario and edge case handling
- **Maintained 100% test coverage** - All new functionality fully tested
#### π Git Integration
- **`git rm` integration** - Safe file removal with version control awareness
- **Repository detection** - Automatic Git repository validation
- **Fallback mechanisms** - Graceful degradation for non-Git environments
- **Multi-remote support** - Handle complex Git remote configurations
### Requirements Update
- **GitHub CLI (`gh`)** - Required for GitHub Issues integration
- **Git repository** - Recommended for advanced file operations
- **Repository permissions** - Issues read/write access for GitHub backend
- **Node.js 18+ and npm 8+** - Unchanged from v1.0
### Migration from v1.0
- **Fully backward compatible** - All v1.0 commands work unchanged
- **Optional GitHub integration** - Local backend remains default
- **Existing tickets preserved** - No data migration required
- **Progressive enhancement** - Add GitHub integration when needed
## [1.0.0] - 2025-07-09
### Added
#### π― Core AITΒ³ Methodology
- **Socratic dialogue framework** - Claude proposes, Gemini refutes, Human decides
- **Complete AITΒ³ workflow** - PLANNING β RED β GREEN β REFACTOR β SQUASH phases
- **Evidence-based development** - 100% test pass rate requirement
- **Dialectical reasoning** - Embracing questions and counterarguments for stronger solutions
#### π« Intelligent Ticket Management
- **Local file-based system** - `.tickets/` directory with todo/doing/done statuses
- **AI-readable format** - Structured markdown for LLM context management
- **Smart workflows** - Automatic status transitions and Git integration
- **Commands**: `create`, `start`, `complete`, `list`, `show`, `delete`, `undo`
#### π AITΒ³ Flow Commands
- **`ait3 flow plan`** - Socratic dialogue for approach validation
- **`ait3 flow red`** - Purpose-driven test creation with 100% intention alignment
- **`ait3 flow green`** - Implementation with 100% test pass requirement
- **`ait3 flow refactor`** - Code optimization with mock identification
- **`ait3 flow squash`** - Git command suggestions for clean commit history
#### π οΈ Claude Code Integration
- **Auto-setup** - Automatic `.claude/commands` installation
- **Command templates** - AITΒ³ and Gemini command files
- **MCP server** - Seamless Claude Code integration
- **Context optimization** - Large codebase analysis with Gemini CLI
#### π Project Analysis Engine
- **Multi-language detection** - Node.js, PHP, Python, Go support
- **Smart dependency analysis** - package.json, composer.json, requirements.txt
- **Architecture pattern recognition** - Directory structure analysis
- **Command detection** - Automatic build/test/dev script identification
#### π§ Installation & Setup Commands
- **`ait3 install claude-md`** - Simple CLAUDE.md template generation
- **`ait3 init claude-md`** - Comprehensive project analysis + template
- **`ait3 install command`** - Auto-install Claude command guides
- **`ait3 analyze project`** - Detailed project structure analysis
### Technical Implementation
#### ποΈ Architecture
- **Pure Functions + Service Injection** - Clean, testable architecture
- **TypeScript 5.0+ strict mode** - Complete type safety
- **Comprehensive test coverage** - 482 tests with 100% pass rate
- **ESLint integration** - Modern flat config with quality gates
#### π¨ Developer Experience
- **Claude Code optimization** - Context-aware AI assistance
- **Gemini large codebase analysis** - Massive context window utilization
- **Real-time progress tracking** - Visual feedback throughout workflows
- **Git workflow automation** - Branch management and clean history
#### π¦ Package Quality
- **Production-ready distribution** - Optimized npm package
- **Cross-platform CLI** - Node.js 18+ compatibility
- **Dependency management** - Minimal production dependencies
- **Security best practices** - No exposed secrets or vulnerabilities
### Philosophy
AITΒ³ embodies **Socratic epistemology** - wisdom emerges through questioning, dialogue, and examining assumptions. The platform implements a **human-centric AI collaboration model** where:
- **AI provides computational power and alternative perspectives**
- **Human judgment remains supreme** in all technical decisions
- **Refutation strengthens confidence** through failed attempts to disprove
- **Continuous flow state** balanced with engineering discipline
### Breaking Changes
This is the initial v1.0.0 release establishing the stable API for:
- Command interface and arguments
- Ticket file format and structure
- AITΒ³ workflow methodology
- Claude Code integration patterns
### Migration Guide
Not applicable for initial release.
### Contributors
- **morodomi** - Primary developer and AITΒ³ methodology architect
- **Claude** - AI development partner and code generation
- **Gemini** - Dialectical analysis and alternative perspective provider
### Acknowledgments
Special thanks to the Claude Code team for enabling seamless AI-human collaboration in software development.
---
## Links
- [Repository](https://github.com/morodomi/ait3)
- [Issues](https://github.com/morodomi/ait3/issues)
- [Claude Code Documentation](https://docs.anthropic.com/en/docs/claude-code)
## License
MIT License - see [LICENSE](LICENSE) file for details.