feat: three-tier triage + vertical slice decomposition#36
Merged
cohen-liel merged 2 commits intomainfrom Apr 15, 2026
Merged
Conversation
added 2 commits
April 16, 2026 00:05
Replace binary simple/complex triage with SOLO/SMALL_TEAM/FULL_TEAM classification. Rewrite PM prompt to split by user flow instead of by layer — each task delivers a complete feature end-to-end, eliminating orphan components and missing UI wiring. Key changes: - orchestrator.py: _classify_tier() replaces _triage_is_simple() - pm_agent.py: "split by USER FLOW" prompt, vertical slice example, complexity_tier param with max task validation - config.py: reduced agent budgets (100→50 turns), reviewer timeout 300→600s, get_tier_adjusted_config() - dag_executor_langgraph.py: MAX_DYNAMIC_TASKS 10→3, severity filter for quality roles, tier-aware limits - skills_registry.py: truncation 2500→1500 chars, tier-aware injection - contracts.py: tier-aware user message truncation, scope signal Benchmarked on identical "build a task manager" prompt: - v1 (before): 22 tasks, app broken, score 4.0/10 - v2 (tier system): 12 tasks, missing Create button, score 6.0/10 - v3 (vertical slicing): 8 tasks, everything works, score 7.4/10
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.
Replace binary simple/complex triage with SOLO/SMALL_TEAM/FULL_TEAM classification. Rewrite PM prompt to split by user flow instead of by layer — each task delivers a complete feature end-to-end, eliminating orphan components and missing UI wiring.
Key changes:
Benchmarked on identical "build a task manager" prompt:
Description
Type of Change
Related Issues
Component(s) Affected
Changes Made
Testing
python3 -m py_compile)npx tsc --noEmit)npx vite build)python3 -m pytest tests/)Screenshots
Checklist