Repository navigation
docs(plans): 4-lane operator roadmap research + dry-run plan - #3353
POWERFULMOVES wants to merge 17 commits into
Conversation
|
Important Review skippedAuto reviews are limited based on label configuration. 🏷️ Required labels (at least one): 1
Please check the settings in the CodeRabbit UI or the
|
| 4. Lane 1 (Composio KVM — blocked on SSH key repair + A0 coordination) | ||
| 5. Lane 5 (autoresearch onboarding, parallel/docs-only) | ||
|
|
||
| Each lane gets its own CLAIM/RELEASE before mutation. NATS HOLD is lifted (2026-10-11, operator authority, evidence in `NATS_CUTOVER_HOLD.md`). |
There was a problem hiding this comment.
🔥 The Roast: "NATS HOLD is lifted… evidence in NATS_CUTOVER_HOLD.md" — I searched. The repo does not contain that file. Anywhere. This is the research doc equivalent of "checks in the mail," and the mail was never scheduled. The kicker: line 61 literally disciplines itself for this exact disease — "no in-repo evidence found… treat as operator/A0-side context to confirm" — and then 12 lines later cites evidence that exists only in the author's imagination. In a governance doc whose whole job is auditable authority, the load-bearing citation being a phantom is how future agents end up mutating NATS on vibes.
🩹 The Fix: Either (a) commit or paste the actual evidence into this repo and link the real path, or (b) apply the same honesty as line 61: "operator-attested 2026-10-11; evidence lives outside this repo (A0-side) — verify before relying on hold-lift." An unverifiable authority claim is worse than no claim.
📏 Severity: warning
Reply with @kilocode-bot fix it to have Kilo Code address this issue.
|
|
||
| **Dry-run steps:** | ||
| 1. Crawl/refresh playlist rows (namespace `darkxside`), filter provisioning-script videos. | ||
| 2. Per JONS node: `make jetson-verify DEVICE=nemotron-N` baseline before touching anything. |
There was a problem hiding this comment.
🔥 The Roast: "make jetson-verify DEVICE=nemotron-N" — cute placeholder. Too bad the Makefile and verify-jetson-fleet.sh both hard-fail on anything that isn't nemotron-1 or nemotron-2. deploy/provision/jetson/verify-jetson-fleet.sh:32 says ERROR: --device required (nemotron-1 | nemotron-2) — so the "baseline before touching anything" baseline errors out before touching anything, which I guess technically prevents you from touching anything. Also a side-eye: this lane is about JONS-1/2/3 (three nodes) while the provisioning stack only knows two devices — the dry-run plan hasn't noticed its own fleet is bigger than its tooling.
🩹 The Fix: Write the real invocation per node — make jetson-verify DEVICE=nemotron-1 / DEVICE=nemotron-2 — and flag the gap that jetson-verify (and everything under deploy/provision/jetson/) validates only nemotron-1|nemotron-2; JONS-3 needs a third device slug added to the script before this lane can run against it.
📏 Severity: suggestion
Reply with @kilocode-bot fix it to have Kilo Code address this issue.
| 1. Repair the Hostinger SSH key through the funnel (`secrets-funnel`) — do NOT hand-place in `env.tier-*`. | ||
| 2. Verify `ssh kvm2 echo ok` from SPARK (or via tailnet route). | ||
| 3. Deploy `@composio/mcp` Docker on kvm2: `/opt/composio-mcp/.env` carrying `COMPOSIO_API_KEY`, loopback bind, SSE health probe. | ||
| 4. Wire `COMPOSIO_MCP_ENDPOINT=http://kvm2:<PORT>/sse` into `mcp_inventory.json` (streamable-http) once tailnet route exists. |
There was a problem hiding this comment.
🔥 The Roast: COMPOSIO_MCP_ENDPOINT=http://kvm2:<PORT>/sse … (streamable-http). That's like labeling a fax number "Slack." /sse is the legacy SSE transport endpoint; streamable-http is a different MCP transport with a different endpoint (typically /mcp). Whichever one the self-hosted @composio/mcp is going to speak, this inventory entry contradicts itself, and the first person wiring A0 from this doc gets to discover it as a cryptic connect timeout. I've debugged exactly this kind of transport mismatch and I'd rather not relive it through someone else's plan doc.
🩹 The Fix: During the dry-run, pin the transport the Composio server actually exposes (probe /sse vs /mcp after the container is up) and make the label match the URL — either …/sse (sse) or …/mcp (streamable-http).
📏 Severity: nitpick
Reply with @kilocode-bot fix it to have Kilo Code address this issue.
Code Review Roast 🔥Verdict: 11 Issues Found | Recommendation: Address before merge Overview
Issue Details (click to expand)
🏆 Best part: The compose shadowing fix arrives with prose that reads like a post-incident AAR written by someone who was actually in the room — the case-comment explains why the old 💀 Worst part: The fix for "process env shadows env files" hardcodes a four-variable hazard class and leaves 📊 Overall: The incident-class patch is 80% of a real fix; the presets-seed is still 0% of a consumed file; and a handoff doc is still passing a live password fragment in class. Files ReviewedIncremental scope (this run, 2 changed files):
Carried-forward findings re-verified against current HEAD:
All 9 carried-forward findings have active inline comments; no duplicates posted. Fix these issues in Kilo Cloud Previous Review Summaries (8 snapshots, latest commit 2214675)Current summary above is authoritative. Previous snapshots are kept for context only. Previous review (commit 2214675)Verdict: 9 Issues Found | Recommendation: Address before merge Overview
Issue Details (click to expand)
🏆 Best part: The 3-source index tool is suspiciously well-behaved — provenance notes in-band, honest "(capability rows, not runtime claims)" disclaimers on static model rows, and the committed artifact's counts (2,825 videos / 95 provisioning candidates / 82 beats / 5 models) reconcile exactly with its own tool output. I kept looking for the trap. There is no trap. 💀 Worst part: A live credential fragment in a committed handoff doc, on a PR whose entire review history is about provenance discipline. The repo preaches "never commit secrets" in the same AGENTS.md that the handoff cites for claim-register protocol. 📊 Overall: The index builder is the straight-A student; the handoff doc is passing contraband notes in class with the password written on them. Files Reviewed (4 changed files this run)
Fix these issues in Kilo Cloud Previous review (commit 97971c7)Verdict: 7 Issues Found | Recommendation: Address before merge Overview
Issue Details (click to expand)
🏆 Best part: The announce heartbeat is a genuinely correct diagnosis — fleet-sentinel's own comment documents the 67,360s stale reading, and a recurring announcer is exactly the prescribed cure. The shutdown cancellation path is even orderly. I'm as surprised as you are. 💀 Worst part: The heartbeat fixes the symptom the sentinel measures but forgets to tell the sentinel it exists — the missing 📊 Overall: You added the heartbeat to the EKG machine but didn't plug the leads into the monitor — impressive pulse, zero telemetry. Files Reviewed (3 changed files this run)
Fix these issues in Kilo Cloud Previous review (commit 3299c53)Verdict: 4 Issues Found | Recommendation: Address before merge Overview
Issue Details (click to expand)
🏆 Best part: The Default rewire is a genuine attempt to reconcile the seed with the init generator — the model, endpoint, and kwargs now agree. One provider token away from almost coherent. 💀 Worst part: The seed remains an artifact nothing consumes. The commit moved lanes around inside a file that no init script, make target, or compose entrypoint ever reads. Rearranging deck chairs, then checking the deck chairs into git. 📊 Overall: Fixed the address on a letter nobody is going to deliver — better addressing, same empty mailbox. Files Reviewed (2 changed files in incremental diff)
Previous review (commit c76a5fc)Verdict: 4 Issues Found | Recommendation: Address before merge Overview
Issue Details (click to expand)
🏆 Best part: The compose-mount comment block itself is genuinely good documentation — the nested-bind root-ownership hazard and the #3396 bootstrap re-run are real, measured failure modes written down where the next engineer will read them. I need to sit down. I just wish the mechanism the comment describes actually existed. 💀 Worst part: The dead seed. A 206-line checked-in YAML artifact with zero consumers, zero provenance, generator-reserved lane names, and a 📊 Overall: Like building a beautiful smoke detector and mounting it in the neighbor's house — correct components, correct diagnosis, wrong address, and nobody home. Files Reviewed (4 changed files)
Fix these issues in Kilo Cloud Previous review (commit c1cfed0)Verdict: 3 Issues Found | Recommendation: Address before merge Overview
Issue Details (click to expand)
🏆 Best part: The SPARK repair chain itself — the doubled 💀 Worst part: The docked-vs-SPARK path mixup. This PR is titled "docs-only research + dry-run plan" in one commit and then quietly mutates a live runtime config consumed by every docked-stack node. A next 📊 Overall: Like performing open-heart surgery in the reception area — skilled hands, correct procedure, wrong room entirely. Files Reviewed (6 files)
Fix these issues in Kilo Cloud Previous review (commit ccc56c9)This review did not run. Your provider API key hit its rate limit, so the Previous review (commit ccc56c9)Verdict: 5 Issues Found | Recommendation: Address before merge Overview
Issue Details (click to expand)New this round (incremental diff = one line in Carried from previous review (re-verified against current HEAD
🏆 Best part: The new commit is a single line that fixes a real, measured crash-loop root cause and cites the existing documented trap. That's what a surgical fix looks like — the rest of this PR's paperwork could learn from it. 💀 Worst part: The secrets docket is unchanged: 📊 Overall: A surgeon's stitch stapled onto a document full of IOUs — one line of genuinely good repair, surrounded by claims that only survive if nobody checks them. Fix these issues in Kilo Cloud Files Reviewed (4 files)
Previous review (commit 71c0e14)Verdict: 5 Issues Found | Recommendation: Address before merge Overview
Issue Details (click to expand)New this round (incremental diff = one hunk in
[Snapshot truncated.] Additional previous summary content was truncated to keep this comment within platform limits. Reviewed by glm-5.3-flash · Input: 0 · Output: 0 · Cached: 0 |
7511362 to
7fad361
Compare
ORGSIM-MIRROR drift check (advisory, fail-soft)vv3 / 0 files / / digest Zero-LLM deterministic audit - unreachable = UNDECIDED, never dead - scripts/runbook_drift.py |
🔏 CHIT-aware change — control-body routingThis PR touches a CHIT-aware service (ports 8086/8087/8103/8106/8113/9224 surface). Before a Control-Body ACK:
Advisory routing only — the blocking contract check is CHIT Contract. |
| key: SECRET_KEY_BASE | ||
| - file: env.tier-supabase | ||
| key: SECRET_KEY_BASE | ||
| - file: env.tier-agent |
There was a problem hiding this comment.
🔥 The Roast: This edit shipped to the wrong file, and the bug has a built-in self-destruct. secrets_manifest.yaml (v1) is machine-emitted from secrets_manifest_v2.yaml by chit-manifest-sync — and secrets-funnel-sync runs that sync FIRST (mk/codex.mk:149). The sync builds v1 targets exclusively from the v2 entry (chit_manifest_sync.py:126-131), and v2's secret_key_base entry (v2:979-992) has no env.tier-agent target. Net effect: the SECRET_KEY alias in the source block survives sync (existing v1 aliases get merged, :119-124), but this env.tier-agent target is wiped on the very next funnel run — env.tier-agent goes back to lacking SECRET_KEY, and docker-compose.ui.yml:185 (${SECRET_KEY:?set SECRET_KEY via secrets funnel}) fails interpolation again, exactly the symptom this commit claims to fix. The commit message says "so the funnel owns it" — the funnel will own it by un-owning it. Repo doctrine (AGENTS.md § Adding a NEW secret label) also says never hand-edit the manifests.
🩹 The Fix: Add the SECRET_KEY source alias and the env.tier-agent/SECRET_KEY target to the v2 source of truth (via REGISTRY in pmoves/tools/chit_manifest_register.py / secrets_manifest_v2.yaml), then run make chit-manifest-register && make chit-manifest-sync. Gate it with make chit-manifest-check — as written, that check currently reports this file OUT-OF-SYNC.
📏 Severity: warning
| source: | ||
| type: cgp | ||
| label: SECRET_KEY_BASE | ||
| aliases: |
There was a problem hiding this comment.
🔥 The Roast: Aliasing SECRET_KEY onto SECRET_KEY_BASE and funneling it into env.tier-agent quietly widens the blast radius of a Supabase-tier secret: this is the Phoenix cookie-store credential (min_length 64, registered specifically for env.tier-supabase), and env.tier-agent is consumed by agent-zero, Archon, SupaSerch, elder-melchor and everything under the x-env-tier-agent anchor (docker-compose.base.yml). One tier's cryptographic signing secret now rides its way into every agent-orchestration container — because tokenism-simulator's Flask needed a secret. tokenism-simulator lives in the ui compose, not the agent tier; the tier assignment here is doing more cross-dressing than the value is.
🩹 The Fix: Register a dedicated label (e.g. TOKENISM_SECRET_KEY, tier agent) in REGISTRY/v2 with its own mint via make secrets-rotate, and point the compose gate at it — one secret per consumer, blast radius back to one tier.
📏 Severity: suggestion
…71c0e14) (#3422) * fix(secrets): provision tokenism SECRET_KEY via funnel alias (restores 71c0e14) Register a SECRET_KEY slot in chit_manifest_register.py REGISTRY (tier agent, required=True, alias SECRET_KEY_BASE, min_length 64) and emit it into secrets_manifest_v2.yaml (+v1 via chit_manifest_sync). Closes the PR #3348 / 1fd84fc gap: the ${SECRET_KEY:?} compose gate landed with no provisioning path (its CLAIM cite is dangling), blocking stack-wide compose interpolation on every node. Restores the intent of stranded 71c0e14 (docs/roadmap-4lane-research-dryrun, PR #3353) without its unrelated commits. Targets are deliberately trimmed to the two file targets - no github_secret/docker_secret duplicates of the Supabase trust root - with disclosure in the REGISTRY comment; targets are operator-tuned and not reconciled, so the trim survives register re-runs. Known emitter behavior (follow-up ticket): free comments in the emitted v2 manifest do not survive register round-trips; the mcp_gateway_auth_token and supabase_db_uri_local comment blocks are restored byte-exact in this commit via pristine rebuild. Generated with Hermes Agent (pmoves-hermes-elder profile). * fix(chit): SECRET_KEY targets registry-declared; widening is drift (codex P2) - REGISTRY["SECRET_KEY"]: declared "targets" - the two file targets only; github_secret/docker_secret stay excluded (never duplicate the trust root under second names). - build_entry: a spec with declared targets overrides the auto tail wholesale; specs without keep the classic 4-target tail (E2B test proves the other 60+ labels are behaviorally unchanged). - reconcile_entry: declared-target sets are registry-owned; a widened entry is reported as drift. Undeclared specs remain operator-tuned and untouched (RECONCILED_FIELDS doctrine preserved). - doc comment corrected to match the code. - tests: +4 -> 16/16 green; --check clean (no constraint drift). Codex review thread: P2 on #3422 (connector). Emitter comment-block attrition on re-emission is a separate defect - do not run write-mode emitter on this branch; to be filed upstream. * fix(tests): admit declared targets in the registry shape guard CI python-tests failed with 1 NEW finding - test_no_registry_entry_declares_an_unrecognised_constraint_key: "unrecognised registry keys are silently dropped by build_entry: {'SECRET_KEY': ['targets']}". The guard's closed key set predates the P2 registry-declared-targets feature; build_entry honours spec["targets"] (declared sets replace the auto tail) and reconcile_entry flags widening as drift, so "targets" is a recognised constraint key. Guard updated with the justification inline. Local: 45/45 across test_chit_manifest_registry.py + test_secret_shape_validation.py; register --check clean. --------- Co-authored-by: HERMES-AGENT <hermes-agent@pmoves.ai>
ccc56c9 to
8fb32e9
Compare
ORGSIM-MIRROR drift check (advisory, fail-soft)vv3 / 7 files / VERIFIED 122 / DRIFTED 9 / UNDECIDED 29 / digest dbd9960ba19f Zero-LLM deterministic audit - unreachable = UNDECIDED, never dead - scripts/runbook_drift.py |
Docker Hardening ValidationHardening Validation ReportValidated: Sat Nov 7 12:55:48 UTC 2026Services CheckedPMOVES.AI compose hardening ratchet[INFO] Checking: /home/runner/work/PMOVES.AI/PMOVES.AI/pmoves/docker-compose.hardened.yml [INFO] Validating: agent-zero [INFO] Validating: archon [INFO] Validating: channel-monitor [INFO] Validating: comfy-watcher [INFO] Validating: deepresearch [INFO] Validating: extract-worker [INFO] Validating: ffmpeg-whisper [INFO] Validating: grayjay-plugin-host [INFO] Validating: hi-rag-gateway-gpu [INFO] Validating: hi-rag-gateway-v2 [INFO] Validating: hi-rag-gateway-v2-gpu [INFO] Validating: invidious-companion-proxy [INFO] Validating: jellyfin-bridge [INFO] Validating: langextract [INFO] Validating: media-audio [INFO] Validating: media-video [INFO] Validating: mesh-agent [INFO] Validating: nats-echo-req [INFO] Validating: nats-echo-res [INFO] Validating: notebook-sync [INFO] Validating: p7-room-orchestrator [INFO] Validating: pdf-ingest [INFO] Validating: pmoves-yt [INFO] Validating: presign [INFO] Validating: publisher-discord [INFO] Validating: render-webhook [INFO] Validating: retrieval-eval [INFO] Validating: supaserch =================================== |
ORGSIM-MIRROR drift check (advisory, fail-soft)vv3 / 7 files / VERIFIED 122 / DRIFTED 9 / UNDECIDED 29 / digest a55dc24b51de Zero-LLM deterministic audit - unreachable = UNDECIDED, never dead - scripts/runbook_drift.py |
Docker Hardening ValidationHardening Validation ReportValidated: Sat Nov 7 12:56:50 UTC 2026Services CheckedPMOVES.AI compose hardening ratchet[INFO] Checking: /home/runner/work/PMOVES.AI/PMOVES.AI/pmoves/docker-compose.hardened.yml [INFO] Validating: agent-zero [INFO] Validating: archon [INFO] Validating: channel-monitor [INFO] Validating: comfy-watcher [INFO] Validating: deepresearch [INFO] Validating: extract-worker [INFO] Validating: ffmpeg-whisper [INFO] Validating: grayjay-plugin-host [INFO] Validating: hi-rag-gateway-gpu [INFO] Validating: hi-rag-gateway-v2 [INFO] Validating: hi-rag-gateway-v2-gpu [INFO] Validating: invidious-companion-proxy [INFO] Validating: jellyfin-bridge [INFO] Validating: langextract [INFO] Validating: media-audio [INFO] Validating: media-video [INFO] Validating: mesh-agent [INFO] Validating: nats-echo-req [INFO] Validating: nats-echo-res [INFO] Validating: notebook-sync [INFO] Validating: p7-room-orchestrator [INFO] Validating: pdf-ingest [INFO] Validating: pmoves-yt [INFO] Validating: presign [INFO] Validating: publisher-discord [INFO] Validating: render-webhook [INFO] Validating: retrieval-eval [INFO] Validating: supaserch =================================== |
ORGSIM-MIRROR drift check (advisory, fail-soft)vv3 / 8 files / VERIFIED 124 / DRIFTED 10 / UNDECIDED 29 / digest 9a45bfcc31ef Zero-LLM deterministic audit - unreachable = UNDECIDED, never dead - scripts/runbook_drift.py |
Docker Hardening ValidationHardening Validation ReportValidated: Sun Nov 8 20:01:42 UTC 2026Services CheckedPMOVES.AI compose hardening ratchet[INFO] Checking: /home/runner/work/PMOVES.AI/PMOVES.AI/pmoves/docker-compose.hardened.yml [INFO] Validating: agent-zero [INFO] Validating: archon [INFO] Validating: channel-monitor [INFO] Validating: comfy-watcher [INFO] Validating: deepresearch [INFO] Validating: extract-worker [INFO] Validating: ffmpeg-whisper [INFO] Validating: grayjay-plugin-host [INFO] Validating: hi-rag-gateway-gpu [INFO] Validating: hi-rag-gateway-v2 [INFO] Validating: hi-rag-gateway-v2-gpu [INFO] Validating: invidious-companion-proxy [INFO] Validating: jellyfin-bridge [INFO] Validating: langextract [INFO] Validating: media-audio [INFO] Validating: media-video [INFO] Validating: mesh-agent [INFO] Validating: nats-echo-req [INFO] Validating: nats-echo-res [INFO] Validating: notebook-sync [INFO] Validating: p7-room-orchestrator [INFO] Validating: pdf-ingest [INFO] Validating: pmoves-yt [INFO] Validating: presign [INFO] Validating: publisher-discord [INFO] Validating: render-webhook [INFO] Validating: retrieval-eval [INFO] Validating: supaserch =================================== |
| rl_input: 0 | ||
| rl_output: 0 | ||
| kwargs: {} | ||
| - name: 'Local: SPARK (host Ollama)' |
There was a problem hiding this comment.
🔥 The Roast: Local: SPARK (host Ollama) is Default's stunt double — same provider (ollama), same model (qwen3:30b-a3b-gpu), same api_base http://172.17.0.1:11434, same think: false. Compare lines 2–26 with 28–49: they are byte-identical twins wearing different name tags. A preset menu with two lanes that behave identically isn't resilience, it's a fork bomb on the operator's decision fatigue. And Local: SPARK (host Ollama) doesn't match _GENERATED_PRESET_RE, so even if the generator is ever pointed at SPARK's usr dir, this duplicate gets carried over verbatim forever — a fossil that no sync can clean.
🩹 The Fix: Delete the duplicate lane (Default already covers it — model-presets-spark.yaml ships exactly one local lane for this reason). If a distinct name was intentional (e.g. a marker lane for manual selection), give it a different utility/embedding config so the name means something.
📏 Severity: suggestion
| - name: Fallback-4 | ||
| chat: | ||
| provider: zai_primary | ||
| name: zai_primary/gpt-4o-mini |
There was a problem hiding this comment.
🔥 The Roast: Fallback-4 routes gpt-4o-mini at https://api.z.ai/api/coding/paas/v4 — the coding-plan endpoint that, per this repo's own measurements (pmoves/tensorzero/config/tensorzero.toml:307-309), serves GLM models only and rejected gpt-4o-mini with error 1214 (invalid model code), verified live on SPARK 2026-08-25. So this fallback lane's chat AND utility blocks are both wired to a model the endpoint refuses. A fallback that cannot fall is just a second way to fail. Worse, it ships with think: false — the one kwargs fix this commit was about — applied to a request that dies at model resolution, which is lipstick on a 1214.
🩹 The Fix: Point the lane at a model the coding endpoint actually serves (glm-5.2 or glm-5-turbo, both proven live per the toml notes), or route via TensorZero's chat_zai/chat_zai_glm53 function names like the Cloud: GLM-5.3 lane does two blocks below.
📏 Severity: warning
| @@ -1,52 +1,206 @@ | |||
| - name: Default | |||
There was a problem hiding this comment.
🔥 The Roast: This rewrite landed in pmoves/data/agent-zero/usr/plugins/_model_config/presets.yaml — the docked instance's live presets path (per MODEL_PRESET_LIFECYCLE.md and models_sync.py:A0_PRESETS_SUBPATH, this exact path is what docked A0 bind-mounts). But the commit message and model-presets-spark.yaml say this is SPARK repair. SPARK's usr dir is ${SPARK_USR_DIR} (docker-compose.spark-sidecar.yml:160), not this path. So the SPARK fix was committed to a file every docked-stack node consumes, with Default swung from TensorZero/GLM-5.3 (cloud-grade) to a hardcoded 172.17.0.1:11434 host bridge and GPU-pinned stopgap variants that only exist on a GB10's Ollama inventory. Also: no # GENERATED by models_sync.py provenance header, and Registry/Fallback-N — names the lifecycle doc explicitly reserves as generator-owned and rewritten-on-next-sync — are handwritten. Next a0-model-sync run on any docked node will regenerate these lanes and silently discard whatever hand-tuning was meant to persist, while until then, docked nodes route chat through a host Ollama that may not have qwen3:30b-a3b-gpu loaded.
🩹 The Fix: Put the SPARK lanes in the SPARK-owned artifact — pmoves/config/agent-zero/model-presets-spark.yaml already exists for exactly this (per its header: "SPARK's A0 consumes this as ... presets.yaml; models_sync carries the 'Cloud: *' lanes over"). Seed the SPARK node's usr dir from there with make INSTANCE=spark OUT=... per the lifecycle's make-targets rule; leave the docked live path to the generator. If the SPARK preset genuinely must be checked in at runtime state, at least stamp the provenance header and use the SPARK instance naming so --check can reason about it.
📏 Severity: warning
ORGSIM-MIRROR drift check (advisory, fail-soft)vv3 / 8 files / VERIFIED 124 / DRIFTED 10 / UNDECIDED 29 / digest e4d4c410d01a Zero-LLM deterministic audit - unreachable = UNDECIDED, never dead - scripts/runbook_drift.py |
Docker Hardening ValidationHardening Validation ReportValidated: Sun Nov 8 21:29:20 UTC 2026Services CheckedPMOVES.AI compose hardening ratchet[INFO] Checking: /home/runner/work/PMOVES.AI/PMOVES.AI/pmoves/docker-compose.hardened.yml [INFO] Validating: agent-zero [INFO] Validating: archon [INFO] Validating: channel-monitor [INFO] Validating: comfy-watcher [INFO] Validating: deepresearch [INFO] Validating: extract-worker [INFO] Validating: ffmpeg-whisper [INFO] Validating: grayjay-plugin-host [INFO] Validating: hi-rag-gateway-gpu [INFO] Validating: hi-rag-gateway-v2 [INFO] Validating: hi-rag-gateway-v2-gpu [INFO] Validating: invidious-companion-proxy [INFO] Validating: jellyfin-bridge [INFO] Validating: langextract [INFO] Validating: media-audio [INFO] Validating: media-video [INFO] Validating: mesh-agent [INFO] Validating: nats-echo-req [INFO] Validating: nats-echo-res [INFO] Validating: notebook-sync [INFO] Validating: p7-room-orchestrator [INFO] Validating: pdf-ingest [INFO] Validating: pmoves-yt [INFO] Validating: presign [INFO] Validating: publisher-discord [INFO] Validating: render-webhook [INFO] Validating: retrieval-eval [INFO] Validating: supaserch =================================== |
| # seed, every recreate re-runs the _model_config bootstrap and A0 re-adds | ||
| # a Default pointing at paid OpenRouter (the #3396 hazard, measured live). | ||
| # Seeded from the SPARK hand-applied set (Default = node-local analog). | ||
| - ${A0_ELDER_USR_DIR:-./data/a0-elder-usr}:/a0/usr |
There was a problem hiding this comment.
🔥 The Roast: The mount comment promises a "presets seed" that "closes the #3396 OpenRouter Default hazard" — but the seed is dead on arrival. The seed lives at data/a0-elder-usr/presets-seed/presets.yaml, while the runtime reads /a0/usr/plugins/_model_config/presets.yaml. I searched the whole repo: nothing — no init script, no make target, no compose entrypoint — copies presets-seed/ into plugins/_model_config/. services/a0-elder-melchor/init-a0.sh:30 only generates its env-driven presets when that runtime path is missing, and mk/a0-elder.mk (mounted with the exact include this commit added) has no seed step either. So on first boot, the checked-in seed sits unvisited while init-a0.sh writes its own GLM/openai Default — the seed changes nothing, and the hazard this commit's title says it closes is actually closed by the pre-existing init script, not by this artifact. 206 lines of YAML with zero readers isn't a seed, it's an offering to the volume-mount gods.
🩹 The Fix: Add the copy step in init-a0.sh before the env-generator check — e.g. mkdir -p "$PRESETS_DIR" && cp "$A0_ROOT/presets-seed/presets.yaml" "$PRESETS_FILE" when the seed exists — or fold the seed content into the init script's generator. Gate it in a0-elder-smoke by asserting the seeded file exists at the runtime path so "durable seed" stays truthful.
📏 Severity: warning
| @@ -0,0 +1,206 @@ | |||
| - name: Default | |||
There was a problem hiding this comment.
🔥 The Roast: This 206-line seed ships with less provenance than a gas-station receipt. No header explaining what it is (every sibling artifact — config/agent-zero/model-presets-spark.yaml lines 1-21, init-a0.sh:41 — carries an explanatory banner; docs/MODEL_PRESET_LIFECYCLE.md:3 says presets are NEVER handwritten). It handwrites Default, Registry, Fallback-N — lane names the lifecycle doc (line 86) explicitly reserves for the generator, "rewritten on every sync". And this Default block pins the SPARK inventory (qwen3:30b-a3b-gpu at 172.17.0.1:11434, GPU-pinned stopgaps the SPARK yaml's own header calls "not yet applied on SPARK"), while init-a0.sh:31-35 defines a completely different Default (openai/glm-5.3 at the Z.ai coding endpoint). Two files in one commit, two contradictory definitions of the same preset name. Whichever wins first boot, the other one is a lie the operator gets to find in production.
🩹 The Fix: Move this to pmoves/config/agent-zero/model-presets-elder.yaml (the checked-in per-instance variant home the lifecycle doc already established for spark/darkxside), add a provenance header, stop squatting on generator-reserved lane names, add the actual seeding step (see the compose-mount comment), and reconcile Default with init-a0.sh's definition — one authority, not two.
📏 Severity: warning
| rl_requests: 0 | ||
| rl_input: 0 | ||
| kwargs: {} | ||
| - name: 'Local: SPARK (host Ollama)' |
There was a problem hiding this comment.
🔥 The Roast: Local: SPARK (host Ollama) arrives in this brand-new file already guilty: it's a byte-identical clone of Default (lines 1-26). Same provider, same model, same api_base http://172.17.0.1:11434, same think: false. This exact duplicate was flagged on the docked presets and got transplanted here like family heirloom junk. Two indistinguishable lanes in a preset menu isn't resilience, it's decision fatigue in a costume.
🩹 The Fix: Drop the clone lane — Default already covers it (note model-presets-spark.yaml ships exactly one local lane for precisely this reason).
📏 Severity: suggestion
| - name: Fallback-4 | ||
| chat: | ||
| provider: zai_primary | ||
| name: zai_primary/gpt-4o-mini |
There was a problem hiding this comment.
🔥 The Roast: Fallback-4 got transplanted into the seed with all its charm intact: gpt-4o-mini aimed at https://api.z.ai/api/coding/paas/v4 — the coding-plan endpoint this repo's own measurements (tensorzero/config/tensorzero.toml:307-308) say serves GLM only and rejected gpt-4o-mini with error 1214 (invalid model code), verified live. Both the chat AND utility blocks are wired to a model the endpoint refuses. A fallback that cannot fall is just a second way to fail — now committed in two places, so the failure is also load-balanced.
🩹 The Fix: Point chat/utility at a model the coding endpoint actually serves (glm-5.2, proven live per the toml notes), or route via TensorZero's chat_zai_glm53 like the Cloud: GLM-5.3 (TensorZero) lane two blocks below, or delete the lane.
📏 Severity: warning
| @@ -0,0 +1,205 @@ | |||
| - name: Default | |||
| chat: | |||
| provider: other | |||
There was a problem hiding this comment.
🔥 The Roast: The Default rewire finally aims chat at the Z.ai coding endpoint — and then dials it in as provider: other. This exact endpoint, in the same commit's runtime (init-a0.sh:46), is wired provider: openai; every OpenAI-compatible cloud lane in this repo's presets (init-a0.sh, model-presets-spark.yaml, Fallback/Cloud lanes below) uses a real provider token — openai, openrouter, tensorzero. provider: other appears in exactly one preset file in the entire repo: this one. A lane that speaks a dialect used nowhere else isn't a preset, it's a riddle delivered at first boot. And the mirroring is still off: ctx_length: 128000 vs the generator's 200000, vision: false vs true, and a utility lane on host Ollama (qwen3:8b) where init's Default uses glm-5.3-flash over the same cloud base.
🩹 The Fix:
| provider: other | |
| provider: openai |
…to match the generator — or better, delete the seed entirely and let init-a0.sh generate it, since nothing in the repo consumes presets-seed/ (see the compose-mount comment).
📏 Severity: warning
| # last_announce_age_s stays bounded instead of growing forever from | ||
| # a single startup publish (measured 67,360s stale on spark 2026-11-19). | ||
| async def _announce_heartbeat() -> None: | ||
| interval = float(os.getenv("SERVICE_ANNOUNCE_INTERVAL_S", "60")) |
There was a problem hiding this comment.
🔥 The Roast: float(os.getenv("SERVICE_ANNOUNCE_INTERVAL_S", "60")) — the confetti cannon of env parsing. One typo in the env (SERVICE_ANNOUNCE_INTERVAL_S=sixty) and this line throws ValueError inside the NATS try: block at import... no wait, at startup, where it's indistinguishable from "NATS connect failed," so the service logs continuing without NATS and every subscriber downstream of services.announce.v1 loses an actually-healthy service. The heartbeat's crash disguise is impressive — it fails in a way that masquerades as a completely different failure. And interval <= 0 returning silently means 0 disables it with zero log trace: an operator who sets SERVICE_ANNOUNCE_INTERVAL_S=0 expecting "announce immediately" gets a tombstone silence instead.
🩹 The Fix: Parse defensively and log the disable decision:
async def _announce_heartbeat() -> None:
try:
interval = float(os.getenv("SERVICE_ANNOUNCE_INTERVAL_S", "60"))
except ValueError:
logger.warning("Invalid SERVICE_ANNOUNCE_INTERVAL_S, using 60s")
interval = 60.0
if interval <= 0:
logger.info("Announce heartbeat disabled (SERVICE_ANNOUNCE_INTERVAL_S=%s)", interval)
return📏 Severity: warning
| if not NATS_ANNOUNCE_AVAILABLE: | ||
| continue | ||
| try: | ||
| await announce_service( |
There was a problem hiding this comment.
🔥 The Roast: The heartbeat calls announce_service(...) and lets the default retry=True ride — and per nats_service_listener.py:292-310, a retry=True call loops forever with exponential backoff capped at 30s per attempt, one blocking announce per heartbeat tick. When NATS is partitioned, the heartbeat task doesn't fail fast and reschedule — it parks inside await announce_service for the duration of the outage, meaning your "every 60s" heartbeat quietly becomes "every 30s-plus-a-NATS-attempt" retry cadence driven by the callee's backoff, not your interval. The except-branch below warning about "will retry" is dead code in exactly the scenario it was written for: the heartbeat never returns during an outage, it just ages in place inside the callee. Also: the initial publish at line 549 passes retry=True explicitly, so a NATS blip at boot can hang lifespan startup indefinitely — the heartbeat inherits that habit by omission.
🩹 The Fix: Pass retry=False in the heartbeat call so ticks are interval-driven and failures surface in the except that already promises to survive them:
await announce_service(
nats_url=NATS_URL,
slug=slug,
name=name,
url=url,
health_check=health_check,
tier=ServiceTier.MEDIA,
port=port,
metadata={"version": "0.1.0", "announce_interval_s": interval, "publishes": ["tokenism.geometry.event.v1"]},
retry=False,
)📏 Severity: warning
| health_check=health_check, | ||
| tier=ServiceTier.MEDIA, | ||
| port=port, | ||
| metadata={"version": "0.1.0", "publishes": ["tokenism.geometry.event.v1"]}, |
There was a problem hiding this comment.
🔥 The Roast: You built a heartbeat so fleet-sentinel's last_announce_age_s stays bounded — and then announced metadata={"version": "0.1.0", "publishes": [...]} with no announce_interval_s. I checked fleet_sentinel/main.py:305-318: staleness is heartbeat-gated on exactly metadata.announce_interval_s; absent it, the sentinel's comment says "no recurring announcer exists in this repo" and treats the announce as one-shot. The comment above line 566 even documents the 67,360s stale reading — the sentinel already told you what field it eats. You're ringing the dinner bell; nobody set the table. The heartbeat works, but the monitor it exists to appease won't notice, so the stale-age metric stays unbounded by design of the consumer while a daemon now publishes every 60s forever. Also that 60s-default every-60s re-announce, duplicated across the five announce_service() callers listed in the sentinel's own comment, adds ~5 publishes/min to the bus — fine, but only once sentinel actually sees the interval.
🩹 The Fix: Declare the cadence so the sentinel's staleness gate engages:
interval = float(os.getenv("SERVICE_ANNOUNCE_INTERVAL_S", "60"))
if interval <= 0:
return
while True:
await asyncio.sleep(interval)
if not NATS_ANNOUNCE_AVAILABLE:
continue
try:
await announce_service(
nats_url=NATS_URL,
slug=slug,
metadata={"version": "0.1.0", "announce_interval_s": int(interval), "publishes": ["tokenism.geometry.event.v1"]},📏 Severity: warning
| (`jons-1/2/3`, `pmoves-jons-N`) to the target `pmoves-nemotron-N` identity | ||
| in `pmoves/configs/node-vocabulary.yaml` + Tailscale alias so existing | ||
| trails resolve during the transition. Interim only — remove after step 5. | ||
| 2. **Fresh enroll**: `make -C pmoves fleet-enroll ROLE=edge DEVICE=pmoves-nemotron-N` |
There was a problem hiding this comment.
🔥 The Roast: The handoff's step 2 enrolls with ROLE=edge — a role that does not exist. pmoves/scripts/fleet/generate-enrollment.py:41-55 defines exactly three roles (owner, partner, guest), and line 249-250 hard-fails (ERROR: Unknown role 'edge'). This isn't even a new typo: your own PRE_RESTART_PREFLIGHT_2026-08-25.md:213 confirmed this exact rejection as a probable carry-over, and the recipe got committed anyway and re-copied into two other runbooks (AGNOTE4482.md:783, TOPOLOGY.md:50). A boot-time failure, copy-pasted into triplicate.
🩹 The Fix: Either add an edge role to ROLES in generate-enrollment.py (if Jetson devices genuinely need a fourth access class) or fix the brief (and the two sibling runbooks) to use an existing role. Pick one — the fleet can't enroll on a role that only exists in prose.
📏 Severity: warning
| proceed to the next step until this is green. | ||
| 4. **Edge compose up**: `docker compose -f docker-compose.jetson-edge.override.yml` | ||
| (NATS leaf + Ollama edge + Whisper INT8), confirm NATS leaf connects to the | ||
| broker with the CURRENT password (`wcs1gWbl…` cutover, 2026-10-10) and |
There was a problem hiding this comment.
🔥 The Roast: The brief ships a live broker credential fragment in a committed doc: "the CURRENT password (wcs1gWbl… cutover, 2026-10-10)". Repo-wide, that string appears in exactly one file — this one. So it's not documentation of a known constant, it's a fresh leak, prefixed with the word CURRENT to maximize operational value for anyone holding the first half. The repo's own AGENTS.md doctrine says "Never commit secrets," and this is a partial password in a public-PR-adjacent markdown file.
🩹 The Fix: Remove the password fragment and reference the credential by pointer instead — e.g. "the post-cutover broker password from pmoves/env.shared (see python3 -m pmoves.tools.derive_nats_url --check to verify the tier file matches)". If this fragment is derived from the real secret, rotate it anyway: anyone reading this PR history has it.
📏 Severity: critical
|
|
||
|
|
||
| def load_playlist(path: Path) -> list[dict]: | ||
| data = json.loads(gzip.open(path).read() if path.suffix == ".gz" else path.read_text()) |
There was a problem hiding this comment.
🔥 The Roast: gzip.open(path).read() — the context manager that cried wolf, or rather, never came. This leaks a file handle per playlist load: the gzip.GzipFile is never closed because it isn't wrapped in with. For a one-shot CLI it's cosmetic, but this script's docstring explicitly markets itself as re-runnable infrastructure ("re-crawl with yt-dlp --flat-playlist"), and the first person to import load_playlist into a long-lived loop inherits a fd leak dressed up as a helper function.
🩹 The Fix:
| data = json.loads(gzip.open(path).read() if path.suffix == ".gz" else path.read_text()) | |
| if path.suffix == ".gz": | |
| with gzip.open(path) as f: | |
| data = json.loads(f.read()) | |
| else: | |
| data = json.loads(path.read_text()) |
📏 Severity: nitpick
Research-backed plan for Composio MCP on KVMs, VSS comfy-voice, Jetson combiner updates, and the voice+sentinel fleet sweep, with measured current state per lane and sequenced dry-run steps.
tokenism-simulator's compose block hard-requires SECRET_KEY, but no env file, manifest entry, or bootstrap spec ever provided it — every `make up` / `up-bus` interpolation failed on it. Alias SECRET_KEY_BASE (CHIT, 64-char) into env.tier-agent as SECRET_KEY so the funnel owns it. 💘 Generated with Crush
…e runtime user The playwright named volume mounts at /a0/tmp/playwright; when the parent /a0/tmp is absent from the image, Docker pre-creates it as root at container-create. With cap_drop=ALL the runtime uid 65532 then cannot write /a0/tmp/memory and every message_send 500s (PermissionError). Same bug class as the documented /a0/usr nested-bind note. install -d the dir with correct ownership in the image layer. 💘 Generated with Crush
…admap lane presets.yaml: 5-layer model-routing repair measured live on SPARK — bare model names (doubled ollama_local/ prefix), provider ollama (not ollama_local, litellm rejects it), bare-host api_base (litellm appends /api/generate; /v1 suffix 404s), think:false on qwen3 chat kwargs (reasoning-only streams read as empty responses), Default pinned to the local qwen3:30b-a3b-gpu analog per #3396's hybrid preset policy. Register: roadmap-lane CLAIM/NOTE rows. known-roads: session bookkeeping grants. 💘 Generated with Crush
… paygo Per MODEL_FABRIC_CONTRACT fallback order (local -> coding plans; OpenRouter paygo is not an approved default lane). Default = other/glm-5.3 @ api.z.ai/api/coding/paas/v4 with API_KEY_OTHER in the mounted usr/.env; utility stays local (ollama qwen3:8b). Verified live: twin self-reports GLM-5.3 via Default preset. 💘 Generated with Crush
Two fleet-sentinel repair targets from the twin's review, both verified live on spark: - cipher-api compose now sets PMOVES_ANNOUNCE_HOST=cipher-api. The shim previously announced its bind host (http://0.0.0.0:8105) on services.announce.v1, so the sentinel health poller hit an unroutable URL and reported cipher-memory failing forever. With the submodule fix (Pmoves-cipher#37) + this env, sentinel now shows cipher-memory healthy with url http://cipher-api:8105 and announce age ~30s. - flute-gateway re-announces every SERVICE_ANNOUNCE_INTERVAL_S (default 60s) instead of once at startup — its announce had gone 67,360s stale while the service stayed healthy, so the registry could not distinguish a live service from a frozen one. Gitlink bump for Pmoves-cipher follows after PR #37 merges. 💘 Generated with Crush
Executes the 3-source reconciliation crawl from the 4-lane roadmap (twin verdict d): flat-playlist listing of the DARKXSIDE AI playlist (2,825 videos, 95 provisioning candidates), the 82-track SoundCloud beat index from groups_summary.json, and the SPARK model inventory (local Ollama + approved coding-plan lanes). Committed as reproducible tooling (three_source_index.py) plus artifacts so a fresh clone inherits the crawl without OAuth — the yt refresh token measured revoked (invalid_grant) 2026-11-19; Supabase upsert via yt_playlist_crawl.py stays blocked until operator re-runs the OAuth flow. 💘 Generated with Crush
The 2026-10-13 NATS stale-credential incident class: crush-pmoves exports
NATS_URL / SUPABASE_* for the MCP roster, docker compose gives the process
environment precedence over --env-file, and crush-env.sh's unset-guard kept
a launcher-era export alive across later env-file fixes. Two-part fix:
- crush-env.sh: the four compose-interpolation-class vars now always
refresh from the env files on (re)source — file wins over stale export.
- crush-pmoves: appends a COMPOSE ENV SHADOWING warning to the identity
context file (the surface the model actually reads every session) with
the exact `env -u` prefix for compose commands in long-lived sessions.
Also discovered while investigating the daily fork-sync failures (since
2026-11-09): GH_APP_SEC in env.shared and the CHIT bundle is a 40-hex
string, not the PEM the registry spec requires — the funnel pushed it to
the GitHub secret, so create-github-app-token fails fleet-wide ("A JSON
web token could not be decoded"). Operator fix: re-download the App
(1041682) PEM, `gh secret set GH_APP_SEC < app.pem`, restore env.shared
+ CHIT. Pipecat forks were synced manually meanwhile (context-hub 537
behind -> 0, client-web-transports 134 behind -> 0; mcp-server identical;
pmoves-pipecat remains the divergent overlay fork pending its
merge-forward lane).
💘 Generated with Crush
v1.4.x is the LTS line (v1.4.1, 2026-07-30) with metadata-engine fixes that matter for the cross-node mesh share (format races, concurrent namespace updates, chunk-read reliability after timeouts, writeback cache fd leaks). Split overlays regenerated via make compose-split. 💘 Generated with Crush
- fork-sync.yml: actions/create-github-app-token input app-id -> client-id (v3 deprecation; same App, GH_APP_CLIENT_ID secret already proven by _app-token.yml). - Handoff brief for B850-CLAUDE: b850 (bundle producer) still carries the hex GH_APP_SEC locally; recipe = PEM into env.shared (escaped), JWT validation BEFORE funneling, direct-from-file gh secret set (env indirection pushed an empty secret once this session), then verify its next chit-bundle-b850 artifact carries the PEM. 💘 Generated with Crush
…th lines refresh The wrapper-A0 model-research lane stalled (its code-exec tool couldn't find a runtime) and its registry sweep relied on web lookups. Minting the proper agents instead: - ollama_agent (research team, :8204) — CLI-fluent local model steward; joins the hf_agent/hf_research_agent patrol as the local-hosting leg, subscribes hf.model.evaluated.v1, memorializes pull decisions in cipher memory. - ca_agent (infra team, :8205) — container authority: docker image build/push/lifecycle through Known Road targets. - vps_agent (infra team, :8206) — KVM node ops (kvm4-1/2, kvm2), accepts handoff briefs on agent.handoff.request.v1. Also refreshes two stale TAC_CIPHER.md auth one-liners that still described the single-CIPHER_API_TOKEN era (per-agent tokens PRs #26/#28, dev-mode close #33 now named). validate_agent_registry: 119/119 coupling clean; port_allocator: no conflicts. 💘 Generated with Crush
…chet gap Two failures blocking the rebase of this PR onto current main: 1. tests (3.11): the dependency union strips version specs, so flute-gateway's google-genai==2.10.0 resolved to 3.6.1 — a major-line release that moved to the httpx2 fork and fails at import time (`google/genai/types.py: HttpxClient = httpx.Client` against a SimpleNamespace shim), breaking every flute-gateway test. This has been failing across branches since the 3.x line shipped. google-genai joins preserve_specs so the ==2.10.0 pin survives the union, matching the existing known-bad-upstream guardrail pattern. 2. windows-encoding-ratchet: three_source_index.py (introduced in this branch) had 4 text-IO sites without explicit encoding — now utf-8. 💘 Generated with Crush
6188aad to
de65e34
Compare
ORGSIM-MIRROR drift check (advisory, fail-soft)vv3 / 8 files / VERIFIED 124 / DRIFTED 10 / UNDECIDED 29 / digest 362e1088b23b Zero-LLM deterministic audit - unreachable = UNDECIDED, never dead - scripts/runbook_drift.py |
Docker Hardening ValidationHardening Validation ReportValidated: Sat Nov 21 04:02:54 UTC 2026Services CheckedPMOVES.AI compose hardening ratchet[INFO] Checking: /home/runner/work/PMOVES.AI/PMOVES.AI/pmoves/docker-compose.hardened.yml [INFO] Validating: agent-zero [INFO] Validating: archon [INFO] Validating: channel-monitor [INFO] Validating: comfy-watcher [INFO] Validating: deepresearch [INFO] Validating: extract-worker [INFO] Validating: ffmpeg-whisper [INFO] Validating: grayjay-plugin-host [INFO] Validating: hi-rag-gateway-gpu [INFO] Validating: hi-rag-gateway-v2 [INFO] Validating: hi-rag-gateway-v2-gpu [INFO] Validating: invidious-companion-proxy [INFO] Validating: jellyfin-bridge [INFO] Validating: langextract [INFO] Validating: media-audio [INFO] Validating: media-video [INFO] Validating: mesh-agent [INFO] Validating: nats-echo-req [INFO] Validating: nats-echo-res [INFO] Validating: notebook-sync [INFO] Validating: p7-room-orchestrator [INFO] Validating: pdf-ingest [INFO] Validating: pmoves-yt [INFO] Validating: presign [INFO] Validating: publisher-discord [INFO] Validating: render-webhook [INFO] Validating: retrieval-eval [INFO] Validating: supaserch =================================== |
…lled rows #3353 carries 3 back-filled register rows signed `Z890-A0 (pmoves-docked-a0)`; the identity-lineage gate failed 3 tests on the undeclared author. Operator choice (2026-11-21): alias an existing A0 identity rather than mint one -- `Z890-A0` joins auth-login (the A0-instance identity per the 2026-10-10 operator correction), and `pmoves-docked-a0` is declared as the harness the rows were worn through. tests/test_identity_lineage.py: 64 passed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016aNs4qEbP262ySna8x9izc
ORGSIM-MIRROR drift check (advisory, fail-soft)vv3 / 8 files / VERIFIED 123 / DRIFTED 11 / UNDECIDED 29 / digest 757c368658fc Zero-LLM deterministic audit - unreachable = UNDECIDED, never dead - scripts/runbook_drift.py |
Docker Hardening ValidationHardening Validation ReportValidated: Sat Nov 21 12:29:17 UTC 2026Services CheckedPMOVES.AI compose hardening ratchet[INFO] Checking: /home/runner/work/PMOVES.AI/PMOVES.AI/pmoves/docker-compose.hardened.yml [INFO] Validating: agent-zero [INFO] Validating: archon [INFO] Validating: channel-monitor [INFO] Validating: comfy-watcher [INFO] Validating: deepresearch [INFO] Validating: extract-worker [INFO] Validating: ffmpeg-whisper [INFO] Validating: grayjay-plugin-host [INFO] Validating: hi-rag-gateway-gpu [INFO] Validating: hi-rag-gateway-v2 [INFO] Validating: hi-rag-gateway-v2-gpu [INFO] Validating: invidious-companion-proxy [INFO] Validating: jellyfin-bridge [INFO] Validating: langextract [INFO] Validating: media-audio [INFO] Validating: media-video [INFO] Validating: mesh-agent [INFO] Validating: nats-echo-req [INFO] Validating: nats-echo-res [INFO] Validating: notebook-sync [INFO] Validating: p7-room-orchestrator [INFO] Validating: pdf-ingest [INFO] Validating: pmoves-yt [INFO] Validating: presign [INFO] Validating: publisher-discord [INFO] Validating: render-webhook [INFO] Validating: retrieval-eval [INFO] Validating: supaserch =================================== |
Operator, 2026-11-21: `AUTH_LOGIN` was never a name. Agent Zero masks secret values in its output with the variable name, and the operator's A0 login was DARKXSIDE at the time -- so the `auth-login` identity was DARKXSIDE read through the mask. Fold its aliases (AUTH_LOGIN, agent0-sidecar*, A0-SIDECAR*) into darkxside and delete auth-login. `Z890-A0` (3 back-filled rows on this branch) is its own agent per the operator: minted as `z890-a0` (node z890) instead of aliasing it to anyone. Supersedes bd108ae, which had put it under auth-login. Identity/vocabulary tests: 349 passed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016aNs4qEbP262ySna8x9izc
…nion; GitHub ignores merge=union)
ORGSIM-MIRROR drift check (advisory, fail-soft)vv3 / 8 files / VERIFIED 124 / DRIFTED 10 / UNDECIDED 29 / digest 52ed8b808e45 Zero-LLM deterministic audit - unreachable = UNDECIDED, never dead - scripts/runbook_drift.py |
Docker Hardening ValidationHardening Validation ReportValidated: Sun Nov 22 16:10:32 UTC 2026Services CheckedPMOVES.AI compose hardening ratchet[INFO] Checking: /home/runner/work/PMOVES.AI/PMOVES.AI/pmoves/docker-compose.hardened.yml [INFO] Validating: agent-zero [INFO] Validating: archon [INFO] Validating: channel-monitor [INFO] Validating: comfy-watcher [INFO] Validating: deepresearch [INFO] Validating: extract-worker [INFO] Validating: ffmpeg-whisper [INFO] Validating: grayjay-plugin-host [INFO] Validating: hi-rag-gateway-gpu [INFO] Validating: hi-rag-gateway-v2 [INFO] Validating: hi-rag-gateway-v2-gpu [INFO] Validating: invidious-companion-proxy [INFO] Validating: jellyfin-bridge [INFO] Validating: langextract [INFO] Validating: media-audio [INFO] Validating: media-video [INFO] Validating: mesh-agent [INFO] Validating: nats-echo-req [INFO] Validating: nats-echo-res [INFO] Validating: notebook-sync [INFO] Validating: p7-room-orchestrator [INFO] Validating: pdf-ingest [INFO] Validating: pmoves-yt [INFO] Validating: presign [INFO] Validating: publisher-discord [INFO] Validating: render-webhook [INFO] Validating: retrieval-eval [INFO] Validating: supaserch =================================== |
🔏 CHIT-aware change — control-body routingThis PR touches a CHIT-aware service (ports 8086/8087/8103/8106/8113/9224 surface). Before a Control-Body ACK:
Advisory routing only — the blocking contract check is CHIT Contract. |
…t stops reading an aborted chunk as green (#3517) * fix(tests): publisher-discord httpx shim stops shadowing an installed httpx Root cause of main's red python-tests (43 flute-gateway failures since 2026-11-21): test_formatting.py ran `sys.modules.setdefault("httpx", SimpleNamespace(AsyncClient=...))` at import. setdefault only checks "already imported", not "installed", so in the shared "Run all service tests" pytest session it replaced the real httpx for every later test file. google-genai 3.x (unpinned by the CI union) reads `httpx.Client` at import, so flute-gateway's import chain died on the SimpleNamespace. The shim now applies only when httpx is not installed (channel-monitor's pattern). #3353 separately pins google-genai in the CI union, which removes the trigger; this removes the trap for the next importer. Evidence: - new test_shim_isolation.py fails on the old shim (AssertionError: SimpleNamespace), passes on the fix - google-genai 3.6.1 venv: main's test_formatting.py then `from google import genai` -> AttributeError 'SimpleNamespace' ... 'Client' (CI's exact error); fixed file -> import OK - publisher-discord 7/7; flute-gateway local failures identical with and without publisher-discord in the session (local numpy.long, env-only) Also carries this lane's register CLAIM row. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016aNs4qEbP262ySna8x9izc * docs(register): 5090-CLAUDE takes the httpx-shim lane by baton from spark-claude (TTL expired 2026-11-23) spark-claude's 24h CLAIM on fix/httpx-stub-test-pollution expired with no renewal, RELEASE, or push after bcc2619; PR #3517 sat DIRTY against main. Operator assigned the open lane to 5090 on 2026-11-25. Baton RELEASE then CLAIM, per the register tool's handoff grammar. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016aNs4q8tajdg1rcgaacrWS * fix(ratchet): a pytest INTERNALERROR no longer reads as a green chunk; the TTS CLI skips under pytest The python-tests ratchet trusted any JUnit report that existed. pytest writes one even when the session aborts with INTERNALERROR (exit 3), holding only what was collected before the abort, so every later test in the chunk was read as "no failures here". Measured 2026-11-25 on Merge Gate run 45044058125: pmoves/tools/ test_all_tts_engines.py is a CLI against a live TTS Studio whose name matches test_*.py, and it called sys.exit(1) at import when gradio_client is absent. That aborted chunk `pmoves [4]` on every run on record (19 files, zero test results, 3 sso-auth collection errors recorded before the abort). When this branch added a test file earlier in the sort order, the chunk boundary moved, 11 baselined semantic-cache errors landed in the aborted chunk, and the gate reported them STALE -- fixed -- and told the author to drop them. - pytest_ratchet.py: exit 3 is a LOST chunk like a timeout. The partial report is not returned as the result; the chunk is isolated per file, and the file that aborts is recorded as an `ERROR|<file>|<internal-error>` finding so it is visible and ratchetable instead of silently passing. - test_all_tts_engines.py: under pytest, a missing gradio_client is a module-level skip that says what the file is. As a CLI it still prints the install hint and exits 1. - test_pytest_ratchet.py: six cases for the abort path (partial report not trusted, aborting file keyed as a finding, siblings keep results, single-file abort, abort vs hang in one chunk, detail cap). 49 pass. Chunk `pmoves [4]` re-run locally with the ratchet's options after this change: no INTERNALERROR, the CLI skipped, and the 11 test_cache errors are present -- they patch `pmoves.services.semantic_cache.*`, an alias the services shim does not define, and were never httpx-related. The baseline is unchanged here; what the measured chunk surfaces in CI is recorded in the next commit with a note. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016aNs4q8tajdg1rcgaacrWS * docs(register): 5090-CLAUDE NOTE -- scope correction for the httpx-shim lane (STALE entries were an aborted chunk, not fixes) Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016aNs4q8tajdg1rcgaacrWS * test(ratchet): record the 17 failures chunk `pmoves [4]` surfaced once it ran; drop the stale internal-error entry (151 -> 167) CI run 45567996955 on this branch, the first Merge Gate run in which chunk `pmoves [4]` reached its tests: 17 NEW findings, all semantic-cache, all the same undefined `pmoves.services.semantic_cache` alias as the 11 baselined test_cache entries (#3529): 9 FAIL in test_cipher_layer, 8 ERROR in test_proxy. One STALE: `ERROR|pytest|internal`, pytest's own junit record of the abort, which no longer happens because the CLI now skips under pytest. Entries copied from the run log, not from --write-baseline (off CI it would record this machine). Header note says what the silence contained, same shape as the 2026-08-19 timeout-fallback note. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016aNs4q8tajdg1rcgaacrWS * fix(tests): shim probes httpx via PathFinder (never raises on a sibling's stub); a session-wide abort is one dead group Two review findings on the previous push, both P2: - importlib.util.find_spec("httpx") consults sys.modules first and RAISES ValueError when the entry there has no __spec__ -- which is what a sibling suite's stub looks like. channel-monitor/tests/test_monitor.py installs a bare ModuleType("httpx") and sorts before publisher-discord in the same ratchet chunk, so in the minimal environment the shim exists for, both publisher-discord modules would have become collection errors. importlib.machinery.PathFinder.find_spec ignores sys.modules, answers only "is the package on sys.path", and never raises. Measured: with a spec-less stub in sys.modules, util.find_spec raises "httpx.__spec__ is None"; PathFinder returns None. - The ratchet isolated every exit-3 chunk per file. A session-wide INTERNALERROR (a conftest or plugin hook raising) aborts identically for every file and would have produced N `<internal-error>` findings keying one breakage N ways. When every file in a chunk aborts alone, the group is now reported once as dead, the same way an unimportable conftest is. Three more ratchet tests cover the abort-with-no-report branches (per-file and single-file) and the all-abort collapse. 52 pass. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016aNs4q8tajdg1rcgaacrWS --------- Co-authored-by: Agent Zero <agent.zero@pmoves.ai> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…nion; GitHub ignores merge=union)
🔏 CHIT-aware change — control-body routingThis PR touches a CHIT-aware service (ports 8086/8087/8103/8106/8113/9224 surface). Before a Control-Body ACK:
Advisory routing only — the blocking contract check is CHIT Contract. |
ORGSIM-MIRROR drift check (advisory, fail-soft)vv3 / 8 files / VERIFIED 124 / DRIFTED 10 / UNDECIDED 29 / digest b1e04feee6c5 Zero-LLM deterministic audit - unreachable = UNDECIDED, never dead - scripts/runbook_drift.py |
Docker Hardening ValidationHardening Validation ReportValidated: Fri Nov 27 06:32:00 UTC 2026Services CheckedPMOVES.AI compose hardening ratchet[INFO] Checking: /home/runner/work/PMOVES.AI/PMOVES.AI/pmoves/docker-compose.hardened.yml [INFO] Validating: agent-zero [INFO] Validating: archon [INFO] Validating: channel-monitor [INFO] Validating: comfy-watcher [INFO] Validating: deepresearch [INFO] Validating: extract-worker [INFO] Validating: ffmpeg-whisper [INFO] Validating: grayjay-plugin-host [INFO] Validating: hi-rag-gateway-gpu [INFO] Validating: hi-rag-gateway-v2 [INFO] Validating: hi-rag-gateway-v2-gpu [INFO] Validating: invidious-companion-proxy [INFO] Validating: jellyfin-bridge [INFO] Validating: langextract [INFO] Validating: media-audio [INFO] Validating: media-video [INFO] Validating: mesh-agent [INFO] Validating: nats-echo-req [INFO] Validating: nats-echo-res [INFO] Validating: notebook-sync [INFO] Validating: p7-room-orchestrator [INFO] Validating: pdf-ingest [INFO] Validating: pmoves-yt [INFO] Validating: presign [INFO] Validating: publisher-discord [INFO] Validating: render-webhook [INFO] Validating: retrieval-eval [INFO] Validating: supaserch =================================== |
Summary
Claim
CRUSH-SPARK (KIMI)·docs/roadmap-4lane-research-dryrun· TTL 96h (register row appended)Testing
git diff --checkclean💘 Generated with Crush