@runfusion/fusion 0.78.0-beta.5 → 0.78.0-beta.6
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 +3574 -1910
- package/dist/child-process-worker.js +1440 -628
- package/dist/client/.vite/manifest.json +257 -257
- package/dist/client/assets/{AgentDetailView-CdoJDm2q.js → AgentDetailView-F_LCM2Fh.js} +1 -1
- package/dist/client/assets/{AgentPermissionPolicyEditor-vlsZ36BL.js → AgentPermissionPolicyEditor-Da7PHXMp.js} +1 -1
- package/dist/client/assets/{AgentsView-9EwgX1OK.js → AgentsView-nIFjsi9d.js} +3 -3
- package/dist/client/assets/{CommandCenter--BVLmh3G.js → CommandCenter-BDtrZ6JK.js} +1 -1
- package/dist/client/assets/{DevServerView-d1CVa_YB.js → DevServerView-CXE7Swoe.js} +1 -1
- package/dist/client/assets/{DirectoryPicker-_uNfzkVu.js → DirectoryPicker-CYI--LmS.js} +1 -1
- package/dist/client/assets/{DocumentsView-SHFZKBkK.js → DocumentsView-BUwtzdpV.js} +1 -1
- package/dist/client/assets/{EvalsView-CQMcojzl.js → EvalsView-0qtYh3sd.js} +1 -1
- package/dist/client/assets/{ExperimentalAgentOnboardingModal-BhwVl29h.js → ExperimentalAgentOnboardingModal-D3YNBI3S.js} +1 -1
- package/dist/client/assets/{GoalsView-Ju8PyHt8.js → GoalsView-C8M2Ufj6.js} +1 -1
- package/dist/client/assets/{InsightsView-BHoI4E2e.js → InsightsView-ByhApqco.js} +1 -1
- package/dist/client/assets/{MemoryView-Co-efjDQ.js → MemoryView-BG3vxXrX.js} +1 -1
- package/dist/client/assets/{PatchnodeView-CBJpVpFG.js → PatchnodeView-D4gg6xMq.js} +1 -1
- package/dist/client/assets/{PiExtensionsManager-DDk1a_Qy.js → PiExtensionsManager-CaadPnc-.js} +1 -1
- package/dist/client/assets/{PluginManager-DtGflOpe.js → PluginManager-BC9_Ajdd.js} +1 -1
- package/dist/client/assets/{PullRequestView-DwHock6V.js → PullRequestView-BfouYDOl.js} +1 -1
- package/dist/client/assets/{ReportModal-CJaxJ6ua.js → ReportModal-BDsen5Oh.js} +1 -1
- package/dist/client/assets/{ResearchView-ZD-2JxsH.js → ResearchView-vmH_K4of.js} +1 -1
- package/dist/client/assets/{SecretsView-Cz99j53t.js → SecretsView-BinJNcAF.js} +1 -1
- package/dist/client/assets/{SettingsModal-dmitxbA_.js → SettingsModal-Bffo4m2D.js} +4 -4
- package/dist/client/assets/{SettingsModal-BfiZ2-GY.js → SettingsModal-DdnLlKn8.js} +1 -1
- package/dist/client/assets/{SettingsTextareaRow-XyVN0ZEP.js → SettingsTextareaRow-CV1xXRhq.js} +1 -1
- package/dist/client/assets/{SetupWizardModal-mVUAy77v.js → SetupWizardModal-B2O0HOZR.js} +2 -2
- package/dist/client/assets/{SkillsView-DYL1ZeGi.js → SkillsView-CPE3Jkt7.js} +1 -1
- package/dist/client/assets/{WorkflowNodeEditor-E9sIzyMz.js → WorkflowNodeEditor-CTVfvX3A.js} +1 -1
- package/dist/client/assets/{agent-import-generation-DwUlR4qa.js → agent-import-generation-Bu2uCPd0.js} +1 -1
- package/dist/client/assets/{agentsOrgChartLayout-B5F8JGin.js → agentsOrgChartLayout-BGOBewpH.js} +1 -1
- package/dist/client/assets/app-AzX-7oMC.js +11 -0
- package/dist/client/assets/app-B5vKhbbZ.js +11 -0
- package/dist/client/assets/app-BZHD4Tdt.js +5 -0
- package/dist/client/assets/app-CWzmFjgT.js +11 -0
- package/dist/client/assets/app-C_yEgSaj.js +11 -0
- package/dist/client/assets/app-Crvy006P.js +11 -0
- package/dist/client/assets/{app-Dsv4VHMo.js → app-UI8thBW4.js} +1 -1
- package/dist/client/assets/{architectureDiagram-3BPJPVTR-BFirFbC8.js → architectureDiagram-3BPJPVTR-BDzTDKvR.js} +1 -1
- package/dist/client/assets/{blockDiagram-GPEHLZMM-CK-1Yktz.js → blockDiagram-GPEHLZMM-BbnxXgkY.js} +1 -1
- package/dist/client/assets/{c4Diagram-AAUBKEIU-C7uG_4cR.js → c4Diagram-AAUBKEIU-B_upVmlM.js} +1 -1
- package/dist/client/assets/channel-2BQ2i0n6.js +1 -0
- package/dist/client/assets/{chunk-2J33WTMH-BhPS_gnq.js → chunk-2J33WTMH-oH3mFmAA.js} +1 -1
- package/dist/client/assets/{chunk-4BX2VUAB-N_uAN5vN.js → chunk-4BX2VUAB-vezh3jfu.js} +1 -1
- package/dist/client/assets/{chunk-55IACEB6-CNYK0ezP.js → chunk-55IACEB6-BmGhY313.js} +1 -1
- package/dist/client/assets/{chunk-727SXJPM-C9EkXgMB.js → chunk-727SXJPM-ChDetrFZ.js} +1 -1
- package/dist/client/assets/{chunk-AQP2D5EJ-CYcOZI0r.js → chunk-AQP2D5EJ-BY329LM6.js} +1 -1
- package/dist/client/assets/{chunk-FMBD7UC4-D-oVdpAz.js → chunk-FMBD7UC4-zuiiPcMa.js} +1 -1
- package/dist/client/assets/{chunk-ND2GUHAM-79zqWauw.js → chunk-ND2GUHAM-CqF_-gMe.js} +1 -1
- package/dist/client/assets/{chunk-QZHKN3VN-T2WIzSUZ.js → chunk-QZHKN3VN-DtETgl8P.js} +1 -1
- package/dist/client/assets/classDiagram-4FO5ZUOK-CmoQsyhJ.js +1 -0
- package/dist/client/assets/classDiagram-v2-Q7XG4LA2-CmoQsyhJ.js +1 -0
- package/dist/client/assets/{cose-bilkent-S5V4N54A-DYcEyEdj.js → cose-bilkent-S5V4N54A-CB7l3IMd.js} +1 -1
- package/dist/client/assets/{dagre-BM42HDAG-CG6eBqe1.js → dagre-BM42HDAG-B-yrcude.js} +1 -1
- package/dist/client/assets/{dashboard-view-Cthbyplu.js → dashboard-view-BHUOC-dp.js} +1 -1
- package/dist/client/assets/{dashboard-view-CpfQSqFD.js → dashboard-view-C2e-lWkw.js} +1 -1
- package/dist/client/assets/{dashboard-view-C3jacppL.js → dashboard-view-DAkh7C8T.js} +1 -1
- package/dist/client/assets/{dashboard-view-BV97_KM2.js → dashboard-view-lR50LvCR.js} +1 -1
- package/dist/client/assets/{diagram-2AECGRRQ-CA-oSX6v.js → diagram-2AECGRRQ-cV9rcK7D.js} +1 -1
- package/dist/client/assets/{diagram-5GNKFQAL-7zlBlYUe.js → diagram-5GNKFQAL-COswZy2u.js} +1 -1
- package/dist/client/assets/{diagram-KO2AKTUF-kFIrOk6O.js → diagram-KO2AKTUF-CRYtHA-0.js} +1 -1
- package/dist/client/assets/{diagram-LMA3HP47-10NYAStZ.js → diagram-LMA3HP47-BSc2gwi-.js} +1 -1
- package/dist/client/assets/{diagram-OG6HWLK6-YUx0Utvh.js → diagram-OG6HWLK6-CkTvh_OG.js} +1 -1
- package/dist/client/assets/{erDiagram-TEJ5UH35-B9jMu7Zv.js → erDiagram-TEJ5UH35-IZxjOfAZ.js} +1 -1
- package/dist/client/assets/{flowDiagram-I6XJVG4X-C540twrl.js → flowDiagram-I6XJVG4X-DP1Krzf1.js} +1 -1
- package/dist/client/assets/{folder-open-Da5UOz-O.js → folder-open-3vwTBlrn.js} +1 -1
- package/dist/client/assets/{ganttDiagram-6RSMTGT7-BRTG1iq_.js → ganttDiagram-6RSMTGT7-DTrMtkeI.js} +1 -1
- package/dist/client/assets/{gitGraphDiagram-PVQCEYII-DGzLquoM.js → gitGraphDiagram-PVQCEYII-CZzumF1O.js} +1 -1
- package/dist/client/assets/index-BG6hrVhL.css +1 -0
- package/dist/client/assets/{index-B8Ei6RK_.js → index-jWzr0HgU.js} +343 -332
- package/dist/client/assets/{infoDiagram-5YYISTIA-DxDL2NPL.js → infoDiagram-5YYISTIA-DPToV-eq.js} +1 -1
- package/dist/client/assets/{ishikawaDiagram-YF4QCWOH-CugUocbL.js → ishikawaDiagram-YF4QCWOH-V9akKrsQ.js} +1 -1
- package/dist/client/assets/{journeyDiagram-JHISSGLW-4J1DbTfn.js → journeyDiagram-JHISSGLW-CMZmXLJq.js} +1 -1
- package/dist/client/assets/{kanban-definition-UN3LZRKU-3wWdkkqE.js → kanban-definition-UN3LZRKU-DT2oKh0N.js} +1 -1
- package/dist/client/assets/{mermaid.core-CdJo4vtY.js → mermaid.core-C9xSBL9K.js} +4 -4
- package/dist/client/assets/{mindmap-definition-RKZ34NQL-3ggmNH1R.js → mindmap-definition-RKZ34NQL-BKyCGR7J.js} +1 -1
- package/dist/client/assets/{pieDiagram-4H26LBE5-Br6qnYUo.js → pieDiagram-4H26LBE5-BcyGtqQ4.js} +1 -1
- package/dist/client/assets/{puzzle-COtNelRH.js → puzzle-acZM2rkn.js} +1 -1
- package/dist/client/assets/{quadrantDiagram-W4KKPZXB-q7eumSaG.js → quadrantDiagram-W4KKPZXB-C3FhvUs0.js} +1 -1
- package/dist/client/assets/{requirementDiagram-4Y6WPE33-CFQyk2vj.js → requirementDiagram-4Y6WPE33-gcTHwql9.js} +1 -1
- package/dist/client/assets/{sankeyDiagram-5OEKKPKP-BPRBSEnx.js → sankeyDiagram-5OEKKPKP-CvYBofJY.js} +1 -1
- package/dist/client/assets/{sequenceDiagram-3UESZ5HK-C3oaAZUP.js → sequenceDiagram-3UESZ5HK-D9v9NJKo.js} +1 -1
- package/dist/client/assets/{standing-instructions-template-_wMqEkKb.js → standing-instructions-template-B_qbkt6Q.js} +1 -1
- package/dist/client/assets/{stateDiagram-AJRCARHV-Gf3SuYgE.js → stateDiagram-AJRCARHV-Dq3-ZEwg.js} +1 -1
- package/dist/client/assets/{stateDiagram-v2-BHNVJYJU-Cuc4jpXw.js → stateDiagram-v2-BHNVJYJU-Dt4J-On6.js} +1 -1
- package/dist/client/assets/{timeline-definition-PNZ67QCA-D5sPA5Fn.js → timeline-definition-PNZ67QCA-BRP1zY5x.js} +1 -1
- package/dist/client/assets/{upload--LqDmM0k.js → upload-Bx4Vz2lr.js} +1 -1
- package/dist/client/assets/{users-C-TzkWjB.js → users-CCfOZK-x.js} +1 -1
- package/dist/client/assets/{vennDiagram-CIIHVFJN-BzsN4FbO.js → vennDiagram-CIIHVFJN-BqtShvFk.js} +1 -1
- package/dist/client/assets/{wardley-L42UT6IY-BJIIgfK4.js → wardley-L42UT6IY-D04-M_2p.js} +1 -1
- package/dist/client/assets/{wardleyDiagram-YWT4CUSO-DFwxRQ3d.js → wardleyDiagram-YWT4CUSO-BmkvFHY9.js} +1 -1
- package/dist/client/assets/{xychartDiagram-2RQKCTM6-Djbd80bq.js → xychartDiagram-2RQKCTM6-C1N68DRK.js} +1 -1
- package/dist/client/index.html +2 -2
- package/dist/client/version.json +1 -1
- package/dist/droid-cli/index.ts +19 -6
- package/dist/droid-cli/package.json +1 -1
- package/dist/droid-cli/src/__tests__/index.test.ts +10 -11
- package/dist/extension.js +2504 -1047
- package/dist/pi-claude-cli/index.ts +25 -18
- package/dist/pi-claude-cli/package.json +5 -5
- package/dist/pi-claude-cli/src/__tests__/acp-dispatch.test.ts +17 -0
- package/dist/pi-claude-cli/src/event-bridge.ts +2 -1
- package/dist/plugin-sdk/index.d.ts +23 -1
- package/dist/plugin-sdk/index.js +17 -3
- package/dist/plugins/fusion-plugin-acp-runtime/bundled.js +25 -11
- package/dist/plugins/fusion-plugin-acp-runtime/package.json +1 -1
- package/dist/plugins/fusion-plugin-antigravity-runtime/bundled.js +20674 -0
- package/dist/plugins/fusion-plugin-antigravity-runtime/manifest.json +6 -0
- package/dist/plugins/fusion-plugin-antigravity-runtime/mcp-schema-server.cjs +155 -0
- package/dist/plugins/fusion-plugin-antigravity-runtime/package.json +11 -0
- package/dist/plugins/fusion-plugin-claude-runtime/bundled.js +25 -11
- package/dist/plugins/fusion-plugin-claude-runtime/package.json +1 -1
- package/dist/plugins/fusion-plugin-cli-printing-press/bundled.js +17 -3
- package/dist/plugins/fusion-plugin-cli-printing-press/package.json +1 -1
- package/dist/plugins/fusion-plugin-compound-engineering/bundled.js +17 -3
- package/dist/plugins/fusion-plugin-compound-engineering/package.json +1 -1
- package/dist/plugins/fusion-plugin-cursor-runtime/bundled.js +17 -3
- package/dist/plugins/fusion-plugin-cursor-runtime/package.json +1 -1
- package/dist/plugins/fusion-plugin-dependency-graph/bundled.js +17 -3
- package/dist/plugins/fusion-plugin-dependency-graph/package.json +1 -1
- package/dist/plugins/fusion-plugin-droid-runtime/bundled.js +44 -12
- package/dist/plugins/fusion-plugin-droid-runtime/package.json +1 -1
- package/dist/plugins/fusion-plugin-grok-runtime/bundled.js +25 -11
- package/dist/plugins/fusion-plugin-grok-runtime/package.json +1 -1
- package/dist/plugins/fusion-plugin-hermes-runtime/bundled.js +17 -3
- package/dist/plugins/fusion-plugin-hermes-runtime/package.json +1 -1
- package/dist/plugins/fusion-plugin-linear-import/bundled.js +17 -3
- package/dist/plugins/fusion-plugin-linear-import/package.json +1 -1
- package/dist/plugins/fusion-plugin-omp-runtime/bundled.js +25 -11
- package/dist/plugins/fusion-plugin-omp-runtime/package.json +1 -1
- package/dist/plugins/fusion-plugin-openclaw-runtime/bundled.js +17 -3
- package/dist/plugins/fusion-plugin-openclaw-runtime/package.json +1 -1
- package/dist/plugins/fusion-plugin-paperclip-runtime/bundled.js +17 -3
- package/dist/plugins/fusion-plugin-paperclip-runtime/package.json +1 -1
- package/dist/plugins/fusion-plugin-quality/bundled.js +17 -3
- package/dist/plugins/fusion-plugin-quality/package.json +1 -1
- package/dist/plugins/fusion-plugin-reports/bundled.js +17 -3
- package/dist/plugins/fusion-plugin-reports/package.json +1 -1
- package/dist/plugins/fusion-plugin-roadmap/bundled.js +17 -3
- package/dist/plugins/fusion-plugin-roadmap/package.json +1 -1
- package/dist/plugins/fusion-plugin-todos/bundled.js +17 -3
- package/dist/plugins/fusion-plugin-todos/package.json +1 -1
- package/dist/plugins/fusion-plugin-whatsapp-chat/bundled.js +17 -3
- package/dist/plugins/fusion-plugin-whatsapp-chat/package.json +1 -1
- package/package.json +3 -3
- package/skill/fusion/references/engine-tools.md +1 -1
- package/dist/client/assets/app-BHtkLolA.js +0 -9
- package/dist/client/assets/app-BNkvP9Zj.js +0 -9
- package/dist/client/assets/app-BaaOD_8W.js +0 -9
- package/dist/client/assets/app-CTDJyVYb.js +0 -9
- package/dist/client/assets/app-CYBEnq88.js +0 -9
- package/dist/client/assets/app-D_qEfmZH.js +0 -3
- package/dist/client/assets/channel-BcOi2QPy.js +0 -1
- package/dist/client/assets/classDiagram-4FO5ZUOK-Do_hlHfK.js +0 -1
- package/dist/client/assets/classDiagram-v2-Q7XG4LA2-Do_hlHfK.js +0 -1
- package/dist/client/assets/index-D-BMoPtn.css +0 -1
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
/*
|
|
3
|
+
FNXC:GrokAcp 2026-07-11-14:00:
|
|
4
|
+
Executable MCP bridge for Fusion custom tools (fn_*) on the Grok ACP path.
|
|
5
|
+
tools/list is served from a schema file; tools/call POSTs to a localhost bridge
|
|
6
|
+
owned by GrokRuntimeAdapter so ToolDefinition.execute runs in-process with the
|
|
7
|
+
engine's closures. Unlike the Claude/Droid schema-only break-early servers,
|
|
8
|
+
Grok actually invokes MCP tools/call itself.
|
|
9
|
+
*/
|
|
10
|
+
"use strict";
|
|
11
|
+
|
|
12
|
+
const fs = require("fs");
|
|
13
|
+
const http = require("http");
|
|
14
|
+
const readline = require("readline");
|
|
15
|
+
// FNXC:GrokAcp 2026-07-11-18:30: CJS has no global URL under eslint no-undef; use node:url.
|
|
16
|
+
const { URL } = require("node:url");
|
|
17
|
+
|
|
18
|
+
const schemaPath = process.argv[2];
|
|
19
|
+
const bridgeUrl = process.env.FUSION_ANTIGRAVITY_TOOL_BRIDGE_URL;
|
|
20
|
+
const bridgeToken = process.env.FUSION_ANTIGRAVITY_TOOL_BRIDGE_TOKEN;
|
|
21
|
+
if (!schemaPath || !bridgeUrl || !bridgeToken) {
|
|
22
|
+
process.stderr.write("fusion-antigravity-mcp-server: missing schema path or FUSION_ANTIGRAVITY_TOOL_BRIDGE_URL\n");
|
|
23
|
+
process.exit(1);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
let tools = [];
|
|
27
|
+
try {
|
|
28
|
+
tools = JSON.parse(fs.readFileSync(schemaPath, "utf-8"));
|
|
29
|
+
if (!Array.isArray(tools)) tools = [];
|
|
30
|
+
} catch {
|
|
31
|
+
process.exit(1);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
function write(msg) {
|
|
35
|
+
process.stdout.write(JSON.stringify(msg) + "\n");
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
function callBridge(toolName, args) {
|
|
39
|
+
return new Promise((resolve, reject) => {
|
|
40
|
+
const body = JSON.stringify({ name: toolName, arguments: args ?? {} });
|
|
41
|
+
const url = new URL("/tool-call", bridgeUrl);
|
|
42
|
+
const req = http.request(
|
|
43
|
+
{
|
|
44
|
+
hostname: url.hostname,
|
|
45
|
+
port: url.port,
|
|
46
|
+
path: url.pathname,
|
|
47
|
+
method: "POST",
|
|
48
|
+
headers: {
|
|
49
|
+
"content-type": "application/json",
|
|
50
|
+
"content-length": Buffer.byteLength(body),
|
|
51
|
+
authorization: `Bearer ${bridgeToken}`,
|
|
52
|
+
},
|
|
53
|
+
timeout: 120_000,
|
|
54
|
+
},
|
|
55
|
+
(res) => {
|
|
56
|
+
let data = "";
|
|
57
|
+
res.on("data", (chunk) => {
|
|
58
|
+
data += chunk;
|
|
59
|
+
});
|
|
60
|
+
res.on("end", () => {
|
|
61
|
+
try {
|
|
62
|
+
resolve(JSON.parse(data || "{}"));
|
|
63
|
+
} catch (err) {
|
|
64
|
+
reject(err);
|
|
65
|
+
}
|
|
66
|
+
});
|
|
67
|
+
},
|
|
68
|
+
);
|
|
69
|
+
req.on("error", reject);
|
|
70
|
+
req.on("timeout", () => {
|
|
71
|
+
req.destroy(new Error("tool bridge timeout"));
|
|
72
|
+
});
|
|
73
|
+
req.write(body);
|
|
74
|
+
req.end();
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
const rl = readline.createInterface({ input: process.stdin });
|
|
79
|
+
rl.on("line", (line) => {
|
|
80
|
+
let msg;
|
|
81
|
+
try {
|
|
82
|
+
msg = JSON.parse(line);
|
|
83
|
+
} catch {
|
|
84
|
+
return;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
if (msg.method === "initialize") {
|
|
88
|
+
write({
|
|
89
|
+
jsonrpc: "2.0",
|
|
90
|
+
id: msg.id,
|
|
91
|
+
result: {
|
|
92
|
+
protocolVersion: "2024-11-05",
|
|
93
|
+
capabilities: { tools: {} },
|
|
94
|
+
serverInfo: { name: "fusion-custom-tools", version: "1.0.0" },
|
|
95
|
+
},
|
|
96
|
+
});
|
|
97
|
+
return;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
if (msg.method === "notifications/initialized" || msg.method === "initialized") {
|
|
101
|
+
return;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
if (msg.method === "tools/list") {
|
|
105
|
+
write({
|
|
106
|
+
jsonrpc: "2.0",
|
|
107
|
+
id: msg.id,
|
|
108
|
+
result: {
|
|
109
|
+
tools: tools.map((tool) => ({
|
|
110
|
+
name: tool.name,
|
|
111
|
+
description: tool.description ?? "",
|
|
112
|
+
inputSchema: tool.inputSchema ?? { type: "object", properties: {} },
|
|
113
|
+
})),
|
|
114
|
+
},
|
|
115
|
+
});
|
|
116
|
+
return;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
if (msg.method === "tools/call") {
|
|
120
|
+
const toolName = msg.params?.name;
|
|
121
|
+
const args = msg.params?.arguments ?? {};
|
|
122
|
+
callBridge(toolName, args)
|
|
123
|
+
.then((result) => {
|
|
124
|
+
write({
|
|
125
|
+
jsonrpc: "2.0",
|
|
126
|
+
id: msg.id,
|
|
127
|
+
result: {
|
|
128
|
+
content: Array.isArray(result.content)
|
|
129
|
+
? result.content
|
|
130
|
+
: [{ type: "text", text: typeof result.text === "string" ? result.text : JSON.stringify(result) }],
|
|
131
|
+
isError: result.isError === true,
|
|
132
|
+
},
|
|
133
|
+
});
|
|
134
|
+
})
|
|
135
|
+
.catch((err) => {
|
|
136
|
+
write({
|
|
137
|
+
jsonrpc: "2.0",
|
|
138
|
+
id: msg.id,
|
|
139
|
+
result: {
|
|
140
|
+
content: [{ type: "text", text: err instanceof Error ? err.message : String(err) }],
|
|
141
|
+
isError: true,
|
|
142
|
+
},
|
|
143
|
+
});
|
|
144
|
+
});
|
|
145
|
+
return;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
if (msg.id !== undefined) {
|
|
149
|
+
write({
|
|
150
|
+
jsonrpc: "2.0",
|
|
151
|
+
id: msg.id,
|
|
152
|
+
error: { code: -32601, message: `Method not found: ${msg.method}` },
|
|
153
|
+
});
|
|
154
|
+
}
|
|
155
|
+
});
|
|
@@ -8888,6 +8888,14 @@ function createLogger(prefix) {
|
|
|
8888
8888
|
// ../core/src/types/merge/merge-policy.ts
|
|
8889
8889
|
var severityAuditLog = createLogger("core-merge-policy");
|
|
8890
8890
|
|
|
8891
|
+
// ../core/src/secrets/redact-secrets.ts
|
|
8892
|
+
function redactSecrets(text2) {
|
|
8893
|
+
return text2.replace(/(authorization\s*[:=]\s*)(bearer\s+)?[^\s,;"']+/gi, "$1$2[REDACTED]").replace(/\b(bearer)\s+[A-Za-z0-9._\-+/=]+/gi, "$1 [REDACTED]").replace(
|
|
8894
|
+
/\b((?:api[_-]?key|key|token|secret|password|passwd|pwd|access[_-]?token|refresh[_-]?token|client[_-]?secret)\s*[:=]\s*)("?)[^\s,;"']+\2/gi,
|
|
8895
|
+
"$1$2[REDACTED]$2"
|
|
8896
|
+
).replace(/\b(sk-|ghp_|gho_|github_pat_|xox[abpr]-|AKIA)[A-Za-z0-9_-]{8,}/g, "[REDACTED]").replace(/\b[A-Za-z0-9+/]{40,}={0,2}\b/g, "[REDACTED]").replace(/\b[0-9a-fA-F]{32,}\b/g, "[REDACTED]");
|
|
8897
|
+
}
|
|
8898
|
+
|
|
8891
8899
|
// ../core/src/types/task/task-core.ts
|
|
8892
8900
|
var CheckoutConflictError = class extends Error {
|
|
8893
8901
|
constructor(taskId, currentHolderId, requestedById) {
|
|
@@ -8987,7 +8995,7 @@ var PLAN_REVIEW_PROMPT = `You are a senior plan reviewer. Review the task's PROM
|
|
|
8987
8995
|
5. **Risk callouts** \u2014 migrations, data-loss paths, external integrations, secrets, or plugin/runtime dependencies that need explicit handling.
|
|
8988
8996
|
|
|
8989
8997
|
## Environment feasibility
|
|
8990
|
-
When the supplied \`## Environment Capabilities\` block
|
|
8998
|
+
When the supplied \`## Environment Capabilities\` block confirms a runtime unavailable without an applicable confirmed wrapper, REVISE only if a blocking acceptance/completion criterion requires it and the plan provides no runnable substitute. A documented or configured command using a confirmed wrapper remains binding even when its inner executable is absent from the host PATH. APPROVE a correctly scoped non-blocking \`## Environment Constraints\` substitute (use APPROVE_WITH_NOTES only for a genuine P2 note); unlisted commands are UNKNOWN, never absent.
|
|
8991
8999
|
|
|
8992
9000
|
${PLAN_REVIEW_COMPLETENESS_POLICY}
|
|
8993
9001
|
|
|
@@ -9311,6 +9319,9 @@ var DEFAULT_GLOBAL_SETTINGS = {
|
|
|
9311
9319
|
Grok CLI binary overrides are global operator settings because executable locations are machine-local. Blank/undefined preserves PATH auto-detection through grok.
|
|
9312
9320
|
*/
|
|
9313
9321
|
grokCliBinaryPath: void 0,
|
|
9322
|
+
// FNXC:AntigravityProvider 2026-09-20-18:32: Default disabled and preserve PATH auto-detection until an operator enables a verified agy binary.
|
|
9323
|
+
useAntigravityCli: void 0,
|
|
9324
|
+
antigravityCliBinaryPath: void 0,
|
|
9314
9325
|
/*
|
|
9315
9326
|
FNXC:OmpAcp 2026-07-13-22:50:
|
|
9316
9327
|
Oh My Pi (omp) CLI enable + binary override are global operator settings (machine-local), mirroring Grok/Cursor.
|
|
@@ -10334,14 +10345,6 @@ function completionSummaryNode(column) {
|
|
|
10334
10345
|
};
|
|
10335
10346
|
}
|
|
10336
10347
|
|
|
10337
|
-
// ../core/src/secrets/redact-secrets.ts
|
|
10338
|
-
function redactSecrets(text2) {
|
|
10339
|
-
return text2.replace(/(authorization\s*[:=]\s*)(bearer\s+)?[^\s,;"']+/gi, "$1$2[REDACTED]").replace(/\b(bearer)\s+[A-Za-z0-9._\-+/=]+/gi, "$1 [REDACTED]").replace(
|
|
10340
|
-
/\b((?:api[_-]?key|key|token|secret|password|passwd|pwd|access[_-]?token|refresh[_-]?token|client[_-]?secret)\s*[:=]\s*)("?)[^\s,;"']+\2/gi,
|
|
10341
|
-
"$1$2[REDACTED]$2"
|
|
10342
|
-
).replace(/\b(sk-|ghp_|gho_|github_pat_|xox[abpr]-|AKIA)[A-Za-z0-9_-]{8,}/g, "[REDACTED]").replace(/\b[A-Za-z0-9+/]{40,}={0,2}\b/g, "[REDACTED]").replace(/\b[0-9a-fA-F]{32,}\b/g, "[REDACTED]");
|
|
10343
|
-
}
|
|
10344
|
-
|
|
10345
10348
|
// ../core/src/missions/mission-types.ts
|
|
10346
10349
|
var VALIDATION_INFLIGHT_STALE_MAX_AGE_MS = 6 * 60 * 60 * 1e3;
|
|
10347
10350
|
|
|
@@ -13243,7 +13246,7 @@ The quality of your spec directly determines execution quality, review churn, an
|
|
|
13243
13246
|
- Access to the project's files so you can understand context
|
|
13244
13247
|
|
|
13245
13248
|
## Environment feasibility
|
|
13246
|
-
When an \`## Environment Capabilities\` section is supplied,
|
|
13249
|
+
When an \`## Environment Capabilities\` section is supplied, require a runnable substitute only for a runtime confirmed unavailable without an applicable confirmed wrapper. A documented or configured command using a confirmed wrapper remains binding even when its inner executable is absent from the host PATH. Commands not listed are UNKNOWN, never absent; never state that a plan is blocked because a runtime is missing.
|
|
13247
13250
|
|
|
13248
13251
|
## What you produce
|
|
13249
13252
|
Write a complete PROMPT.md specification to the given path using the write tool.
|
|
@@ -14414,6 +14417,9 @@ var CODE_REVIEW_NAME = "Code Review";
|
|
|
14414
14417
|
var CODE_REVIEW_DESCRIPTION = "Diff-review the task's changes for correctness bugs, regressions, and intent mismatches that tests miss";
|
|
14415
14418
|
var CODE_REVIEW_PROMPT = `You are a senior code reviewer. Review the task's diff for the correctness value automated tests do NOT catch.
|
|
14416
14419
|
|
|
14420
|
+
## Review stage
|
|
14421
|
+
This is a pre-merge review. Evidence that can exist only after landing (for example a push-to-main CI run) belongs to an enabled, blocking post-merge verification gate. Verify that the workflow preserves that requirement before allowing merge; if the gate or its evidence contract is missing, request that concrete configuration fix. Do not request the future run itself as a pre-merge implementation fix, or claim its evidence already exists. Pre-merge correctness and verification requirements still apply.
|
|
14422
|
+
|
|
14417
14423
|
## Step 1: Read the change
|
|
14418
14424
|
1. Read the full diff against the base branch: \`git diff <base>...HEAD\` (or \`git diff <base>\`). Determine the base from the task context / merge target.
|
|
14419
14425
|
2. Read the changed files in full where the diff is non-trivial, so you see the surrounding code paths the change touches \u2014 not just the hunks.
|
|
@@ -14491,9 +14497,17 @@ var POST_MERGE_VERIFICATION_PROMPT = `You are a post-merge verification reviewer
|
|
|
14491
14497
|
2. Check the final merged diff and task summary for obvious mismatches, missing verification evidence, or integration-only regressions.
|
|
14492
14498
|
3. If configured test/build commands are available in the task context, inspect their latest result or explain why no post-merge command was applicable.
|
|
14493
14499
|
|
|
14500
|
+
## Required post-landing Full Suite evidence
|
|
14501
|
+
This enabled gate requires post-landing Full Suite evidence. Do NOT approve until its delivery record names all of the following:
|
|
14502
|
+
1. The landed SHA and the first Full Suite push-to-main run at or after that SHA, including the run ID and run SHA.
|
|
14503
|
+
2. A conclusion for every Test shard: 1/4, 2/4, 3/4, and 4/4.
|
|
14504
|
+
3. All four timing artifacts: test-timings-shard-1, test-timings-shard-2, test-timings-shard-3, and test-timings-shard-4.
|
|
14505
|
+
|
|
14506
|
+
Pre-landing, unrelated-main, or partial evidence does not satisfy this contract. If the required run or any required evidence is unavailable, return REVISE and state that final completion remains blocked pending the post-landing evidence. Record verified evidence in the task delivery record before approving.
|
|
14507
|
+
|
|
14494
14508
|
## Output Requirements
|
|
14495
14509
|
- APPROVE: post-merge verification is acceptable.
|
|
14496
|
-
- APPROVE_WITH_NOTES: completion may proceed with non-blocking notes.
|
|
14510
|
+
- APPROVE_WITH_NOTES: completion may proceed with non-blocking notes only when every post-landing evidence item above is recorded.
|
|
14497
14511
|
- REVISE: completion should be blocked; include the concrete post-merge issue and the needed follow-up.
|
|
14498
14512
|
- \`notes\` MUST contain one to three non-empty sentences naming what was checked and why the verdict was reached. An empty \`notes\` string is a protocol violation.
|
|
14499
14513
|
- Final output: output exactly one trailing JSON object on the final line (no markdown fences, no surrounding prose):
|
|
@@ -9107,7 +9107,7 @@ var PLAN_REVIEW_PROMPT = `You are a senior plan reviewer. Review the task's PROM
|
|
|
9107
9107
|
5. **Risk callouts** \u2014 migrations, data-loss paths, external integrations, secrets, or plugin/runtime dependencies that need explicit handling.
|
|
9108
9108
|
|
|
9109
9109
|
## Environment feasibility
|
|
9110
|
-
When the supplied \`## Environment Capabilities\` block
|
|
9110
|
+
When the supplied \`## Environment Capabilities\` block confirms a runtime unavailable without an applicable confirmed wrapper, REVISE only if a blocking acceptance/completion criterion requires it and the plan provides no runnable substitute. A documented or configured command using a confirmed wrapper remains binding even when its inner executable is absent from the host PATH. APPROVE a correctly scoped non-blocking \`## Environment Constraints\` substitute (use APPROVE_WITH_NOTES only for a genuine P2 note); unlisted commands are UNKNOWN, never absent.
|
|
9111
9111
|
|
|
9112
9112
|
${PLAN_REVIEW_COMPLETENESS_POLICY}
|
|
9113
9113
|
|
|
@@ -9431,6 +9431,9 @@ var DEFAULT_GLOBAL_SETTINGS = {
|
|
|
9431
9431
|
Grok CLI binary overrides are global operator settings because executable locations are machine-local. Blank/undefined preserves PATH auto-detection through grok.
|
|
9432
9432
|
*/
|
|
9433
9433
|
grokCliBinaryPath: void 0,
|
|
9434
|
+
// FNXC:AntigravityProvider 2026-09-20-18:32: Default disabled and preserve PATH auto-detection until an operator enables a verified agy binary.
|
|
9435
|
+
useAntigravityCli: void 0,
|
|
9436
|
+
antigravityCliBinaryPath: void 0,
|
|
9434
9437
|
/*
|
|
9435
9438
|
FNXC:OmpAcp 2026-07-13-22:50:
|
|
9436
9439
|
Oh My Pi (omp) CLI enable + binary override are global operator settings (machine-local), mirroring Grok/Cursor.
|
|
@@ -13355,7 +13358,7 @@ The quality of your spec directly determines execution quality, review churn, an
|
|
|
13355
13358
|
- Access to the project's files so you can understand context
|
|
13356
13359
|
|
|
13357
13360
|
## Environment feasibility
|
|
13358
|
-
When an \`## Environment Capabilities\` section is supplied,
|
|
13361
|
+
When an \`## Environment Capabilities\` section is supplied, require a runnable substitute only for a runtime confirmed unavailable without an applicable confirmed wrapper. A documented or configured command using a confirmed wrapper remains binding even when its inner executable is absent from the host PATH. Commands not listed are UNKNOWN, never absent; never state that a plan is blocked because a runtime is missing.
|
|
13359
13362
|
|
|
13360
13363
|
## What you produce
|
|
13361
13364
|
Write a complete PROMPT.md specification to the given path using the write tool.
|
|
@@ -14526,6 +14529,9 @@ var CODE_REVIEW_NAME = "Code Review";
|
|
|
14526
14529
|
var CODE_REVIEW_DESCRIPTION = "Diff-review the task's changes for correctness bugs, regressions, and intent mismatches that tests miss";
|
|
14527
14530
|
var CODE_REVIEW_PROMPT = `You are a senior code reviewer. Review the task's diff for the correctness value automated tests do NOT catch.
|
|
14528
14531
|
|
|
14532
|
+
## Review stage
|
|
14533
|
+
This is a pre-merge review. Evidence that can exist only after landing (for example a push-to-main CI run) belongs to an enabled, blocking post-merge verification gate. Verify that the workflow preserves that requirement before allowing merge; if the gate or its evidence contract is missing, request that concrete configuration fix. Do not request the future run itself as a pre-merge implementation fix, or claim its evidence already exists. Pre-merge correctness and verification requirements still apply.
|
|
14534
|
+
|
|
14529
14535
|
## Step 1: Read the change
|
|
14530
14536
|
1. Read the full diff against the base branch: \`git diff <base>...HEAD\` (or \`git diff <base>\`). Determine the base from the task context / merge target.
|
|
14531
14537
|
2. Read the changed files in full where the diff is non-trivial, so you see the surrounding code paths the change touches \u2014 not just the hunks.
|
|
@@ -14603,9 +14609,17 @@ var POST_MERGE_VERIFICATION_PROMPT = `You are a post-merge verification reviewer
|
|
|
14603
14609
|
2. Check the final merged diff and task summary for obvious mismatches, missing verification evidence, or integration-only regressions.
|
|
14604
14610
|
3. If configured test/build commands are available in the task context, inspect their latest result or explain why no post-merge command was applicable.
|
|
14605
14611
|
|
|
14612
|
+
## Required post-landing Full Suite evidence
|
|
14613
|
+
This enabled gate requires post-landing Full Suite evidence. Do NOT approve until its delivery record names all of the following:
|
|
14614
|
+
1. The landed SHA and the first Full Suite push-to-main run at or after that SHA, including the run ID and run SHA.
|
|
14615
|
+
2. A conclusion for every Test shard: 1/4, 2/4, 3/4, and 4/4.
|
|
14616
|
+
3. All four timing artifacts: test-timings-shard-1, test-timings-shard-2, test-timings-shard-3, and test-timings-shard-4.
|
|
14617
|
+
|
|
14618
|
+
Pre-landing, unrelated-main, or partial evidence does not satisfy this contract. If the required run or any required evidence is unavailable, return REVISE and state that final completion remains blocked pending the post-landing evidence. Record verified evidence in the task delivery record before approving.
|
|
14619
|
+
|
|
14606
14620
|
## Output Requirements
|
|
14607
14621
|
- APPROVE: post-merge verification is acceptable.
|
|
14608
|
-
- APPROVE_WITH_NOTES: completion may proceed with non-blocking notes.
|
|
14622
|
+
- APPROVE_WITH_NOTES: completion may proceed with non-blocking notes only when every post-landing evidence item above is recorded.
|
|
14609
14623
|
- REVISE: completion should be blocked; include the concrete post-merge issue and the needed follow-up.
|
|
14610
14624
|
- \`notes\` MUST contain one to three non-empty sentences naming what was checked and why the verdict was reached. An empty \`notes\` string is a protocol violation.
|
|
14611
14625
|
- Final output: output exactly one trailing JSON object on the final line (no markdown fences, no surrounding prose):
|
|
@@ -8987,7 +8987,7 @@ var PLAN_REVIEW_PROMPT = `You are a senior plan reviewer. Review the task's PROM
|
|
|
8987
8987
|
5. **Risk callouts** \u2014 migrations, data-loss paths, external integrations, secrets, or plugin/runtime dependencies that need explicit handling.
|
|
8988
8988
|
|
|
8989
8989
|
## Environment feasibility
|
|
8990
|
-
When the supplied \`## Environment Capabilities\` block
|
|
8990
|
+
When the supplied \`## Environment Capabilities\` block confirms a runtime unavailable without an applicable confirmed wrapper, REVISE only if a blocking acceptance/completion criterion requires it and the plan provides no runnable substitute. A documented or configured command using a confirmed wrapper remains binding even when its inner executable is absent from the host PATH. APPROVE a correctly scoped non-blocking \`## Environment Constraints\` substitute (use APPROVE_WITH_NOTES only for a genuine P2 note); unlisted commands are UNKNOWN, never absent.
|
|
8991
8991
|
|
|
8992
8992
|
${PLAN_REVIEW_COMPLETENESS_POLICY}
|
|
8993
8993
|
|
|
@@ -9311,6 +9311,9 @@ var DEFAULT_GLOBAL_SETTINGS = {
|
|
|
9311
9311
|
Grok CLI binary overrides are global operator settings because executable locations are machine-local. Blank/undefined preserves PATH auto-detection through grok.
|
|
9312
9312
|
*/
|
|
9313
9313
|
grokCliBinaryPath: void 0,
|
|
9314
|
+
// FNXC:AntigravityProvider 2026-09-20-18:32: Default disabled and preserve PATH auto-detection until an operator enables a verified agy binary.
|
|
9315
|
+
useAntigravityCli: void 0,
|
|
9316
|
+
antigravityCliBinaryPath: void 0,
|
|
9314
9317
|
/*
|
|
9315
9318
|
FNXC:OmpAcp 2026-07-13-22:50:
|
|
9316
9319
|
Oh My Pi (omp) CLI enable + binary override are global operator settings (machine-local), mirroring Grok/Cursor.
|
|
@@ -13235,7 +13238,7 @@ The quality of your spec directly determines execution quality, review churn, an
|
|
|
13235
13238
|
- Access to the project's files so you can understand context
|
|
13236
13239
|
|
|
13237
13240
|
## Environment feasibility
|
|
13238
|
-
When an \`## Environment Capabilities\` section is supplied,
|
|
13241
|
+
When an \`## Environment Capabilities\` section is supplied, require a runnable substitute only for a runtime confirmed unavailable without an applicable confirmed wrapper. A documented or configured command using a confirmed wrapper remains binding even when its inner executable is absent from the host PATH. Commands not listed are UNKNOWN, never absent; never state that a plan is blocked because a runtime is missing.
|
|
13239
13242
|
|
|
13240
13243
|
## What you produce
|
|
13241
13244
|
Write a complete PROMPT.md specification to the given path using the write tool.
|
|
@@ -14406,6 +14409,9 @@ var CODE_REVIEW_NAME = "Code Review";
|
|
|
14406
14409
|
var CODE_REVIEW_DESCRIPTION = "Diff-review the task's changes for correctness bugs, regressions, and intent mismatches that tests miss";
|
|
14407
14410
|
var CODE_REVIEW_PROMPT = `You are a senior code reviewer. Review the task's diff for the correctness value automated tests do NOT catch.
|
|
14408
14411
|
|
|
14412
|
+
## Review stage
|
|
14413
|
+
This is a pre-merge review. Evidence that can exist only after landing (for example a push-to-main CI run) belongs to an enabled, blocking post-merge verification gate. Verify that the workflow preserves that requirement before allowing merge; if the gate or its evidence contract is missing, request that concrete configuration fix. Do not request the future run itself as a pre-merge implementation fix, or claim its evidence already exists. Pre-merge correctness and verification requirements still apply.
|
|
14414
|
+
|
|
14409
14415
|
## Step 1: Read the change
|
|
14410
14416
|
1. Read the full diff against the base branch: \`git diff <base>...HEAD\` (or \`git diff <base>\`). Determine the base from the task context / merge target.
|
|
14411
14417
|
2. Read the changed files in full where the diff is non-trivial, so you see the surrounding code paths the change touches \u2014 not just the hunks.
|
|
@@ -14483,9 +14489,17 @@ var POST_MERGE_VERIFICATION_PROMPT = `You are a post-merge verification reviewer
|
|
|
14483
14489
|
2. Check the final merged diff and task summary for obvious mismatches, missing verification evidence, or integration-only regressions.
|
|
14484
14490
|
3. If configured test/build commands are available in the task context, inspect their latest result or explain why no post-merge command was applicable.
|
|
14485
14491
|
|
|
14492
|
+
## Required post-landing Full Suite evidence
|
|
14493
|
+
This enabled gate requires post-landing Full Suite evidence. Do NOT approve until its delivery record names all of the following:
|
|
14494
|
+
1. The landed SHA and the first Full Suite push-to-main run at or after that SHA, including the run ID and run SHA.
|
|
14495
|
+
2. A conclusion for every Test shard: 1/4, 2/4, 3/4, and 4/4.
|
|
14496
|
+
3. All four timing artifacts: test-timings-shard-1, test-timings-shard-2, test-timings-shard-3, and test-timings-shard-4.
|
|
14497
|
+
|
|
14498
|
+
Pre-landing, unrelated-main, or partial evidence does not satisfy this contract. If the required run or any required evidence is unavailable, return REVISE and state that final completion remains blocked pending the post-landing evidence. Record verified evidence in the task delivery record before approving.
|
|
14499
|
+
|
|
14486
14500
|
## Output Requirements
|
|
14487
14501
|
- APPROVE: post-merge verification is acceptable.
|
|
14488
|
-
- APPROVE_WITH_NOTES: completion may proceed with non-blocking notes.
|
|
14502
|
+
- APPROVE_WITH_NOTES: completion may proceed with non-blocking notes only when every post-landing evidence item above is recorded.
|
|
14489
14503
|
- REVISE: completion should be blocked; include the concrete post-merge issue and the needed follow-up.
|
|
14490
14504
|
- \`notes\` MUST contain one to three non-empty sentences naming what was checked and why the verdict was reached. An empty \`notes\` string is a protocol violation.
|
|
14491
14505
|
- Final output: output exactly one trailing JSON object on the final line (no markdown fences, no surrounding prose):
|
|
@@ -8990,7 +8990,7 @@ var PLAN_REVIEW_PROMPT = `You are a senior plan reviewer. Review the task's PROM
|
|
|
8990
8990
|
5. **Risk callouts** \u2014 migrations, data-loss paths, external integrations, secrets, or plugin/runtime dependencies that need explicit handling.
|
|
8991
8991
|
|
|
8992
8992
|
## Environment feasibility
|
|
8993
|
-
When the supplied \`## Environment Capabilities\` block
|
|
8993
|
+
When the supplied \`## Environment Capabilities\` block confirms a runtime unavailable without an applicable confirmed wrapper, REVISE only if a blocking acceptance/completion criterion requires it and the plan provides no runnable substitute. A documented or configured command using a confirmed wrapper remains binding even when its inner executable is absent from the host PATH. APPROVE a correctly scoped non-blocking \`## Environment Constraints\` substitute (use APPROVE_WITH_NOTES only for a genuine P2 note); unlisted commands are UNKNOWN, never absent.
|
|
8994
8994
|
|
|
8995
8995
|
${PLAN_REVIEW_COMPLETENESS_POLICY}
|
|
8996
8996
|
|
|
@@ -9314,6 +9314,9 @@ var DEFAULT_GLOBAL_SETTINGS = {
|
|
|
9314
9314
|
Grok CLI binary overrides are global operator settings because executable locations are machine-local. Blank/undefined preserves PATH auto-detection through grok.
|
|
9315
9315
|
*/
|
|
9316
9316
|
grokCliBinaryPath: void 0,
|
|
9317
|
+
// FNXC:AntigravityProvider 2026-09-20-18:32: Default disabled and preserve PATH auto-detection until an operator enables a verified agy binary.
|
|
9318
|
+
useAntigravityCli: void 0,
|
|
9319
|
+
antigravityCliBinaryPath: void 0,
|
|
9317
9320
|
/*
|
|
9318
9321
|
FNXC:OmpAcp 2026-07-13-22:50:
|
|
9319
9322
|
Oh My Pi (omp) CLI enable + binary override are global operator settings (machine-local), mirroring Grok/Cursor.
|
|
@@ -13238,7 +13241,7 @@ The quality of your spec directly determines execution quality, review churn, an
|
|
|
13238
13241
|
- Access to the project's files so you can understand context
|
|
13239
13242
|
|
|
13240
13243
|
## Environment feasibility
|
|
13241
|
-
When an \`## Environment Capabilities\` section is supplied,
|
|
13244
|
+
When an \`## Environment Capabilities\` section is supplied, require a runnable substitute only for a runtime confirmed unavailable without an applicable confirmed wrapper. A documented or configured command using a confirmed wrapper remains binding even when its inner executable is absent from the host PATH. Commands not listed are UNKNOWN, never absent; never state that a plan is blocked because a runtime is missing.
|
|
13242
13245
|
|
|
13243
13246
|
## What you produce
|
|
13244
13247
|
Write a complete PROMPT.md specification to the given path using the write tool.
|
|
@@ -14409,6 +14412,9 @@ var CODE_REVIEW_NAME = "Code Review";
|
|
|
14409
14412
|
var CODE_REVIEW_DESCRIPTION = "Diff-review the task's changes for correctness bugs, regressions, and intent mismatches that tests miss";
|
|
14410
14413
|
var CODE_REVIEW_PROMPT = `You are a senior code reviewer. Review the task's diff for the correctness value automated tests do NOT catch.
|
|
14411
14414
|
|
|
14415
|
+
## Review stage
|
|
14416
|
+
This is a pre-merge review. Evidence that can exist only after landing (for example a push-to-main CI run) belongs to an enabled, blocking post-merge verification gate. Verify that the workflow preserves that requirement before allowing merge; if the gate or its evidence contract is missing, request that concrete configuration fix. Do not request the future run itself as a pre-merge implementation fix, or claim its evidence already exists. Pre-merge correctness and verification requirements still apply.
|
|
14417
|
+
|
|
14412
14418
|
## Step 1: Read the change
|
|
14413
14419
|
1. Read the full diff against the base branch: \`git diff <base>...HEAD\` (or \`git diff <base>\`). Determine the base from the task context / merge target.
|
|
14414
14420
|
2. Read the changed files in full where the diff is non-trivial, so you see the surrounding code paths the change touches \u2014 not just the hunks.
|
|
@@ -14486,9 +14492,17 @@ var POST_MERGE_VERIFICATION_PROMPT = `You are a post-merge verification reviewer
|
|
|
14486
14492
|
2. Check the final merged diff and task summary for obvious mismatches, missing verification evidence, or integration-only regressions.
|
|
14487
14493
|
3. If configured test/build commands are available in the task context, inspect their latest result or explain why no post-merge command was applicable.
|
|
14488
14494
|
|
|
14495
|
+
## Required post-landing Full Suite evidence
|
|
14496
|
+
This enabled gate requires post-landing Full Suite evidence. Do NOT approve until its delivery record names all of the following:
|
|
14497
|
+
1. The landed SHA and the first Full Suite push-to-main run at or after that SHA, including the run ID and run SHA.
|
|
14498
|
+
2. A conclusion for every Test shard: 1/4, 2/4, 3/4, and 4/4.
|
|
14499
|
+
3. All four timing artifacts: test-timings-shard-1, test-timings-shard-2, test-timings-shard-3, and test-timings-shard-4.
|
|
14500
|
+
|
|
14501
|
+
Pre-landing, unrelated-main, or partial evidence does not satisfy this contract. If the required run or any required evidence is unavailable, return REVISE and state that final completion remains blocked pending the post-landing evidence. Record verified evidence in the task delivery record before approving.
|
|
14502
|
+
|
|
14489
14503
|
## Output Requirements
|
|
14490
14504
|
- APPROVE: post-merge verification is acceptable.
|
|
14491
|
-
- APPROVE_WITH_NOTES: completion may proceed with non-blocking notes.
|
|
14505
|
+
- APPROVE_WITH_NOTES: completion may proceed with non-blocking notes only when every post-landing evidence item above is recorded.
|
|
14492
14506
|
- REVISE: completion should be blocked; include the concrete post-merge issue and the needed follow-up.
|
|
14493
14507
|
- \`notes\` MUST contain one to three non-empty sentences naming what was checked and why the verdict was reached. An empty \`notes\` string is a protocol violation.
|
|
14494
14508
|
- Final output: output exactly one trailing JSON object on the final line (no markdown fences, no surrounding prose):
|
|
@@ -8987,7 +8987,7 @@ var PLAN_REVIEW_PROMPT = `You are a senior plan reviewer. Review the task's PROM
|
|
|
8987
8987
|
5. **Risk callouts** \u2014 migrations, data-loss paths, external integrations, secrets, or plugin/runtime dependencies that need explicit handling.
|
|
8988
8988
|
|
|
8989
8989
|
## Environment feasibility
|
|
8990
|
-
When the supplied \`## Environment Capabilities\` block
|
|
8990
|
+
When the supplied \`## Environment Capabilities\` block confirms a runtime unavailable without an applicable confirmed wrapper, REVISE only if a blocking acceptance/completion criterion requires it and the plan provides no runnable substitute. A documented or configured command using a confirmed wrapper remains binding even when its inner executable is absent from the host PATH. APPROVE a correctly scoped non-blocking \`## Environment Constraints\` substitute (use APPROVE_WITH_NOTES only for a genuine P2 note); unlisted commands are UNKNOWN, never absent.
|
|
8991
8991
|
|
|
8992
8992
|
${PLAN_REVIEW_COMPLETENESS_POLICY}
|
|
8993
8993
|
|
|
@@ -9311,6 +9311,9 @@ var DEFAULT_GLOBAL_SETTINGS = {
|
|
|
9311
9311
|
Grok CLI binary overrides are global operator settings because executable locations are machine-local. Blank/undefined preserves PATH auto-detection through grok.
|
|
9312
9312
|
*/
|
|
9313
9313
|
grokCliBinaryPath: void 0,
|
|
9314
|
+
// FNXC:AntigravityProvider 2026-09-20-18:32: Default disabled and preserve PATH auto-detection until an operator enables a verified agy binary.
|
|
9315
|
+
useAntigravityCli: void 0,
|
|
9316
|
+
antigravityCliBinaryPath: void 0,
|
|
9314
9317
|
/*
|
|
9315
9318
|
FNXC:OmpAcp 2026-07-13-22:50:
|
|
9316
9319
|
Oh My Pi (omp) CLI enable + binary override are global operator settings (machine-local), mirroring Grok/Cursor.
|
|
@@ -13235,7 +13238,7 @@ The quality of your spec directly determines execution quality, review churn, an
|
|
|
13235
13238
|
- Access to the project's files so you can understand context
|
|
13236
13239
|
|
|
13237
13240
|
## Environment feasibility
|
|
13238
|
-
When an \`## Environment Capabilities\` section is supplied,
|
|
13241
|
+
When an \`## Environment Capabilities\` section is supplied, require a runnable substitute only for a runtime confirmed unavailable without an applicable confirmed wrapper. A documented or configured command using a confirmed wrapper remains binding even when its inner executable is absent from the host PATH. Commands not listed are UNKNOWN, never absent; never state that a plan is blocked because a runtime is missing.
|
|
13239
13242
|
|
|
13240
13243
|
## What you produce
|
|
13241
13244
|
Write a complete PROMPT.md specification to the given path using the write tool.
|
|
@@ -14406,6 +14409,9 @@ var CODE_REVIEW_NAME = "Code Review";
|
|
|
14406
14409
|
var CODE_REVIEW_DESCRIPTION = "Diff-review the task's changes for correctness bugs, regressions, and intent mismatches that tests miss";
|
|
14407
14410
|
var CODE_REVIEW_PROMPT = `You are a senior code reviewer. Review the task's diff for the correctness value automated tests do NOT catch.
|
|
14408
14411
|
|
|
14412
|
+
## Review stage
|
|
14413
|
+
This is a pre-merge review. Evidence that can exist only after landing (for example a push-to-main CI run) belongs to an enabled, blocking post-merge verification gate. Verify that the workflow preserves that requirement before allowing merge; if the gate or its evidence contract is missing, request that concrete configuration fix. Do not request the future run itself as a pre-merge implementation fix, or claim its evidence already exists. Pre-merge correctness and verification requirements still apply.
|
|
14414
|
+
|
|
14409
14415
|
## Step 1: Read the change
|
|
14410
14416
|
1. Read the full diff against the base branch: \`git diff <base>...HEAD\` (or \`git diff <base>\`). Determine the base from the task context / merge target.
|
|
14411
14417
|
2. Read the changed files in full where the diff is non-trivial, so you see the surrounding code paths the change touches \u2014 not just the hunks.
|
|
@@ -14483,9 +14489,17 @@ var POST_MERGE_VERIFICATION_PROMPT = `You are a post-merge verification reviewer
|
|
|
14483
14489
|
2. Check the final merged diff and task summary for obvious mismatches, missing verification evidence, or integration-only regressions.
|
|
14484
14490
|
3. If configured test/build commands are available in the task context, inspect their latest result or explain why no post-merge command was applicable.
|
|
14485
14491
|
|
|
14492
|
+
## Required post-landing Full Suite evidence
|
|
14493
|
+
This enabled gate requires post-landing Full Suite evidence. Do NOT approve until its delivery record names all of the following:
|
|
14494
|
+
1. The landed SHA and the first Full Suite push-to-main run at or after that SHA, including the run ID and run SHA.
|
|
14495
|
+
2. A conclusion for every Test shard: 1/4, 2/4, 3/4, and 4/4.
|
|
14496
|
+
3. All four timing artifacts: test-timings-shard-1, test-timings-shard-2, test-timings-shard-3, and test-timings-shard-4.
|
|
14497
|
+
|
|
14498
|
+
Pre-landing, unrelated-main, or partial evidence does not satisfy this contract. If the required run or any required evidence is unavailable, return REVISE and state that final completion remains blocked pending the post-landing evidence. Record verified evidence in the task delivery record before approving.
|
|
14499
|
+
|
|
14486
14500
|
## Output Requirements
|
|
14487
14501
|
- APPROVE: post-merge verification is acceptable.
|
|
14488
|
-
- APPROVE_WITH_NOTES: completion may proceed with non-blocking notes.
|
|
14502
|
+
- APPROVE_WITH_NOTES: completion may proceed with non-blocking notes only when every post-landing evidence item above is recorded.
|
|
14489
14503
|
- REVISE: completion should be blocked; include the concrete post-merge issue and the needed follow-up.
|
|
14490
14504
|
- \`notes\` MUST contain one to three non-empty sentences naming what was checked and why the verdict was reached. An empty \`notes\` string is a protocol violation.
|
|
14491
14505
|
- Final output: output exactly one trailing JSON object on the final line (no markdown fences, no surrounding prose):
|