fix(guide,suggest): word agent guidance no stronger than the evidence #2

Merged
trevon merged 13 commits from docs/honest-agent-guidance into main 2026-09-22 21:19:58 +00:00
Showing only changes of commit b304b61a48 - Show all commits

test(suggest): match the judgement label the scorer prints

trvon 2026-09-22 12:10:11 -06:00
Signed by: trevon
GPG key ID: 38686EA797D7A8A7

View file

@ -345,10 +345,7 @@ void main() {
),
]),
);
expect(
plan.toAgentBlock(),
contains('Order is a score, not a mandate.'),
);
expect(plan.toAgentBlock(), contains('Order is a score, not a mandate.'));
});
test('wiring up a dead handler is not scored as judgement-free', () {
@ -371,7 +368,10 @@ void main() {
policy: FixPolicy.remove,
);
expect(wireUp.ordered.single.why, isNot(contains('no product judgement')));
expect(remove.ordered.single.why, contains('no product judgement (+15)'));
expect(
remove.ordered.single.why,
contains('no product judgement needed (+15)'),
);
expect(remove.ordered.single.score, wireUp.ordered.single.score + 15);
});