feat(FN-2119): merge fusion/fn-2119

This commit is contained in:
gsxdsm
2026-04-19 03:21:38 -07:00
parent 2f611ce489
commit dd58a3ec43
13 changed files with 122 additions and 14 deletions

View File

@@ -52,6 +52,7 @@ export const DEFAULT_GLOBAL_SETTINGS = {
/** Default values for project-level settings. */
export const DEFAULT_PROJECT_SETTINGS = {
globalPause: false,
globalPauseReason: undefined,
enginePaused: false,
maxConcurrent: 2,
maxTriageConcurrent: 2,

View File

@@ -1007,6 +1007,9 @@ export interface ProjectSettings {
* global emergency stop for the entire AI engine.
* Individual per-task pause flags are unaffected. */
globalPause?: boolean;
/** Tracks why globalPause was activated. "rate-limit" for automatic pauses,
* "manual" for user-initiated. Cleared on unpause. */
globalPauseReason?: string;
/** Engine pause (soft pause): when true, the scheduler and triage
* processor stop dispatching **new** work (scheduling, triage
* specification, and auto-merge), but currently running agent sessions