docs(oidc): synchronize null-field RCA and zero-replica blocker across developer and operator docs

This commit is contained in:
victorsteele428 committed 2026-11-23 13:00:55 +00:00
1 parent 0e30331a9c
commit c50c2da1de
8 files changed
+38

No files matched your search

+6
View File
@@ -173,3 +173,9 @@ Run #99 confirmed input `644 UID:GID 0:0`, copied output/image executable and ac
`validate_compose` accepts normalized JSON from Compose `config --format json` and enforces exact synthetic images, five services, private-only network, zero replicas, no ports/volumes/sockets/privileged fields, referenced-only external placeholder secrets and no embedded environment secrets. **In Run #101 it failed with `RUNTIME_BEHAVIOR`** while checking the normalized service dict; offending field/type not logged and cannot yet be assigned to Compose default vs true runtime field.
`negative_cases` contains **25 targeted in-memory mutation checks** that require a specific error class. Run #101's positive failure occurred **before** this function; negative coverage is **NOT EXECUTED**. `workflow_safety` allows only two `docker compose ... config` commands, manual trigger, and proves no Docker lifecycle actions configured; **PASS** in Run #101. `main` prints fixed status codes; no input/credential dumps, DNS, runtime containers or external contacts. A01 may diagnose/reconcile Compose normalized inert keys only with separate approval.
## P05-OIDC-08-A01 — changed validator-only function semantics
`tests/ci/production_contract/validate.py::diagnose_normalized_runtime_fields` is NEW: only five known service IDs and four predefined fields (`build`, `command`, `entrypoint`, `configs`) with a category such as `NULL`/`EMPTY_LIST`/`NONEMPTY_LIST` are printed; no untrusted key/value, environment, full Compose JSON or secret. Run #102 observed null `command` + null `entrypoint` on every service. `validate_compose` now allows only inert normalized `command=None`, `entrypoint=None`, `configs=None/[]`; still rejects `build` of any kind, non-null executable override and nonempty configs, with exact other port/image/secret/privilege/zero-replica checks preserved.
`negative_cases` preserves original 25 security fixtures and adds four targeted `NONEMPTY_COMMAND`, `NONEMPTY_ENTRYPOINT`, `BUILD_CONTEXT`, `NONEMPTY_CONFIGS` rejects plus a safe inert-null acceptance fixture. **None of these 29 negative checks ran in Run #102**, because `validate_compose` hit `DEPLOY_DISABLED` first. No claim of their acceptance. Safe next diagnostic should inspect only type/category of normalized deploy/replicas and preserve nonzero prohibition, without altering YAML/workflow. See `notes/P05-OIDC-08-A01.md`.