@yagni-app/code-staging 0.3.0-staging.1077.1 → 0.3.0-staging.1078.1
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.
|
@@ -370,12 +370,13 @@ export function registerPermissionGate(pi, deps = {}) {
|
|
|
370
370
|
};
|
|
371
371
|
}
|
|
372
372
|
}
|
|
373
|
-
// Guardian disabled
|
|
373
|
+
// Guardian disabled (kill switch / env var) or not wired: pre-Guardian
|
|
374
|
+
// behavior. Auto mode allows prompt-band commands — the kill switch must
|
|
375
|
+
// never leave sessions stricter than before Guardian existed. The
|
|
376
|
+
// forbidden band still blocks above (decideGate), and review mode still
|
|
377
|
+
// falls through to the user confirm below.
|
|
374
378
|
if (decision.classify === "prompt" && (!guardianState || guardianDisabled) && mode === "auto") {
|
|
375
|
-
return {
|
|
376
|
-
block: true,
|
|
377
|
-
reason: "Ambiguous command blocked (Guardian disabled). Switch to /mode review to approve manually.",
|
|
378
|
-
};
|
|
379
|
+
return {};
|
|
379
380
|
}
|
|
380
381
|
if (decision.confirm) {
|
|
381
382
|
// Review mode needs a confirmation. With no dialog-capable UI (headless),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yagni-app/code-staging",
|
|
3
|
-
"version": "0.3.0-staging.
|
|
3
|
+
"version": "0.3.0-staging.1078.1",
|
|
4
4
|
"description": "YAGNI Code: a terminal coding agent that already knows your company. One YAGNI login routes the model and grounds the agent in your team's context.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "YAGNI, Inc. <jack@yagni.app> (https://yagni.app)",
|
|
@@ -38,5 +38,5 @@
|
|
|
38
38
|
"@earendil-works/pi-tui": "0.84.1",
|
|
39
39
|
"typebox": "^1.3.11"
|
|
40
40
|
},
|
|
41
|
-
"yagniSourceSha": "
|
|
41
|
+
"yagniSourceSha": "3641c3e6acd0a4f6978eda976222e76cf1dedbe8"
|
|
42
42
|
}
|