Skip to content

fix(networks,container-agent): gateway-tier wiring, z890 NATS credential out of source, Ollama Cloud triage - #3490

Open
POWERFULMOVES wants to merge 11 commits into
mainfrom
fix/network-tier-reconcile
Open

POWERFULMOVES wants to merge 11 commits into
mainfrom
fix/network-tier-reconcile

Conversation

@POWERFULMOVES

Copy link
Copy Markdown
Owner

Opens the pushed-but-unopened branch from 4090-Claw (2026-11-17). Found in a local-work review on the 4090; branch merges cleanly into current main (5 ahead / 8 behind).

Commits

  • aaa540dbc fix(security): remove the inline NATS credential from docker-compose.z890.yml; the URL now comes from Z890_NATS_URL in the machine env file, and the probe reports nats_probe_enabled=false when it is unset. Operator action on Z890: set Z890_NATS_URL. The removed value was the default NATS password and remains in history, so rotating it is worth considering.
  • 1a6c99464 docs(env): correct a dead Kong hostname in env.shared.example.
  • 57cd01aef fix(networks): retire cataclysm-net for the n8n stack.
  • fa2d360c8 fix(networks): attach Supabase API consumers to the gateway tier.
  • d765170b0 feat(container-agent): node-agnostic probes, corrected health rule, and an Ollama Cloud triage endpoint (POST /analyze, enabled only when OLLAMA_CLOUD_BASE_URL and OLLAMA_CLOUD_API_KEY are set).

Review notes

  • Compose network changes affect running stacks on recreate. On the 4090 the pmoves project is currently split across three checkouts, so roll this out per node deliberately, not through a blanket recreate.
  • The running container-agent on the 4090 (:8111) is the older build; /analyze arrives only after a rebuild.

Test plan

  • docker compose config resolves on each node profile (z890, 4090) with no new unset-variable warnings beyond Z890_NATS_URL
  • container-agent /healthz, /config, /diagnostic after rebuild; /analyze returns the disabled hint when the Ollama Cloud vars are unset
  • n8n and the Supabase consumers reach their peers after recreate on one node

🤖 Generated with Claude Code

docker-compose.z890.yml carried the NATS password inline as a literal:

    - NATS_URL=nats://nats:pmoves@nats-leaf:4222

A plaintext credential in a tracked compose file, readable by anyone with
repo access and copied into every image build context that reads it.

Replace with \. The container's environment now comes from
the machine-scoped env file (env.z890), and when that is unset the agent's
NATS probe is skipped and reported as nats_probe_enabled=false rather than
silently failing.

Operator action on z890: set Z890_NATS_URL in env.z890 to restore the probe.
env.shared.example shipped A0_MCP_SUPABASE_URL=http://kong:8000 to every new
node. There is no 'kong' DNS record anywhere in the stack - Kong's only
aliases are 'supabase-kong' and 'pmoves-supabase-kong-1' - so every freshly
provisioned node inherited an Agent Zero MCP roster pointing at a hostname
that cannot resolve.

Verified on 4090: 'kong' returns NO-RESOLVE from containers on pmoves_api and
NXDOMAIN from containers off it, while 'supabase-kong' resolves to 172.30.1.3.
n8n, n8n-runners and n8n-db were the last three services attached to the
legacy cataclysm-net network. Move them onto the documented tiers:

  n8n          -> pmoves_api, pmoves_app, pmoves_data, pmoves_external
  n8n-runners  -> pmoves_api, pmoves_app, pmoves_external
  n8n-db       -> pmoves_data

n8n also defaulted SUPABASE_REST_URL and SUPA_REST_URL to http://postgrest:3000.
That hostname does not exist (the service is 'supabase-postgrest', with alias
'rest'), so the default was dead. It only appeared to work because env.shared
overrides the value; any node without that override got an unroutable URL.

Verified after the change on 4090: cataclysm-net has zero attached containers.
Kong listens only on pmoves_api and pmoves_public. Three services that consume
the Supabase REST/Auth API were not on either internal tier, so they could not
resolve 'supabase-kong' at all:

  supabase-vector   was pmoves_data only. All seven of its log sinks point at
                    http://analytics:4000/..., and the 'analytics' alias exists
                    ONLY on pmoves_api. Measured from inside the container:
                    'analytics -> FAIL'. Database, auth and realtime logs were
                    being dropped silently.

  publisher-discord calls supabase_common.upsert_row() (main.py:261). The write
                    is wrapped in try/except that only logs a warning, so the
                    failure was invisible.

  tokenism-ui      was pmoves_app only, resolving neither supabase-kong nor
                    postgrest.

Documented basis: DOCKER_NETWORK_HARDENING.md - 'any service that resolves
cross-tier hostnames must dual-attach'; pmoves_api is the API gateway tier.

PMOVES_NETWORKS declarations updated in lockstep, because the services read
that variable to decide which networks they believe they are on - leaving it
stale makes on_network('pmoves_api') return False while Docker has attached it.

tensorzero-ui is deliberately NOT given pmoves_api: topology_policy_manifest.json
requires 'pmoves_app, pmoves_data, pmoves_external' for it, and it has no
Supabase call path.
…llama Cloud triage

The container agent could only ever describe one node. Probe targets were
hardcoded to the 5090/z890 layout (nats-leaf, pmoves-ollama,
host.docker.internal:7422) and its health rule required at least one upstream
to be reachable:

    healthy = dns_ok > 0 and nats_ok and upstream_ok > 0

Every laptop or edge node legitimately has no upstream path, so it reported
permanently unhealthy. Both are fixed.

Probe topology is now environment-driven (CA_DNS_TARGETS, CA_LOCAL_SERVICES,
CA_UPSTREAM_SERVICES are JSON), with the old layout as defaults so z890 keeps
working unchanged. Additions:

  /config   effective probe configuration (no secrets) - makes a node's
            monitoring coverage auditable instead of implicit
  /analyze  routes the diagnostic through Ollama Cloud when
            OLLAMA_CLOUD_BASE_URL + OLLAMA_CLOUD_API_KEY are set; returns 503
            with an explicit reason otherwise, so an unconfigured deployment
            fails visibly rather than silently degrading

Also: NATS_URL no longer defaults to a credentialed URL, POST /diagnostic is
serialised behind a lock, and the heartbeat loop exits cleanly when no NATS
URL is configured instead of spinning on reconnect.

Deployed and verified on laptop-4090: healthy true, dns 7/7, local 5/5,
upstream 2/2, nats connected. First run immediately caught a dead
'supabase-postgrest' probe target in the n8n compose defaults.

Registry: node_affinity corrected from [kvm4-1, kvm2, jetson] to
[z890, laptop-4090] - the entry described itself as deployed on z890 while
claiming three nodes it has never run on.
@coderabbitai

coderabbitai Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are limited based on label configuration.

🏷️ Required labels (at least one): 1

  • coderabbit

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-19T20:19:25.658812Z d765170 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions github-actions Bot added compose Compose files / service Dockerfiles services Service source under pmoves/services/ config pmoves/config(s)/ changes labels Nov 19, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Docker Hardening Validation

Hardening Validation Report

Validated: Thu Nov 19 20:19:20 UTC 2026

Services Checked

PMOVES.AI compose hardening ratchet

[INFO] Checking: /home/runner/work/PMOVES.AI/PMOVES.AI/pmoves/docker-compose.hardened.yml
[INFO] Merged onto (base-first):
/home/runner/work/PMOVES.AI/PMOVES.AI/pmoves/docker-compose.yml
/home/runner/work/PMOVES.AI/PMOVES.AI/pmoves/docker-compose.comfyui.yml
/home/runner/work/PMOVES.AI/PMOVES.AI/pmoves/docker-compose.ultimate-tts-studio.yml
/home/runner/work/PMOVES.AI/PMOVES.AI/pmoves/docker-compose.archon.submodule.yml
/home/runner/work/PMOVES.AI/PMOVES.AI/pmoves/docker-compose.apps.yml
/home/runner/work/PMOVES.AI/PMOVES.AI/pmoves/docker-compose.activepieces.yml

[INFO] Validating: agent-zero
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: archon
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: channel-monitor
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: comfy-watcher
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: deepresearch
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: extract-worker
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: ffmpeg-whisper
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: grayjay-plugin-host
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: hi-rag-gateway-gpu
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: hi-rag-gateway-v2
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: hi-rag-gateway-v2-gpu
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: invidious-companion-proxy
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: jellyfin-bridge
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: langextract
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: media-audio
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: media-video
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: mesh-agent
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: nats-echo-req
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: nats-echo-res
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: notebook-sync
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: p7-room-orchestrator
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: pdf-ingest
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: pmoves-yt
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: presign
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: publisher-discord
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: render-webhook
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: retrieval-eval
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: supaserch
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

===================================
Summary: 28 services x 5 properties = 140 evaluated; 140 passed + 0 findings = 140
Findings: 0 (0 baselined, 0 new)

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d765170b03

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread pmoves/docker-compose.yml Resolved
Comment thread pmoves/docker-compose.z890.yml Resolved
Comment thread pmoves/services/container-agent/app.py Resolved
Comment thread pmoves/services/container-agent/app.py Resolved
POWERFULMOVES and others added 3 commits November 19, 2026 16:51
…efore /analyze, OpenAI-compatible endpoint, profile-gate the 8111 binding, no unregistered Z890_NATS_URL

- /analyze serialised the diagnostic report verbatim, including NATS_URL userinfo,
  into a request to Ollama Cloud. _redact() strips user:password@ from every string.
- The documented OLLAMA_CLOUD_BASE_URL (https://ollama.com/v1) is OpenAI-compatible:
  post to /chat/completions and read choices[0]; a bare host keeps native /api/chat.
- container-agent in docker-compose.yml bound 127.0.0.1:8111 unconditionally while
  gateway-agent (profiles: [agents]) binds 8111 too. Gate it behind
  profiles: [container-agent]; collision note updated (mutually exclusive by profile).
- docker-compose.z890.yml: drop NATS_URL=${Z890_NATS_URL:-}. It overrode env.z890 with
  an empty value on existing installs and introduced an unregistered secret label.
  NATS_URL now comes from env_file only; the plaintext credential stays out of source.
- Split overlays regenerated (compose-split).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ry ratchet), register core/monolith compose files

Taken under Known Road compose:pr:3490.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@POWERFULMOVES

Copy link
Copy Markdown
Owner Author

Damage-control disclosure (4090-Claude, 2026-11-19). Some compose edits in this PR were made by a Python script in a non-project clone (C:\dev\PMOVES.AI). That is an opaque write that the PreToolUse guard does not see, and it is the class effect_check.py exists for. They should have been taken under Known Road compose:pr:<this PR>. The content is listed in the commit messages and was verified (compose-split-check and the port-registry ratchet pass); the route was wrong. Later compose edits on #3490 were made under a compose:pr:3490 file grant, which was closed afterwards. Affected here: the container-agent profiles: line in docker-compose.yml and the NATS_URL line in docker-compose.z890.yml (commit before the CONTAINER_AGENT_PORT commit).

@github-actions

Copy link
Copy Markdown
Contributor

Docker Hardening Validation

Hardening Validation Report

Validated: Thu Nov 19 21:54:01 UTC 2026

Services Checked

PMOVES.AI compose hardening ratchet

[INFO] Checking: /home/runner/work/PMOVES.AI/PMOVES.AI/pmoves/docker-compose.hardened.yml
[INFO] Merged onto (base-first):
/home/runner/work/PMOVES.AI/PMOVES.AI/pmoves/docker-compose.yml
/home/runner/work/PMOVES.AI/PMOVES.AI/pmoves/docker-compose.comfyui.yml
/home/runner/work/PMOVES.AI/PMOVES.AI/pmoves/docker-compose.ultimate-tts-studio.yml
/home/runner/work/PMOVES.AI/PMOVES.AI/pmoves/docker-compose.archon.submodule.yml
/home/runner/work/PMOVES.AI/PMOVES.AI/pmoves/docker-compose.apps.yml
/home/runner/work/PMOVES.AI/PMOVES.AI/pmoves/docker-compose.activepieces.yml

[INFO] Validating: agent-zero
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: archon
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: channel-monitor
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: comfy-watcher
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: deepresearch
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: extract-worker
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: ffmpeg-whisper
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: grayjay-plugin-host
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: hi-rag-gateway-gpu
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: hi-rag-gateway-v2
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: hi-rag-gateway-v2-gpu
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: invidious-companion-proxy
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: jellyfin-bridge
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: langextract
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: media-audio
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: media-video
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: mesh-agent
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: nats-echo-req
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: nats-echo-res
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: notebook-sync
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: p7-room-orchestrator
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: pdf-ingest
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: pmoves-yt
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: presign
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: publisher-discord
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: render-webhook
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: retrieval-eval
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: supaserch
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

===================================
Summary: 28 services x 5 properties = 140 evaluated; 140 passed + 0 findings = 140
Findings: 0 (0 baselined, 0 new)

…alidate Compose Files)

Output of scripts/inject_pmoves_networks.py and make compose-split; no hand edits.
Normalises the container-agent block to the file's list indentation.
Taken under Known Road compose:pr:3490.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

Docker Hardening Validation

Hardening Validation Report

Validated: Thu Nov 19 21:58:07 UTC 2026

Services Checked

PMOVES.AI compose hardening ratchet

[INFO] Checking: /home/runner/work/PMOVES.AI/PMOVES.AI/pmoves/docker-compose.hardened.yml
[INFO] Merged onto (base-first):
/home/runner/work/PMOVES.AI/PMOVES.AI/pmoves/docker-compose.yml
/home/runner/work/PMOVES.AI/PMOVES.AI/pmoves/docker-compose.comfyui.yml
/home/runner/work/PMOVES.AI/PMOVES.AI/pmoves/docker-compose.ultimate-tts-studio.yml
/home/runner/work/PMOVES.AI/PMOVES.AI/pmoves/docker-compose.archon.submodule.yml
/home/runner/work/PMOVES.AI/PMOVES.AI/pmoves/docker-compose.apps.yml
/home/runner/work/PMOVES.AI/PMOVES.AI/pmoves/docker-compose.activepieces.yml

[INFO] Validating: agent-zero
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: archon
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: channel-monitor
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: comfy-watcher
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: deepresearch
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: extract-worker
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: ffmpeg-whisper
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: grayjay-plugin-host
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: hi-rag-gateway-gpu
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: hi-rag-gateway-v2
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: hi-rag-gateway-v2-gpu
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: invidious-companion-proxy
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: jellyfin-bridge
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: langextract
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: media-audio
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: media-video
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: mesh-agent
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: nats-echo-req
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: nats-echo-res
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: notebook-sync
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: p7-room-orchestrator
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: pdf-ingest
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: pmoves-yt
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: presign
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: publisher-discord
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: render-webhook
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: retrieval-eval
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: supaserch
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

===================================
Summary: 28 services x 5 properties = 140 evaluated; 140 passed + 0 findings = 140
Findings: 0 (0 baselined, 0 new)

@github-actions

Copy link
Copy Markdown
Contributor

Docker Hardening Validation

Hardening Validation Report

Validated: Thu Nov 19 23:39:34 UTC 2026

Services Checked

PMOVES.AI compose hardening ratchet

[INFO] Checking: /home/runner/work/PMOVES.AI/PMOVES.AI/pmoves/docker-compose.hardened.yml
[INFO] Merged onto (base-first):
/home/runner/work/PMOVES.AI/PMOVES.AI/pmoves/docker-compose.yml
/home/runner/work/PMOVES.AI/PMOVES.AI/pmoves/docker-compose.comfyui.yml
/home/runner/work/PMOVES.AI/PMOVES.AI/pmoves/docker-compose.ultimate-tts-studio.yml
/home/runner/work/PMOVES.AI/PMOVES.AI/pmoves/docker-compose.archon.submodule.yml
/home/runner/work/PMOVES.AI/PMOVES.AI/pmoves/docker-compose.apps.yml
/home/runner/work/PMOVES.AI/PMOVES.AI/pmoves/docker-compose.activepieces.yml

[INFO] Validating: agent-zero
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: archon
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: channel-monitor
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: comfy-watcher
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: deepresearch
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: extract-worker
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: ffmpeg-whisper
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: grayjay-plugin-host
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: hi-rag-gateway-gpu
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: hi-rag-gateway-v2
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: hi-rag-gateway-v2-gpu
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: invidious-companion-proxy
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: jellyfin-bridge
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: langextract
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: media-audio
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: media-video
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: mesh-agent
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: nats-echo-req
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: nats-echo-res
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: notebook-sync
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: p7-room-orchestrator
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: pdf-ingest
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: pmoves-yt
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: presign
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: publisher-discord
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: render-webhook
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: retrieval-eval
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: supaserch
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

===================================
Summary: 28 services x 5 properties = 140 evaluated; 140 passed + 0 findings = 140
Findings: 0 (0 baselined, 0 new)

…egenerate docker matrix, stop quoting the removed NATS credential

- docker-compose.yml container-agent used mapping-form environment; the repo's
  _ComposeFile model (node-registry tests + runbook_drift mutation-kill) accepts
  only the list form. Converted to '- KEY=value'; values unchanged.
- configs/topology/docker_matrix.yaml regenerated (build_docker_matrix.py) for the
  new container-agent service.
- app.py comment quoted the user:password default removed in #3139, tripping
  test_no_hardcoded_nats_credentials. Reworded without the literal.
- Networks wiring + split overlays regenerated.

Local: test_no_hardcoded_nats_credentials + test_node_registry_deployment 10/10,
docker-matrix staleness test 19/19, port ratchet, encoding ratchet,
inject_pmoves_networks --check all pass.
Taken under Known Road compose:pr:3490.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

Docker Hardening Validation

Hardening Validation Report

Validated: Fri Nov 20 00:08:34 UTC 2026

Services Checked

PMOVES.AI compose hardening ratchet

[INFO] Checking: /home/runner/work/PMOVES.AI/PMOVES.AI/pmoves/docker-compose.hardened.yml
[INFO] Merged onto (base-first):
/home/runner/work/PMOVES.AI/PMOVES.AI/pmoves/docker-compose.yml
/home/runner/work/PMOVES.AI/PMOVES.AI/pmoves/docker-compose.comfyui.yml
/home/runner/work/PMOVES.AI/PMOVES.AI/pmoves/docker-compose.ultimate-tts-studio.yml
/home/runner/work/PMOVES.AI/PMOVES.AI/pmoves/docker-compose.archon.submodule.yml
/home/runner/work/PMOVES.AI/PMOVES.AI/pmoves/docker-compose.apps.yml
/home/runner/work/PMOVES.AI/PMOVES.AI/pmoves/docker-compose.activepieces.yml

[INFO] Validating: agent-zero
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: archon
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: channel-monitor
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: comfy-watcher
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: deepresearch
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: extract-worker
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: ffmpeg-whisper
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: grayjay-plugin-host
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: hi-rag-gateway-gpu
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: hi-rag-gateway-v2
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: hi-rag-gateway-v2-gpu
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: invidious-companion-proxy
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: jellyfin-bridge
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: langextract
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: media-audio
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: media-video
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: mesh-agent
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: nats-echo-req
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: nats-echo-res
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: notebook-sync
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: p7-room-orchestrator
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: pdf-ingest
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: pmoves-yt
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: presign
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: publisher-discord
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: render-webhook
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: retrieval-eval
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: supaserch
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

===================================
Summary: 28 services x 5 properties = 140 evaluated; 140 passed + 0 findings = 140
Findings: 0 (0 baselined, 0 new)

@POWERFULMOVES

Copy link
Copy Markdown
Owner Author

Partial verification at 6359703fb (4090-Claude, 2026-11-19). CI fix: list-form environment, regenerated docker matrix, and the removed NATS credential is no longer quoted. Locally: credential gate + node-registry 10/10, docker-matrix 19/19, port and encoding ratchets and networks check pass.

Test plan, item 1 (read-only): docker compose -f docker-compose.yml config gives the same output with and without --profile container-agent: two pre-existing warnings (SUPABASE_URI_ALLOW_LIST, GOOGLE_REFRESH_TOKEN) and a SECRET_KEY interpolation error, both caused by the clean clone having no funnelled env files. The z890 overlay resolves with no warnings. So container-agent adds no new unset variables; the item stays unticked until it is run against funnelled env on a node.

Items 2-3 (rebuild container-agent, recreate n8n/Supabase consumers) are not done. The 4090 has a parked no-recreate rule because of compose drift across three checkouts, so this needs the operator or another node. Leaving this PR unmerged until then.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

compose Compose files / service Dockerfiles config pmoves/config(s)/ changes services Service source under pmoves/services/

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant