@runfusion/fusion 0.77.0-beta.3 → 0.77.0-beta.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin.js +13158 -10683
- package/dist/child-process-worker.js +9200 -6239
- package/dist/client/.vite/manifest.json +301 -274
- package/dist/client/assets/{AgentDetailView-D-mPbGXe.js → AgentDetailView-CSK_Rnlk.js} +3 -3
- package/dist/client/assets/{AgentPermissionPolicyEditor-Bq3z2QY0.js → AgentPermissionPolicyEditor-kG44Adcm.js} +1 -1
- package/dist/client/assets/{AgentsView-CYg6b9n0.js → AgentsView-ClKwKWnU.js} +4 -4
- package/dist/client/assets/ChatView-DoOqgkPX.js +13 -0
- package/dist/client/assets/{CommandCenter-DDCbSURT.js → CommandCenter-CJxvPbgn.js} +3 -3
- package/dist/client/assets/{DevServerView-DJ459OYL.js → DevServerView-C4nyLONX.js} +1 -1
- package/dist/client/assets/{DirectoryPicker-ClOKp7d1.js → DirectoryPicker-BIvXWIB5.js} +1 -1
- package/dist/client/assets/DocumentsView-DH_aZysM.js +1 -0
- package/dist/client/assets/{EvalsView-DGJFQc1W.js → EvalsView-klRK-GJQ.js} +1 -1
- package/dist/client/assets/{ExperimentalAgentOnboardingModal-CMy3zvnk.js → ExperimentalAgentOnboardingModal-CgBmukIm.js} +1 -1
- package/dist/client/assets/{GoalsView-D-z3Rf4g.js → GoalsView-ysh3X2x6.js} +1 -1
- package/dist/client/assets/{InsightsView-By1AFGbM.js → InsightsView-BbMjCu7J.js} +3 -3
- package/dist/client/assets/MemoryView-B3IgA8Bx.js +3 -0
- package/dist/client/assets/{PiExtensionsManager-_8u94B1u.js → PiExtensionsManager-CZlIw7C3.js} +1 -1
- package/dist/client/assets/PluginManager-vy0YZ2Nx.js +1 -0
- package/dist/client/assets/{PullRequestView-NkCEKKpG.js → PullRequestView-DhhsJV8I.js} +2 -2
- package/dist/client/assets/ReportModal-CQMn4i1y.js +21 -0
- package/dist/client/assets/ReportModal-lzN_xrnM.css +1 -0
- package/dist/client/assets/{ResearchView-BCxXqB8F.js → ResearchView-CVwfs4l3.js} +2 -2
- package/dist/client/assets/{SecretsView-CxK0XDc2.js → SecretsView-CrJfHle9.js} +1 -1
- package/dist/client/assets/{SessionTerminal-CuVsOYc8.js → SessionTerminal-BRI8W1-G.js} +1 -1
- package/dist/client/assets/{SettingsModal-BtV1tIIf.js → SettingsModal-B6U5Umru.js} +1 -1
- package/dist/client/assets/SettingsModal-C5ic1ls7.css +1 -0
- package/dist/client/assets/SettingsModal-h1A_aFqD.js +21 -0
- package/dist/client/assets/{SettingsTextareaRow-YR4pGawU.js → SettingsTextareaRow-O7-u9uMC.js} +1 -1
- package/dist/client/assets/SetupWizardModal-nXfJp8cA.js +2 -0
- package/dist/client/assets/{SkillsView-B4Jc91WM.js → SkillsView-CoWAjvWU.js} +1 -1
- package/dist/client/assets/{WorkflowNodeEditor-DGtYlSHs.js → WorkflowNodeEditor-BFMM3RF_.js} +2 -2
- package/dist/client/assets/{agent-import-generation-CHAXFtOA.js → agent-import-generation-BqDmtTur.js} +1 -1
- package/dist/client/assets/{agentsOrgChartLayout-DsahEyq7.js → agentsOrgChartLayout-C4cLqlV6.js} +1 -1
- package/dist/client/assets/app-BBSLJDbV.js +13 -0
- package/dist/client/assets/app-BKwOvuxE.js +5 -0
- package/dist/client/assets/app-Bvr57EZQ.js +5 -0
- package/dist/client/assets/app-C_PTWuI1.js +13 -0
- package/dist/client/assets/app-DKx18PHE.js +13 -0
- package/dist/client/assets/app-DRW5hIgr.js +13 -0
- package/dist/client/assets/app-DwvelD-n.js +13 -0
- package/dist/client/assets/{architectureDiagram-3BPJPVTR-BKJBR8ob.js → architectureDiagram-3BPJPVTR-CdxcwdRe.js} +1 -1
- package/dist/client/assets/{blockDiagram-GPEHLZMM-CqpNEYwI.js → blockDiagram-GPEHLZMM-CfQrRfHR.js} +1 -1
- package/dist/client/assets/{c4Diagram-AAUBKEIU-CouyKoYs.js → c4Diagram-AAUBKEIU-Cx7-2SOm.js} +1 -1
- package/dist/client/assets/channel-B4WN1jC_.js +1 -0
- package/dist/client/assets/{chunk-2J33WTMH-WHWSsNaC.js → chunk-2J33WTMH-D8jvgP3M.js} +1 -1
- package/dist/client/assets/{chunk-4BX2VUAB-B-EVACQc.js → chunk-4BX2VUAB-B5tBx_s_.js} +1 -1
- package/dist/client/assets/{chunk-55IACEB6-CVvNjEpv.js → chunk-55IACEB6-C-F-HQ5Z.js} +1 -1
- package/dist/client/assets/{chunk-727SXJPM-CV4EKLRh.js → chunk-727SXJPM-BP8Ln-8C.js} +1 -1
- package/dist/client/assets/{chunk-AQP2D5EJ-DtDpuURf.js → chunk-AQP2D5EJ-DMnTmRmn.js} +1 -1
- package/dist/client/assets/{chunk-FMBD7UC4-DPejtS21.js → chunk-FMBD7UC4-D_YdfnNc.js} +1 -1
- package/dist/client/assets/{chunk-ND2GUHAM-DGDxBRA_.js → chunk-ND2GUHAM-CULXyuXq.js} +1 -1
- package/dist/client/assets/{chunk-QZHKN3VN-D2k1MIuX.js → chunk-QZHKN3VN-CT1BWEJL.js} +1 -1
- package/dist/client/assets/classDiagram-4FO5ZUOK-CKE8RSOv.js +1 -0
- package/dist/client/assets/classDiagram-v2-Q7XG4LA2-CKE8RSOv.js +1 -0
- package/dist/client/assets/{cose-bilkent-S5V4N54A-Cr6PW7Dk.js → cose-bilkent-S5V4N54A-M-3DXa6e.js} +1 -1
- package/dist/client/assets/{dagre-BM42HDAG-QKrqYGWy.js → dagre-BM42HDAG-Bsiqvroz.js} +1 -1
- package/dist/client/assets/{dashboard-view-BQRwsBoj.js → dashboard-view-BEBh_Ei5.js} +1 -1
- package/dist/client/assets/{dashboard-view-BcNU4vFB.js → dashboard-view-Bo_gFjdO.js} +1 -1
- package/dist/client/assets/{dashboard-view-CkPDyljq.js → dashboard-view-CnFFG3cW.js} +1 -1
- package/dist/client/assets/{dashboard-view-BksOkReD.js → dashboard-view-DAHn20ph.js} +1 -1
- package/dist/client/assets/{diagram-2AECGRRQ-BBFXrRQl.js → diagram-2AECGRRQ-CZiHoXo5.js} +1 -1
- package/dist/client/assets/{diagram-5GNKFQAL-_T4nM0jp.js → diagram-5GNKFQAL-BoJVz4Or.js} +1 -1
- package/dist/client/assets/{diagram-KO2AKTUF-BAKmsx_j.js → diagram-KO2AKTUF-DivGQuAL.js} +1 -1
- package/dist/client/assets/{diagram-LMA3HP47-Xdsdd6Gx.js → diagram-LMA3HP47-DkMK7OJp.js} +1 -1
- package/dist/client/assets/{diagram-OG6HWLK6-tIHxhnE8.js → diagram-OG6HWLK6-DFFvRcpW.js} +1 -1
- package/dist/client/assets/{erDiagram-TEJ5UH35-HZSbfe0g.js → erDiagram-TEJ5UH35--217vrom.js} +1 -1
- package/dist/client/assets/{flowDiagram-I6XJVG4X-C4O3r0DX.js → flowDiagram-I6XJVG4X-CQgWO3xf.js} +1 -1
- package/dist/client/assets/{folder-open-15UiPjYb.js → folder-open-DR6cRcNR.js} +1 -1
- package/dist/client/assets/{ganttDiagram-6RSMTGT7-DGsKKMEu.js → ganttDiagram-6RSMTGT7-BjDMUrS3.js} +1 -1
- package/dist/client/assets/{gitGraphDiagram-PVQCEYII-BY4kgtHp.js → gitGraphDiagram-PVQCEYII-gKUcDnln.js} +1 -1
- package/dist/client/assets/index-Dki2LBAp.css +1 -0
- package/dist/client/assets/index-oxnX59eO.js +2774 -0
- package/dist/client/assets/{infoDiagram-5YYISTIA-lJBWxF8I.js → infoDiagram-5YYISTIA-BA91T8S5.js} +1 -1
- package/dist/client/assets/{ishikawaDiagram-YF4QCWOH-CrE_q16o.js → ishikawaDiagram-YF4QCWOH-0BY5xe-c.js} +1 -1
- package/dist/client/assets/{journeyDiagram-JHISSGLW-9V42jgFW.js → journeyDiagram-JHISSGLW-B_OwenbQ.js} +1 -1
- package/dist/client/assets/{kanban-definition-UN3LZRKU-B_T-7Vyf.js → kanban-definition-UN3LZRKU-GLabUTKp.js} +1 -1
- package/dist/client/assets/{mermaid.core-CwJ7S3PS.js → mermaid.core-BXo4rxYI.js} +4 -4
- package/dist/client/assets/{mindmap-definition-RKZ34NQL-MYNSgM6G.js → mindmap-definition-RKZ34NQL-DZl6LPoE.js} +1 -1
- package/dist/client/assets/{pieDiagram-4H26LBE5-CtT-wbYj.js → pieDiagram-4H26LBE5-DtHq-4py.js} +1 -1
- package/dist/client/assets/pixelify-sans-cyrillic-400-normal-DfOZNMlW.woff +0 -0
- package/dist/client/assets/pixelify-sans-latin-400-normal-DLrIX9QE.woff2 +0 -0
- package/dist/client/assets/pixelify-sans-latin-400-normal-JapMNN6Z.woff +0 -0
- package/dist/client/assets/pixelify-sans-latin-ext-400-normal-BkfTUL4s.woff +0 -0
- package/dist/client/assets/pixelify-sans-latin-ext-400-normal-DdH6zlBQ.woff2 +0 -0
- package/dist/client/assets/{puzzle-CXdFNN8H.js → puzzle-OVm-I1L4.js} +1 -1
- package/dist/client/assets/{quadrantDiagram-W4KKPZXB-3klC5x4k.js → quadrantDiagram-W4KKPZXB-BdjXhd5d.js} +1 -1
- package/dist/client/assets/{requirementDiagram-4Y6WPE33-CHfFrsBL.js → requirementDiagram-4Y6WPE33-BoFVjELN.js} +1 -1
- package/dist/client/assets/{sankeyDiagram-5OEKKPKP-Dtktw7Dy.js → sankeyDiagram-5OEKKPKP-B0qyJh-P.js} +1 -1
- package/dist/client/assets/{sequenceDiagram-3UESZ5HK-CuXPMjTU.js → sequenceDiagram-3UESZ5HK-ByY62Eqp.js} +1 -1
- package/dist/client/assets/{shield-alert-D9xqzJwR.js → shield-alert-CDy69fl7.js} +1 -1
- package/dist/client/assets/{standing-instructions-template-CcpV_LRP.js → standing-instructions-template-BsnnRlwm.js} +2 -2
- package/dist/client/assets/{stateDiagram-AJRCARHV-Bj_rDJwQ.js → stateDiagram-AJRCARHV-CwJ-_Phi.js} +1 -1
- package/dist/client/assets/{stateDiagram-v2-BHNVJYJU-D-YYF-kX.js → stateDiagram-v2-BHNVJYJU-Cfvhq8mV.js} +1 -1
- package/dist/client/assets/{timeline-definition-PNZ67QCA-DXalwFMD.js → timeline-definition-PNZ67QCA-Co8VfGN9.js} +1 -1
- package/dist/client/assets/{upload-CWVc30BQ.js → upload-CkqDbEeE.js} +1 -1
- package/dist/client/assets/{useDiscoveredSkillsCache-D2M95Nn0.js → useDiscoveredSkillsCache-BHUasRiZ.js} +1 -1
- package/dist/client/assets/{users-q_-iLqv9.js → users-B8DkpbXD.js} +1 -1
- package/dist/client/assets/{vennDiagram-CIIHVFJN-0-aTlrbe.js → vennDiagram-CIIHVFJN-XSJteQrL.js} +1 -1
- package/dist/client/assets/{wardley-L42UT6IY-Bz_e_5wx.js → wardley-L42UT6IY-Btc0FRfF.js} +1 -1
- package/dist/client/assets/{wardleyDiagram-YWT4CUSO-DsQu4YnA.js → wardleyDiagram-YWT4CUSO--IcDNmrf.js} +1 -1
- package/dist/client/assets/{xychartDiagram-2RQKCTM6-K6GQdwVG.js → xychartDiagram-2RQKCTM6-CZW93G6X.js} +1 -1
- package/dist/client/index.html +4 -4
- package/dist/client/theme-data.css +183 -1
- package/dist/client/version.json +1 -1
- package/dist/droid-cli/package.json +1 -1
- package/dist/extension.js +10390 -7118
- package/dist/migrations/0000_initial.sql +3 -0
- package/dist/migrations/0061_fn_066_activity_log_task_id_index.sql +7 -0
- package/dist/migrations/0062_remove_task_subtask_splitting.sql +2 -0
- package/dist/migrations/0063_fn_090_ai_merge_review_reconciliation.sql +2 -0
- package/dist/migrations/0064_fn_094_task_repository_scope.sql +2 -0
- package/dist/pi-claude-cli/package.json +1 -1
- package/dist/pi-claude-cli/src/__tests__/event-bridge.test.ts +29 -1
- package/dist/pi-claude-cli/src/event-bridge.ts +10 -4
- package/dist/plugin-sdk/index.d.ts +301 -189
- package/dist/plugin-sdk/index.js +45 -105
- package/dist/plugins/fusion-plugin-acp-runtime/bundled.js +47 -106
- package/dist/plugins/fusion-plugin-acp-runtime/package.json +1 -1
- package/dist/plugins/fusion-plugin-claude-runtime/bundled.js +47 -106
- package/dist/plugins/fusion-plugin-claude-runtime/package.json +1 -1
- package/dist/plugins/fusion-plugin-cli-printing-press/bundled.js +45 -105
- package/dist/plugins/fusion-plugin-cli-printing-press/package.json +1 -1
- package/dist/plugins/fusion-plugin-compound-engineering/bundled.js +45 -105
- package/dist/plugins/fusion-plugin-compound-engineering/package.json +1 -1
- package/dist/plugins/fusion-plugin-cursor-runtime/bundled.js +45 -105
- package/dist/plugins/fusion-plugin-cursor-runtime/package.json +1 -1
- package/dist/plugins/fusion-plugin-dependency-graph/bundled.js +45 -105
- package/dist/plugins/fusion-plugin-dependency-graph/package.json +1 -1
- package/dist/plugins/fusion-plugin-droid-runtime/bundled.js +47 -106
- package/dist/plugins/fusion-plugin-droid-runtime/package.json +1 -1
- package/dist/plugins/fusion-plugin-grok-runtime/bundled.js +47 -106
- package/dist/plugins/fusion-plugin-grok-runtime/package.json +1 -1
- package/dist/plugins/fusion-plugin-hermes-runtime/bundled.js +45 -105
- package/dist/plugins/fusion-plugin-hermes-runtime/package.json +1 -1
- package/dist/plugins/fusion-plugin-linear-import/bundled.js +45 -105
- package/dist/plugins/fusion-plugin-linear-import/package.json +1 -1
- package/dist/plugins/fusion-plugin-omp-runtime/bundled.js +47 -106
- package/dist/plugins/fusion-plugin-omp-runtime/package.json +1 -1
- package/dist/plugins/fusion-plugin-openclaw-runtime/bundled.js +45 -105
- package/dist/plugins/fusion-plugin-openclaw-runtime/package.json +1 -1
- package/dist/plugins/fusion-plugin-paperclip-runtime/bundled.js +45 -105
- package/dist/plugins/fusion-plugin-paperclip-runtime/package.json +1 -1
- package/dist/plugins/fusion-plugin-quality/bundled.js +45 -105
- package/dist/plugins/fusion-plugin-quality/package.json +1 -1
- package/dist/plugins/fusion-plugin-reports/bundled.js +45 -105
- package/dist/plugins/fusion-plugin-reports/package.json +1 -1
- package/dist/plugins/fusion-plugin-roadmap/bundled.js +45 -105
- package/dist/plugins/fusion-plugin-roadmap/package.json +1 -1
- package/dist/plugins/fusion-plugin-todos/bundled.js +45 -105
- package/dist/plugins/fusion-plugin-todos/package.json +1 -1
- package/dist/plugins/fusion-plugin-whatsapp-chat/bundled.js +45 -105
- package/dist/plugins/fusion-plugin-whatsapp-chat/package.json +1 -1
- package/package.json +1 -1
- package/skill/fusion/SKILL.md +1 -1
- package/skill/fusion/references/extension-tools.md +19 -1
- package/skill/fusion/references/fusion-capabilities.md +3 -1
- package/skill/fusion/references/task-structure.md +1 -1
- package/skill/fusion/workflows/specifications.md +2 -2
- package/dist/client/assets/ChatView-qnlDeWDu.js +0 -13
- package/dist/client/assets/DocumentsView-D3Yb4WqD.js +0 -1
- package/dist/client/assets/MemoryView-Dhe8ydZR.js +0 -3
- package/dist/client/assets/PluginManager-ByNlw3zN.js +0 -1
- package/dist/client/assets/ReportModal-DovuZwdY.js +0 -21
- package/dist/client/assets/ReportModal-M3uh98sc.css +0 -1
- package/dist/client/assets/SettingsModal-C-tiAvqQ.js +0 -21
- package/dist/client/assets/SettingsModal-C0FY8MPW.css +0 -1
- package/dist/client/assets/SetupWizardModal-DrbeWku9.js +0 -2
- package/dist/client/assets/app-BgpuMvTU.js +0 -13
- package/dist/client/assets/app-BlexHhbW.js +0 -13
- package/dist/client/assets/app-BsuUOR0P.js +0 -13
- package/dist/client/assets/app-DQVOujmO.js +0 -13
- package/dist/client/assets/app-DjyTRx1N.js +0 -5
- package/dist/client/assets/app-Dniggype.js +0 -13
- package/dist/client/assets/app-EV-lyZ0T.js +0 -5
- package/dist/client/assets/channel-D7yWYIo9.js +0 -1
- package/dist/client/assets/classDiagram-4FO5ZUOK-cuSqS34E.js +0 -1
- package/dist/client/assets/classDiagram-v2-Q7XG4LA2-cuSqS34E.js +0 -1
- package/dist/client/assets/index-4c8KmZSa.js +0 -2818
- package/dist/client/assets/index-Bg6JQgJj.css +0 -1
|
@@ -5838,6 +5838,7 @@ var tasks = projectSchema.table("tasks", {
|
|
|
5838
5838
|
mergerModelId: text("merger_model_id"),
|
|
5839
5839
|
mergerThinkingLevel: text("merger_thinking_level"),
|
|
5840
5840
|
mergeRetries: integer("merge_retries"),
|
|
5841
|
+
aiMergeReviewReconciliation: text("ai_merge_review_reconciliation"),
|
|
5841
5842
|
workflowStepRetries: integer("workflow_step_retries"),
|
|
5842
5843
|
resumeLimboCount: integer("resume_limbo_count").default(0),
|
|
5843
5844
|
graphResumeRetryCount: integer("graph_resume_retry_count").default(0),
|
|
@@ -5960,7 +5961,8 @@ var tasks = projectSchema.table("tasks", {
|
|
|
5960
5961
|
sourceIssueClosedAt: text("source_issue_closed_at"),
|
|
5961
5962
|
mergeDetails: jsonb("merge_details"),
|
|
5962
5963
|
workspaceWorktrees: jsonb("workspace_worktrees"),
|
|
5963
|
-
|
|
5964
|
+
// FNXC:RepositoryScope 2026-08-20-23:07: explicit task intent must survive PostgreSQL reads independently of acquired worktrees.
|
|
5965
|
+
repositoryScope: jsonb("repository_scope"),
|
|
5964
5966
|
noCommitsExpected: integer("no_commits_expected").default(0),
|
|
5965
5967
|
enabledWorkflowSteps: jsonb("enabled_workflow_steps").default([]),
|
|
5966
5968
|
modifiedFiles: jsonb("modified_files").default([]),
|
|
@@ -8280,7 +8282,8 @@ var centralActivityLog = centralSchema.table("central_activity_log", {
|
|
|
8280
8282
|
foreignKey({ columns: [t.projectId], foreignColumns: [projects.id] }).onDelete("cascade"),
|
|
8281
8283
|
index("idxActivityLogTimestamp").on(t.timestamp),
|
|
8282
8284
|
index("idxActivityLogType").on(t.type),
|
|
8283
|
-
index("idxActivityLogProjectId").on(t.projectId)
|
|
8285
|
+
index("idxActivityLogProjectId").on(t.projectId),
|
|
8286
|
+
index("idxCentralActivityLogTaskIdTimestamp").on(t.taskId, t.timestamp)
|
|
8284
8287
|
]);
|
|
8285
8288
|
var centralSettings = centralSchema.table("central_settings", {
|
|
8286
8289
|
id: integer("id").primaryKey(),
|
|
@@ -8745,7 +8748,7 @@ import { randomUUID, randomBytes, createHash as createHash2 } from "node:crypto"
|
|
|
8745
8748
|
import { EventEmitter } from "node:events";
|
|
8746
8749
|
|
|
8747
8750
|
// ../core/src/types/board/board.ts
|
|
8748
|
-
var THINKING_LEVELS = ["off", "minimal", "low", "medium", "high", "xhigh"];
|
|
8751
|
+
var THINKING_LEVELS = ["off", "minimal", "low", "medium", "high", "xhigh", "max"];
|
|
8749
8752
|
|
|
8750
8753
|
// ../core/src/types/ui/execution-and-ui.ts
|
|
8751
8754
|
var STALE_HIGH_FANOUT_BLOCKER_AGE_THRESHOLD_MS = 2 * 60 * 60 * 1e3;
|
|
@@ -8988,6 +8991,15 @@ var DEFAULT_GLOBAL_SETTINGS = {
|
|
|
8988
8991
|
opt in before Fusion replaces its own binary and bounces the process under them.
|
|
8989
8992
|
*/
|
|
8990
8993
|
autoUpdateAndRestart: false,
|
|
8994
|
+
/*
|
|
8995
|
+
FNXC:UpdateAutomation 2026-08-21-02:17:
|
|
8996
|
+
Fresh installations require separate opt-ins for unattended installation and
|
|
8997
|
+
restart. The legacy combined switch remains false and is only a fallback for
|
|
8998
|
+
older persisted settings.
|
|
8999
|
+
*/
|
|
9000
|
+
/* FNXC:UpdateAutomation 2026-08-21-02:48: Keep these schema keys unset because defaults merge into effective settings and `undefined` is distinct from explicit false. */
|
|
9001
|
+
autoUpdateEnabled: void 0,
|
|
9002
|
+
autoRestartAfterUpdate: void 0,
|
|
8991
9003
|
autoReloadOnVersionChange: true,
|
|
8992
9004
|
githubTrackingDefaultRepo: void 0,
|
|
8993
9005
|
reportRoadmapDedupeEnabled: void 0,
|
|
@@ -8998,6 +9010,13 @@ var DEFAULT_GLOBAL_SETTINGS = {
|
|
|
8998
9010
|
gitlabApiBaseUrl: void 0,
|
|
8999
9011
|
gitlabAuthToken: void 0,
|
|
9000
9012
|
gitlabAuthTokenType: void 0,
|
|
9013
|
+
jiraEnabled: void 0,
|
|
9014
|
+
jiraBaseUrl: void 0,
|
|
9015
|
+
jiraApiBaseUrl: void 0,
|
|
9016
|
+
jiraAuthEmail: void 0,
|
|
9017
|
+
jiraAuthTokenSecretKey: void 0,
|
|
9018
|
+
jiraAuthTokenSecretScope: void 0,
|
|
9019
|
+
jiraBranchNameTemplate: void 0,
|
|
9001
9020
|
modelOnboardingComplete: void 0,
|
|
9002
9021
|
useClaudeCli: void 0,
|
|
9003
9022
|
useDroidCli: void 0,
|
|
@@ -9183,6 +9202,8 @@ var DEFAULT_GLOBAL_SETTINGS = {
|
|
|
9183
9202
|
var DEFAULT_PROJECT_SETTINGS = {
|
|
9184
9203
|
// FNXC:TaskRecommendations 2026-08-08-05:02: completion follows-ups stay bounded by default; 0 disables writing them.
|
|
9185
9204
|
maxRecommendationsPerTask: 3,
|
|
9205
|
+
// FNXC:TaskRecommendations 2026-08-19-13:05: explicit recommendation evaluation is opt-in and only applies while the positive cap enables capture; relevance always outranks count.
|
|
9206
|
+
requireTaskRecommendations: false,
|
|
9186
9207
|
// FNXC:TaskRecommendations 2026-08-13-03:56: surface completed-task proposals by default; operators can suppress the notice without suppressing capture.
|
|
9187
9208
|
recommendationMailboxNoticeEnabled: true,
|
|
9188
9209
|
globalPause: false,
|
|
@@ -9294,6 +9315,11 @@ var DEFAULT_PROJECT_SETTINGS = {
|
|
|
9294
9315
|
*/
|
|
9295
9316
|
showCostBadgeOnCards: false,
|
|
9296
9317
|
/*
|
|
9318
|
+
FNXC:ChatMessageLayout 2026-08-18-20:27:
|
|
9319
|
+
The project preference applies one reversible layout choice to every standard and task chat surface. Explicitly seed the historical bubbles presentation so upgraded projects preserve their existing UI.
|
|
9320
|
+
*/
|
|
9321
|
+
chatMessageLayout: "bubbles",
|
|
9322
|
+
/*
|
|
9297
9323
|
FNXC:TaskDetailActivityFirst 2026-06-30-23:59:
|
|
9298
9324
|
Project task-detail defaults are Activity-first unless this opt-in is true. Keeping the default false preserves explicit deep-link ids while making omitted non-done task opens land on Activity → Live.
|
|
9299
9325
|
*/
|
|
@@ -9481,6 +9507,13 @@ var DEFAULT_PROJECT_SETTINGS = {
|
|
|
9481
9507
|
gitlabApiBaseUrl: void 0,
|
|
9482
9508
|
gitlabAuthToken: void 0,
|
|
9483
9509
|
gitlabAuthTokenType: void 0,
|
|
9510
|
+
jiraEnabled: void 0,
|
|
9511
|
+
jiraBaseUrl: void 0,
|
|
9512
|
+
jiraApiBaseUrl: void 0,
|
|
9513
|
+
jiraAuthEmail: void 0,
|
|
9514
|
+
jiraAuthTokenSecretKey: void 0,
|
|
9515
|
+
jiraAuthTokenSecretScope: void 0,
|
|
9516
|
+
jiraBranchNameTemplate: void 0,
|
|
9484
9517
|
gitlabCommentOnDone: false,
|
|
9485
9518
|
gitlabCommentTemplate: void 0,
|
|
9486
9519
|
gitlabCloseSourceIssueOnDone: false,
|
|
@@ -9502,6 +9535,8 @@ var DEFAULT_PROJECT_SETTINGS = {
|
|
|
9502
9535
|
not variant-detected and unsupported input, including Japanese, remains English.
|
|
9503
9536
|
*/
|
|
9504
9537
|
taskDefinitionInInputLanguage: false,
|
|
9538
|
+
/* FNXC:TaskOutputLanguage 2026-08-19-14:56: Undefined preserves legacy true compatibility; the resolver supplies English for fresh projects. */
|
|
9539
|
+
taskOutputLanguage: void 0,
|
|
9505
9540
|
useAiMergeCommitSummary: true,
|
|
9506
9541
|
// Title-summarizer model lanes stay project-scoped (not moved in U4).
|
|
9507
9542
|
titleSummarizerProvider: void 0,
|
|
@@ -12275,17 +12310,6 @@ var BUILTIN_MOVED_WORKFLOW_SETTINGS = [
|
|
|
12275
12310
|
}
|
|
12276
12311
|
];
|
|
12277
12312
|
var BUILTIN_TRIAGE_POLICY_SETTINGS = [
|
|
12278
|
-
{
|
|
12279
|
-
id: "triageProactiveSubtaskSplittingEnabled",
|
|
12280
|
-
name: "Triage proactive subtask splitting",
|
|
12281
|
-
type: "boolean",
|
|
12282
|
-
default: true,
|
|
12283
|
-
/*
|
|
12284
|
-
* FNXC:TriagePolicy 2026-07-04-00:00:
|
|
12285
|
-
* Operators need a workflow/project policy switch that disables automatic large-task splitting without weakening explicit `breakIntoSubtasks: true` requests. Keep the default enabled to preserve existing triage behavior for workflows that have no stored override.
|
|
12286
|
-
*/
|
|
12287
|
-
description: "Enable automatic large-task splitting guidance during triage. Turn off to split only when breakIntoSubtasks is explicitly requested."
|
|
12288
|
-
},
|
|
12289
12313
|
{
|
|
12290
12314
|
id: "triageSizeSmallMaxHours",
|
|
12291
12315
|
name: "Triage size S max hours",
|
|
@@ -12307,48 +12331,6 @@ var BUILTIN_TRIAGE_POLICY_SETTINGS = [
|
|
|
12307
12331
|
default: 8,
|
|
12308
12332
|
description: "Upper hour boundary for Size L triage guidance; larger work should split as XL."
|
|
12309
12333
|
},
|
|
12310
|
-
{
|
|
12311
|
-
id: "triageSubtaskStepThreshold",
|
|
12312
|
-
name: "Triage subtask step threshold",
|
|
12313
|
-
type: "number",
|
|
12314
|
-
default: 7,
|
|
12315
|
-
description: "Implementation-step count above which triage should consider splitting an M/L task."
|
|
12316
|
-
},
|
|
12317
|
-
{
|
|
12318
|
-
id: "triageSubtaskLargeStepSignal",
|
|
12319
|
-
name: "Triage large-step signal",
|
|
12320
|
-
type: "number",
|
|
12321
|
-
default: 9,
|
|
12322
|
-
description: "Planned step count that is a broad-scope decomposition signal for Size L tasks."
|
|
12323
|
-
},
|
|
12324
|
-
{
|
|
12325
|
-
id: "triageSubtaskAdditiveStepSignal",
|
|
12326
|
-
name: "Triage additive step signal",
|
|
12327
|
-
type: "number",
|
|
12328
|
-
default: 12,
|
|
12329
|
-
description: "Implementation-step count that independently signals possible partitioning."
|
|
12330
|
-
},
|
|
12331
|
-
{
|
|
12332
|
-
id: "triageSubtaskPackageThreshold",
|
|
12333
|
-
name: "Triage package/module threshold",
|
|
12334
|
-
type: "number",
|
|
12335
|
-
default: 3,
|
|
12336
|
-
description: "Distinct package/module count above which triage should consider splitting coherent M/L work."
|
|
12337
|
-
},
|
|
12338
|
-
{
|
|
12339
|
-
id: "triageSubtaskFileScopeThreshold",
|
|
12340
|
-
name: "Triage file-scope threshold",
|
|
12341
|
-
type: "number",
|
|
12342
|
-
default: 20,
|
|
12343
|
-
description: "File Scope entry count that signals broad work likely needing partitioning."
|
|
12344
|
-
},
|
|
12345
|
-
{
|
|
12346
|
-
id: "triageSubtaskRemediationBatchThreshold",
|
|
12347
|
-
name: "Triage remediation batch threshold",
|
|
12348
|
-
type: "number",
|
|
12349
|
-
default: 30,
|
|
12350
|
-
description: "Quantified remediation batch size that strongly signals subsystem partitioning."
|
|
12351
|
-
},
|
|
12352
12334
|
{
|
|
12353
12335
|
id: "triageNoCommitsDecisionVerbs",
|
|
12354
12336
|
name: "Triage no-commits decision verbs",
|
|
@@ -13133,20 +13115,12 @@ When you plan to list a task in the \`## Dependencies\` section, first call \`fn
|
|
|
13133
13115
|
Use what you learn \u2014 file scope, APIs, patterns, completion criteria \u2014 to make the new spec accurate: reference the right paths, avoid conflicting assumptions, and describe what the dependency must deliver before this task starts.
|
|
13134
13116
|
If the dependency task has no PROMPT.md yet (not yet specified), note that in the Dependencies section.
|
|
13135
13117
|
|
|
13136
|
-
##
|
|
13137
|
-
When the task includes \`breakIntoSubtasks: true\`, first decide whether it should be split.
|
|
13138
|
-
|
|
13139
|
-
- Split only when the work is meaningfully decomposable into 2-5 independently executable child tasks.
|
|
13140
|
-
- If splitting: use the \`fn_task_create\` tool to create child tasks in triage, include clear descriptions and dependencies between them, then stop. Do NOT write a PROMPT.md for the parent task.
|
|
13141
|
-
- **CRITICAL \u2014 subtask dependencies:** the parent task is deleted once all subtasks are created. \`dependencies\` on a new subtask may ONLY reference sibling subtasks you have created earlier in this same split (or unrelated existing tasks). **Never depend on the parent task's id.** If a child conceptually "waits for the parent's remaining work", create a sibling subtask that does that work and depend on the sibling instead. The \`fn_task_create\` tool will reject parent-id dependencies with an error.
|
|
13142
|
-
- If not splitting: proceed with a normal PROMPT.md specification.
|
|
13143
|
-
|
|
13144
|
-
## Proactive Subtask Breakdown for M/L Tasks
|
|
13118
|
+
## One-task planning
|
|
13145
13119
|
<!--
|
|
13146
|
-
FNXC:
|
|
13147
|
-
|
|
13120
|
+
FNXC:TriagePlanning 2026-08-20-17:42:
|
|
13121
|
+
Complexity never authorizes replacing a requested task with child tasks. Preserve the original task ID, dependencies, and documents; write one complete, detailed PROMPT.md with focused steps, realistic scope, risks, and quality gates.
|
|
13148
13122
|
-->
|
|
13149
|
-
|
|
13123
|
+
Create independent follow-up tasks only when they are genuinely separate work, never as an automatic decomposition of the task being planned.
|
|
13150
13124
|
|
|
13151
13125
|
## Triage tools
|
|
13152
13126
|
You have these extra tools during triage:
|
|
@@ -13205,7 +13179,7 @@ This bullet is the planning-side half of the artifact-pipeline contract; keep it
|
|
|
13205
13179
|
-->
|
|
13206
13180
|
- For tasks with a visible UI surface or whose deliverable is visual/media (wireframes, mockups, designs, diagrams, screenshots, screen recordings, HTML prototypes, PDF exports), include an explicit step or checkbox instructing the executor to save each deliverable to disk and register it via \`fn_artifact_register\` (images via \`type="image", path=...\`; recordings via \`type="video", path=...\`; HTML mockups via \`type="document", mimeType="text/html"\` for live gallery previews; PDFs via \`type="document", mimeType="application/pdf", path=...\`) so it appears in the dashboard Artifacts gallery
|
|
13207
13181
|
- Include a "Do NOT" section with project-appropriate guardrails
|
|
13208
|
-
- Size assessment: S (<{{triageSizeSmallMaxHours}}h), M ({{triageSizeSmallMaxHours}}-{{triageSizeMediumMaxHours}}h), L ({{triageSizeMediumMaxHours}}-{{triageSizeLargeMaxHours}}h).
|
|
13182
|
+
- Size assessment: S (<{{triageSizeSmallMaxHours}}h), M ({{triageSizeSmallMaxHours}}-{{triageSizeMediumMaxHours}}h), L ({{triageSizeMediumMaxHours}}-{{triageSizeLargeMaxHours}}h+). Keep every requested task as one detailed plan regardless of size.
|
|
13209
13183
|
- Review level scoring: Blast radius (0-2), Pattern novelty (0-2), Security (0-2), Reversibility (0-2)
|
|
13210
13184
|
- 0-1 \u2192 Level 0, 2-3 \u2192 Level 1, 4-5 \u2192 Level 2, 6-8 \u2192 Level 3
|
|
13211
13185
|
|
|
@@ -13220,11 +13194,11 @@ FNXC:WorkflowRouting 2026-06-22-17:24:
|
|
|
13220
13194
|
Standard triage must not infer workflow changes from task type. Agents preserve the project default unless the user names or explicitly requests a workflow, or the agent created the task; no-commit decisions use the header marker without automatic workflow selection.
|
|
13221
13195
|
-->
|
|
13222
13196
|
## Workflow Routing
|
|
13223
|
-
- Keep the project default workflow (\`{{triageDefaultWorkflowId}}\`) unless the user explicitly requested a specific workflow for this task
|
|
13197
|
+
- Keep the project default workflow (\`{{triageDefaultWorkflowId}}\`) unless the user explicitly requested a specific workflow for this task, or you created that task yourself.
|
|
13224
13198
|
- Do NOT call \`fn_workflow_select\` or pass \`workflow_id\` to \`fn_task_create\` just because a task looks like investigation, audit, research, operational routing/coordination, decision-only work, or standard coding work.
|
|
13225
13199
|
- When you create a task via \`fn_task_create\` or \`fn_delegate_task\`, you may select that created task's workflow with \`workflow_id\` at create time or \`fn_workflow_select\` afterward; do not move a task you did not create unless the user asked.
|
|
13226
13200
|
- For decision-only tasks ({{triageNoCommitsDecisionVerbs}}) or other no-code tasks, set \`**No commits expected:** true\` in the PROMPT.md header when the no-commits criteria above are met; this is a header marker only and does not select \`{{triageDecisionOnlyWorkflowId}}\` or any custom investigation workflow by itself.
|
|
13227
|
-
- If the user explicitly asks for a workflow, call \`fn_workflow_list\` to discover valid IDs, then use \`fn_workflow_select\` to set the workflow on the current task or pass \`workflow_id\` to \`fn_task_create\` when creating
|
|
13201
|
+
- If the user explicitly asks for a workflow, call \`fn_workflow_list\` to discover valid IDs, then use \`fn_workflow_select\` to set the workflow on the current task or pass \`workflow_id\` to \`fn_task_create\` when creating requested independent work.
|
|
13228
13202
|
|
|
13229
13203
|
## Plan Review
|
|
13230
13204
|
|
|
@@ -13371,45 +13345,12 @@ Concrete examples:
|
|
|
13371
13345
|
- **Documentation completeness:** [Must Update / Check If Affected sections present?]
|
|
13372
13346
|
- **Dangling task-document references:** [No \`.fusion/tasks/<id>/<file>\` path is cited in Context, Steps, or File Scope unless the file exists or is explicitly created as a \`(new)\` artifact in this spec. References to nonexistent task-local artifacts are a blocking REVISE.]
|
|
13373
13347
|
- **Sizing & review level:** [Size and review level appropriate for the work?]
|
|
13374
|
-
- **Subtask breakdown:** [Only flag genuinely oversized specs (12+ implementation steps, OR 5+ truly independent deliverables that could ship separately). Do NOT flag a coherent vertical change just because it touches multiple packages. When borderline, prefer leaving the task whole.]
|
|
13375
13348
|
- **User comment coverage:** [Were all user comments addressed? Every user comment must be reflected in the spec \u2014 missing coverage is a blocking REVISE]
|
|
13376
13349
|
|
|
13377
13350
|
### Suggestions
|
|
13378
13351
|
- [Optional improvements, not blocking]
|
|
13379
13352
|
\`\`\`
|
|
13380
13353
|
|
|
13381
|
-
## Spec Review \u2014 Undersplit Task Detection
|
|
13382
|
-
|
|
13383
|
-
When reviewing specs, assess whether the task should have been broken into subtasks. The bar for splitting is high \u2014 most tasks should remain whole. Coordination overhead (worktrees, dependency wiring, merge sequencing) is real, so splitting must clearly pay for itself.
|
|
13384
|
-
|
|
13385
|
-
**Default position:** do NOT flag undersplit. Reach for it only when the spec is genuinely oversized.
|
|
13386
|
-
|
|
13387
|
-
**Flag as REVISE only when ALL of the following are true:**
|
|
13388
|
-
- The spec has 12+ implementation steps, OR contains 5+ clearly independent deliverables that could be shipped separately by different people
|
|
13389
|
-
- The deliverables are NOT a coherent vertical change (a single feature touching core + dashboard + tests is coherent \u2014 do not split it)
|
|
13390
|
-
- Splitting would produce children that each have \u22654 steps and a clearly distinct scope
|
|
13391
|
-
|
|
13392
|
-
If the spec is borderline (under those thresholds, or arguable), put your splitting suggestion in the **Suggestions** section instead of REVISE \u2014 the planner can take it or leave it.
|
|
13393
|
-
|
|
13394
|
-
**How to flag an undersplit task (only when the criteria above are met):**
|
|
13395
|
-
Say explicitly: "This task should be broken into subtasks because [specific reason]."
|
|
13396
|
-
Recommend the number of child tasks (2-5) and what each should cover.
|
|
13397
|
-
Instruct the planner to:
|
|
13398
|
-
1. Use the \`fn_task_create\` tool to create 2\u20135 child tasks from the oversized spec
|
|
13399
|
-
2. Do NOT write a parent PROMPT.md \u2014 the parent will be closed automatically after children are created
|
|
13400
|
-
(Not write a parent PROMPT.md is also unacceptable.)
|
|
13401
|
-
3. Make each child cover one coherent deliverable with clear scope boundaries
|
|
13402
|
-
|
|
13403
|
-
Example REVISE feedback for a genuinely oversized task:
|
|
13404
|
-
"This task has 14 steps and contains 4 independent deliverables (engine integration, dashboard UI, CLI command, migration tooling) that could ship separately. Use fn_task_create to split into: (1) engine logic, (2) dashboard UI, (3) CLI integration, (4) migration tooling. Do not write a parent PROMPT."
|
|
13405
|
-
|
|
13406
|
-
**Do NOT flag if ANY of these apply:**
|
|
13407
|
-
- The spec has 11 or fewer implementation steps
|
|
13408
|
-
- Steps are sequential and tightly coupled (e.g., a pipeline where each step depends on the previous)
|
|
13409
|
-
- The task is a vertical change touching multiple packages for one coherent feature (typical in this monorepo)
|
|
13410
|
-
- The task is a bug fix, regardless of how many files it touches
|
|
13411
|
-
- Splitting would create coordination overhead that exceeds the benefit
|
|
13412
|
-
|
|
13413
13354
|
## Plan Granularity
|
|
13414
13355
|
|
|
13415
13356
|
When reviewing plans, assess whether the approach achieves the step's OUTCOMES \u2014
|
|
@@ -13711,7 +13652,6 @@ submissions to a high bar for correctness, security, and maintainability.
|
|
|
13711
13652
|
- **Surface enumeration:** [For bug-fix specs, is \`## Surface Enumeration\` present and does it enumerate the relevant providers/bridges/execution paths, desktop + mobile breakpoints/platforms, empty/undefined/duplicate/populated states, and shared hooks/components/modules/helpers? Missing or incomplete coverage is a blocking REVISE.]
|
|
13712
13653
|
- **Documentation completeness:** [Must Update / Check If Affected sections present?]
|
|
13713
13654
|
- **Sizing & review level:** [Size and review level appropriate for the work?]
|
|
13714
|
-
- **Subtask breakdown:** [Were complex tasks appropriately split into 2-5 child tasks?]
|
|
13715
13655
|
- **User comment coverage:** [Were all user comments addressed? Every user comment must be reflected in the spec \u2014 missing coverage is a blocking REVISE]
|
|
13716
13656
|
- **Security considerations:** [Are security-sensitive areas identified and addressed?]
|
|
13717
13657
|
- **Edge case coverage:** [Does the spec account for failure modes and boundary conditions?]
|
|
@@ -5863,6 +5863,7 @@ var tasks = projectSchema.table("tasks", {
|
|
|
5863
5863
|
mergerModelId: text("merger_model_id"),
|
|
5864
5864
|
mergerThinkingLevel: text("merger_thinking_level"),
|
|
5865
5865
|
mergeRetries: integer("merge_retries"),
|
|
5866
|
+
aiMergeReviewReconciliation: text("ai_merge_review_reconciliation"),
|
|
5866
5867
|
workflowStepRetries: integer("workflow_step_retries"),
|
|
5867
5868
|
resumeLimboCount: integer("resume_limbo_count").default(0),
|
|
5868
5869
|
graphResumeRetryCount: integer("graph_resume_retry_count").default(0),
|
|
@@ -5985,7 +5986,8 @@ var tasks = projectSchema.table("tasks", {
|
|
|
5985
5986
|
sourceIssueClosedAt: text("source_issue_closed_at"),
|
|
5986
5987
|
mergeDetails: jsonb("merge_details"),
|
|
5987
5988
|
workspaceWorktrees: jsonb("workspace_worktrees"),
|
|
5988
|
-
|
|
5989
|
+
// FNXC:RepositoryScope 2026-08-20-23:07: explicit task intent must survive PostgreSQL reads independently of acquired worktrees.
|
|
5990
|
+
repositoryScope: jsonb("repository_scope"),
|
|
5989
5991
|
noCommitsExpected: integer("no_commits_expected").default(0),
|
|
5990
5992
|
enabledWorkflowSteps: jsonb("enabled_workflow_steps").default([]),
|
|
5991
5993
|
modifiedFiles: jsonb("modified_files").default([]),
|
|
@@ -8327,7 +8329,8 @@ var centralActivityLog = centralSchema.table("central_activity_log", {
|
|
|
8327
8329
|
foreignKey({ columns: [t.projectId], foreignColumns: [projects.id] }).onDelete("cascade"),
|
|
8328
8330
|
index("idxActivityLogTimestamp").on(t.timestamp),
|
|
8329
8331
|
index("idxActivityLogType").on(t.type),
|
|
8330
|
-
index("idxActivityLogProjectId").on(t.projectId)
|
|
8332
|
+
index("idxActivityLogProjectId").on(t.projectId),
|
|
8333
|
+
index("idxCentralActivityLogTaskIdTimestamp").on(t.taskId, t.timestamp)
|
|
8331
8334
|
]);
|
|
8332
8335
|
var centralSettings = centralSchema.table("central_settings", {
|
|
8333
8336
|
id: integer("id").primaryKey(),
|
|
@@ -8862,7 +8865,7 @@ import { randomUUID, randomBytes, createHash as createHash2 } from "node:crypto"
|
|
|
8862
8865
|
import { EventEmitter } from "node:events";
|
|
8863
8866
|
|
|
8864
8867
|
// ../core/src/types/board/board.ts
|
|
8865
|
-
var THINKING_LEVELS = ["off", "minimal", "low", "medium", "high", "xhigh"];
|
|
8868
|
+
var THINKING_LEVELS = ["off", "minimal", "low", "medium", "high", "xhigh", "max"];
|
|
8866
8869
|
|
|
8867
8870
|
// ../core/src/types/ui/execution-and-ui.ts
|
|
8868
8871
|
var STALE_HIGH_FANOUT_BLOCKER_AGE_THRESHOLD_MS = 2 * 60 * 60 * 1e3;
|
|
@@ -9105,6 +9108,15 @@ var DEFAULT_GLOBAL_SETTINGS = {
|
|
|
9105
9108
|
opt in before Fusion replaces its own binary and bounces the process under them.
|
|
9106
9109
|
*/
|
|
9107
9110
|
autoUpdateAndRestart: false,
|
|
9111
|
+
/*
|
|
9112
|
+
FNXC:UpdateAutomation 2026-08-21-02:17:
|
|
9113
|
+
Fresh installations require separate opt-ins for unattended installation and
|
|
9114
|
+
restart. The legacy combined switch remains false and is only a fallback for
|
|
9115
|
+
older persisted settings.
|
|
9116
|
+
*/
|
|
9117
|
+
/* FNXC:UpdateAutomation 2026-08-21-02:48: Keep these schema keys unset because defaults merge into effective settings and `undefined` is distinct from explicit false. */
|
|
9118
|
+
autoUpdateEnabled: void 0,
|
|
9119
|
+
autoRestartAfterUpdate: void 0,
|
|
9108
9120
|
autoReloadOnVersionChange: true,
|
|
9109
9121
|
githubTrackingDefaultRepo: void 0,
|
|
9110
9122
|
reportRoadmapDedupeEnabled: void 0,
|
|
@@ -9115,6 +9127,13 @@ var DEFAULT_GLOBAL_SETTINGS = {
|
|
|
9115
9127
|
gitlabApiBaseUrl: void 0,
|
|
9116
9128
|
gitlabAuthToken: void 0,
|
|
9117
9129
|
gitlabAuthTokenType: void 0,
|
|
9130
|
+
jiraEnabled: void 0,
|
|
9131
|
+
jiraBaseUrl: void 0,
|
|
9132
|
+
jiraApiBaseUrl: void 0,
|
|
9133
|
+
jiraAuthEmail: void 0,
|
|
9134
|
+
jiraAuthTokenSecretKey: void 0,
|
|
9135
|
+
jiraAuthTokenSecretScope: void 0,
|
|
9136
|
+
jiraBranchNameTemplate: void 0,
|
|
9118
9137
|
modelOnboardingComplete: void 0,
|
|
9119
9138
|
useClaudeCli: void 0,
|
|
9120
9139
|
useDroidCli: void 0,
|
|
@@ -9300,6 +9319,8 @@ var DEFAULT_GLOBAL_SETTINGS = {
|
|
|
9300
9319
|
var DEFAULT_PROJECT_SETTINGS = {
|
|
9301
9320
|
// FNXC:TaskRecommendations 2026-08-08-05:02: completion follows-ups stay bounded by default; 0 disables writing them.
|
|
9302
9321
|
maxRecommendationsPerTask: 3,
|
|
9322
|
+
// FNXC:TaskRecommendations 2026-08-19-13:05: explicit recommendation evaluation is opt-in and only applies while the positive cap enables capture; relevance always outranks count.
|
|
9323
|
+
requireTaskRecommendations: false,
|
|
9303
9324
|
// FNXC:TaskRecommendations 2026-08-13-03:56: surface completed-task proposals by default; operators can suppress the notice without suppressing capture.
|
|
9304
9325
|
recommendationMailboxNoticeEnabled: true,
|
|
9305
9326
|
globalPause: false,
|
|
@@ -9411,6 +9432,11 @@ var DEFAULT_PROJECT_SETTINGS = {
|
|
|
9411
9432
|
*/
|
|
9412
9433
|
showCostBadgeOnCards: false,
|
|
9413
9434
|
/*
|
|
9435
|
+
FNXC:ChatMessageLayout 2026-08-18-20:27:
|
|
9436
|
+
The project preference applies one reversible layout choice to every standard and task chat surface. Explicitly seed the historical bubbles presentation so upgraded projects preserve their existing UI.
|
|
9437
|
+
*/
|
|
9438
|
+
chatMessageLayout: "bubbles",
|
|
9439
|
+
/*
|
|
9414
9440
|
FNXC:TaskDetailActivityFirst 2026-06-30-23:59:
|
|
9415
9441
|
Project task-detail defaults are Activity-first unless this opt-in is true. Keeping the default false preserves explicit deep-link ids while making omitted non-done task opens land on Activity → Live.
|
|
9416
9442
|
*/
|
|
@@ -9598,6 +9624,13 @@ var DEFAULT_PROJECT_SETTINGS = {
|
|
|
9598
9624
|
gitlabApiBaseUrl: void 0,
|
|
9599
9625
|
gitlabAuthToken: void 0,
|
|
9600
9626
|
gitlabAuthTokenType: void 0,
|
|
9627
|
+
jiraEnabled: void 0,
|
|
9628
|
+
jiraBaseUrl: void 0,
|
|
9629
|
+
jiraApiBaseUrl: void 0,
|
|
9630
|
+
jiraAuthEmail: void 0,
|
|
9631
|
+
jiraAuthTokenSecretKey: void 0,
|
|
9632
|
+
jiraAuthTokenSecretScope: void 0,
|
|
9633
|
+
jiraBranchNameTemplate: void 0,
|
|
9601
9634
|
gitlabCommentOnDone: false,
|
|
9602
9635
|
gitlabCommentTemplate: void 0,
|
|
9603
9636
|
gitlabCloseSourceIssueOnDone: false,
|
|
@@ -9619,6 +9652,8 @@ var DEFAULT_PROJECT_SETTINGS = {
|
|
|
9619
9652
|
not variant-detected and unsupported input, including Japanese, remains English.
|
|
9620
9653
|
*/
|
|
9621
9654
|
taskDefinitionInInputLanguage: false,
|
|
9655
|
+
/* FNXC:TaskOutputLanguage 2026-08-19-14:56: Undefined preserves legacy true compatibility; the resolver supplies English for fresh projects. */
|
|
9656
|
+
taskOutputLanguage: void 0,
|
|
9622
9657
|
useAiMergeCommitSummary: true,
|
|
9623
9658
|
// Title-summarizer model lanes stay project-scoped (not moved in U4).
|
|
9624
9659
|
titleSummarizerProvider: void 0,
|
|
@@ -12392,17 +12427,6 @@ var BUILTIN_MOVED_WORKFLOW_SETTINGS = [
|
|
|
12392
12427
|
}
|
|
12393
12428
|
];
|
|
12394
12429
|
var BUILTIN_TRIAGE_POLICY_SETTINGS = [
|
|
12395
|
-
{
|
|
12396
|
-
id: "triageProactiveSubtaskSplittingEnabled",
|
|
12397
|
-
name: "Triage proactive subtask splitting",
|
|
12398
|
-
type: "boolean",
|
|
12399
|
-
default: true,
|
|
12400
|
-
/*
|
|
12401
|
-
* FNXC:TriagePolicy 2026-07-04-00:00:
|
|
12402
|
-
* Operators need a workflow/project policy switch that disables automatic large-task splitting without weakening explicit `breakIntoSubtasks: true` requests. Keep the default enabled to preserve existing triage behavior for workflows that have no stored override.
|
|
12403
|
-
*/
|
|
12404
|
-
description: "Enable automatic large-task splitting guidance during triage. Turn off to split only when breakIntoSubtasks is explicitly requested."
|
|
12405
|
-
},
|
|
12406
12430
|
{
|
|
12407
12431
|
id: "triageSizeSmallMaxHours",
|
|
12408
12432
|
name: "Triage size S max hours",
|
|
@@ -12424,48 +12448,6 @@ var BUILTIN_TRIAGE_POLICY_SETTINGS = [
|
|
|
12424
12448
|
default: 8,
|
|
12425
12449
|
description: "Upper hour boundary for Size L triage guidance; larger work should split as XL."
|
|
12426
12450
|
},
|
|
12427
|
-
{
|
|
12428
|
-
id: "triageSubtaskStepThreshold",
|
|
12429
|
-
name: "Triage subtask step threshold",
|
|
12430
|
-
type: "number",
|
|
12431
|
-
default: 7,
|
|
12432
|
-
description: "Implementation-step count above which triage should consider splitting an M/L task."
|
|
12433
|
-
},
|
|
12434
|
-
{
|
|
12435
|
-
id: "triageSubtaskLargeStepSignal",
|
|
12436
|
-
name: "Triage large-step signal",
|
|
12437
|
-
type: "number",
|
|
12438
|
-
default: 9,
|
|
12439
|
-
description: "Planned step count that is a broad-scope decomposition signal for Size L tasks."
|
|
12440
|
-
},
|
|
12441
|
-
{
|
|
12442
|
-
id: "triageSubtaskAdditiveStepSignal",
|
|
12443
|
-
name: "Triage additive step signal",
|
|
12444
|
-
type: "number",
|
|
12445
|
-
default: 12,
|
|
12446
|
-
description: "Implementation-step count that independently signals possible partitioning."
|
|
12447
|
-
},
|
|
12448
|
-
{
|
|
12449
|
-
id: "triageSubtaskPackageThreshold",
|
|
12450
|
-
name: "Triage package/module threshold",
|
|
12451
|
-
type: "number",
|
|
12452
|
-
default: 3,
|
|
12453
|
-
description: "Distinct package/module count above which triage should consider splitting coherent M/L work."
|
|
12454
|
-
},
|
|
12455
|
-
{
|
|
12456
|
-
id: "triageSubtaskFileScopeThreshold",
|
|
12457
|
-
name: "Triage file-scope threshold",
|
|
12458
|
-
type: "number",
|
|
12459
|
-
default: 20,
|
|
12460
|
-
description: "File Scope entry count that signals broad work likely needing partitioning."
|
|
12461
|
-
},
|
|
12462
|
-
{
|
|
12463
|
-
id: "triageSubtaskRemediationBatchThreshold",
|
|
12464
|
-
name: "Triage remediation batch threshold",
|
|
12465
|
-
type: "number",
|
|
12466
|
-
default: 30,
|
|
12467
|
-
description: "Quantified remediation batch size that strongly signals subsystem partitioning."
|
|
12468
|
-
},
|
|
12469
12451
|
{
|
|
12470
12452
|
id: "triageNoCommitsDecisionVerbs",
|
|
12471
12453
|
name: "Triage no-commits decision verbs",
|
|
@@ -13250,20 +13232,12 @@ When you plan to list a task in the \`## Dependencies\` section, first call \`fn
|
|
|
13250
13232
|
Use what you learn \u2014 file scope, APIs, patterns, completion criteria \u2014 to make the new spec accurate: reference the right paths, avoid conflicting assumptions, and describe what the dependency must deliver before this task starts.
|
|
13251
13233
|
If the dependency task has no PROMPT.md yet (not yet specified), note that in the Dependencies section.
|
|
13252
13234
|
|
|
13253
|
-
##
|
|
13254
|
-
When the task includes \`breakIntoSubtasks: true\`, first decide whether it should be split.
|
|
13255
|
-
|
|
13256
|
-
- Split only when the work is meaningfully decomposable into 2-5 independently executable child tasks.
|
|
13257
|
-
- If splitting: use the \`fn_task_create\` tool to create child tasks in triage, include clear descriptions and dependencies between them, then stop. Do NOT write a PROMPT.md for the parent task.
|
|
13258
|
-
- **CRITICAL \u2014 subtask dependencies:** the parent task is deleted once all subtasks are created. \`dependencies\` on a new subtask may ONLY reference sibling subtasks you have created earlier in this same split (or unrelated existing tasks). **Never depend on the parent task's id.** If a child conceptually "waits for the parent's remaining work", create a sibling subtask that does that work and depend on the sibling instead. The \`fn_task_create\` tool will reject parent-id dependencies with an error.
|
|
13259
|
-
- If not splitting: proceed with a normal PROMPT.md specification.
|
|
13260
|
-
|
|
13261
|
-
## Proactive Subtask Breakdown for M/L Tasks
|
|
13235
|
+
## One-task planning
|
|
13262
13236
|
<!--
|
|
13263
|
-
FNXC:
|
|
13264
|
-
|
|
13237
|
+
FNXC:TriagePlanning 2026-08-20-17:42:
|
|
13238
|
+
Complexity never authorizes replacing a requested task with child tasks. Preserve the original task ID, dependencies, and documents; write one complete, detailed PROMPT.md with focused steps, realistic scope, risks, and quality gates.
|
|
13265
13239
|
-->
|
|
13266
|
-
|
|
13240
|
+
Create independent follow-up tasks only when they are genuinely separate work, never as an automatic decomposition of the task being planned.
|
|
13267
13241
|
|
|
13268
13242
|
## Triage tools
|
|
13269
13243
|
You have these extra tools during triage:
|
|
@@ -13322,7 +13296,7 @@ This bullet is the planning-side half of the artifact-pipeline contract; keep it
|
|
|
13322
13296
|
-->
|
|
13323
13297
|
- For tasks with a visible UI surface or whose deliverable is visual/media (wireframes, mockups, designs, diagrams, screenshots, screen recordings, HTML prototypes, PDF exports), include an explicit step or checkbox instructing the executor to save each deliverable to disk and register it via \`fn_artifact_register\` (images via \`type="image", path=...\`; recordings via \`type="video", path=...\`; HTML mockups via \`type="document", mimeType="text/html"\` for live gallery previews; PDFs via \`type="document", mimeType="application/pdf", path=...\`) so it appears in the dashboard Artifacts gallery
|
|
13324
13298
|
- Include a "Do NOT" section with project-appropriate guardrails
|
|
13325
|
-
- Size assessment: S (<{{triageSizeSmallMaxHours}}h), M ({{triageSizeSmallMaxHours}}-{{triageSizeMediumMaxHours}}h), L ({{triageSizeMediumMaxHours}}-{{triageSizeLargeMaxHours}}h).
|
|
13299
|
+
- Size assessment: S (<{{triageSizeSmallMaxHours}}h), M ({{triageSizeSmallMaxHours}}-{{triageSizeMediumMaxHours}}h), L ({{triageSizeMediumMaxHours}}-{{triageSizeLargeMaxHours}}h+). Keep every requested task as one detailed plan regardless of size.
|
|
13326
13300
|
- Review level scoring: Blast radius (0-2), Pattern novelty (0-2), Security (0-2), Reversibility (0-2)
|
|
13327
13301
|
- 0-1 \u2192 Level 0, 2-3 \u2192 Level 1, 4-5 \u2192 Level 2, 6-8 \u2192 Level 3
|
|
13328
13302
|
|
|
@@ -13337,11 +13311,11 @@ FNXC:WorkflowRouting 2026-06-22-17:24:
|
|
|
13337
13311
|
Standard triage must not infer workflow changes from task type. Agents preserve the project default unless the user names or explicitly requests a workflow, or the agent created the task; no-commit decisions use the header marker without automatic workflow selection.
|
|
13338
13312
|
-->
|
|
13339
13313
|
## Workflow Routing
|
|
13340
|
-
- Keep the project default workflow (\`{{triageDefaultWorkflowId}}\`) unless the user explicitly requested a specific workflow for this task
|
|
13314
|
+
- Keep the project default workflow (\`{{triageDefaultWorkflowId}}\`) unless the user explicitly requested a specific workflow for this task, or you created that task yourself.
|
|
13341
13315
|
- Do NOT call \`fn_workflow_select\` or pass \`workflow_id\` to \`fn_task_create\` just because a task looks like investigation, audit, research, operational routing/coordination, decision-only work, or standard coding work.
|
|
13342
13316
|
- When you create a task via \`fn_task_create\` or \`fn_delegate_task\`, you may select that created task's workflow with \`workflow_id\` at create time or \`fn_workflow_select\` afterward; do not move a task you did not create unless the user asked.
|
|
13343
13317
|
- For decision-only tasks ({{triageNoCommitsDecisionVerbs}}) or other no-code tasks, set \`**No commits expected:** true\` in the PROMPT.md header when the no-commits criteria above are met; this is a header marker only and does not select \`{{triageDecisionOnlyWorkflowId}}\` or any custom investigation workflow by itself.
|
|
13344
|
-
- If the user explicitly asks for a workflow, call \`fn_workflow_list\` to discover valid IDs, then use \`fn_workflow_select\` to set the workflow on the current task or pass \`workflow_id\` to \`fn_task_create\` when creating
|
|
13318
|
+
- If the user explicitly asks for a workflow, call \`fn_workflow_list\` to discover valid IDs, then use \`fn_workflow_select\` to set the workflow on the current task or pass \`workflow_id\` to \`fn_task_create\` when creating requested independent work.
|
|
13345
13319
|
|
|
13346
13320
|
## Plan Review
|
|
13347
13321
|
|
|
@@ -13488,45 +13462,12 @@ Concrete examples:
|
|
|
13488
13462
|
- **Documentation completeness:** [Must Update / Check If Affected sections present?]
|
|
13489
13463
|
- **Dangling task-document references:** [No \`.fusion/tasks/<id>/<file>\` path is cited in Context, Steps, or File Scope unless the file exists or is explicitly created as a \`(new)\` artifact in this spec. References to nonexistent task-local artifacts are a blocking REVISE.]
|
|
13490
13464
|
- **Sizing & review level:** [Size and review level appropriate for the work?]
|
|
13491
|
-
- **Subtask breakdown:** [Only flag genuinely oversized specs (12+ implementation steps, OR 5+ truly independent deliverables that could ship separately). Do NOT flag a coherent vertical change just because it touches multiple packages. When borderline, prefer leaving the task whole.]
|
|
13492
13465
|
- **User comment coverage:** [Were all user comments addressed? Every user comment must be reflected in the spec \u2014 missing coverage is a blocking REVISE]
|
|
13493
13466
|
|
|
13494
13467
|
### Suggestions
|
|
13495
13468
|
- [Optional improvements, not blocking]
|
|
13496
13469
|
\`\`\`
|
|
13497
13470
|
|
|
13498
|
-
## Spec Review \u2014 Undersplit Task Detection
|
|
13499
|
-
|
|
13500
|
-
When reviewing specs, assess whether the task should have been broken into subtasks. The bar for splitting is high \u2014 most tasks should remain whole. Coordination overhead (worktrees, dependency wiring, merge sequencing) is real, so splitting must clearly pay for itself.
|
|
13501
|
-
|
|
13502
|
-
**Default position:** do NOT flag undersplit. Reach for it only when the spec is genuinely oversized.
|
|
13503
|
-
|
|
13504
|
-
**Flag as REVISE only when ALL of the following are true:**
|
|
13505
|
-
- The spec has 12+ implementation steps, OR contains 5+ clearly independent deliverables that could be shipped separately by different people
|
|
13506
|
-
- The deliverables are NOT a coherent vertical change (a single feature touching core + dashboard + tests is coherent \u2014 do not split it)
|
|
13507
|
-
- Splitting would produce children that each have \u22654 steps and a clearly distinct scope
|
|
13508
|
-
|
|
13509
|
-
If the spec is borderline (under those thresholds, or arguable), put your splitting suggestion in the **Suggestions** section instead of REVISE \u2014 the planner can take it or leave it.
|
|
13510
|
-
|
|
13511
|
-
**How to flag an undersplit task (only when the criteria above are met):**
|
|
13512
|
-
Say explicitly: "This task should be broken into subtasks because [specific reason]."
|
|
13513
|
-
Recommend the number of child tasks (2-5) and what each should cover.
|
|
13514
|
-
Instruct the planner to:
|
|
13515
|
-
1. Use the \`fn_task_create\` tool to create 2\u20135 child tasks from the oversized spec
|
|
13516
|
-
2. Do NOT write a parent PROMPT.md \u2014 the parent will be closed automatically after children are created
|
|
13517
|
-
(Not write a parent PROMPT.md is also unacceptable.)
|
|
13518
|
-
3. Make each child cover one coherent deliverable with clear scope boundaries
|
|
13519
|
-
|
|
13520
|
-
Example REVISE feedback for a genuinely oversized task:
|
|
13521
|
-
"This task has 14 steps and contains 4 independent deliverables (engine integration, dashboard UI, CLI command, migration tooling) that could ship separately. Use fn_task_create to split into: (1) engine logic, (2) dashboard UI, (3) CLI integration, (4) migration tooling. Do not write a parent PROMPT."
|
|
13522
|
-
|
|
13523
|
-
**Do NOT flag if ANY of these apply:**
|
|
13524
|
-
- The spec has 11 or fewer implementation steps
|
|
13525
|
-
- Steps are sequential and tightly coupled (e.g., a pipeline where each step depends on the previous)
|
|
13526
|
-
- The task is a vertical change touching multiple packages for one coherent feature (typical in this monorepo)
|
|
13527
|
-
- The task is a bug fix, regardless of how many files it touches
|
|
13528
|
-
- Splitting would create coordination overhead that exceeds the benefit
|
|
13529
|
-
|
|
13530
13471
|
## Plan Granularity
|
|
13531
13472
|
|
|
13532
13473
|
When reviewing plans, assess whether the approach achieves the step's OUTCOMES \u2014
|
|
@@ -13828,7 +13769,6 @@ submissions to a high bar for correctness, security, and maintainability.
|
|
|
13828
13769
|
- **Surface enumeration:** [For bug-fix specs, is \`## Surface Enumeration\` present and does it enumerate the relevant providers/bridges/execution paths, desktop + mobile breakpoints/platforms, empty/undefined/duplicate/populated states, and shared hooks/components/modules/helpers? Missing or incomplete coverage is a blocking REVISE.]
|
|
13829
13770
|
- **Documentation completeness:** [Must Update / Check If Affected sections present?]
|
|
13830
13771
|
- **Sizing & review level:** [Size and review level appropriate for the work?]
|
|
13831
|
-
- **Subtask breakdown:** [Were complex tasks appropriately split into 2-5 child tasks?]
|
|
13832
13772
|
- **User comment coverage:** [Were all user comments addressed? Every user comment must be reflected in the spec \u2014 missing coverage is a blocking REVISE]
|
|
13833
13773
|
- **Security considerations:** [Are security-sensitive areas identified and addressed?]
|
|
13834
13774
|
- **Edge case coverage:** [Does the spec account for failure modes and boundary conditions?]
|