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
2 changed files with 3 additions and 8 deletions
Showing only changes of commit 6ac40b04c4 - Show all commits

chore: apply dart format to the files this branch changed

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

View file

@ -446,13 +446,7 @@ Guidance buildGuidance({
for (var i = 0; i < groups.length; i++) {
final block = selected.length >= maxFindings
? null
: _groupBlock(
groups[i],
selected.length + 1,
policy,
scope,
verifyFor,
);
: _groupBlock(groups[i], selected.length + 1, policy, scope, verifyFor);
if (block == null ||
runningLength + block.length + noteReserve > budgetChars) {
// Stop at the first entry that does not fit. Skipping it and packing the

View file

@ -383,7 +383,8 @@ String _actionOf(List<Finding> group, List<String> targets, FixPolicy policy) {
'Removing the branches that match them needs explicit approval.'
: 'Remove the branch matching each of $list, or emit it from '
'$ownerName if the UI is right.',
_ => '${ruleFixFor(policy)[head.rule] ?? single} Applies to each of: $list.',
_ =>
'${ruleFixFor(policy)[head.rule] ?? single} Applies to each of: $list.',
};
}