Repository navigation
Conversation
Add a size gate that skips sub-agent spawning for trivial diffs (< 100 lines, no package.json changes, no security-sensitive paths). Includes simplified output template and configurable threshold via qa.smallDiffThreshold in .sequant/settings.json.
4 tasks
grep -c always outputs the count (even "0") but returns exit code 1 on zero matches. Combined with || echo "0", this produces "0\n0" in the variable, breaking downstream arithmetic. Also fixes overbroad 'any' pattern (grep -c → grep -cw) and adds QA small-diff fast path docs.
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.
Summary
/qaskill: diffs below configurable threshold (default 100 lines) with nopackage.jsonchanges and no security-sensitive paths use inline quality checks instead of spawning 3 sub-agentsQASettingsinterface withsmallDiffThresholdtosettings.ts, configurable via.sequant/settings.json(qa.smallDiffThreshold)AC Coverage
Test plan
npm run buildpassesnpm run lintpassesnpm testpasses (6 new QA settings tests, pre-existing timeout in state-utils unrelated)/qaon a small diff (<100 lines) and verify inline checks + simplified output/qaon a large diff (>=100 lines) and verify sub-agents still spawnCloses #465
🤖 Generated with Claude Code