Commit Graph

11 Commits

Author SHA1 Message Date
rob 6135d42bc0 docs: comprehensive AI configuration documentation update
Major documentation updates to align with multi-provider AI system:

1. Update CLAUDE.md (lines 213-332)
   - Add new "AI Configuration System" section
   - Document config/ai.yml structure and three optimization levels
   - Explain model hint propagation pipeline (rule → runner → patcher)
   - Add provider setup table (Claude, Codex, Gemini)
   - Document Claude subagent setup with ./tools/setup_claude_agents.sh
   - List implementation modules with line number references
   - Explain environment variable overrides
   - Document fallback behavior when all providers fail

2. Update docs/DESIGN.md (lines 894-1077)
   - Add "Automation AI Configuration" section before Stage Model
   - Document configuration architecture with full YAML example
   - Explain model hint system with .ai-rules.yml examples
   - Detail execution flow through 4 steps (rule eval → prompt → chain → fallback)
   - Show example prompt with TASK COMPLEXITY hint injection
   - Add provider comparison table with fast/default/quality models
   - Document implementation modules with line references
   - Add cost optimization examples (93% savings on simple tasks)
   - Explain environment overrides and persistence

3. Update docs/AUTOMATION.md (lines 70-148)
   - Restructure Phase 2 requirements to emphasize config/ai.yml
   - Add full YAML configuration example with three chains
   - Explain how model hints work (fast vs quality)
   - Update Claude subagent documentation
   - Clarify auto-selection based on TASK COMPLEXITY
   - Move git config to deprecated status
   - Emphasize environment variables as optional overrides

4. Update README.md (line 10)
   - Add "Multi-Provider AI System" to key features
   - Brief mention of fallback chains and model selection

Impact:
- AI assistants can now discover the multi-provider system
- Users understand how to configure providers via config/ai.yml
- Clear explanation of cost optimization through model hints
- Complete documentation of the execution pipeline
- All major docs now reference the same configuration approach

Resolves documentation gap identified in project review.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-01 21:48:25 -03:00
rob 3751796ecc docs: Add implementation status section to DESIGN.md
Added clear implementation status tracking to DESIGN.md to show what's
currently working vs. what's planned.

Changes:
- Updated document version to v2.1
- Added "Implementation Status (2025-11-01)" section at top
- Created DESIGN.md.old backup for easy comparison
- Categorized features into: Implemented, In Progress, Planned

Current Status:
 Implemented: Stages 1-2, cascading rules, AI patch generation, voting
🚧 In Progress: Stage 3 (Design Discussion Gate) - being implemented now
📋 Planned: Stages 4-7, moderator protocol, bug sub-cycles

The three-stage workflow (Feature → Design → Implementation) was always
documented correctly in DESIGN.md. The current implementation just skips
the Design stage, which we're now fixing.

This status section will be updated as each milestone is completed.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-01 11:39:16 -03:00
rob 4176f51e7d fix: Add YAML syntax fix and mock AI script for testing
- Fix missing space after colon in features.ai-rules.yml
- Add tools/mock_ai.sh for testing automation without real AI
- Ensures installer has valid YAML templates

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-31 09:18:59 -03:00
rob 4e7ad11b4c feat: Implement vote parsing orchestrator and testing infrastructure
Major implementation milestone - core automation is now functional:

1. Add automation/workflow.py (Phase 1 - Vote Parsing)
   - Parse VOTE: lines from discussion files
   - Track latest vote per participant
   - Print human-readable vote summaries
   - Non-blocking (always exits 0)
   - Proper error handling for missing files/git failures
   - 158 lines of production-quality code

2. Add testing infrastructure
   - Create tests/ directory with pytest configuration
   - Add test_utils.py with actual version reading test
   - Add test_template_meta.py (stubs for META system tests)
   - Add test_build.py (stub for build verification)
   - Configure pytest in pyproject.toml (pythonpath)
   - All 4 tests passing

3. Add AGENTS.md - Developer guidelines
   - Project structure and module organization
   - Build, test, and development commands
   - Coding style and naming conventions
   - Testing guidelines
   - Commit and PR guidelines

4. Update docs/DESIGN.md
   - Document workflow.py implementation
   - Update automation status from "planned" to "implemented"
   - Clarify Phase 1 vs future phases

5. Code cleanup - Remove empty stub modules
   - Delete src/cascadingdev/feature_seed.py
   - Delete src/cascadingdev/fs_scaffold.py
   - Delete src/cascadingdev/ramble_integration.py
   - Delete src/cascadingdev/rules_seed.py

Impact:
- Users can now see vote counts in their commits
- Testing foundation enables safe refactoring
- Code is cleaner with only working modules
- Week 1 implementation goals complete

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-30 14:25:53 -03:00
rob 536d885b6b docs: Add CLAUDE.md and restructure DESIGN.md for clarity
Major documentation improvements:

1. Add CLAUDE.md
   - Comprehensive guide for AI assistants working in this repo
   - Repository architecture and directory structure
   - Common development commands and workflows
   - Build system explanation
   - Key concepts and design philosophy

2. Restructure DESIGN.md
   - Clarify three directory contexts: CascadingDev Repo, Install Bundle, User Project
   - Add clear section headers and visual separation
   - Mark future/unimplemented features with 🚧 emoji
   - Document undocumented wins: META system and Ramble providers
   - Add comprehensive Ramble documentation (mock and claude providers)
   - Document template META system with code examples

3. Fix setup_project.py
   - Correct error message path (was scripts/hooks/pre-commit, now assets/hooks/pre-commit)

These changes address confusion between tooling source, distribution bundle, and
generated user projects while highlighting sophisticated features like the
self-describing template system and multi-provider Ramble GUI.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-30 12:31:33 -03:00
rob d78b0d83c8 1st commit 2025-10-29 01:22:40 -03:00
rob a0b2816cc5 1st commit 2025-10-28 21:23:08 -03:00
rob e914caf15f 1st commit 2025-10-28 11:56:01 -03:00
rob 67a4415600 1st commit 2025-10-27 20:17:35 -03:00
rob ade5f91ad7 1st commit 2025-10-27 16:28:14 -03:00
rob a075472a98 1st commit 2025-10-27 16:24:50 -03:00