Skip to content

armgit / ruflo

Public Imported from GitHub
0

🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated

fix(ci): mint.mjs probes metaharness availability before dry-run plan

ruv76eca40429b6
diff --git a/plugins/ruflo-metaharness/scripts/mint.mjs b/plugins/ruflo-metaharness/scripts/mint.mjs
index 7116812ccd..9c8ddab026 100755
--- a/plugins/ruflo-metaharness/scripts/mint.mjs
+++ b/plugins/ruflo-metaharness/scripts/mint.mjs
@@ -60,6 +60,13 @@ function safetyChecks() {
function main() {
safetyChecks();
+ // ADR-150 architectural-constraint #3 (graceful degradation): even the
+ // dry-run path must report degraded:true when metaharness is unreachable
+ // — otherwise users with no network / proxy block see a happy-looking
+ // plan and only hit the failure on --confirm. The no-metaharness-smoke
+ // CI gate asserts every script emits a `"degraded"` field in this case.
+ const probe = runMetaharness(['--version'], { json: false, timeoutMs: 15_000 });
+ if (probe.degraded) { emitDegradedJsonAndExit(probe.reason); return; }
const plan = {
action: 'metaharness new',
name: ARGS.name,