@miraland-labs/conduit-bridge 0.16.181 → 0.16.182
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/failure-signal.js +17 -0
- package/package.json +1 -1
package/dist/failure-signal.js
CHANGED
|
@@ -372,6 +372,20 @@ export const VERIFICATION_FAILS_ON_BASE = "verification fails on the base commit
|
|
|
372
372
|
* red commit.
|
|
373
373
|
*/
|
|
374
374
|
export const WORKSPACE_DEPENDENCIES_MISSING_PATTERN = /(?:^|\n)\s*(?:\/(?:usr\/)?bin\/)?(?:ba|z|da)?sh:\s*(?:(?:\d+:\s*)?[^:\n]{1,120}:\s*(?:command\s+)?not found|command not found:\s*[^\n]+)\s*(?=\n|$)|(?:^|\n)\s*'[^'\n]+' is not recognized as an internal or external command/im;
|
|
375
|
+
/** A write the toolchain needs that the computer refused before any test ran: the sandbox or disk, not the base commit. */
|
|
376
|
+
export const WORKSPACE_WRITE_REFUSED_PATTERN = /\b(?:EROFS|ENOSPC)\b|read-only file system|no space left on device/i;
|
|
377
|
+
/** CR17e (2026-10-22): vitest could not write its config bundle under the sandboxed install; Bridge held the owner for its own mount. */
|
|
378
|
+
export function workspaceWriteRefusedFailure(detail) {
|
|
379
|
+
return {
|
|
380
|
+
code: "workspace_write_refused",
|
|
381
|
+
class: "environment",
|
|
382
|
+
disposition: "hold",
|
|
383
|
+
responsible_party: "conduit",
|
|
384
|
+
message: "The gate could not start: this computer refused a write the project's toolchain needs.",
|
|
385
|
+
next_action: "Nothing to repair in the base commit — no test ran. Update Bridge on this computer (or free its disk), then press Try again.",
|
|
386
|
+
diagnostic_detail: detail,
|
|
387
|
+
};
|
|
388
|
+
}
|
|
375
389
|
/** The one envelope for a gate whose tool is absent from the checkout, wherever it was noticed. */
|
|
376
390
|
export function workspaceDependenciesMissingFailure(detail) {
|
|
377
391
|
return {
|
|
@@ -602,6 +616,9 @@ export function classifyFailureSignal(signal) {
|
|
|
602
616
|
if (signal.exit_code === 127 || WORKSPACE_DEPENDENCIES_MISSING_PATTERN.test(output)) {
|
|
603
617
|
return workspaceDependenciesMissingFailure([`$ ${command}`, `exit ${signal.exit_code ?? "unknown"}`, output].filter(Boolean).join("\n"));
|
|
604
618
|
}
|
|
619
|
+
if (WORKSPACE_WRITE_REFUSED_PATTERN.test(output)) {
|
|
620
|
+
return workspaceWriteRefusedFailure([`$ ${command}`, `exit ${signal.exit_code ?? "unknown"}`, output].filter(Boolean).join("\n"));
|
|
621
|
+
}
|
|
605
622
|
return {
|
|
606
623
|
code: "verification_red_base",
|
|
607
624
|
class: "contract",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@miraland-labs/conduit-bridge",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.182",
|
|
4
4
|
"description": "Conduit Bridge CLI — join, connect, disconnect, multi-driver lanes, and run Claude Code / Codex / Cursor / OpenCode / Pi / Kiro / Antigravity / Grok Build agents for a Conduit organization",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|