Commit f9932b2
feat: bind workflow guidance to plan system prompt with structured field specs (#28)
* feat: expose structured workflow guidance to plan system prompt
- Enhanced _extract_latest_workflow_guidance to return full guidance object
- Added comprehensive guidance formatting for plan system prompt
- Exposed plan_required_fields with types, conditions, and descriptions
- Updated plan evaluation protocol to use structured guidance
- Added comprehensive test coverage for guidance exposure
- Created documentation and examples for the enhanced system
This enables AI coding assistants to receive detailed field specifications,
conditional requirements, and preparation instructions, significantly
improving plan validation success rates.
* fix: remove low-quality static risk generation fallback and fix formatting
- Removed _generate_default_risk_profile function (hardcoded patterns)
- Cleaned up risk assessment logic to avoid static fallbacks
- Fixed formatting issues for CI compliance
- Maintained backward compatibility for client APIs
* fix: final formatting fix for CI compliance
* fix: add noqa comments for mutable default arguments to preserve client compatibility
- Added # noqa: B006 comments to ignore mutable default warnings
- Preserves existing API contracts for all client tools
- Maintains backward compatibility while satisfying linting requirements
* fix: resolve mypy type checking errors
- Fixed duplicate variable name 'plan_required_fields' in workflow_guidance.py
- Added missing 'workflow_guidance' field to SystemVars model
- All type checking now passes without errors
* remove example
* dynamic field spesicifcation
* update task size task_size_definitions
* refactor code review tools
* fmt
* update risk mgmt
* imports
---------
Co-authored-by: mcp-release-bot <[email protected]>1 parent f48c464 commit f9932b2
File tree
20 files changed
+2860
-1362
lines changed- scripts
- src/mcp_as_a_judge
- core
- models
- prompts
- system
- tool_descriptions
- user
- workflow
- tests
20 files changed
+2860
-1362
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| 65 | + | |
65 | 66 | | |
66 | 67 | | |
67 | 68 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
52 | | - | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
53 | 56 | | |
54 | 57 | | |
55 | 58 | | |
| |||
90 | 93 | | |
91 | 94 | | |
92 | 95 | | |
93 | | - | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
94 | 105 | | |
95 | 106 | | |
96 | 107 | | |
97 | 108 | | |
98 | 109 | | |
99 | 110 | | |
100 | 111 | | |
101 | | - | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
102 | 122 | | |
103 | 123 | | |
104 | 124 | | |
| |||
113 | 133 | | |
114 | 134 | | |
115 | 135 | | |
116 | | - | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
117 | 139 | | |
118 | 140 | | |
119 | 141 | | |
| |||
146 | 168 | | |
147 | 169 | | |
148 | 170 | | |
149 | | - | |
| |||
0 commit comments