* fix(#3801): register inline_plan_threshold in the defaults manifest (default 2) and correct settings-advanced * chore(#3801): changeset fragment (pr number backfilled after PR creation) * chore(#3801): backfill changeset PR number (4019) * test(#3801): parse the defaults table with the shared markdown-table parser --------- Co-authored-by: sim <sim@local>
This commit is contained in:
@@ -134,6 +134,7 @@ const CONFIG_DEFAULTS = {
|
||||
security_block_on: _getNestedConfigDefault('workflow', 'security_block_on'),
|
||||
post_planning_gaps: _getNestedConfigDefault('workflow', 'post_planning_gaps'),
|
||||
smart_zone_tokens: _getNestedConfigDefault('workflow', 'smart_zone_tokens'),
|
||||
inline_plan_threshold: _getNestedConfigDefault('workflow', 'inline_plan_threshold'), // #3801
|
||||
max_prompt_tokens: _getNestedConfigDefault('review', 'max_prompt_tokens'),
|
||||
};
|
||||
|
||||
|
||||
@@ -111,6 +111,11 @@ const SCHEMA_DEFAULTS: Record<string, unknown> = {
|
||||
// manifest default rather than "Key not found". Derived from the defaults manifest so
|
||||
// the manifest stays the single source of truth.
|
||||
'planning.pr_strict': CONFIG_DEFAULTS.pr_strict,
|
||||
// #3801: execute-plan reads this key on every run; an absent key must resolve
|
||||
// to the manifest default (2) rather than "Key not Found" — previously the
|
||||
// effective default existed only as the workflow's shell fallback and the
|
||||
// docs disagreed (settings-advanced said 3). Manifest stays the one owner.
|
||||
'workflow.inline_plan_threshold': CONFIG_DEFAULTS.inline_plan_threshold,
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user