Skip to content

Scope Assessment Settings

Quick Start: Customize how Sequant evaluates issue scope during /spec by configuring thresholds in .sequant/settings.json. Use this to tune scope warnings for your project’s size and complexity.

During /spec, Sequant runs scope assessment to detect overscoped issues. It checks four metrics against configurable thresholds:

MetricWhat It MeasuresDefault YellowDefault Red
Feature countDistinct features in the issue23
AC itemsNumber of acceptance criteria69
File estimateEstimated files to change813
Directory spreadDirectories affected35

Issues below the trivial thresholds skip assessment entirely:

Trivial ThresholdWhat It ControlsDefault
Max AC itemsAC count below this is trivial3
Max directoriesDirectory count below this is trivial1

Scope assessment runs automatically during /spec with built-in defaults. No configuration required.

Edit .sequant/settings.json to override any threshold:

{
"scopeAssessment": {
"thresholds": {
"acItems": { "yellow": 10, "red": 15 },
"directorySpread": { "yellow": 5, "red": 8 }
}
}
}

Only specify the values you want to change. Omitted fields use defaults.

{
"scopeAssessment": {
"enabled": false
}
}

Raise the trivial thresholds to skip assessment for larger issues:

{
"scopeAssessment": {
"trivialThresholds": {
"maxACItems": 5,
"maxDirectories": 2
}
}
}

All settings live under scopeAssessment in .sequant/settings.json:

OptionDescriptionDefault
enabledEnable/disable scope assessmenttrue
skipIfSimpleSkip assessment for trivial issuestrue
trivialThresholds.maxACItemsMax AC items for trivial classification3
trivialThresholds.maxDirectoriesMax directories for trivial classification1
thresholds.featureCount.yellowFeature count yellow warning2
thresholds.featureCount.redFeature count red warning3
thresholds.acItems.yellowAC items yellow warning6
thresholds.acItems.redAC items red warning9
thresholds.fileEstimate.yellowFile estimate yellow warning8
thresholds.fileEstimate.redFile estimate red warning13
thresholds.directorySpread.yellowDirectory spread yellow warning3
thresholds.directorySpread.redDirectory spread red warning5

Large projects with many directories may trigger false scope warnings. Raise the thresholds:

{
"scopeAssessment": {
"trivialThresholds": {
"maxACItems": 5,
"maxDirectories": 3
},
"thresholds": {
"acItems": { "yellow": 10, "red": 15 },
"fileEstimate": { "yellow": 15, "red": 25 },
"directorySpread": { "yellow": 5, "red": 10 }
}
}
}

Lower thresholds to catch scope creep earlier:

{
"scopeAssessment": {
"thresholds": {
"featureCount": { "yellow": 1, "red": 2 },
"acItems": { "yellow": 4, "red": 6 }
}
}
}

You only need to specify values you want to change. Everything else uses defaults:

{
"scopeAssessment": {
"thresholds": {
"acItems": { "yellow": 8, "red": 12 }
}
}
}

This only changes AC item thresholds. Feature count, file estimate, directory spread, and trivial thresholds all remain at their defaults.

Symptoms: Scope assessment still uses default thresholds after editing settings.

Solution:

  1. Verify .sequant/settings.json is valid JSON (cat .sequant/settings.json | jq .)
  2. Ensure thresholds are nested under scopeAssessment, not at the root
  3. Check that field names match exactly (e.g., acItems, not ac_items)

Symptoms: Issues that should be assessed are marked “trivial” and skipped.

Solution: Your issue falls below the trivial thresholds. Either:

  • Lower trivialThresholds.maxACItems or trivialThresholds.maxDirectories
  • Set skipIfSimple: false to assess all issues regardless of size

Symptoms: Scope assessment runs with defaults despite settings file existing.

Solution: If .sequant/settings.json contains invalid JSON, Sequant silently falls back to defaults. Fix the JSON syntax:

Terminal window
# Check for JSON errors
cat .sequant/settings.json | jq . 2>&1

Generated for Issue #249 on 2026-02-20