3"""Reviewed authority classifications added by the 2026-08 suppression audit.
5The reviewed identities are held in bounded per-subtype helpers so no single
6function exceeds the NASA Power of 10 Rule 4 length cap. ``additional_schema_groups``
7concatenates them in the original order, so the value it returns is unchanged.
10from __future__
import annotations
13def _identities(value: str) -> tuple[str, ...]:
14 """Split one whitespace-separated identity block into exact entries."""
15 return tuple(value.split())
18def _positive_scope_literal_1_p1() -> tuple[str, ...]:
19 """Reviewed positive-scope identities (literal), part 1 of 2."""
22 checks/check_chapter_map_freshness.py:ARTEFACT
23 checks/check_chapter_map_freshness.py:GENERATOR
24 checks/check_chapter_map_freshness.py:SOURCE_PDF
25 checks/check_ci_image_single_builder.py:CAPACITY_HELPER
26 checks/check_ci_image_single_builder.py:DOCKER_RUNNER_DEPLOY
27 checks/check_hil_privilege_boundary.py:CALLER_PATHS
28 checks/check_hil_privilege_boundary.py:HELPER_REL
29 checks/check_hil_privilege_boundary.py:MANIFEST_REL
30 checks/check_hil_privilege_boundary.py:POLICY_TEMPLATE_REL
31 checks/check_hil_privilege_boundary.py:ROLE_ENTRY_REL
32 checks/check_hil_privilege_boundary.py:ROLE_REL
33 checks/check_hil_privilege_boundary.py:WORKFLOW_PATHS
34 checks/check_hil_rig_contract.py:ANSIBLE
35 checks/check_hil_rig_contract.py:BENCH_ANSIBLE
36 checks/check_hil_rig_contract.py:CONTRACT
37 checks/check_hil_rig_contract.py:ETH_SCRIPT
38 checks/check_hil_rig_contract.py:EXAMPLE
39 checks/check_hil_rig_contract.py:GATE
40 checks/check_hil_rig_contract.py:HIL_DOC
41 checks/check_hil_rig_contract.py:HIL_SUITE
42 checks/check_hil_rig_contract.py:PARSER
43 checks/check_hil_rig_contract.py:REMOTE_GDB_ARGS
44 checks/check_hil_rig_contract.py:RIG_ENV
45 checks/check_hook_parity.py:BOOTSTRAP_REQUIREMENTS
46 checks/check_hook_parity.py:CANDIDATE_BOUNDARY_MODULES
47 checks/check_hook_parity.py:MUTATION_HELPER
48 checks/check_hook_parity.py:TRUSTED_MUTATIONS
49 checks/check_shell_just_invocations.py:ROOT_JUSTFILE
50 checks/check_shell_just_invocations.py:WORKSPACE_JUSTFILE
51 checks/hil_cache_repair_rules.py:ENTRYPOINT_POLICY
52 checks/hil_cache_repair_rules.py:SHEBANG_CHECKER
53 checks/hil_convergence_safety_policy.py:AD2_ENTRY
54 checks/hil_convergence_safety_policy.py:AD2_ROLE
55 checks/hil_convergence_safety_policy.py:BASE_WORKFLOW_PATHS
56 checks/hil_convergence_safety_policy.py:BENCH_DEFAULTS
57 checks/hil_convergence_safety_policy.py:BENCH_ENTRY
58 checks/hil_convergence_safety_policy.py:BENCH_GUARD
59 checks/hil_convergence_safety_policy.py:BENCH_ROLE
64def _positive_scope_literal_1_p2() -> tuple[str, ...]:
65 """Reviewed positive-scope identities (literal), part 2 of 2."""
68 checks/hil_convergence_safety_policy.py:C6_ENTRY
69 checks/hil_convergence_safety_policy.py:C6_ROLE
70 checks/hil_convergence_safety_policy.py:DECLARATION
71 checks/hil_convergence_safety_policy.py:DEV_ENTRY
72 checks/hil_convergence_safety_policy.py:DEV_GUARD
73 checks/hil_convergence_safety_policy.py:DEV_HANDLER
74 checks/hil_convergence_safety_policy.py:DEV_IMAGE_LOCK
75 checks/hil_convergence_safety_policy.py:DEV_MAIN
76 checks/hil_convergence_safety_policy.py:DEV_MAIN_ENTRY
77 checks/hil_convergence_safety_policy.py:DEV_ROLE
78 checks/hil_convergence_safety_policy.py:DIRECT_DEPENDENCIES
79 checks/hil_convergence_safety_policy.py:FLEET
80 checks/hil_convergence_safety_policy.py:FLEET_BENCH
81 checks/hil_convergence_safety_policy.py:FLEET_CAPACITY_CLIENT
82 checks/hil_convergence_safety_policy.py:FLEET_MODEL
83 checks/hil_convergence_safety_policy.py:FLEET_PATH_AUTHORITY
84 checks/hil_convergence_safety_policy.py:FLEET_REACH
85 checks/hil_convergence_safety_policy.py:FLEET_RECONCILE
86 checks/hil_convergence_safety_policy.py:FLEET_RECONCILE_ARC_SELFTEST
87 checks/hil_convergence_safety_policy.py:FLEET_RECONCILE_PROCESS
88 checks/hil_convergence_safety_policy.py:FLEET_RUNNER
89 checks/hil_convergence_safety_policy.py:FLEET_RUNNER_MODEL
90 checks/hil_convergence_safety_policy.py:FLEET_WSL
91 checks/hil_convergence_safety_policy.py:FLEET_WSL_STAGE
92 checks/hil_convergence_safety_policy.py:GATE
93 checks/hil_convergence_safety_policy.py:HIL_JUST
94 checks/hil_convergence_safety_policy.py:IDLE_HELPER
95 checks/hil_convergence_safety_policy.py:PLAYBOOKS
96 checks/hil_convergence_safety_policy.py:WORKFLOW
97 checks/hil_convergence_safety_v9.py:DEV_DIR
98 checks/hil_convergence_safety_v9.py:HIL_LIB
99 checks/markdown_reference_policy.py:AUTHORED_VENDOR_INDEXES
100 checks/markdown_reference_policy.py:QUALIFICATION_RELEASE_SOURCES
101 checks/markdown_reference_policy.py:REPO_PREFIXES
102 checks/markdown_reference_policy.py:TOOL_PRIVATE_OWNERSHIP_INDEXES
103 checks/markdown_reference_policy.py:TOOL_PRIVATE_VENDOR_SOURCES
108def _positive_scope_string_leaves_2_p1() -> tuple[str, ...]:
109 """Reviewed positive-scope identities (string-leaves), part 1 of 1."""
112 checks/shell_entrypoint_policy.py:_BASE_SHELL_POLICIES
113 checks/shell_entrypoint_policy_ci.py:CI_POLICY_ROWS
114 checks/shell_entrypoint_policy_hil.py:HIL_POLICY_ROWS
119def _anti_vacuity_floor_literal_3_p1() -> tuple[str, ...]:
120 """Reviewed anti-vacuity-floor identities (literal), part 1 of 1."""
123 checks/check_chapter_map_freshness.py:EXPECTED_CHAPTERS
124 checks/check_third_party_patches.py:MIN_ABBREV
125 checks/check_hil_convergence_safety.py:CONTROLLER_AUTH_ARGC
126 checks/check_hil_convergence_safety.py:EXPECTED_APT_INDEX
127 checks/check_hil_convergence_safety.py:REMOTE_VERIFY_ARGC
128 checks/check_hil_convergence_safety.py:REQUIRED_THAW_CALLS
129 checks/check_hil_privilege_boundary.py:SPAWN_ARGC
130 checks/check_shell_just_invocations.py:MIN_CALLER_FILES
131 checks/check_shell_just_invocations.py:MIN_PROTECTED_SCRIPTS
132 checks/hil_convergence_safety_roles.py:FLEET_PAYLOAD_KEYS
133 checks/hil_convergence_safety_roles.py:LOCAL_AUTH_ARGC
134 checks/hil_convergence_safety_roles.py:REMOTE_VERIFY_ARGC
135 checks/hil_convergence_safety_roles.py:ROLE_PREFIX_LENGTH
136 checks/hil_privileged_helper_selftest.py:EXPECTED_NETWORK_MUTATIONS
137 checks/markdown_reference_policy.py:MIN_FIRST_PARTY_MARKDOWN
138 checks/markdown_reference_policy.py:MIN_LINK_REFERENCES
139 checks/markdown_reference_policy.py:MIN_PATH_REFERENCES
140 checks/markdown_reference_policy.py:MIN_TRACKED_MARKDOWN
141 checks/markdown_reference_policy.py:MIN_VENDOR_MARKDOWN
146def _allowed_token_literal_4_p1() -> tuple[str, ...]:
147 """Reviewed allowed-token identities (literal), part 1 of 1."""
150 checks/check_hil_rig_contract.py:FIELDS
151 checks/check_justfiles.py:CI_SH_CALL_RE
152 checks/check_justfiles.py:CI_SH_SWITCHES
153 checks/check_justfiles.py:CI_SH_VALUE_OPTIONS
154 checks/check_justfiles.py:NATIVE_FAST_COMMAND
155 checks/check_justfiles.py:NATIVE_FAST_RECIPE_RE
156 checks/check_python_lock_policy.py:INTERPRETER_IMPORT_ROOTS
157 checks/runner_image_cleanup_policy.py:MANAGED_IMAGE_KIND
158 checks/runner_image_cleanup_policy.py:MANAGED_IMAGE_LABEL
159 checks/check_shell_just_invocations.py:PROTECTED_REASON
160 checks/check_shell_just_invocations.py:PROTECTED_SHEBANG
161 checks/markdown_reference_policy.py:COMPONENT_RELATIVE_PREFIXES
162 checks/markdown_reference_policy.py:DECLARED_BARE_CODE_FILES
163 checks/markdown_reference_policy.py:ROOT_FILE_TOKENS
164 checks/markdown_reference_policy.py:SYSTEM_HEADER_BASENAMES
165 checks/shell_entrypoint_policy.py:PORTABLE_SHEBANG
166 checks/shell_entrypoint_policy.py:PORTABLE_SH_SHEBANG
167 checks/shell_entrypoint_policy.py:PRIVILEGED_REASON
168 checks/shell_entrypoint_policy.py:PRIVILEGED_SHEBANG
173def _suppression_control_plane_literal_5_p1() -> tuple[str, ...]:
174 """Reviewed suppression-control-plane identities (literal), part 1 of 1."""
177 checks/check_hil_privilege_boundary.py:EXACT_POLICY_TEMPLATE
178 checks/check_hil_privilege_boundary.py:LOAD_POLICY_DEAD_NOFOLLOW
179 checks/check_hil_privilege_boundary.py:LOAD_POLICY_NOFOLLOW
180 checks/check_hil_privilege_boundary.py:LOAD_POLICY_PREFIX
181 checks/check_shebangs.py:FAILED_CLEANUP_EXEC
182 checks/check_shebangs.py:FORBIDDEN_REEXEC_TOKENS
183 checks/hil_convergence_safety_roles.py:BENCH_HOLDER_DECISION
184 checks/hil_convergence_safety_roles.py:BENCH_HOLDER_FILE_PROOF
185 checks/suppression_checker_census.py:FIXTURE_OWNER_RELATIVE_PATHS
186 checks/markdown_reference_policy.py:DECLARED_BARE_CONTEXT_SHA256
191def _suppression_control_plane_string_leaves_6_p1() -> tuple[str, ...]:
192 """Reviewed suppression-control-plane identities (string-leaves), part 1 of 1."""
195 checks/check_shebangs.py:PINNED_INTERPRETER_BOUNDARIES
196 checks/check_shebangs.py:PRIVILEGED_BODY_CLOSE
197 checks/check_shebangs.py:PRIVILEGED_BODY_OPEN
198 checks/check_shebangs.py:PRIVILEGED_BODY_PREFIX
199 checks/check_shebangs.py:PRIVILEGED_DUAL_BODY_PREFIX
200 checks/check_shell_just_invocations.py:SENSITIVE_BOUNDARY_LINES
201 checks/hil_cache_repair_rules.py:PINNED_CHECKER_OCCURRENCES
202 checks/shell_invocation_references.py:EXACT_REFERENCES
207def _allowed_token_expression_digest_4_p2() -> tuple[str, ...]:
208 """Reviewed allowed-token identities whose exact expression is authenticated."""
211 checks/download_installers_macos.py:ALLOWED_INDIRECT_EXECUTION
216def _suppression_control_plane_expression_digest_6_p2() -> tuple[str, ...]:
217 """Reviewed security expressions whose dependencies are authorities too."""
220 checks/check_shebangs.py:PRIVILEGED_RIG_BODY_PREFIX
221 checks/check_shebangs.py:PRIVILEGED_RUNTIME_VARIANTS
222 checks/download_installers_macos.py:_REEXEC_START
223 checks/download_installers_macos.py:_REEXEC_LINES
224 checks/download_installers_macos.py:_REEXEC_LITERAL
225 checks/download_installers_macos.py:_REEXEC_SOURCE
226 checks/download_installers_macos.py:_REEXEC_WORDS
227 checks/download_installers_macos.py:_REEXEC_RECORD
232def _final_positive_scope_literal_8_p1() -> tuple[str, ...]:
233 """Reviewed final-integration path authorities."""
236 checks/python_lock_policy_uv_execution.py:DEPLOYMENT_CLOSURE_PATHS
237 checks/python_lock_policy_uv_cache_release.py:RELEASE_SELFTEST_PATH
242def _final_positive_scope_string_leaves_8_p2() -> tuple[str, ...]:
243 """Reviewed fixed runtime-root authorities used by the image selftests."""
246 ci/devcontainer_image_selftest_supervisor.py:CANONICAL_TMP
247 ci/devcontainer_image_selftest_supervisor_cases.py:CANONICAL_TMP
252def _final_anti_vacuity_literal_9_p1() -> tuple[str, ...]:
253 """Reviewed final-integration anti-vacuity floors."""
256 checks/python_lock_policy_scan.py:MIN_UV_ARGV_SIZE
257 checks/python_lock_policy_uv_cache_release.py:EXPECTED_PROVISIONER_UV_RUNS
258 checks/python_lock_policy_uv_cache_release.py:EXPECTED_SELFTEST_DISPATCH_CALLS
259 checks/hil_convergence_safety_raw_digest_runtime.py:_FAILURE_ATTEMPTS
264def _final_control_plane_string_leaves_10_p1() -> tuple[str, ...]:
265 """Reviewed exact argv and digest authorities from the final UV policy."""
268 checks/python_lock_policy_scan.py:HIL_UV_AUTH_ARGV
269 checks/python_lock_policy_scan.py:HIL_UV_PROBE_ARGV
270 checks/python_lock_policy_scan.py:HIL_UV_SYNC_ARGV
271 checks/python_lock_policy_uv_cache.py:BOOTSTRAP_MODULE_SHA256
272 checks/python_lock_policy_uv_cache.py:MODE_TEST_MODULE_SHA256
273 checks/python_lock_policy_uv_cache.py:PORTABLE_REGISTRY_DIGEST
274 checks/python_lock_policy_uv_cache.py:MODE_EXECUTION_REGISTRY_DIGEST
275 checks/python_lock_policy_uv_execution.py:EXEC_MODULE_SHA256
276 checks/python_lock_policy_uv_execution.py:RUNNER_MODULE_SHA256
277 checks/shell_invocation_policy.py:RELEASE_LOADER_NAME
278 checks/shell_invocation_policy.py:RELEASE_LOADER_MAIN_REL
279 checks/shell_invocation_policy.py:RELEASE_LOADER_MAIN_LOGICAL
280 checks/shell_invocation_policy.py:RELEASE_LOADER_FIXTURE_REL
281 checks/shell_invocation_policy.py:RELEASE_LOADER_FIXTURE_LOGICAL
286def _final_control_plane_expression_digest_10_p2() -> tuple[str, ...]:
287 """Reviewed exact semantic-contract expressions from the final UV policy."""
290 checks/check_devcontainer.py:EXPECTED_UV_RUN_BLOCK
291 checks/python_lock_policy_uv_execution.py:EXEC_EXACT_BODIES
292 checks/python_lock_policy_uv_execution.py:EXEC_EXACT_FUNCTION_DIGESTS
293 checks/python_lock_policy_uv_execution.py:EXEC_EXACT_ASSIGNMENTS
294 checks/python_lock_policy_uv_execution.py:EXEC_CALL_CONTRACTS
295 checks/python_lock_policy_uv_cache_release_contracts.py:PYTHON_BYTECODE_NEGATIVE_CONTROL_CONTRACT
296 checks/python_lock_policy_uv_cache_release_contracts.py:PYTHON_SELFTEST_TMP_CONTRACTS
297 checks/python_lock_policy_uv_cache_release_contracts.py:PYTHON_NO_BYTECODE_RESIDUE_CONTRACT
298 checks/shell_invocation_policy.py:RELEASE_LOADER_GRAMMARS
303def _final_security_raw_byte_literal_10_p3() -> tuple[str, ...]:
304 """Return reviewed raw-byte and fixed-executable security authorities."""
307 checks/hil_convergence_safety_image_lock_digest.py:DEVCONTAINER_IMAGE_PATH
308 checks/hil_convergence_safety_image_lock_digest.py:DEVCONTAINER_IMAGE_RAW_SHA256
309 checks/hil_convergence_safety_image_lock_digest.py:DEVCONTAINER_IMAGE_LOCK_RECEIPTS_PATH
310 checks/hil_convergence_safety_image_lock_digest.py:DEVCONTAINER_IMAGE_LOCK_RECEIPTS_RAW_SHA256
311 checks/hil_convergence_safety_image_lock_digest.py:DEVCONTAINER_IMAGE_LOCK_SELFTEST_PATH
312 checks/hil_convergence_safety_image_lock_digest.py:DEVCONTAINER_IMAGE_LOCK_SELFTEST_RAW_SHA256
313 checks/hil_convergence_safety_image_lock_digest.py:DEVCONTAINER_IMAGE_SELFTEST_PATH
314 checks/hil_convergence_safety_image_lock_digest.py:DEVCONTAINER_IMAGE_SELFTEST_RAW_SHA256
315 checks/hil_convergence_safety_image_lock_digest.py:DEVCONTAINER_IMAGE_BOUND_EXIT_SELFTEST_PATH
316 checks/hil_convergence_safety_image_lock_digest.py:DEVCONTAINER_IMAGE_BOUND_EXIT_SELFTEST_RAW_SHA256
317 checks/hil_convergence_safety_image_lock_digest.py:DEVCONTAINER_IMAGE_SELFTEST_CASES_PATH
318 checks/hil_convergence_safety_image_lock_digest.py:DEVCONTAINER_IMAGE_SELFTEST_CASES_RAW_SHA256
319 checks/hil_convergence_safety_image_lock_digest.py:DEVCONTAINER_IMAGE_SIGNAL_SELFTEST_PATH
320 checks/hil_convergence_safety_image_lock_digest.py:DEVCONTAINER_IMAGE_SIGNAL_SELFTEST_RAW_SHA256
321 checks/hil_convergence_safety_image_lock_digest.py:DEVCONTAINER_IMAGE_SELFTEST_PROCESS_PATH
322 checks/hil_convergence_safety_image_lock_digest.py:DEVCONTAINER_IMAGE_SELFTEST_PROCESS_RAW_SHA256
323 checks/hil_convergence_safety_image_lock_digest.py:DEVCONTAINER_IMAGE_SELFTEST_SUPERVISOR_PATH
324 checks/hil_convergence_safety_image_lock_digest.py:DEVCONTAINER_IMAGE_SELFTEST_SUPERVISOR_RAW_SHA256
325 checks/hil_convergence_safety_image_lock_digest.py:DEVCONTAINER_IMAGE_SELFTEST_SUPERVISOR_CASES_PATH
326 checks/hil_convergence_safety_image_lock_digest.py:DEVCONTAINER_IMAGE_SELFTEST_SUPERVISOR_CASES_RAW_SHA256
327 checks/hil_convergence_safety_image_lock_digest.py:_DIRECTORY_MODE
328 checks/hil_convergence_safety_image_lock_digest.py:_ROOT_MODE_REQUIRED
329 checks/hil_convergence_safety_image_lock_digest.py:_ROOT_MODE_ALLOWED
330 checks/hil_convergence_safety_image_lock_digest.py:_EXECUTABLE_MODE
331 checks/hil_convergence_safety_image_lock_digest.py:_SOURCE_MODE
332 checks/hil_convergence_safety_image_lock_digest.py:_MAX_AUTHORITY_BYTES
333 checks/hil_convergence_safety_image_lock_digest.py:_READ_STEP_BYTES
334 checks/hil_convergence_safety_image_lock_digest.py:_FORBIDDEN_RELATIVE_PARTS
335 checks/hil_convergence_safety_image_lock_digest.py:_FIXED_PATH_BY_PIN
336 checks/hil_convergence_safety_image_lock_digest.py:RAW_DIGEST_CONTROLS_PATH
337 checks/hil_convergence_safety_image_lock_digest.py:RAW_DIGEST_CONTROLS_RAW_SHA256
338 ci/devcontainer_image_selftest_supervisor.py:CASES_RAW_SHA256
339 ci/devcontainer_image_selftest_supervisor.py:PROCESS_RAW_SHA256
340 checks/hil_convergence_safety_runtime_launcher.py:PYTHON_INTERPRETER
345def _vendor_exemption_literal_7_p1() -> tuple[str, ...]:
346 """Reviewed vendor-exemption identities (literal), part 1 of 1."""
349 checks/markdown_reference_policy.py:LIBWEBP_ABSENCE_CLAUSE
350 checks/markdown_reference_policy.py:SOUP_DECLARED_ABSENCES
351 checks/markdown_reference_policy.py:VENDOR_PREFIXES
356def _regex_exclusion_literal_8_p1() -> tuple[str, ...]:
357 """Reviewed regex-exclusion identities (literal), part 1 of 1."""
360 checks/markdown_reference_policy.py:TOOL_PRIVATE_CLAUSE_PATTERNS
365def _known_gap_literal_9_p1() -> tuple[str, ...]:
366 """Reviewed known-gap identities (literal), part 1 of 1."""
369 checks/markdown_reference_policy.py:WORK_FIXTURE_PATH
374def _base_review_schema_groups() -> tuple[tuple[str, str, tuple[str, ...]], ...]:
375 """Return the base suppression-audit schema groups in reviewed order."""
380 _positive_scope_literal_1_p1() + _positive_scope_literal_1_p2(),
385 _positive_scope_string_leaves_2_p1(),
388 "anti-vacuity-floor",
390 _anti_vacuity_floor_literal_3_p1(),
395 _allowed_token_literal_4_p1(),
400 _allowed_token_expression_digest_4_p2(),
403 "suppression-control-plane",
405 _suppression_control_plane_literal_5_p1(),
408 "suppression-control-plane",
410 _suppression_control_plane_string_leaves_6_p1(),
413 "suppression-control-plane",
415 _suppression_control_plane_expression_digest_6_p2(),
420def _final_review_schema_groups() -> tuple[tuple[str, str, tuple[str, ...]], ...]:
421 """Return the final-integration schema groups in reviewed order."""
426 _final_positive_scope_literal_8_p1(),
431 _final_positive_scope_string_leaves_8_p2(),
434 "anti-vacuity-floor",
436 _final_anti_vacuity_literal_9_p1(),
439 "suppression-control-plane",
441 _final_control_plane_string_leaves_10_p1(),
444 "suppression-control-plane",
446 _final_control_plane_expression_digest_10_p2(),
449 "suppression-control-plane",
451 _final_security_raw_byte_literal_10_p3(),
456 _vendor_exemption_literal_7_p1(),
461 _regex_exclusion_literal_8_p1(),
466 _known_gap_literal_9_p1(),
471def additional_schema_groups() -> tuple[tuple[str, str, tuple[str, ...]], ...]:
472 """Return newly reviewed authority identities grouped by semantics."""
473 return _base_review_schema_groups() + _final_review_schema_groups()