- READ CLAUDE.md - Top section about AGENT-GUIDELINES.md
- READ AGENT-GUIDELINES.md - Especially "Parallel Development Workflow" section
- FOLLOW ALL GUIDELINES - Show command outputs, create branches, run scripts
Branch: feature/phase3-benchmarks
Files to create/modify:
test/Tethys.Benchmarks/Tethys.Benchmarks.csproj(new project)test/Tethys.Benchmarks/ResultBenchmarks.cstest/Tethys.Benchmarks/FunctionalMethodsBenchmarks.cs
Tasks:
- Follow AGENT-GUIDELINES.md "Parallel Development Workflow"
- Create benchmark project using BenchmarkDotNet
- Implement benchmarks for:
- Result creation (success vs failure)
- Match method performance
- Map/FlatMap operations
- Callback methods
- Try pattern overhead
- Run benchmarks and document results
Branch: feature/phase3-coverage
Files to modify:
.github/workflows/quality-gates.ymlDirectory.Build.props(if needed)- Update all
.csprojfiles for coverage
Tasks:
- Follow AGENT-GUIDELINES.md "Parallel Development Workflow"
- Set up Coverlet for code coverage
- Update CI/CD to include coverage reports
- Add coverage badges to README
- Ensure coverage gates work in PR checks
Branch: feature/phase3-optimization
Files to modify:
src/Tethys.Results/Result.cs(Combine method)src/Tethys.Results/GenericResult.cs(Combine method)src/Tethys.Results/ResultExtensions.cs(async methods)
Tasks:
- Follow AGENT-GUIDELINES.md "Parallel Development Workflow"
- Run Agent 1's benchmarks first (baseline)
- Optimize Combine methods (avoid multiple enumerations)
- Add ConfigureAwait(false) to all async methods
- Re-run benchmarks to show improvements
-
All agents start simultaneously
-
All agents MUST:
- Show branch creation:
git checkout -b feature/phase3-XXX - Create progress files:
progress/agent-N-status.md - Show test/build outputs
- Run verification scripts and show output
- Create completion marker:
progress/READY-agent-N
- Show branch creation:
-
Merge Order:
- Agent 2 first (infrastructure)
- Agent 1 second (baseline metrics)
- Agent 3 last (shows improvements)
Every agent response should look like:
## Agent 1: Performance Benchmarks
### Branch Setup
```bash
git checkout -b feature/phase3-benchmarks
# OUTPUT: Switched to a new branch 'feature/phase3-benchmarks'
git branch --show-current
# OUTPUT: feature/phase3-benchmarks
[... rest of work following AGENT-GUIDELINES.md format ...]
## Verification Before Merge
No agent work is complete until:
1. Branch created and shown
2. All verification scripts pass with output shown
3. Progress files exist with completion marker
4. All tests pass
5. Coverage maintained >95%