Integrate LAD (LLM-Assisted Development) Framework #391
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.
Not yet to merge but rather to consider . That's a framework I had mentioned earlier today
TODOs
Summary
This PR introduces the LAD framework to con-duct, providing systematic workflows for AI-assisted feature development using Claude Code and GitHub Copilot Agent Mode.
LAD enables test-driven development with structured phases, quality gates, and session continuity for sustainable development practices.
What is LAD?
LAD (LLM-Assisted Development) is a prompt-driven framework that provides repeatable workflows for implementing complex Python features iteratively and safely. It supports two autonomous development workflows:
Key Benefits
✅ Systematic development with multi-phase autonomous workflows
✅ Test-driven development with atomic task breakdowns and continuous validation
✅ Quality assurance through enterprise-grade standards and automated gates
✅ Session continuity with TodoWrite progress tracking across interruptions
✅ Enhanced test quality via 4-phase PDCA (Plan-Do-Check-Act) methodology
✅ Component-aware testing strategies (integration for APIs, unit for business logic)
✅ Documentation standards with NumPy-style docstrings and multi-level docs
Framework Structure
The LAD framework is imported into
.lad/directory and includes:Usage Examples
With Claude Code
# After merging this PR git checkout -b feat/my-featureThen in Claude Code:
Claude automatically:
.lad/claude_prompts/00_feature_kickoff.mdWith GitHub Copilot Agent Mode
Same setup, then in VSCode with Copilot Agent:
Copilot Agent executes the equivalent workflow using function-based prompts from
.lad/copilot_prompts/.Test Quality Improvement
Executes 4-phase systematic improvement:
Real-World Validation
The LAD framework has been validated through:
Integration Approach
This PR uses git subtree to import LAD framework:
The
.lad/directory is self-contained and version-controlled, allowing:.lad/CLAUDE.mdWhy LAD for con-duct?
con-duct is a research software project that benefits from:
No Breaking Changes
This PR only adds the
.lad/directory. It does not modify:src/con_duct/tests/setup.cfg,pyproject.toml, etc.)The LAD framework is opt-in and used when contributors explicitly choose to follow LAD workflows for feature development.
Test Plan
.lad/directory self-containedtoxpassespip install -e .succeedsDocumentation
The LAD framework is fully documented in:
.lad/README.md- Quick overview and examples.lad/LAD_RECIPE.md- Complete step-by-step guide (550+ lines).lad/CLAUDE.md- Project context and patternsFuture Work
After this integration, contributors can:
.lad/CLAUDE.md🤖 This PR enables systematic AI-assisted development for con-duct while maintaining full backward compatibility and zero impact on existing functionality.