nightly-tests: read quoted flow keys, and state the signer-environment prerequisite

The trust-closure flow-mapping reader split its masked copy, so a quoted key (`{"environment":
release}`, `{'uses': ...}`) became `''` and the scan accepted a route it must refuse. It now splits
the original bracket-free mapping and keeps the mask only for the shape check. New cases cover a
double- and single-quoted `environment` key, a quoted `uses` key, and a harmless quoted key that
must still be read rather than masked.

The activation notes and the signer caller said the `release` environment already trusts
`nightly-signer`. It admits only `release` today, so both now state that the environment must
admit `nightly-signer` before the first dispatch.

The Sonar shape test reads the accepted security bound as a Decimal, with a regression case: `5.0000000000000001` must not round to `5.0`. The registry notes no longer call this app's row Linux-only now that #370 carries the Windows and macOS rows.
This commit is contained in:
skylartaylor committed 2026-11-26 03:04:16 +01:00
1 parent d157c3000c
commit 91c7634e7f
4 files changed
+62 -28

No files matched your search

+2 -2
View File
@@ -41,5 +41,5 @@ jobs:
producer_run_id: ${{ inputs.producer_run_id }}
producer_run_attempt: ${{ inputs.producer_run_attempt }}
# No secrets: inherit or raw platform values in this caller. Only the isolated native
# callee job may bind the existing release environment (which trusts release and
# nightly-signer) and export keys in its signing step.
# callee job may bind the release environment and export its keys; that environment must
# admit nightly-signer alongside release before the first dispatch.