@runfusion/fusion 0.77.0-beta.7 → 0.77.0-beta.8
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 +548 -86
- package/dist/child-process-worker.js +546 -86
- package/dist/client/.vite/manifest.json +249 -249
- package/dist/client/assets/{AgentDetailView-C1eh_vXv.js → AgentDetailView-DsMRc-aH.js} +1 -1
- package/dist/client/assets/{AgentPermissionPolicyEditor-CeKsO1LR.js → AgentPermissionPolicyEditor-BXJ52YpO.js} +1 -1
- package/dist/client/assets/{AgentsView-BNe2ABOc.js → AgentsView-DO-25nlB.js} +3 -3
- package/dist/client/assets/{CommandCenter-BuREM-G1.js → CommandCenter-BMXMg_I2.js} +1 -1
- package/dist/client/assets/{DevServerView-D0i1b-QO.js → DevServerView-DAeL5TYz.js} +1 -1
- package/dist/client/assets/{DirectoryPicker-VOx91hQt.js → DirectoryPicker-Cw-XRjAa.js} +1 -1
- package/dist/client/assets/{DocumentsView-CO5W_WVb.js → DocumentsView-CusClN9u.js} +1 -1
- package/dist/client/assets/{EvalsView-BqSINSrZ.js → EvalsView-gNdeUDww.js} +1 -1
- package/dist/client/assets/{ExperimentalAgentOnboardingModal-DEcFgONi.js → ExperimentalAgentOnboardingModal-Bmzbqzhs.js} +1 -1
- package/dist/client/assets/{GoalsView-DZ57wXmJ.js → GoalsView-J8JMsoLn.js} +1 -1
- package/dist/client/assets/{InsightsView-DSWfXG7Q.js → InsightsView-BVbv56K0.js} +1 -1
- package/dist/client/assets/{MemoryView-BEX10uhl.js → MemoryView-DNvJFoDu.js} +1 -1
- package/dist/client/assets/{PiExtensionsManager-DcAmXXoR.js → PiExtensionsManager-BPMexS34.js} +1 -1
- package/dist/client/assets/{PluginManager-BU0omQUv.js → PluginManager-DGEv-ptu.js} +1 -1
- package/dist/client/assets/{PullRequestView-B-JL_8Kk.js → PullRequestView-CF7fx-Uo.js} +1 -1
- package/dist/client/assets/ReportModal-B8S5BFgn.js +21 -0
- package/dist/client/assets/ReportModal-Dx3f2aj7.css +1 -0
- package/dist/client/assets/{ResearchView-CnwTXfQO.js → ResearchView-CBeXsevy.js} +1 -1
- package/dist/client/assets/{SecretsView-BDvzsLFz.js → SecretsView-Dmi9wZkv.js} +1 -1
- package/dist/client/assets/{SettingsModal-801eFQ9u.js → SettingsModal-D2kXP7Um.js} +3 -3
- package/dist/client/assets/{SettingsModal-BZHeQ3ED.js → SettingsModal-DSW3xnGk.js} +1 -1
- package/dist/client/assets/{SettingsTextareaRow-B0rTuelr.js → SettingsTextareaRow-CLab4Vcd.js} +1 -1
- package/dist/client/assets/{SetupWizardModal-CoExPwIn.js → SetupWizardModal-Ct6juX9x.js} +2 -2
- package/dist/client/assets/{SkillsView-WVP25LPj.js → SkillsView-Dn0bwT6i.js} +1 -1
- package/dist/client/assets/{WorkflowNodeEditor-pCMyKcnS.js → WorkflowNodeEditor-cvReMlG-.js} +1 -1
- package/dist/client/assets/{agent-import-generation-M_hKtjgN.js → agent-import-generation-C8_ewVzC.js} +1 -1
- package/dist/client/assets/{agentsOrgChartLayout-DjvIMhFD.js → agentsOrgChartLayout-p1i6XROQ.js} +1 -1
- package/dist/client/assets/{architectureDiagram-3BPJPVTR-CkzEm8i9.js → architectureDiagram-3BPJPVTR-CzCk1QdH.js} +1 -1
- package/dist/client/assets/{blockDiagram-GPEHLZMM-Dc-dUMjY.js → blockDiagram-GPEHLZMM-74Rj-5ov.js} +1 -1
- package/dist/client/assets/{c4Diagram-AAUBKEIU-DnYjsrR0.js → c4Diagram-AAUBKEIU-B570qYH-.js} +1 -1
- package/dist/client/assets/channel-DWAK5y-J.js +1 -0
- package/dist/client/assets/{chunk-2J33WTMH-0E1GEFEr.js → chunk-2J33WTMH-DejJkxt6.js} +1 -1
- package/dist/client/assets/{chunk-4BX2VUAB-Dj5oZd51.js → chunk-4BX2VUAB-DlgxkBuE.js} +1 -1
- package/dist/client/assets/{chunk-55IACEB6-DfNT0s8E.js → chunk-55IACEB6-XCfE8PwC.js} +1 -1
- package/dist/client/assets/{chunk-727SXJPM-BnFjhiIQ.js → chunk-727SXJPM-D-nDw0Bi.js} +1 -1
- package/dist/client/assets/{chunk-AQP2D5EJ-DR84wSqR.js → chunk-AQP2D5EJ-C4KySao0.js} +1 -1
- package/dist/client/assets/{chunk-FMBD7UC4-IjByNOrR.js → chunk-FMBD7UC4-CXKdLygA.js} +1 -1
- package/dist/client/assets/{chunk-ND2GUHAM-By0q_jZm.js → chunk-ND2GUHAM-bNYWWGVJ.js} +1 -1
- package/dist/client/assets/{chunk-QZHKN3VN-BELcl3N5.js → chunk-QZHKN3VN-cfBQJ-MX.js} +1 -1
- package/dist/client/assets/classDiagram-4FO5ZUOK-WTkXRkfm.js +1 -0
- package/dist/client/assets/classDiagram-v2-Q7XG4LA2-WTkXRkfm.js +1 -0
- package/dist/client/assets/{cose-bilkent-S5V4N54A-D4cCw9-_.js → cose-bilkent-S5V4N54A-CiZrg3mQ.js} +1 -1
- package/dist/client/assets/{dagre-BM42HDAG-JJp5dVeY.js → dagre-BM42HDAG-Bckph2U4.js} +1 -1
- package/dist/client/assets/{dashboard-view-Bl9CPhxE.js → dashboard-view-CN_fkDM1.js} +1 -1
- package/dist/client/assets/{dashboard-view-C5Nt8cvY.js → dashboard-view-CVYHQZwx.js} +1 -1
- package/dist/client/assets/{dashboard-view-6zPJm9zC.js → dashboard-view-DDRKwfFs.js} +1 -1
- package/dist/client/assets/{dashboard-view-MAC_LHDX.js → dashboard-view-IuPjDVGa.js} +1 -1
- package/dist/client/assets/{diagram-2AECGRRQ-D4L7j_t_.js → diagram-2AECGRRQ-Bnaurex7.js} +1 -1
- package/dist/client/assets/{diagram-5GNKFQAL-VAGFaXqG.js → diagram-5GNKFQAL-BKz1omVN.js} +1 -1
- package/dist/client/assets/{diagram-KO2AKTUF-hqXSggfW.js → diagram-KO2AKTUF-C51lEZwo.js} +1 -1
- package/dist/client/assets/{diagram-LMA3HP47-B3eAIuy8.js → diagram-LMA3HP47-BYm5gql7.js} +1 -1
- package/dist/client/assets/{diagram-OG6HWLK6-BGufp0RK.js → diagram-OG6HWLK6-B9CFA4ha.js} +1 -1
- package/dist/client/assets/{erDiagram-TEJ5UH35-DplXdx8w.js → erDiagram-TEJ5UH35-BLyCSssl.js} +1 -1
- package/dist/client/assets/{flowDiagram-I6XJVG4X-C1Ms2bko.js → flowDiagram-I6XJVG4X-yDVmpkro.js} +1 -1
- package/dist/client/assets/{folder-open-nMraSDXu.js → folder-open-Cf2NA9nV.js} +1 -1
- package/dist/client/assets/{ganttDiagram-6RSMTGT7-DVgxMtXb.js → ganttDiagram-6RSMTGT7-mC9YPFcx.js} +1 -1
- package/dist/client/assets/{gitGraphDiagram-PVQCEYII-DH2_n0J8.js → gitGraphDiagram-PVQCEYII-DS0bEccv.js} +1 -1
- package/dist/client/assets/index-BjM7LxzY.js +2805 -0
- package/dist/client/assets/index-DcKIzuMk.css +1 -0
- package/dist/client/assets/{infoDiagram-5YYISTIA-DmZdWVcU.js → infoDiagram-5YYISTIA-CuuNZITP.js} +1 -1
- package/dist/client/assets/{ishikawaDiagram-YF4QCWOH-DsEIHSXr.js → ishikawaDiagram-YF4QCWOH-MBSaC94m.js} +1 -1
- package/dist/client/assets/{journeyDiagram-JHISSGLW-CsfIWmu1.js → journeyDiagram-JHISSGLW-DkaAow9E.js} +1 -1
- package/dist/client/assets/{kanban-definition-UN3LZRKU-CQKqeZvc.js → kanban-definition-UN3LZRKU-DSf5OLtq.js} +1 -1
- package/dist/client/assets/{mermaid.core-DkC_dr4-.js → mermaid.core-HmTn21MF.js} +4 -4
- package/dist/client/assets/{mindmap-definition-RKZ34NQL-RnmE-NUe.js → mindmap-definition-RKZ34NQL-sv0Dl8aI.js} +1 -1
- package/dist/client/assets/{pieDiagram-4H26LBE5-DPu6FPc4.js → pieDiagram-4H26LBE5-BDK2IQNq.js} +1 -1
- package/dist/client/assets/{puzzle-DwhHOf32.js → puzzle-D00mP67o.js} +1 -1
- package/dist/client/assets/{quadrantDiagram-W4KKPZXB-CYbypO2p.js → quadrantDiagram-W4KKPZXB-CiWAhwf1.js} +1 -1
- package/dist/client/assets/{requirementDiagram-4Y6WPE33-DFk1vK_N.js → requirementDiagram-4Y6WPE33-DwC99D35.js} +1 -1
- package/dist/client/assets/{sankeyDiagram-5OEKKPKP-CkUY1Zzu.js → sankeyDiagram-5OEKKPKP-CQn8z721.js} +1 -1
- package/dist/client/assets/{sequenceDiagram-3UESZ5HK-CFivaLOO.js → sequenceDiagram-3UESZ5HK-B0CT8-vw.js} +1 -1
- package/dist/client/assets/{standing-instructions-template-BbqKGAC1.js → standing-instructions-template-BIBO_Prr.js} +1 -1
- package/dist/client/assets/{stateDiagram-AJRCARHV-BPeD5PwG.js → stateDiagram-AJRCARHV-BYAB_dFF.js} +1 -1
- package/dist/client/assets/{stateDiagram-v2-BHNVJYJU-DduiCPMb.js → stateDiagram-v2-BHNVJYJU-Cd19uJBk.js} +1 -1
- package/dist/client/assets/{timeline-definition-PNZ67QCA-CGUNNVro.js → timeline-definition-PNZ67QCA-DQLh8XkY.js} +1 -1
- package/dist/client/assets/{upload-BS96H1o7.js → upload-D4pkNOz2.js} +1 -1
- package/dist/client/assets/{users--irrWoyU.js → users-COgviS_S.js} +1 -1
- package/dist/client/assets/{vennDiagram-CIIHVFJN-CybTaJJH.js → vennDiagram-CIIHVFJN-BmwG1Wud.js} +1 -1
- package/dist/client/assets/{wardley-L42UT6IY-DSxaSCGi.js → wardley-L42UT6IY-BiO7jkmj.js} +1 -1
- package/dist/client/assets/{wardleyDiagram-YWT4CUSO-YFb0AxNt.js → wardleyDiagram-YWT4CUSO-Dq0IPg5H.js} +1 -1
- package/dist/client/assets/{xychartDiagram-2RQKCTM6-Cv6zlMJC.js → xychartDiagram-2RQKCTM6-BlMOlSBc.js} +1 -1
- package/dist/client/index.html +13 -6
- package/dist/client/theme-data.css +85 -0
- package/dist/client/version.json +1 -1
- package/dist/droid-cli/package.json +1 -1
- package/dist/extension.js +548 -86
- package/dist/pi-claude-cli/package.json +1 -1
- package/dist/plugin-sdk/index.d.ts +5 -1
- package/dist/plugin-sdk/index.js +43 -19
- package/dist/plugins/fusion-plugin-acp-runtime/bundled.js +43 -19
- package/dist/plugins/fusion-plugin-acp-runtime/package.json +1 -1
- package/dist/plugins/fusion-plugin-claude-runtime/bundled.js +43 -19
- package/dist/plugins/fusion-plugin-claude-runtime/package.json +1 -1
- package/dist/plugins/fusion-plugin-cli-printing-press/bundled.js +43 -19
- package/dist/plugins/fusion-plugin-cli-printing-press/package.json +1 -1
- package/dist/plugins/fusion-plugin-compound-engineering/bundled.js +43 -19
- package/dist/plugins/fusion-plugin-compound-engineering/package.json +1 -1
- package/dist/plugins/fusion-plugin-cursor-runtime/bundled.js +43 -19
- package/dist/plugins/fusion-plugin-cursor-runtime/package.json +1 -1
- package/dist/plugins/fusion-plugin-dependency-graph/bundled.js +43 -19
- package/dist/plugins/fusion-plugin-dependency-graph/package.json +1 -1
- package/dist/plugins/fusion-plugin-droid-runtime/bundled.js +43 -19
- package/dist/plugins/fusion-plugin-droid-runtime/package.json +1 -1
- package/dist/plugins/fusion-plugin-grok-runtime/bundled.js +43 -19
- package/dist/plugins/fusion-plugin-grok-runtime/package.json +1 -1
- package/dist/plugins/fusion-plugin-hermes-runtime/bundled.js +43 -19
- package/dist/plugins/fusion-plugin-hermes-runtime/package.json +1 -1
- package/dist/plugins/fusion-plugin-linear-import/bundled.js +43 -19
- package/dist/plugins/fusion-plugin-linear-import/package.json +1 -1
- package/dist/plugins/fusion-plugin-omp-runtime/bundled.js +43 -19
- package/dist/plugins/fusion-plugin-omp-runtime/package.json +1 -1
- package/dist/plugins/fusion-plugin-openclaw-runtime/bundled.js +43 -19
- package/dist/plugins/fusion-plugin-openclaw-runtime/package.json +1 -1
- package/dist/plugins/fusion-plugin-paperclip-runtime/bundled.js +43 -19
- package/dist/plugins/fusion-plugin-paperclip-runtime/package.json +1 -1
- package/dist/plugins/fusion-plugin-quality/bundled.js +43 -19
- package/dist/plugins/fusion-plugin-quality/package.json +1 -1
- package/dist/plugins/fusion-plugin-reports/bundled.js +43 -19
- package/dist/plugins/fusion-plugin-reports/package.json +1 -1
- package/dist/plugins/fusion-plugin-roadmap/bundled.js +43 -19
- package/dist/plugins/fusion-plugin-roadmap/package.json +1 -1
- package/dist/plugins/fusion-plugin-todos/bundled.js +43 -19
- package/dist/plugins/fusion-plugin-todos/package.json +1 -1
- package/dist/plugins/fusion-plugin-whatsapp-chat/bundled.js +43 -19
- package/dist/plugins/fusion-plugin-whatsapp-chat/package.json +1 -1
- package/package.json +1 -1
- package/dist/client/assets/ReportModal-DxggF_RH.js +0 -21
- package/dist/client/assets/ReportModal-lzN_xrnM.css +0 -1
- package/dist/client/assets/channel-CxQ40s_U.js +0 -1
- package/dist/client/assets/classDiagram-4FO5ZUOK-C2ARdiRL.js +0 -1
- package/dist/client/assets/classDiagram-v2-Q7XG4LA2-C2ARdiRL.js +0 -1
- package/dist/client/assets/index-BJc-A7eB.css +0 -1
- package/dist/client/assets/index-CBFPgFTp.js +0 -2787
|
@@ -5815,6 +5815,7 @@ declare class TaskStore extends EventEmitter<TaskStoreEvents> {
|
|
|
5815
5815
|
}): Promise<MergeRequestRecord>;
|
|
5816
5816
|
getMergeRequestRecord(taskId: string): MergeRequestRecord | null;
|
|
5817
5817
|
getMergeRequestRecordAsync(taskId: string): Promise<MergeRequestRecord | null>;
|
|
5818
|
+
getMergeRequestRecordsAsync(taskIds: readonly string[]): Promise<Map<string, MergeRequestRecord>>;
|
|
5818
5819
|
projectMergeRequestToWorkflowWorkItem(taskId: string, opts?: MergeRequestWorkflowProjectionOptions): Promise<WorkflowWorkItem | null>;
|
|
5819
5820
|
createCompletionHandoffWorkflowWork(task: Pick<Task, "id" | "autoMerge" | "priority">, opts?: {
|
|
5820
5821
|
runId?: string;
|
|
@@ -5849,6 +5850,9 @@ declare class TaskStore extends EventEmitter<TaskStoreEvents> {
|
|
|
5849
5850
|
listWorkflowWorkItemsForTask(taskId: string, opts?: {
|
|
5850
5851
|
kinds?: WorkflowWorkItemKind[];
|
|
5851
5852
|
}): Promise<WorkflowWorkItem[]>;
|
|
5853
|
+
listWorkflowWorkItemsForTasks(taskIds: readonly string[], opts?: {
|
|
5854
|
+
kinds?: WorkflowWorkItemKind[];
|
|
5855
|
+
}): Promise<Map<string, WorkflowWorkItem[]>>;
|
|
5852
5856
|
listWorkflowWorkItemsForTaskSync(taskId: string, opts?: {
|
|
5853
5857
|
kinds?: WorkflowWorkItemKind[];
|
|
5854
5858
|
}): WorkflowWorkItem[];
|
|
@@ -6833,7 +6837,7 @@ declare const ANTHROPIC_AUTH_PREFERENCES: readonly ["api-key", "subscription"];
|
|
|
6833
6837
|
type AnthropicAuthPreference = (typeof ANTHROPIC_AUTH_PREFERENCES)[number];
|
|
6834
6838
|
declare const THEME_MODES: readonly ["dark", "light", "system"];
|
|
6835
6839
|
type ThemeMode = (typeof THEME_MODES)[number];
|
|
6836
|
-
declare const COLOR_THEMES: readonly ["default", "ocean", "forest", "sunset", "zen", "berry", "high-contrast", "industrial", "monochrome", "slate", "ash", "air", "graphite", "silver", "solarized", "factory", "factory-mono", "ayu", "one-dark", "nord", "dracula", "gruvbox", "tokyo-night", "catppuccin-mocha", "github-dark", "everforest", "rose-pine", "kanagawa", "night-owl", "palenight", "monokai-pro", "slime", "brutalist", "neon-city", "parchment", "medieval", "terminal", "glass", "glass-silver", "horizon", "vitesse", "outrun", "snazzy", "porple", "espresso", "mars", "poimandres", "ember", "rust", "copper", "foundry", "carbon", "sandstone", "lagoon", "frost", "lavender", "neon-bloom", "sepia", "cobalt", "clay", "moss", "aurora", "calm", "dawn", "sage", "midnight", "velvet", "factory-dark", "factory-light", "shadcn", "shadcn-ember", "shadcn-custom", "shadcn-blue", "shadcn-green", "shadcn-red", "shadcn-purple", "shadcn-pink", "shadcn-orange", "shadcn-yellow", "shadcn-mono", "shadcn-mono-red", "shadcn-mono-blue", "shadcn-mono-green", "shadcn-mono-purple", "shadcn-mono-pink", "shadcn-mono-orange", "shadcn-mono-yellow", "shadcn-black", "shadcn-gray", "shadcn-gray-blue"];
|
|
6840
|
+
declare const COLOR_THEMES: readonly ["default", "ocean", "forest", "sunset", "zen", "berry", "high-contrast", "industrial", "monochrome", "slate", "ash", "air", "graphite", "silver", "solarized", "factory", "factory-mono", "ayu", "one-dark", "nord", "dracula", "gruvbox", "tokyo-night", "catppuccin-mocha", "github-dark", "everforest", "rose-pine", "kanagawa", "night-owl", "palenight", "monokai-pro", "slime", "brutalist", "neon-city", "parchment", "medieval", "terminal", "glass", "glass-silver", "horizon", "vitesse", "outrun", "snazzy", "porple", "espresso", "mars", "poimandres", "ember", "rust", "copper", "foundry", "carbon", "sandstone", "lagoon", "frost", "lavender", "neon-bloom", "sepia", "cobalt", "clay", "moss", "aurora", "calm", "dawn", "sage", "midnight", "velvet", "iceberg", "factory-dark", "factory-light", "shadcn", "shadcn-ember", "shadcn-custom", "shadcn-blue", "shadcn-green", "shadcn-red", "shadcn-purple", "shadcn-pink", "shadcn-orange", "shadcn-yellow", "shadcn-mono", "shadcn-mono-red", "shadcn-mono-blue", "shadcn-mono-green", "shadcn-mono-purple", "shadcn-mono-pink", "shadcn-mono-orange", "shadcn-mono-yellow", "shadcn-black", "shadcn-gray", "shadcn-gray-blue"];
|
|
6837
6841
|
type ColorTheme = (typeof COLOR_THEMES)[number];
|
|
6838
6842
|
declare const SUPPORTED_LOCALES: readonly ["en", "zh-CN", "zh-TW", "fr", "es", "ko", "pt-BR"];
|
|
6839
6843
|
type Locale = (typeof SUPPORTED_LOCALES)[number];
|
package/dist/plugin-sdk/index.js
CHANGED
|
@@ -8201,7 +8201,16 @@ var projectTableNames = [
|
|
|
8201
8201
|
"chat_rooms",
|
|
8202
8202
|
"chat_room_members",
|
|
8203
8203
|
"chat_room_messages",
|
|
8204
|
-
"chat_token_usage"
|
|
8204
|
+
"chat_token_usage",
|
|
8205
|
+
/*
|
|
8206
|
+
FNXC:WorkspaceCoordination 2026-08-23-20:05:
|
|
8207
|
+
FN-9059 (migration 0060) added these two tables to the schema without registering them here, so
|
|
8208
|
+
every registry consumer under-counted them: the PostgreSQL test harness never TRUNCATEd them
|
|
8209
|
+
between tests (a held `repo:<repo>` lease leaked from one case into the next and made the next
|
|
8210
|
+
land report the previous test's successor as the busy holder), and health compaction skipped them.
|
|
8211
|
+
*/
|
|
8212
|
+
"workspace_coordination_leases",
|
|
8213
|
+
"workspace_land_intents"
|
|
8205
8214
|
];
|
|
8206
8215
|
|
|
8207
8216
|
// ../core/src/postgres/schema/central.ts
|
|
@@ -9394,12 +9403,16 @@ var DEFAULT_PROJECT_SETTINGS = {
|
|
|
9394
9403
|
executorEscalationProvider: void 0,
|
|
9395
9404
|
executorEscalationModelId: void 0,
|
|
9396
9405
|
executorEscalationNodeId: void 0,
|
|
9397
|
-
|
|
9398
|
-
|
|
9399
|
-
|
|
9400
|
-
|
|
9401
|
-
|
|
9402
|
-
|
|
9406
|
+
/*
|
|
9407
|
+
FNXC:ReviewConvergence 2026-08-23-21:05:
|
|
9408
|
+
FN-149's six review-convergence/arbitration keys are declared in BUILTIN_WORKFLOW_SETTINGS, which
|
|
9409
|
+
the U4 hard-move made the SINGLE source of truth for a moved key's default. Re-declaring them here
|
|
9410
|
+
put them back in the legacy object the hard-move emptied, so an undeclared key on a custom workflow
|
|
9411
|
+
could resolve to this literal instead of the declaration default — the exact drift
|
|
9412
|
+
`workflow-settings-fallback-alignment` guards. The declaration defaults are identical (both
|
|
9413
|
+
`*Enabled` default true, the provider/model lanes carry no default), and the reader uses
|
|
9414
|
+
`!== false`, so removing them here preserves behaviour and restores the invariant.
|
|
9415
|
+
*/
|
|
9403
9416
|
/**
|
|
9404
9417
|
* FNXC:Merge 2026-06-26-00:00:
|
|
9405
9418
|
* New and unconfigured projects default AI merge to sync a dirty checked-out integration branch, restoring the legacy stash → fast-forward → restore landing behavior. Explicit persisted merger.allowDirtyLocalCheckoutSync values still win, and no existing-project migration stamps this default into storage.
|
|
@@ -10291,6 +10304,20 @@ function classifyWorkflowAgentNode(node) {
|
|
|
10291
10304
|
}
|
|
10292
10305
|
}
|
|
10293
10306
|
|
|
10307
|
+
// ../core/src/workflows/workflow-merge-region.ts
|
|
10308
|
+
var MERGE_REGION_ENTRY_NODE_KINDS = /* @__PURE__ */ new Set([
|
|
10309
|
+
"merge-gate",
|
|
10310
|
+
"merge-attempt",
|
|
10311
|
+
"manual-merge-hold",
|
|
10312
|
+
"retry-backoff",
|
|
10313
|
+
"recovery-router",
|
|
10314
|
+
"branch-group-member-integration",
|
|
10315
|
+
"branch-group-promotion",
|
|
10316
|
+
"pr-create",
|
|
10317
|
+
"pr-respond",
|
|
10318
|
+
"pr-merge"
|
|
10319
|
+
]);
|
|
10320
|
+
|
|
10294
10321
|
// ../core/src/workflows/workflow-extension-types.ts
|
|
10295
10322
|
function workflowExtensionRegistryId(pluginId, extensionId) {
|
|
10296
10323
|
return `plugin:${pluginId}:${extensionId}`;
|
|
@@ -10819,18 +10846,7 @@ function reachableFrom(start, outgoing) {
|
|
|
10819
10846
|
}
|
|
10820
10847
|
return seen;
|
|
10821
10848
|
}
|
|
10822
|
-
var INTERPRETER_ENTRY_NODE_KINDS =
|
|
10823
|
-
"merge-gate",
|
|
10824
|
-
"merge-attempt",
|
|
10825
|
-
"manual-merge-hold",
|
|
10826
|
-
"retry-backoff",
|
|
10827
|
-
"recovery-router",
|
|
10828
|
-
"branch-group-member-integration",
|
|
10829
|
-
"branch-group-promotion",
|
|
10830
|
-
"pr-create",
|
|
10831
|
-
"pr-respond",
|
|
10832
|
-
"pr-merge"
|
|
10833
|
-
]);
|
|
10849
|
+
var INTERPRETER_ENTRY_NODE_KINDS = MERGE_REGION_ENTRY_NODE_KINDS;
|
|
10834
10850
|
var MERGE_CLASS_NODE_KINDS = /* @__PURE__ */ new Set([
|
|
10835
10851
|
"merge-gate",
|
|
10836
10852
|
"merge-attempt",
|
|
@@ -12850,6 +12866,13 @@ Lint, tests, and typecheck are also hard quality gates:
|
|
|
12850
12866
|
- Keep fixing failures caused by your change until lint, impacted tests, build, and typecheck pass.
|
|
12851
12867
|
- If the repository exposes a typecheck command, run it and fix failures caused by your change.
|
|
12852
12868
|
- When tests fail, classify whether the failure is caused by your change, a pre-existing defect, an unrelated flaky test, or an outdated test expectation.
|
|
12869
|
+
|
|
12870
|
+
**A behavior change owns every test that asserts the old behavior.** Targeted verification runs the tests for files you TOUCHED; the tests encoding the behavior you just changed usually live in files you did NOT touch, so a green targeted run is not evidence that none exist. Before finishing, search for them:
|
|
12871
|
+
- Added a guard, validation, or required field? Grep for the FIXTURES it will now refuse \u2014 they are outside your File Scope \u2014 and fix each to state its intent explicitly.
|
|
12872
|
+
- Removed a feature? Delete its tests. A test asserting a deliberately removed contract guards nothing, and making it pass later means re-adding removed behavior.
|
|
12873
|
+
- Changed an order, default, constant, or prompt string? Grep for the literal; topology lists, prompt-content assertions, and size budgets live far from the code they describe.
|
|
12874
|
+
- Added a public store/service method? Update the inventory/drift guards that require every public surface to be classified.
|
|
12875
|
+
Fix at the SHARED FIXTURE FACTORY, not per test \u2014 one helper usually explains dozens of failures. Never make a stale test pass by weakening it: update the fixture, record the new truth, or delete the test naming the change that removed its subject.
|
|
12853
12876
|
- If broad workspace verification fails on unrelated or pre-existing failures after impacted checks pass, do NOT expand this task by fixing unrelated areas. Log the evidence, quarantine flakes per project policy, or create/link a follow-up task.
|
|
12854
12877
|
- Do not repeatedly rerun a broad failing or hanging workspace command without a new hypothesis and a narrower confirming command.
|
|
12855
12878
|
|
|
@@ -13122,6 +13145,7 @@ files with assertions that run via a test runner. Typechecks and builds are NOT
|
|
|
13122
13145
|
tests. Manual verification is NOT a test.
|
|
13123
13146
|
|
|
13124
13147
|
- Each implementation step should include writing tests for the code being changed
|
|
13148
|
+
- **If the task CHANGES, GATES, or REMOVES existing behavior, include a step to find and update the tests that assert the OLD behavior.** Name the search in that step: the fixtures a new guard will now refuse, the tests of a removed feature, or the literal to grep for a changed order/default/constant/prompt string. Those tests live OUTSIDE the File Scope, so targeted verification will not surface them and the executor will not find them by accident. Measured 2026-08-24: five such changes left ~135 stale failing tests behind, every one having passed its own targeted verification; one shared fixture line accounted for 37 of them.
|
|
13125
13149
|
- For bug fixes and UI-affordance add/remove tasks, the spec MUST include a \`## Surface Enumeration\` section. The workflow Plan Review gate validates this before execution when plan review is enabled; missing coverage is a blocking REVISE.
|
|
13126
13150
|
- For bug fixes and UI-affordance add/remove tasks, populate \`## Surface Enumeration\` with this checklist from \`docs/testing.md\`: providers/bridges/execution paths; desktop + mobile breakpoints/platforms; empty/undefined/duplicate/populated data states; shared hooks/components/modules/helpers; every component that renders the affordance; leftover shells after removal.
|
|
13127
13151
|
- For bug fixes and UI-affordance add/remove tasks, regression tests must assert the invariant across all known surfaces \u2014 enumerate every provider/bridge, desktop + mobile breakpoints, empty/undefined/populated data states, and for UI-affordance changes every component rendering the affordance plus leftover shells after removal \u2014 not just the reported repro (see FN-5787/FN-5789/FN-5803, FN-5751, and FN-6115/FN-6118/FN-6123)
|
|
@@ -8200,7 +8200,16 @@ var projectTableNames = [
|
|
|
8200
8200
|
"chat_rooms",
|
|
8201
8201
|
"chat_room_members",
|
|
8202
8202
|
"chat_room_messages",
|
|
8203
|
-
"chat_token_usage"
|
|
8203
|
+
"chat_token_usage",
|
|
8204
|
+
/*
|
|
8205
|
+
FNXC:WorkspaceCoordination 2026-08-23-20:05:
|
|
8206
|
+
FN-9059 (migration 0060) added these two tables to the schema without registering them here, so
|
|
8207
|
+
every registry consumer under-counted them: the PostgreSQL test harness never TRUNCATEd them
|
|
8208
|
+
between tests (a held `repo:<repo>` lease leaked from one case into the next and made the next
|
|
8209
|
+
land report the previous test's successor as the busy holder), and health compaction skipped them.
|
|
8210
|
+
*/
|
|
8211
|
+
"workspace_coordination_leases",
|
|
8212
|
+
"workspace_land_intents"
|
|
8204
8213
|
];
|
|
8205
8214
|
|
|
8206
8215
|
// ../core/src/postgres/schema/central.ts
|
|
@@ -9393,12 +9402,16 @@ var DEFAULT_PROJECT_SETTINGS = {
|
|
|
9393
9402
|
executorEscalationProvider: void 0,
|
|
9394
9403
|
executorEscalationModelId: void 0,
|
|
9395
9404
|
executorEscalationNodeId: void 0,
|
|
9396
|
-
|
|
9397
|
-
|
|
9398
|
-
|
|
9399
|
-
|
|
9400
|
-
|
|
9401
|
-
|
|
9405
|
+
/*
|
|
9406
|
+
FNXC:ReviewConvergence 2026-08-23-21:05:
|
|
9407
|
+
FN-149's six review-convergence/arbitration keys are declared in BUILTIN_WORKFLOW_SETTINGS, which
|
|
9408
|
+
the U4 hard-move made the SINGLE source of truth for a moved key's default. Re-declaring them here
|
|
9409
|
+
put them back in the legacy object the hard-move emptied, so an undeclared key on a custom workflow
|
|
9410
|
+
could resolve to this literal instead of the declaration default — the exact drift
|
|
9411
|
+
`workflow-settings-fallback-alignment` guards. The declaration defaults are identical (both
|
|
9412
|
+
`*Enabled` default true, the provider/model lanes carry no default), and the reader uses
|
|
9413
|
+
`!== false`, so removing them here preserves behaviour and restores the invariant.
|
|
9414
|
+
*/
|
|
9402
9415
|
/**
|
|
9403
9416
|
* FNXC:Merge 2026-06-26-00:00:
|
|
9404
9417
|
* New and unconfigured projects default AI merge to sync a dirty checked-out integration branch, restoring the legacy stash → fast-forward → restore landing behavior. Explicit persisted merger.allowDirtyLocalCheckoutSync values still win, and no existing-project migration stamps this default into storage.
|
|
@@ -10299,6 +10312,20 @@ function classifyWorkflowAgentNode(node) {
|
|
|
10299
10312
|
}
|
|
10300
10313
|
}
|
|
10301
10314
|
|
|
10315
|
+
// ../core/src/workflows/workflow-merge-region.ts
|
|
10316
|
+
var MERGE_REGION_ENTRY_NODE_KINDS = /* @__PURE__ */ new Set([
|
|
10317
|
+
"merge-gate",
|
|
10318
|
+
"merge-attempt",
|
|
10319
|
+
"manual-merge-hold",
|
|
10320
|
+
"retry-backoff",
|
|
10321
|
+
"recovery-router",
|
|
10322
|
+
"branch-group-member-integration",
|
|
10323
|
+
"branch-group-promotion",
|
|
10324
|
+
"pr-create",
|
|
10325
|
+
"pr-respond",
|
|
10326
|
+
"pr-merge"
|
|
10327
|
+
]);
|
|
10328
|
+
|
|
10302
10329
|
// ../core/src/workflows/workflow-extension-types.ts
|
|
10303
10330
|
function workflowExtensionRegistryId(pluginId, extensionId) {
|
|
10304
10331
|
return `plugin:${pluginId}:${extensionId}`;
|
|
@@ -10827,18 +10854,7 @@ function reachableFrom(start, outgoing) {
|
|
|
10827
10854
|
}
|
|
10828
10855
|
return seen;
|
|
10829
10856
|
}
|
|
10830
|
-
var INTERPRETER_ENTRY_NODE_KINDS =
|
|
10831
|
-
"merge-gate",
|
|
10832
|
-
"merge-attempt",
|
|
10833
|
-
"manual-merge-hold",
|
|
10834
|
-
"retry-backoff",
|
|
10835
|
-
"recovery-router",
|
|
10836
|
-
"branch-group-member-integration",
|
|
10837
|
-
"branch-group-promotion",
|
|
10838
|
-
"pr-create",
|
|
10839
|
-
"pr-respond",
|
|
10840
|
-
"pr-merge"
|
|
10841
|
-
]);
|
|
10857
|
+
var INTERPRETER_ENTRY_NODE_KINDS = MERGE_REGION_ENTRY_NODE_KINDS;
|
|
10842
10858
|
var MERGE_CLASS_NODE_KINDS = /* @__PURE__ */ new Set([
|
|
10843
10859
|
"merge-gate",
|
|
10844
10860
|
"merge-attempt",
|
|
@@ -12858,6 +12874,13 @@ Lint, tests, and typecheck are also hard quality gates:
|
|
|
12858
12874
|
- Keep fixing failures caused by your change until lint, impacted tests, build, and typecheck pass.
|
|
12859
12875
|
- If the repository exposes a typecheck command, run it and fix failures caused by your change.
|
|
12860
12876
|
- When tests fail, classify whether the failure is caused by your change, a pre-existing defect, an unrelated flaky test, or an outdated test expectation.
|
|
12877
|
+
|
|
12878
|
+
**A behavior change owns every test that asserts the old behavior.** Targeted verification runs the tests for files you TOUCHED; the tests encoding the behavior you just changed usually live in files you did NOT touch, so a green targeted run is not evidence that none exist. Before finishing, search for them:
|
|
12879
|
+
- Added a guard, validation, or required field? Grep for the FIXTURES it will now refuse \u2014 they are outside your File Scope \u2014 and fix each to state its intent explicitly.
|
|
12880
|
+
- Removed a feature? Delete its tests. A test asserting a deliberately removed contract guards nothing, and making it pass later means re-adding removed behavior.
|
|
12881
|
+
- Changed an order, default, constant, or prompt string? Grep for the literal; topology lists, prompt-content assertions, and size budgets live far from the code they describe.
|
|
12882
|
+
- Added a public store/service method? Update the inventory/drift guards that require every public surface to be classified.
|
|
12883
|
+
Fix at the SHARED FIXTURE FACTORY, not per test \u2014 one helper usually explains dozens of failures. Never make a stale test pass by weakening it: update the fixture, record the new truth, or delete the test naming the change that removed its subject.
|
|
12861
12884
|
- If broad workspace verification fails on unrelated or pre-existing failures after impacted checks pass, do NOT expand this task by fixing unrelated areas. Log the evidence, quarantine flakes per project policy, or create/link a follow-up task.
|
|
12862
12885
|
- Do not repeatedly rerun a broad failing or hanging workspace command without a new hypothesis and a narrower confirming command.
|
|
12863
12886
|
|
|
@@ -13130,6 +13153,7 @@ files with assertions that run via a test runner. Typechecks and builds are NOT
|
|
|
13130
13153
|
tests. Manual verification is NOT a test.
|
|
13131
13154
|
|
|
13132
13155
|
- Each implementation step should include writing tests for the code being changed
|
|
13156
|
+
- **If the task CHANGES, GATES, or REMOVES existing behavior, include a step to find and update the tests that assert the OLD behavior.** Name the search in that step: the fixtures a new guard will now refuse, the tests of a removed feature, or the literal to grep for a changed order/default/constant/prompt string. Those tests live OUTSIDE the File Scope, so targeted verification will not surface them and the executor will not find them by accident. Measured 2026-08-24: five such changes left ~135 stale failing tests behind, every one having passed its own targeted verification; one shared fixture line accounted for 37 of them.
|
|
13133
13157
|
- For bug fixes and UI-affordance add/remove tasks, the spec MUST include a \`## Surface Enumeration\` section. The workflow Plan Review gate validates this before execution when plan review is enabled; missing coverage is a blocking REVISE.
|
|
13134
13158
|
- For bug fixes and UI-affordance add/remove tasks, populate \`## Surface Enumeration\` with this checklist from \`docs/testing.md\`: providers/bridges/execution paths; desktop + mobile breakpoints/platforms; empty/undefined/duplicate/populated data states; shared hooks/components/modules/helpers; every component that renders the affordance; leftover shells after removal.
|
|
13135
13159
|
- For bug fixes and UI-affordance add/remove tasks, regression tests must assert the invariant across all known surfaces \u2014 enumerate every provider/bridge, desktop + mobile breakpoints, empty/undefined/populated data states, and for UI-affordance changes every component rendering the affordance plus leftover shells after removal \u2014 not just the reported repro (see FN-5787/FN-5789/FN-5803, FN-5751, and FN-6115/FN-6118/FN-6123)
|
|
@@ -8200,7 +8200,16 @@ var projectTableNames = [
|
|
|
8200
8200
|
"chat_rooms",
|
|
8201
8201
|
"chat_room_members",
|
|
8202
8202
|
"chat_room_messages",
|
|
8203
|
-
"chat_token_usage"
|
|
8203
|
+
"chat_token_usage",
|
|
8204
|
+
/*
|
|
8205
|
+
FNXC:WorkspaceCoordination 2026-08-23-20:05:
|
|
8206
|
+
FN-9059 (migration 0060) added these two tables to the schema without registering them here, so
|
|
8207
|
+
every registry consumer under-counted them: the PostgreSQL test harness never TRUNCATEd them
|
|
8208
|
+
between tests (a held `repo:<repo>` lease leaked from one case into the next and made the next
|
|
8209
|
+
land report the previous test's successor as the busy holder), and health compaction skipped them.
|
|
8210
|
+
*/
|
|
8211
|
+
"workspace_coordination_leases",
|
|
8212
|
+
"workspace_land_intents"
|
|
8204
8213
|
];
|
|
8205
8214
|
|
|
8206
8215
|
// ../core/src/postgres/schema/central.ts
|
|
@@ -9393,12 +9402,16 @@ var DEFAULT_PROJECT_SETTINGS = {
|
|
|
9393
9402
|
executorEscalationProvider: void 0,
|
|
9394
9403
|
executorEscalationModelId: void 0,
|
|
9395
9404
|
executorEscalationNodeId: void 0,
|
|
9396
|
-
|
|
9397
|
-
|
|
9398
|
-
|
|
9399
|
-
|
|
9400
|
-
|
|
9401
|
-
|
|
9405
|
+
/*
|
|
9406
|
+
FNXC:ReviewConvergence 2026-08-23-21:05:
|
|
9407
|
+
FN-149's six review-convergence/arbitration keys are declared in BUILTIN_WORKFLOW_SETTINGS, which
|
|
9408
|
+
the U4 hard-move made the SINGLE source of truth for a moved key's default. Re-declaring them here
|
|
9409
|
+
put them back in the legacy object the hard-move emptied, so an undeclared key on a custom workflow
|
|
9410
|
+
could resolve to this literal instead of the declaration default — the exact drift
|
|
9411
|
+
`workflow-settings-fallback-alignment` guards. The declaration defaults are identical (both
|
|
9412
|
+
`*Enabled` default true, the provider/model lanes carry no default), and the reader uses
|
|
9413
|
+
`!== false`, so removing them here preserves behaviour and restores the invariant.
|
|
9414
|
+
*/
|
|
9402
9415
|
/**
|
|
9403
9416
|
* FNXC:Merge 2026-06-26-00:00:
|
|
9404
9417
|
* New and unconfigured projects default AI merge to sync a dirty checked-out integration branch, restoring the legacy stash → fast-forward → restore landing behavior. Explicit persisted merger.allowDirtyLocalCheckoutSync values still win, and no existing-project migration stamps this default into storage.
|
|
@@ -10299,6 +10312,20 @@ function classifyWorkflowAgentNode(node) {
|
|
|
10299
10312
|
}
|
|
10300
10313
|
}
|
|
10301
10314
|
|
|
10315
|
+
// ../core/src/workflows/workflow-merge-region.ts
|
|
10316
|
+
var MERGE_REGION_ENTRY_NODE_KINDS = /* @__PURE__ */ new Set([
|
|
10317
|
+
"merge-gate",
|
|
10318
|
+
"merge-attempt",
|
|
10319
|
+
"manual-merge-hold",
|
|
10320
|
+
"retry-backoff",
|
|
10321
|
+
"recovery-router",
|
|
10322
|
+
"branch-group-member-integration",
|
|
10323
|
+
"branch-group-promotion",
|
|
10324
|
+
"pr-create",
|
|
10325
|
+
"pr-respond",
|
|
10326
|
+
"pr-merge"
|
|
10327
|
+
]);
|
|
10328
|
+
|
|
10302
10329
|
// ../core/src/workflows/workflow-extension-types.ts
|
|
10303
10330
|
function workflowExtensionRegistryId(pluginId, extensionId) {
|
|
10304
10331
|
return `plugin:${pluginId}:${extensionId}`;
|
|
@@ -10827,18 +10854,7 @@ function reachableFrom(start, outgoing) {
|
|
|
10827
10854
|
}
|
|
10828
10855
|
return seen;
|
|
10829
10856
|
}
|
|
10830
|
-
var INTERPRETER_ENTRY_NODE_KINDS =
|
|
10831
|
-
"merge-gate",
|
|
10832
|
-
"merge-attempt",
|
|
10833
|
-
"manual-merge-hold",
|
|
10834
|
-
"retry-backoff",
|
|
10835
|
-
"recovery-router",
|
|
10836
|
-
"branch-group-member-integration",
|
|
10837
|
-
"branch-group-promotion",
|
|
10838
|
-
"pr-create",
|
|
10839
|
-
"pr-respond",
|
|
10840
|
-
"pr-merge"
|
|
10841
|
-
]);
|
|
10857
|
+
var INTERPRETER_ENTRY_NODE_KINDS = MERGE_REGION_ENTRY_NODE_KINDS;
|
|
10842
10858
|
var MERGE_CLASS_NODE_KINDS = /* @__PURE__ */ new Set([
|
|
10843
10859
|
"merge-gate",
|
|
10844
10860
|
"merge-attempt",
|
|
@@ -12858,6 +12874,13 @@ Lint, tests, and typecheck are also hard quality gates:
|
|
|
12858
12874
|
- Keep fixing failures caused by your change until lint, impacted tests, build, and typecheck pass.
|
|
12859
12875
|
- If the repository exposes a typecheck command, run it and fix failures caused by your change.
|
|
12860
12876
|
- When tests fail, classify whether the failure is caused by your change, a pre-existing defect, an unrelated flaky test, or an outdated test expectation.
|
|
12877
|
+
|
|
12878
|
+
**A behavior change owns every test that asserts the old behavior.** Targeted verification runs the tests for files you TOUCHED; the tests encoding the behavior you just changed usually live in files you did NOT touch, so a green targeted run is not evidence that none exist. Before finishing, search for them:
|
|
12879
|
+
- Added a guard, validation, or required field? Grep for the FIXTURES it will now refuse \u2014 they are outside your File Scope \u2014 and fix each to state its intent explicitly.
|
|
12880
|
+
- Removed a feature? Delete its tests. A test asserting a deliberately removed contract guards nothing, and making it pass later means re-adding removed behavior.
|
|
12881
|
+
- Changed an order, default, constant, or prompt string? Grep for the literal; topology lists, prompt-content assertions, and size budgets live far from the code they describe.
|
|
12882
|
+
- Added a public store/service method? Update the inventory/drift guards that require every public surface to be classified.
|
|
12883
|
+
Fix at the SHARED FIXTURE FACTORY, not per test \u2014 one helper usually explains dozens of failures. Never make a stale test pass by weakening it: update the fixture, record the new truth, or delete the test naming the change that removed its subject.
|
|
12861
12884
|
- If broad workspace verification fails on unrelated or pre-existing failures after impacted checks pass, do NOT expand this task by fixing unrelated areas. Log the evidence, quarantine flakes per project policy, or create/link a follow-up task.
|
|
12862
12885
|
- Do not repeatedly rerun a broad failing or hanging workspace command without a new hypothesis and a narrower confirming command.
|
|
12863
12886
|
|
|
@@ -13130,6 +13153,7 @@ files with assertions that run via a test runner. Typechecks and builds are NOT
|
|
|
13130
13153
|
tests. Manual verification is NOT a test.
|
|
13131
13154
|
|
|
13132
13155
|
- Each implementation step should include writing tests for the code being changed
|
|
13156
|
+
- **If the task CHANGES, GATES, or REMOVES existing behavior, include a step to find and update the tests that assert the OLD behavior.** Name the search in that step: the fixtures a new guard will now refuse, the tests of a removed feature, or the literal to grep for a changed order/default/constant/prompt string. Those tests live OUTSIDE the File Scope, so targeted verification will not surface them and the executor will not find them by accident. Measured 2026-08-24: five such changes left ~135 stale failing tests behind, every one having passed its own targeted verification; one shared fixture line accounted for 37 of them.
|
|
13133
13157
|
- For bug fixes and UI-affordance add/remove tasks, the spec MUST include a \`## Surface Enumeration\` section. The workflow Plan Review gate validates this before execution when plan review is enabled; missing coverage is a blocking REVISE.
|
|
13134
13158
|
- For bug fixes and UI-affordance add/remove tasks, populate \`## Surface Enumeration\` with this checklist from \`docs/testing.md\`: providers/bridges/execution paths; desktop + mobile breakpoints/platforms; empty/undefined/duplicate/populated data states; shared hooks/components/modules/helpers; every component that renders the affordance; leftover shells after removal.
|
|
13135
13159
|
- For bug fixes and UI-affordance add/remove tasks, regression tests must assert the invariant across all known surfaces \u2014 enumerate every provider/bridge, desktop + mobile breakpoints, empty/undefined/populated data states, and for UI-affordance changes every component rendering the affordance plus leftover shells after removal \u2014 not just the reported repro (see FN-5787/FN-5789/FN-5803, FN-5751, and FN-6115/FN-6118/FN-6123)
|
|
@@ -8228,7 +8228,16 @@ var projectTableNames = [
|
|
|
8228
8228
|
"chat_rooms",
|
|
8229
8229
|
"chat_room_members",
|
|
8230
8230
|
"chat_room_messages",
|
|
8231
|
-
"chat_token_usage"
|
|
8231
|
+
"chat_token_usage",
|
|
8232
|
+
/*
|
|
8233
|
+
FNXC:WorkspaceCoordination 2026-08-23-20:05:
|
|
8234
|
+
FN-9059 (migration 0060) added these two tables to the schema without registering them here, so
|
|
8235
|
+
every registry consumer under-counted them: the PostgreSQL test harness never TRUNCATEd them
|
|
8236
|
+
between tests (a held `repo:<repo>` lease leaked from one case into the next and made the next
|
|
8237
|
+
land report the previous test's successor as the busy holder), and health compaction skipped them.
|
|
8238
|
+
*/
|
|
8239
|
+
"workspace_coordination_leases",
|
|
8240
|
+
"workspace_land_intents"
|
|
8232
8241
|
];
|
|
8233
8242
|
|
|
8234
8243
|
// ../core/src/postgres/schema/central.ts
|
|
@@ -9513,12 +9522,16 @@ var DEFAULT_PROJECT_SETTINGS = {
|
|
|
9513
9522
|
executorEscalationProvider: void 0,
|
|
9514
9523
|
executorEscalationModelId: void 0,
|
|
9515
9524
|
executorEscalationNodeId: void 0,
|
|
9516
|
-
|
|
9517
|
-
|
|
9518
|
-
|
|
9519
|
-
|
|
9520
|
-
|
|
9521
|
-
|
|
9525
|
+
/*
|
|
9526
|
+
FNXC:ReviewConvergence 2026-08-23-21:05:
|
|
9527
|
+
FN-149's six review-convergence/arbitration keys are declared in BUILTIN_WORKFLOW_SETTINGS, which
|
|
9528
|
+
the U4 hard-move made the SINGLE source of truth for a moved key's default. Re-declaring them here
|
|
9529
|
+
put them back in the legacy object the hard-move emptied, so an undeclared key on a custom workflow
|
|
9530
|
+
could resolve to this literal instead of the declaration default — the exact drift
|
|
9531
|
+
`workflow-settings-fallback-alignment` guards. The declaration defaults are identical (both
|
|
9532
|
+
`*Enabled` default true, the provider/model lanes carry no default), and the reader uses
|
|
9533
|
+
`!== false`, so removing them here preserves behaviour and restores the invariant.
|
|
9534
|
+
*/
|
|
9522
9535
|
/**
|
|
9523
9536
|
* FNXC:Merge 2026-06-26-00:00:
|
|
9524
9537
|
* New and unconfigured projects default AI merge to sync a dirty checked-out integration branch, restoring the legacy stash → fast-forward → restore landing behavior. Explicit persisted merger.allowDirtyLocalCheckoutSync values still win, and no existing-project migration stamps this default into storage.
|
|
@@ -10411,6 +10424,20 @@ function classifyWorkflowAgentNode(node) {
|
|
|
10411
10424
|
}
|
|
10412
10425
|
}
|
|
10413
10426
|
|
|
10427
|
+
// ../core/src/workflows/workflow-merge-region.ts
|
|
10428
|
+
var MERGE_REGION_ENTRY_NODE_KINDS = /* @__PURE__ */ new Set([
|
|
10429
|
+
"merge-gate",
|
|
10430
|
+
"merge-attempt",
|
|
10431
|
+
"manual-merge-hold",
|
|
10432
|
+
"retry-backoff",
|
|
10433
|
+
"recovery-router",
|
|
10434
|
+
"branch-group-member-integration",
|
|
10435
|
+
"branch-group-promotion",
|
|
10436
|
+
"pr-create",
|
|
10437
|
+
"pr-respond",
|
|
10438
|
+
"pr-merge"
|
|
10439
|
+
]);
|
|
10440
|
+
|
|
10414
10441
|
// ../core/src/workflows/workflow-extension-types.ts
|
|
10415
10442
|
function workflowExtensionRegistryId(pluginId, extensionId) {
|
|
10416
10443
|
return `plugin:${pluginId}:${extensionId}`;
|
|
@@ -10939,18 +10966,7 @@ function reachableFrom(start, outgoing) {
|
|
|
10939
10966
|
}
|
|
10940
10967
|
return seen;
|
|
10941
10968
|
}
|
|
10942
|
-
var INTERPRETER_ENTRY_NODE_KINDS =
|
|
10943
|
-
"merge-gate",
|
|
10944
|
-
"merge-attempt",
|
|
10945
|
-
"manual-merge-hold",
|
|
10946
|
-
"retry-backoff",
|
|
10947
|
-
"recovery-router",
|
|
10948
|
-
"branch-group-member-integration",
|
|
10949
|
-
"branch-group-promotion",
|
|
10950
|
-
"pr-create",
|
|
10951
|
-
"pr-respond",
|
|
10952
|
-
"pr-merge"
|
|
10953
|
-
]);
|
|
10969
|
+
var INTERPRETER_ENTRY_NODE_KINDS = MERGE_REGION_ENTRY_NODE_KINDS;
|
|
10954
10970
|
var MERGE_CLASS_NODE_KINDS = /* @__PURE__ */ new Set([
|
|
10955
10971
|
"merge-gate",
|
|
10956
10972
|
"merge-attempt",
|
|
@@ -12970,6 +12986,13 @@ Lint, tests, and typecheck are also hard quality gates:
|
|
|
12970
12986
|
- Keep fixing failures caused by your change until lint, impacted tests, build, and typecheck pass.
|
|
12971
12987
|
- If the repository exposes a typecheck command, run it and fix failures caused by your change.
|
|
12972
12988
|
- When tests fail, classify whether the failure is caused by your change, a pre-existing defect, an unrelated flaky test, or an outdated test expectation.
|
|
12989
|
+
|
|
12990
|
+
**A behavior change owns every test that asserts the old behavior.** Targeted verification runs the tests for files you TOUCHED; the tests encoding the behavior you just changed usually live in files you did NOT touch, so a green targeted run is not evidence that none exist. Before finishing, search for them:
|
|
12991
|
+
- Added a guard, validation, or required field? Grep for the FIXTURES it will now refuse \u2014 they are outside your File Scope \u2014 and fix each to state its intent explicitly.
|
|
12992
|
+
- Removed a feature? Delete its tests. A test asserting a deliberately removed contract guards nothing, and making it pass later means re-adding removed behavior.
|
|
12993
|
+
- Changed an order, default, constant, or prompt string? Grep for the literal; topology lists, prompt-content assertions, and size budgets live far from the code they describe.
|
|
12994
|
+
- Added a public store/service method? Update the inventory/drift guards that require every public surface to be classified.
|
|
12995
|
+
Fix at the SHARED FIXTURE FACTORY, not per test \u2014 one helper usually explains dozens of failures. Never make a stale test pass by weakening it: update the fixture, record the new truth, or delete the test naming the change that removed its subject.
|
|
12973
12996
|
- If broad workspace verification fails on unrelated or pre-existing failures after impacted checks pass, do NOT expand this task by fixing unrelated areas. Log the evidence, quarantine flakes per project policy, or create/link a follow-up task.
|
|
12974
12997
|
- Do not repeatedly rerun a broad failing or hanging workspace command without a new hypothesis and a narrower confirming command.
|
|
12975
12998
|
|
|
@@ -13242,6 +13265,7 @@ files with assertions that run via a test runner. Typechecks and builds are NOT
|
|
|
13242
13265
|
tests. Manual verification is NOT a test.
|
|
13243
13266
|
|
|
13244
13267
|
- Each implementation step should include writing tests for the code being changed
|
|
13268
|
+
- **If the task CHANGES, GATES, or REMOVES existing behavior, include a step to find and update the tests that assert the OLD behavior.** Name the search in that step: the fixtures a new guard will now refuse, the tests of a removed feature, or the literal to grep for a changed order/default/constant/prompt string. Those tests live OUTSIDE the File Scope, so targeted verification will not surface them and the executor will not find them by accident. Measured 2026-08-24: five such changes left ~135 stale failing tests behind, every one having passed its own targeted verification; one shared fixture line accounted for 37 of them.
|
|
13245
13269
|
- For bug fixes and UI-affordance add/remove tasks, the spec MUST include a \`## Surface Enumeration\` section. The workflow Plan Review gate validates this before execution when plan review is enabled; missing coverage is a blocking REVISE.
|
|
13246
13270
|
- For bug fixes and UI-affordance add/remove tasks, populate \`## Surface Enumeration\` with this checklist from \`docs/testing.md\`: providers/bridges/execution paths; desktop + mobile breakpoints/platforms; empty/undefined/duplicate/populated data states; shared hooks/components/modules/helpers; every component that renders the affordance; leftover shells after removal.
|
|
13247
13271
|
- For bug fixes and UI-affordance add/remove tasks, regression tests must assert the invariant across all known surfaces \u2014 enumerate every provider/bridge, desktop + mobile breakpoints, empty/undefined/populated data states, and for UI-affordance changes every component rendering the affordance plus leftover shells after removal \u2014 not just the reported repro (see FN-5787/FN-5789/FN-5803, FN-5751, and FN-6115/FN-6118/FN-6123)
|
|
@@ -8200,7 +8200,16 @@ var projectTableNames = [
|
|
|
8200
8200
|
"chat_rooms",
|
|
8201
8201
|
"chat_room_members",
|
|
8202
8202
|
"chat_room_messages",
|
|
8203
|
-
"chat_token_usage"
|
|
8203
|
+
"chat_token_usage",
|
|
8204
|
+
/*
|
|
8205
|
+
FNXC:WorkspaceCoordination 2026-08-23-20:05:
|
|
8206
|
+
FN-9059 (migration 0060) added these two tables to the schema without registering them here, so
|
|
8207
|
+
every registry consumer under-counted them: the PostgreSQL test harness never TRUNCATEd them
|
|
8208
|
+
between tests (a held `repo:<repo>` lease leaked from one case into the next and made the next
|
|
8209
|
+
land report the previous test's successor as the busy holder), and health compaction skipped them.
|
|
8210
|
+
*/
|
|
8211
|
+
"workspace_coordination_leases",
|
|
8212
|
+
"workspace_land_intents"
|
|
8204
8213
|
];
|
|
8205
8214
|
|
|
8206
8215
|
// ../core/src/postgres/schema/central.ts
|
|
@@ -9393,12 +9402,16 @@ var DEFAULT_PROJECT_SETTINGS = {
|
|
|
9393
9402
|
executorEscalationProvider: void 0,
|
|
9394
9403
|
executorEscalationModelId: void 0,
|
|
9395
9404
|
executorEscalationNodeId: void 0,
|
|
9396
|
-
|
|
9397
|
-
|
|
9398
|
-
|
|
9399
|
-
|
|
9400
|
-
|
|
9401
|
-
|
|
9405
|
+
/*
|
|
9406
|
+
FNXC:ReviewConvergence 2026-08-23-21:05:
|
|
9407
|
+
FN-149's six review-convergence/arbitration keys are declared in BUILTIN_WORKFLOW_SETTINGS, which
|
|
9408
|
+
the U4 hard-move made the SINGLE source of truth for a moved key's default. Re-declaring them here
|
|
9409
|
+
put them back in the legacy object the hard-move emptied, so an undeclared key on a custom workflow
|
|
9410
|
+
could resolve to this literal instead of the declaration default — the exact drift
|
|
9411
|
+
`workflow-settings-fallback-alignment` guards. The declaration defaults are identical (both
|
|
9412
|
+
`*Enabled` default true, the provider/model lanes carry no default), and the reader uses
|
|
9413
|
+
`!== false`, so removing them here preserves behaviour and restores the invariant.
|
|
9414
|
+
*/
|
|
9402
9415
|
/**
|
|
9403
9416
|
* FNXC:Merge 2026-06-26-00:00:
|
|
9404
9417
|
* New and unconfigured projects default AI merge to sync a dirty checked-out integration branch, restoring the legacy stash → fast-forward → restore landing behavior. Explicit persisted merger.allowDirtyLocalCheckoutSync values still win, and no existing-project migration stamps this default into storage.
|
|
@@ -10291,6 +10304,20 @@ function classifyWorkflowAgentNode(node) {
|
|
|
10291
10304
|
}
|
|
10292
10305
|
}
|
|
10293
10306
|
|
|
10307
|
+
// ../core/src/workflows/workflow-merge-region.ts
|
|
10308
|
+
var MERGE_REGION_ENTRY_NODE_KINDS = /* @__PURE__ */ new Set([
|
|
10309
|
+
"merge-gate",
|
|
10310
|
+
"merge-attempt",
|
|
10311
|
+
"manual-merge-hold",
|
|
10312
|
+
"retry-backoff",
|
|
10313
|
+
"recovery-router",
|
|
10314
|
+
"branch-group-member-integration",
|
|
10315
|
+
"branch-group-promotion",
|
|
10316
|
+
"pr-create",
|
|
10317
|
+
"pr-respond",
|
|
10318
|
+
"pr-merge"
|
|
10319
|
+
]);
|
|
10320
|
+
|
|
10294
10321
|
// ../core/src/workflows/workflow-extension-types.ts
|
|
10295
10322
|
function workflowExtensionRegistryId(pluginId, extensionId) {
|
|
10296
10323
|
return `plugin:${pluginId}:${extensionId}`;
|
|
@@ -10819,18 +10846,7 @@ function reachableFrom(start, outgoing) {
|
|
|
10819
10846
|
}
|
|
10820
10847
|
return seen;
|
|
10821
10848
|
}
|
|
10822
|
-
var INTERPRETER_ENTRY_NODE_KINDS =
|
|
10823
|
-
"merge-gate",
|
|
10824
|
-
"merge-attempt",
|
|
10825
|
-
"manual-merge-hold",
|
|
10826
|
-
"retry-backoff",
|
|
10827
|
-
"recovery-router",
|
|
10828
|
-
"branch-group-member-integration",
|
|
10829
|
-
"branch-group-promotion",
|
|
10830
|
-
"pr-create",
|
|
10831
|
-
"pr-respond",
|
|
10832
|
-
"pr-merge"
|
|
10833
|
-
]);
|
|
10849
|
+
var INTERPRETER_ENTRY_NODE_KINDS = MERGE_REGION_ENTRY_NODE_KINDS;
|
|
10834
10850
|
var MERGE_CLASS_NODE_KINDS = /* @__PURE__ */ new Set([
|
|
10835
10851
|
"merge-gate",
|
|
10836
10852
|
"merge-attempt",
|
|
@@ -12850,6 +12866,13 @@ Lint, tests, and typecheck are also hard quality gates:
|
|
|
12850
12866
|
- Keep fixing failures caused by your change until lint, impacted tests, build, and typecheck pass.
|
|
12851
12867
|
- If the repository exposes a typecheck command, run it and fix failures caused by your change.
|
|
12852
12868
|
- When tests fail, classify whether the failure is caused by your change, a pre-existing defect, an unrelated flaky test, or an outdated test expectation.
|
|
12869
|
+
|
|
12870
|
+
**A behavior change owns every test that asserts the old behavior.** Targeted verification runs the tests for files you TOUCHED; the tests encoding the behavior you just changed usually live in files you did NOT touch, so a green targeted run is not evidence that none exist. Before finishing, search for them:
|
|
12871
|
+
- Added a guard, validation, or required field? Grep for the FIXTURES it will now refuse \u2014 they are outside your File Scope \u2014 and fix each to state its intent explicitly.
|
|
12872
|
+
- Removed a feature? Delete its tests. A test asserting a deliberately removed contract guards nothing, and making it pass later means re-adding removed behavior.
|
|
12873
|
+
- Changed an order, default, constant, or prompt string? Grep for the literal; topology lists, prompt-content assertions, and size budgets live far from the code they describe.
|
|
12874
|
+
- Added a public store/service method? Update the inventory/drift guards that require every public surface to be classified.
|
|
12875
|
+
Fix at the SHARED FIXTURE FACTORY, not per test \u2014 one helper usually explains dozens of failures. Never make a stale test pass by weakening it: update the fixture, record the new truth, or delete the test naming the change that removed its subject.
|
|
12853
12876
|
- If broad workspace verification fails on unrelated or pre-existing failures after impacted checks pass, do NOT expand this task by fixing unrelated areas. Log the evidence, quarantine flakes per project policy, or create/link a follow-up task.
|
|
12854
12877
|
- Do not repeatedly rerun a broad failing or hanging workspace command without a new hypothesis and a narrower confirming command.
|
|
12855
12878
|
|
|
@@ -13122,6 +13145,7 @@ files with assertions that run via a test runner. Typechecks and builds are NOT
|
|
|
13122
13145
|
tests. Manual verification is NOT a test.
|
|
13123
13146
|
|
|
13124
13147
|
- Each implementation step should include writing tests for the code being changed
|
|
13148
|
+
- **If the task CHANGES, GATES, or REMOVES existing behavior, include a step to find and update the tests that assert the OLD behavior.** Name the search in that step: the fixtures a new guard will now refuse, the tests of a removed feature, or the literal to grep for a changed order/default/constant/prompt string. Those tests live OUTSIDE the File Scope, so targeted verification will not surface them and the executor will not find them by accident. Measured 2026-08-24: five such changes left ~135 stale failing tests behind, every one having passed its own targeted verification; one shared fixture line accounted for 37 of them.
|
|
13125
13149
|
- For bug fixes and UI-affordance add/remove tasks, the spec MUST include a \`## Surface Enumeration\` section. The workflow Plan Review gate validates this before execution when plan review is enabled; missing coverage is a blocking REVISE.
|
|
13126
13150
|
- For bug fixes and UI-affordance add/remove tasks, populate \`## Surface Enumeration\` with this checklist from \`docs/testing.md\`: providers/bridges/execution paths; desktop + mobile breakpoints/platforms; empty/undefined/duplicate/populated data states; shared hooks/components/modules/helpers; every component that renders the affordance; leftover shells after removal.
|
|
13127
13151
|
- For bug fixes and UI-affordance add/remove tasks, regression tests must assert the invariant across all known surfaces \u2014 enumerate every provider/bridge, desktop + mobile breakpoints, empty/undefined/populated data states, and for UI-affordance changes every component rendering the affordance plus leftover shells after removal \u2014 not just the reported repro (see FN-5787/FN-5789/FN-5803, FN-5751, and FN-6115/FN-6118/FN-6123)
|