feat: add AIDLC Design Reviewer tool with monorepo support#152
Open
feat: add AIDLC Design Reviewer tool with monorepo support#152
Conversation
Add AI-powered design review tool for AIDLC projects with intelligent workspace detection for monorepo environments. Features: - Multi-agent design review (Critique, Alternatives, Gap Analysis) - Quality scoring with weighted severity analysis - Two deployment modes: CLI tool and Claude Code hook (experimental) - Comprehensive test suite (743 tests) - Full documentation and installation guides Installation improvements: - Smart workspace detection in all installers (Bash/PowerShell) - Priority-based detection: .git > aidlc-rules > pyproject.toml - Automatic detection from scripts/aidlc-designreview/tool-install/ - Backward compatible with standalone usage - Visual feedback showing detected workspace directory Documentation: - Added "Supporting Tools" section to main README.md - Links to design reviewer and evaluator documentation - Installation instructions for both CLI and hook modes - MONOREPO_INSTALLATION.md with detailed migration notes Modified files: - README.md: Added Supporting Tools section - tool-install/install-linux.sh: Smart workspace detection - tool-install/install-mac.sh: Smart workspace detection - tool-install/install-windows.sh: Smart workspace detection - tool-install/install-windows.ps1: Smart workspace detection New files: - scripts/aidlc-designreview/: Complete tool with src/, tests/, docs/ - MONOREPO_INSTALLATION.md: Migration and testing documentation - MIGRATION_NOTES.md: Migration checklist and status Co-Authored-By: Claude Sonnet 4.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add AI-powered design review tool for AIDLC projects with intelligent workspace detection for monorepo environments.
Features:
Installation improvements:
Documentation:
New files:
Summary
Introduces automated design review capability for AIDLC projects using
Claude AI models via AWS Bedrock. Analyzes design artifacts and produces
actionable reports with severity-graded findings, alternative approaches,
and gap analysis.
Key Features:
Directory Structure in Target Repository
Files
Core Application Files
foundation/- Config, logging, exceptions, prompts, patterns (13 modules)validation/- Structure validation, artifact discovery (6 modules)parsing/- Artifact parsers (5 modules)ai_review/- AI agents and orchestration (8 modules)reporting/- Report builders and formatters (7 modules)orchestration/- Pipeline orchestrator (2 modules)cli/- CLI entry point (3 modules)__init__.py- Package initializationpy.typed- Type checking markerConfiguration Files
patterns/- 15 architectural pattern definitions (markdown)prompts/- 3 agent system prompts (critique, alternatives, gap)default-config.yaml- Bundled default configurationexample-config.yaml- Annotated user reference configurationHook Installation System
lib/- 7 library modules:logger.sh- Logging functionsconfig-defaults.sh- Default configuration valuesconfig-parser.sh- YAML parser with fallbacksuser-interaction.sh- User promptsreview-executor.sh- Artifact discovery and reviewreport-generator.sh- Report parsing and generationaudit-logger.sh- Audit trail logginghooks/- Hook entry point:pre-tool-use- Main hook scripttemplates/- Report templates:design-review-report.md- Report templateinstall-mac.sh- macOS installerinstall-linux.sh- Linux installer (symlink to macOS)install-windows.ps1- Windows PowerShell installerinstall-windows.sh- Windows Git Bash/WSL installerreview-config.yaml.example- Example hook configurationREADME.md- Technical documentationTest Suite
unit1_foundation/- 14 files, ~284 testsunit2_validation/- 7 files, ~122 testsunit3_parsing/- 6 files, ~71 testsunit4_ai_review/- 10 files, ~103 testsunit5_reporting/- 5 files, ~95 testsunit5_orchestration/- 2 files, ~15 testsunit5_cli/- 3 files, ~19 testsfunctional/- 4 files, ~34 testsconftest.py- Pytest configuration and fixtures__init__.py- Test package initializationDocumentation
README.md - Main project documentation (38KB, comprehensive)
INSTALLATION.md - Hook installation guide (16KB)
CHANGELOG.md - Version history and release notes
docs/ - Additional documentation
hook/TESTING.md- Hook testing guidesecurity/- Security documentation directoryAWS_BEDROCK_SECURITY_GUIDELINES.mdSYSTEM_ARCHITECTURE.mdTHREAT_MODEL.mdai-security/- AI security documentationBEDROCK_GUARDRAILS.mdarchitecture/- Architecture documentationLegal and License Files
Project Configuration
pyproject.toml - Python project configuration
uv.lock - Dependency lock file (for reproducible builds)
Changes
User experience
Checklist
If your change doesn't seem to apply, please leave them unchecked.
Test Plan
CLI Tool Tests
uv synccompletes successfullydesign-reviewer --versionworksmypypasses with no errorsHook Installation Tests
./tool-install/install-mac.shsucceeds./tool-install/install-linux.shsucceeds.\tool-install\install-windows.ps1succeeds./tool-install/install-windows.shsucceedsTEST_MODE=1 .claude/hooks/pre-tool-useworksDocumentation Tests
Security Tests
Acknowledgment
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the project license.