# RTL-P2.1390 — tests the pre-commit hook runs on EVERY commit, docs-only included.
#
# Each refuses a defect that a commit can introduce without touching the
# guard's own subject, so no scoped selector (filename, rr-deps cone, test
# dependents) ever picks it, and each landed main red while scoped commits
# stayed green. One pytest node id per line; `#` starts a comment.
# test_hook_always_run_guards_p2_1390 pins that every node here exists.

# (a) a restricted name in any tracked file, plain or obfuscated.
sdk/cli/tests/test_no_personal_project_leaks.py::test_no_restricted_name_in_tracked_files
sdk/cli/tests/test_no_personal_project_leaks.py::test_no_restricted_name_is_tracked_in_this_repo_even_obfuscated

# (b) a CLI leaf that is neither JSON-capable nor classified in the baseline.
sdk/cli/tests/test_json_output_contract_p2765.py::TestJsonContractGuard::test_every_leaf_command_is_json_or_baselined

# (c) an `rr ...` command in schema, hint or help text that does not resolve.
sdk/cli/tests/test_rr_commands_in_hints_resolve_p3_1773.py

# (d) RTL-P2.1648 — the JSON-contract count pins. A commit that adds a --json
# leaf passes (b) but moves the live counts; the pins walk the CLI tree and
# import no staged file, so no dependent selector finds them (RTL-T2.312).
sdk/cli/tests/test_json_output_contract_p2765.py::TestJsonContractGuard::test_live_progress_counts_are_pinned_independently
sdk/cli/tests/test_json_output_contract_p2765.py::TestJsonContractGuard::test_pre_release_summary_surface_reports_live_counts
sdk/cli/tests/test_doctor.py::TestDoctorJson::test_json_surfaces_json_contract_progress

# (e) RTL-P2.1648 — a fixed-window source slice in any sdk/**/tests file. The
# guard scans every test file, so a commit adding one in an unrelated test
# never selects it (RTL-T2.313).
sdk/cli/tests/test_source_function_slice_guard_p3_1841.py::test_no_new_function_slices_in_sdk_tests
