Add tests to ensure specs and plans conform to validation #67
All Vouch review confidence checks passed
Residual risk 0.06 = Change Risk (0.40) × (1 − Review Confidence (0.85)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.40 · 152 lines diff across 1 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.83 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.301
Real PR Conversation Timeline
4 items
import the validate packages from tool/pkg, not the commands
Good point on factoring those things out of the commands! Let's also factor out the part that finds the project root, so the new tests can use that rather than assuming they're in tests/, and let's add options to tool plan validate and tool spec validate to check the entire plan/ or spec/ dir, so the iteration is also abstracted into the library.
Since this was a lot of refactoring, add tests and run them to make sure that the tools still work.
mtaufen
codebot-robot
This PR adds tests to the root-level
test/directory to ensure that all specs and plans conform to validation. It uses the validators from thetoolcommand.Fixes #66