@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
|
@@ -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):
|
|
@@ -20054,10 +20068,28 @@ function resolveCliSettings(settings) {
|
|
|
20054
20068
|
// ../../plugins/fusion-plugin-droid-runtime/src/provider.ts
|
|
20055
20069
|
import { createInterface } from "node:readline";
|
|
20056
20070
|
|
|
20057
|
-
// ../../node_modules/.pnpm/@earendil-works+pi-ai@0.
|
|
20071
|
+
// ../../node_modules/.pnpm/@earendil-works+pi-ai@0.86.1_@modelcontextprotocol+sdk@1.28.0_zod@4.4.3__ws@8.21.3_zod@4.4.3/node_modules/@earendil-works/pi-ai/dist/utils/event-stream.js
|
|
20072
|
+
var FifoQueue = class {
|
|
20073
|
+
incoming = [];
|
|
20074
|
+
outgoing = [];
|
|
20075
|
+
get length() {
|
|
20076
|
+
return this.incoming.length + this.outgoing.length;
|
|
20077
|
+
}
|
|
20078
|
+
enqueue(value) {
|
|
20079
|
+
this.incoming.push(value);
|
|
20080
|
+
}
|
|
20081
|
+
dequeue() {
|
|
20082
|
+
if (this.outgoing.length === 0) {
|
|
20083
|
+
while (this.incoming.length > 0) {
|
|
20084
|
+
this.outgoing.push(this.incoming.pop());
|
|
20085
|
+
}
|
|
20086
|
+
}
|
|
20087
|
+
return this.outgoing.pop();
|
|
20088
|
+
}
|
|
20089
|
+
};
|
|
20058
20090
|
var EventStream = class {
|
|
20059
|
-
queue =
|
|
20060
|
-
waiting =
|
|
20091
|
+
queue = new FifoQueue();
|
|
20092
|
+
waiting = new FifoQueue();
|
|
20061
20093
|
done = false;
|
|
20062
20094
|
finalResultPromise;
|
|
20063
20095
|
resolveFinalResult;
|
|
@@ -20077,11 +20109,11 @@ var EventStream = class {
|
|
|
20077
20109
|
this.done = true;
|
|
20078
20110
|
this.resolveFinalResult(this.extractResult(event));
|
|
20079
20111
|
}
|
|
20080
|
-
const waiter = this.waiting.
|
|
20112
|
+
const waiter = this.waiting.dequeue();
|
|
20081
20113
|
if (waiter) {
|
|
20082
20114
|
waiter({ value: event, done: false });
|
|
20083
20115
|
} else {
|
|
20084
|
-
this.queue.
|
|
20116
|
+
this.queue.enqueue(event);
|
|
20085
20117
|
}
|
|
20086
20118
|
}
|
|
20087
20119
|
end(result) {
|
|
@@ -20090,18 +20122,18 @@ var EventStream = class {
|
|
|
20090
20122
|
this.resolveFinalResult(result);
|
|
20091
20123
|
}
|
|
20092
20124
|
while (this.waiting.length > 0) {
|
|
20093
|
-
const waiter = this.waiting.
|
|
20125
|
+
const waiter = this.waiting.dequeue();
|
|
20094
20126
|
waiter({ value: void 0, done: true });
|
|
20095
20127
|
}
|
|
20096
20128
|
}
|
|
20097
20129
|
async *[Symbol.asyncIterator]() {
|
|
20098
20130
|
while (true) {
|
|
20099
20131
|
if (this.queue.length > 0) {
|
|
20100
|
-
yield this.queue.
|
|
20132
|
+
yield this.queue.dequeue();
|
|
20101
20133
|
} else if (this.done) {
|
|
20102
20134
|
return;
|
|
20103
20135
|
} else {
|
|
20104
|
-
const result = await new Promise((resolve3) => this.waiting.
|
|
20136
|
+
const result = await new Promise((resolve3) => this.waiting.enqueue(resolve3));
|
|
20105
20137
|
if (result.done)
|
|
20106
20138
|
return;
|
|
20107
20139
|
yield result.value;
|
|
@@ -20125,7 +20157,7 @@ var AssistantMessageEventStream = class extends EventStream {
|
|
|
20125
20157
|
}
|
|
20126
20158
|
};
|
|
20127
20159
|
|
|
20128
|
-
// ../../node_modules/.pnpm/@earendil-works+pi-ai@0.
|
|
20160
|
+
// ../../node_modules/.pnpm/@earendil-works+pi-ai@0.86.1_@modelcontextprotocol+sdk@1.28.0_zod@4.4.3__ws@8.21.3_zod@4.4.3/node_modules/@earendil-works/pi-ai/dist/models.js
|
|
20129
20161
|
function calculateCost(model, usage) {
|
|
20130
20162
|
const inputTokens = usage.input + usage.cacheRead + usage.cacheWrite;
|
|
20131
20163
|
let rates = model.cost;
|
|
@@ -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):
|
|
@@ -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):
|
|
@@ -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):
|
|
@@ -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):
|