FLT-394 Phase A: council-proxy decision and binding conditions (2026-11-05)¶
Decision: APPROVE PHASE A, 5/5. - Approve: CedricFocus, Jenny, Susie Franny. - Approve with conditions: Gronktayvius general, Gronktayvius red team.
Andrew is AFK, so this is a council-proxy decision, per the Master Orchestrator's instruction. Phase B stays gated on fresh SecurityThreatVeto and DesignCriticAndReadiness passes on plan v4. Raw seat outputs are in scratchpad/proxy31/. The plan is FLT-394-parser-redesign-plan-v3.1.md.
The conditions below amend v3.1 Phase A and must all be in the capture before it runs.
C1. Daemon pin uses local metadata, not a dial¶
Before any call that contacts the daemon:
- Read the endpoint from the local context store (docker context inspect reads metadata only).
- Abort with exit 2 unless it is exactly the recorded Docker Desktop Linux npipe.
- Then set DOCKER_HOST to that npipe for every later call.
- Clear DOCKER_CONTEXT. Leave DOCKER_TLS_VERIFY alone; don't force it off.
C2. Nothing privileged ever runs¶
These containers are docker create only, never started:
- the privileged container;
- any container with cap_add, a device, or a non-default pid/ipc.
Rules for them and for everything else:
- That container has network_mode: none and no ports key.
- Its one device is /dev/null or a node the script creates in its temp dir.
- entrypoint is forced to sleep on every service, so the image ENTRYPOINT never runs.
- No container sets network_mode, pid, ipc or userns_mode to host.
C3. Only loopback publishes run¶
- Started services are the unprivileged
sleepreplicas. They publish only on127.0.0.1, on ports checked free first. - These are all-interface binds and stay on never-started
docker createcontainers: - short-form
ports: ["8080"]; - UDP;
- the range (two ports);
- explicit
0.0.0.0; - any
::. - Configured
HostConfig.PortBindingsstill answer the receipt questions.
C4. Interpolation and env isolation¶
- The fixture's
${...}healthcheck uses${FLT394_SENTINEL_<random>}. The script binds it tosentinel-secret-valuein a scrubbed child environment. - No
.envsits next to the fixture. Pass an explicit empty--env-file. - The real manifests:
- Copy ONLY the three compose YAML files into an empty temp dir, and run
docker compose config --no-interpolatethere. - Never follow
env_file,include,extendsor external secrets. Record their presence as a boolean. - Refuse any target that resolves outside that dir.
C5. Engine payloads never leave the streaming PC¶
- The remote script writes
RECEIPT.mdplus the fixtures, and prints ONE fixed pass/fail line. - On any reducer or allowlist failure, it prints a static error code, discards the payload, and exits nonzero.
- stdout and stderr both pass through the same allowlist before anything is printed. PowerShell error records are caught and replaced by static codes.
C6. Project pin and run-id sweep¶
- Every compose command uses
-p flt394-fixture. - The pre-start abort also trips if a container name this run would assign already exists.
up -dandrun -dare detached, and the one-off id is recorded.- In
finally, delete containers, volumes and networks by this process'sflt394.run-idlabel, which catches objects missing from the id list. Never delete by the project label. - After cleanup, any leftover object with that run-id or project label is a hard nonzero failure.
C7. Gitleaks scans the fixture bodies¶
- No path allowlist covers fixtures.
- Permit only the literal
sentinel-secret-value, plus 64-hex ids and digests, and those only if the pinned ruleset flags them. - Positive control: a planted fake AWS key inside a COPY of a fixture file must fail the scan.
- Before
git add, a value allowlist rejects any string in a committed fixture orRECEIPT.mdthat is not one of: - the sentinel;
- booleans or numbers;
- known enum tokens;
- Docker ids or digests;
- the
REDACTED_HOST_PATHplaceholder. - User-profile paths are rewritten to that placeholder before the check.
C8. Small items¶
- Each
psrow's JSON object is built with Go'sjsonencoder, so a quote in a name can't break the row. - The receipt carries named booleans for:
- each HostIp class;
- each
$case; .Idvs.ID;- whether both dual-stack sides were seen.
Deferred to v4 (record only; not Phase A blockers)¶
- Skip-allowlist: freeze the compose skip-allowlist disjoint from privilege, namespace, mount, network, logging and credential keys; any key in those classes exits 2.
- HostIp: freeze the HostIp classes from the receipt, and apply the dual-any collapse on both sides.
- Restart:
on-failurevson-failure:3must compareMaximumRetryCount[R]. - Nullability:
T? = nullconflicts with "explicit null throws". Settle it after receipt Q7. - Env names: either compare env NAMES as a set, or declare env out of scope.
- Duplicate targets: two volume declarations on the same target exit 2, like tmpfs.
- Bind prefix: the table must match the recorded Desktop spellings, including case,
\\?\and/run/desktop. - Healthcheck digests: keep them out of tickets and archived logs. Low-entropy arguments can be guessed from the hex.
- Sentinel test: point the sentinel reflection test at the real ProcessRunner, not a stub.
- Port ranges: if the receipt shows ranges in the real manifests, v4 needs the range rule in the same change, not a standing exit 2.
- CVE check: the CVE/advisory check on the pinned versions is a receipt item.