From 33646516b937f0f1dbd7802f3b467921410e5fc0 Mon Sep 17 00:00:00 2001 From: Alexgodoroja Date: Wed, 15 Jul 2026 14:39:59 -0700 Subject: [PATCH] aegis: drop the duplicated binary name from cli.args 6 of 7 methods are dead in the published app. backend.command is ["aegis"] and every method's cli.args repeated "aegis" as argv[0], so the adapter ran `aegis aegis scan ` -> unknown subcommand -> usage banner, exit 1. Only aegis.exec (a verbatim argv passthrough) and the scaffold's auto-added help worked. The adapter builds argv as base[0] + base[1:] + cli.args, and with a single-element command base[1:] is empty, so every cli.args element lands after argv[0]. The leading "aegis" was pure duplication. aegis is the only one of ten CLI submissions that does this; tldr, duckdb, postgres, redis, mysql, sqlite, docker, otto and miren all omit it. Verified against the staged binary: before: `aegis aegis scan /etc/hosts` -> exit 1, usage banner after: `aegis scan /etc/hosts` -> exit 0, [AEGIS] scan complete: 0/1 flagged and end-to-end through a rebuilt bundle on a stock daemon: all six methods work, and a planted injection file returns QUARANTINE combined=1.00 -- it genuinely scans rather than merely exiting 0. Same-version 0.1.3: the wrapped binary is unchanged and artifact URLs derive from app_version, so a bump would repoint sha-pinned URLs at objects that do not exist. UPDATING.md allows an owner's idempotent same-version re-publish. --- submissions/io.pilot.aegis/submission.json | 6 ------ 1 file changed, 6 deletions(-) diff --git a/submissions/io.pilot.aegis/submission.json b/submissions/io.pilot.aegis/submission.json index b0e2110..649442d 100644 --- a/submissions/io.pilot.aegis/submission.json +++ b/submissions/io.pilot.aegis/submission.json @@ -28,7 +28,6 @@ ], "cli": { "args": [ - "aegis", "scan", "${path}" ] @@ -40,7 +39,6 @@ "latency": "fast", "cli": { "args": [ - "aegis", "status" ] } @@ -51,7 +49,6 @@ "latency": "fast", "cli": { "args": [ - "aegis", "targets" ] } @@ -62,7 +59,6 @@ "latency": "fast", "cli": { "args": [ - "aegis", "config" ] } @@ -73,7 +69,6 @@ "latency": "fast", "cli": { "args": [ - "aegis", "version" ] } @@ -106,7 +101,6 @@ "latency": "fast", "cli": { "args": [ - "aegis", "--help" ] }