Repository navigation
Conversation
- Add trivialThresholds (maxACItems, maxDirectories) to ScopeAssessmentSettings - Add directorySpread threshold to settings thresholds - Add DEFAULT_TRIVIAL_THRESHOLDS with documented defaults - Update getSettings() to deep merge trivialThresholds - Create convertSettingsToConfig() for settings→config conversion - Export converter from src/lib/scope/index.ts - Update SKILL.md to read settings before scope assessment - Add comprehensive unit tests for converter function Enables users to configure custom scope thresholds via .sequant/settings.json Closes #249
5 tasks
Verify the full pipeline: settings.json → getSettings() → convertSettingsToConfig() → valid ScopeAssessmentConfig. Covers deep merge of partial trivialThresholds and thresholds, partial individual thresholds (missing red), invalid JSON fallback, and default value drift guard.
Operational docs for customizing scope thresholds via .sequant/settings.json, including options reference, common workflows, and troubleshooting.
admarble
deleted the
feature/249-fix-align-scopeassessmentsettings-with-scopeassess
branch
February 20, 2026 06:51
admarble
added a commit
that referenced
this pull request
Feb 20, 2026
…302) * fix(#249): Align ScopeAssessmentSettings with ScopeAssessmentConfig - Add trivialThresholds (maxACItems, maxDirectories) to ScopeAssessmentSettings - Add directorySpread threshold to settings thresholds - Add DEFAULT_TRIVIAL_THRESHOLDS with documented defaults - Update getSettings() to deep merge trivialThresholds - Create convertSettingsToConfig() for settings→config conversion - Export converter from src/lib/scope/index.ts - Update SKILL.md to read settings before scope assessment - Add comprehensive unit tests for converter function Enables users to configure custom scope thresholds via .sequant/settings.json Closes #249 * test(#249): add integration tests for settings → config flow Verify the full pipeline: settings.json → getSettings() → convertSettingsToConfig() → valid ScopeAssessmentConfig. Covers deep merge of partial trivialThresholds and thresholds, partial individual thresholds (missing red), invalid JSON fallback, and default value drift guard. * docs(#249): add scope assessment settings documentation Operational docs for customizing scope thresholds via .sequant/settings.json, including options reference, common workflows, and troubleshooting.
admarble
added a commit
that referenced
this pull request
Feb 20, 2026
…nt (#306) * fix(#305): add pre-flight state guard and worktree lifecycle management - Add pre-flight guard to skip issues with ready_for_merge/merged status - Add --force flag to bypass pre-flight guard - Add stale worktree detection (>5 commits behind main) with recreation - Add reconcileStateAtStartup() for auto-cleanup at run start - Add helper functions: isBranchMergedIntoMain, isIssueMergedIntoMain - Update merger skill docs with state update steps and worktree cleanup - Implement graceful degradation (continue on failures) - Add comprehensive unit tests for reconciliation functions Closes #305 * fix(#249): Align ScopeAssessmentSettings with ScopeAssessmentConfig (#302) * fix(#249): Align ScopeAssessmentSettings with ScopeAssessmentConfig - Add trivialThresholds (maxACItems, maxDirectories) to ScopeAssessmentSettings - Add directorySpread threshold to settings thresholds - Add DEFAULT_TRIVIAL_THRESHOLDS with documented defaults - Update getSettings() to deep merge trivialThresholds - Create convertSettingsToConfig() for settings→config conversion - Export converter from src/lib/scope/index.ts - Update SKILL.md to read settings before scope assessment - Add comprehensive unit tests for converter function Enables users to configure custom scope thresholds via .sequant/settings.json Closes #249 * test(#249): add integration tests for settings → config flow Verify the full pipeline: settings.json → getSettings() → convertSettingsToConfig() → valid ScopeAssessmentConfig. Covers deep merge of partial trivialThresholds and thresholds, partial individual thresholds (missing red), invalid JSON fallback, and default value drift guard. * docs(#249): add scope assessment settings documentation Operational docs for customizing scope thresholds via .sequant/settings.json, including options reference, common workflows, and troubleshooting. * docs: update what-weve-built and changelog for #249 * fix(#305): register --force flag in CLI for run command The --force option was defined in RunOptions and checked at runtime, but never registered with Commander in bin/cli.ts. Users would see "use --force to re-run" but the flag was unrecognized by the CLI parser.
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
trivialThresholds,directorySpread) toScopeAssessmentSettingsinterfaceconvertSettingsToConfig()function to convert user settings to scope configperformScopeAssessmentChanges
src/lib/settings.tsTrivialThresholdsinterface,trivialThresholdsanddirectorySpreadfieldssrc/lib/scope/settings-converter.tssrc/lib/scope/settings-converter.test.tssrc/lib/scope/index.ts.claude/skills/spec/SKILL.mdTest plan
npm run build)npm run lint)Pre-PR AC Verification
ScopeAssessmentSettingsincludes all fields fromScopeAssessmentConfigsrc/lib/settings.ts:113-146.sequant/settings.jsonare used by scope assessmentconvertSettingsToConfig()+ SKILL.md updateperformScopeAssessment.claude/skills/spec/SKILL.md:203-218settings-converter.test.ts(9 tests)Closes #249
🤖 Generated with Claude Code