Repository navigation
test: fold same-file twin test bodies into parametrized tests - #24626
Conversation
UX Review (Opus 5.5) — ⏭️ skippedRevision |
First Principles Review (Opus 5.5) — ⏭️ skippedRevision |
Design Review (Opus 5.5) — ✅ PASSDesign-level review of Design-Verdict: PASS Nothing blocks: the change only touches tests, a revert undoes it cleanly, and nothing outside the patch reads a renamed test except the doc this PR updates. Notes
[DESIGN-REVIEWED] 967e57e Description read[DESCRIPTION-READ] e4bb005a7122cbaa4e5eb79806c65f7aeceae24a9c0a0bf0f2d8f286babbe3a2 That sha256 names everything this verdict read: the PR description, plus the 1 evidence file(s) the workflow collected from it and handed this review. It covers that evidence because the media strip replaces every attachment URL with the same placeholder, so an edit swapping one attachment for another would leave the description's captured text identical while what this review judged changed. Recompute it with |
GPT 6.1 Review — ✅ no blocking findingsGPT 6.1 completed its review of This comment is updated in place on each push. Review detailsNo findings. False positive or not applicable? A repository writer can comment: |
Opus 5.5 Review — ✅ no blocking findingsReviewed Verdict parsed from the review's SHA-scoped output markers for commit False positive or not applicable? A repository writer can comment: |
|
CI disposition: Backend Tests (Windows) (6) is red because of main, not this PR. The failures are in |
Sixty-one groups of tests in one file share a body word for word and differ only in parametrize data. Each group becomes one parametrized test; named_cases keeps every case and ids it <old name>-<old param id>, so all 899 changed ids map one to one and keep their marks. Duplicate body groups drop from 286 to 225.
8ca6b53 to
967e57e
Compare
|
Rebased onto main |
Problem / Motivation
Goal: Fold same-file test functions whose bodies are identical into one parametrized test each, so
scripts/find_duplicate_test_bodies.pydrops from 286 to 225 groups with every case still collected and checked.Sixty-one groups of tests in the same file share one body word for word; each copy only feeds the body different parametrize data (or none). They read as separate behaviours but are one check, and every new copy makes the suite longer to read and easier to let drift.
Why it matters
Duplicate bodies hide which behaviour a file really checks and multiply the edit when that check changes. This is batch 1 of the twin-body cleanup (target: 170 or fewer groups); it takes the safest groups first, those whose copies live in the same file and read the same data.
Not a goal
src/kiro_crew.What changed (motivation → approach → change)
Duplicate body → the copies differ only in data → one test per group whose parametrize list is the concatenation of the copies' lists.
test/named_cases_helpers.pyaddsnamed_cases(old_name, argnames, argvalues, ids=, marks=). It turns one former test's parametrize arguments intopytest.paramentries whose id is<old test name>-<old param id>. The old param id is rebuilt the way pytest builds it (explicitpytest.param(id=), thenids=, then the value, then<argname><index>with the index inside the old list), so the part after the name is the id the case had before. A former test that was not parametrized becomes one case whose id is its name.selfattribute, class fixture or autouse fixture that differs).test_qualified_model_ids.py::TestSchemas: the two copies with stacked parametrize were merged on the innernamelist only; the sharedSCHEMASouter parametrize is unchanged.docs/system-specs/modules/claude-code-provider.mdnames the renamedTestModelRegistrypin.How groups were classified (all 286 groups, origin/main): for every name a body reads, the script followed its binding through module constants, helpers, fixtures (including fixtures of fixtures), class attributes and class fixtures in each file. A group whose copies resolve any of those to different code or data is a look-alike and is not touched.
test_ratchet_scope.py::test_the_fixture_ignores_ambient_git_statelooked like a twin but callsrequest.getfixturevalue("repo"), which resolves to a different class fixture in each class, so it was reclassified as a look-alike and left alone.Backwards compatibility
Compatible: test-only change; every collected case still runs with the same marks.
Reader: docs/system-specs/modules/claude-code-provider.md:TestModelRegistry pin -- release -- updated to
test_the_claude_code_default_is_canonicalin this PRReader: test/windows-expected-failures.txt:node ids -- release -- lists none of the 49 touched files, so no entry changes
Reader: setup.cfg and .github/*:deselects and baselines -- release -- no deselect, ratchet baseline or workflow names a renamed test (
git grep -wover every old name outside its own file found only the doc above)Tests
Proof: not provable -- test-only change
Evidence on the 49 touched test files plus
test_ratchet_scope.py(untouched), base = merge-base5285bc2878be:path::[Class::]old_name[p]→path::[Class::]new_name[old_name-p], and an unparametrizedold_name→new_name[old_name]. The script that checked this found 0 unmapped and 0 extra ids.skipif,xfail,asyncio,xdist_group,usefixturesand the rest, with their arguments). For all 4,892 ids, old id vs mapped new id: 0 differences. No touched file appears intest/windows-expected-failures.txt.-n 4(KIROCREW_PROFILE=standalone): 4,890 passed and 2 skipped each time. The base gives the same 2 skips.kiro_crew, union of 2 runs per side: lines 133,750 base vs 133,753 head, 0 lost. Branches 12,413 vs 12,417, 0 lost._is_safe_repo_identifieralways returnTruefails all 13 cases of the mergedtest_rejects_an_unsafe_repo_identifier, the cases of its four former tests.scripts/find_duplicate_test_bodies.py): 286 → 225. Tests in groups: 771 → 629.check_comment_history,check_brand_name,check_file_line_cap,check_subprocess_encoding,test_flake_pattern_ratchet.py,test_wait_discipline_ratchet.py,test_file_line_cap.py, plus the related tests the scoped runner names and the test-tree meta tests (test_conftest_parts_reach,test_ci_surface_tests,test_leaf_test_scope,test_cwd_relative_repo_reads_gate,test_git_maintenance_ratchet): all green.No timed waits, caplog reads or shared state were added. The merged bodies are the original bodies.
Manual verification
N/A — unit coverage sufficient: test-only refactor, verified by the id, mark and coverage comparisons above.
Related Issues
N/A
Checklist
feat|fix|docs|style|refactor|perf|test|chore|ci|build|revert: ...)Contribution License Agreement
Contributions are accepted under the project's Apache-2.0 license.
Old test → new test, per group (61 groups)
test/test_session_markdown.pytest_gpt_2_completed_blocks_and_empty_items_set_fence_ownershiptest_list_exit_edges_found_by_differential_fuzzingtest_gpt_10_a_hyphen_setext_underline_ends_the_paragraphtest_gpt_11_an_empty_list_item_opens_no_paragraphtest_gpt_12_a_lazy_quote_continuation_opens_no_top_level_paragraphtest_gpt_15_container_edge_cases_are_decided_by_the_parsertest_a_later_heading_stays_structural_after_the_blocktest/test_lesson_write_outcome.pyTestVolatileLessonWriteBoundary::test_selected_or_session_identity_is_refused_in_knowledgeTestVolatileLessonWriteBoundary::test_sentence_boundary_behavioral_pin_cannot_bypass_through_knowledgeTestVolatileLessonWriteBoundary::test_prefixed_direct_imperative_cannot_bypass_through_knowledgeTestDurableModelVersionReferences::test_model_identity_controls_are_refusedTestVolatileLessonWriteBoundary::test_a_volatile_model_identity_is_refused_in_knowledgetest/test_link_unfurl_vet_and_extraction.pytest_vet_rejects_blocked_suffixestest_vet_rejects_internal_ipv4_literalstest_vet_rejects_internal_ipv6_literalstest_vet_rejects_multicast_despite_is_globaltest_vet_rejects_an_internal_or_blocked_hosttest/test_qualified_model_ids.pyTestGrammar::test_a_segment_must_start_alphanumericTestGrammar::test_no_segment_is_emptyTestGrammar::test_a_colon_is_only_a_trailing_tag_of_a_qualified_idTestGrammar::test_the_charset_is_closedTestGrammar::test_a_malformed_name_does_not_matchtest/test_registries_api.pyTestIsSafeRepoIdentifier::test_accepts_valid_ssh_urlsTestIsSafeRepoIdentifier::test_accepts_valid_https_urlsTestIsSafeRepoIdentifier::test_accepts_valid_scp_urlsTestIsSafeRepoIdentifier::test_accepts_bare_namesTestIsSafeRepoIdentifier::test_accepts_a_valid_repo_identifiertest/test_registries_api.pyTestIsSafeRepoIdentifier::test_rejects_http_plaintextTestIsSafeRepoIdentifier::test_rejects_path_traversalTestIsSafeRepoIdentifier::test_rejects_shell_metacharactersTestIsSafeRepoIdentifier::test_rejects_ambiguous_formsTestIsSafeRepoIdentifier::test_rejects_an_unsafe_repo_identifiertest/test_validation.pyTestFilePathShape::test_accepts_posix_absoluteTestFilePathShape::test_accepts_urlreserved_and_punctuationTestFilePathShape::test_accepts_shell_metacharactersTestFilePathShape::test_accepts_windows_absoluteTestFilePathShape::test_accepts_a_file_path_shapetest/test_artifact_tags.pyTestNormalizeTag::test_control_format_and_whitespace_characters_are_rejectedTestNormalizeTag::test_symbols_and_other_punctuation_are_rejectedTestNormalizeTag::test_enclosing_marks_are_rejectedTestNormalizeTag::test_a_disallowed_character_is_rejectedtest/test_session_markdown.pytest_fence_closer_and_indent_rulestest_an_info_string_opens_where_the_fence_kind_allows_ittest_html_comment_and_fence_interplaytest_the_unterminated_block_closer_is_reportedtest/test_slugs.pyTestRefusedSlugChar::test_names_the_first_character_the_slug_cannot_holdTestRefusedSlugChar::test_reports_the_character_as_typed_before_lowercasingTestRefusedSlugChar::test_a_character_that_cannot_stand_alone_is_reported_as_its_code_pointTestRefusedSlugChar::test_reports_the_refused_charactertest/test_tailnet_origin.pyTestValidation::test_rejects_structurally_bad_namesTestValidation::test_rejects_names_outside_the_reported_suffixTestValidation::test_rejects_non_stringsTestValidation::test_rejects_an_invalid_nametest/gui_user/test_x11.pyTestDisplayGuard::test_refuses_real_or_empty_displaysTestDisplayGuard::test_refuses_remote_or_malformed_displaysTestDisplayGuard::test_refuses_a_display_it_must_not_touchtest/test_agent_avatar.pyTestSafeAvatar::test_missing_traits_collapsesTestSafeAvatarGhostReactions::test_bare_ghost_still_collapsesTestSafeAvatar::test_a_bare_ghost_collapsestest/test_agent_slash_command.pytest_a_single_agent_name_is_a_switchTestTelegramAndSlackUnchanged::test_slack_parser_reads_as_beforetest_the_parser_reads_the_agent_switchtest/test_ai_review_workflows_scope_verdict.pyTestPerHeadMonotonicFloor::test_same_repo_new_head_with_no_prior_stays_greenTestPerHeadMonotonicFloor::test_same_repo_a_well_formed_empty_listing_publishes_cleanTestPerHeadMonotonicFloor::test_same_repo_no_prior_or_empty_listing_stays_greentest/test_ai_review_workflows_scope_verdict.pyTestPerHeadMonotonicFloor::test_fork_new_head_with_no_prior_publishes_cleanTestPerHeadMonotonicFloor::test_fork_a_well_formed_empty_listing_publishes_cleanTestPerHeadMonotonicFloor::test_fork_no_prior_or_empty_listing_publishes_cleantest/test_artifact_source.pyTestNonGitProjectsLink::test_unmarked_directory_still_copiesTestClassifySourceProjectWalk::test_no_repo_no_project_is_copyTestNonGitProjectsLink::test_an_unmarked_directory_is_copiedtest/test_artifact_tags.pyTestNormalizeTag::test_letters_marks_and_digits_of_any_script_are_admittedTestNormalizeTag::test_existing_ascii_tags_pass_unchangedTestNormalizeTag::test_an_admitted_tag_passes_unchangedtest/test_auto_research_guards.pyTestRequireAuth::test_returns_401_when_no_userTestRequireAuth::test_rejects_raw_tokenTestRequireAuth::test_a_request_without_a_user_gets_401test/test_aws_control_backup_job.pyTestRunnerResolvesItsTarget::test_an_unreachable_account_fails_without_falling_backTestScheduledPathFallsBackToTheVerifiedProfile::test_the_owner_path_does_not_fall_back_on_an_expired_cacheTestRunnerResolvesItsTarget::test_an_unreachable_account_does_not_fall_backtest/test_channel_blocked_tools.pytest_blocked_tool_matcher_precisiontest_dispatch_verb_matcher_precisiontest_tool_matcher_precisiontest/test_chat_title.pytest_prose_replies_rejectedtest_unspaced_script_prose_rejectedtest_prose_replies_are_rejectedtest/test_chat_title.pytest_real_titles_acceptedtest_unspaced_script_titles_acceptedtest_real_titles_are_acceptedtest/test_chat_title.pytest_skip_with_reason_yields_no_titletest_keep_is_a_control_word_on_the_initial_pathtest_a_control_reply_yields_no_titletest/test_chat_title.pytest_legitimate_titles_survive_the_new_checkstest_short_titles_in_any_script_survive_the_sentence_shapetest_a_legitimate_title_survivestest/test_check_feature_map.pyTestNonFeatures::test_ignored_inside_watched_treesTestNonFeatures::test_outside_watched_treesTestNonFeatures::test_a_non_feature_path_is_not_a_featuretest/test_config_load_pipeline_field_defaults.pyTestAMovedFieldDefaultMovesTheBuild::test_the_build_follows_the_fieldTestAMovedFieldDefaultMovesTheBuild::test_a_value_of_its_own_holds_when_the_default_movesTestAMovedFieldDefaultMovesTheBuild::test_a_moved_default_reads_as_expectedtest/test_crewmate_import_route.pytest_an_entry_outside_the_two_folders_is_refusedtest_the_size_caps_refuse_before_the_rest_is_readtest_a_bad_bundle_is_refusedtest/test_decisions_local_provider.pyTestIsLoopbackEndpoint::test_a_literal_loopback_address_is_localTestIsLoopbackEndpoint::test_the_unspecified_address_dials_this_machine_and_is_localTestIsLoopbackEndpoint::test_a_local_address_is_loopbacktest/test_exfil_outbound_sends_allowed.pyTestOutboundSendsAreNotRefused::test_allowedTestOrdinaryCommandsNeverRefused::test_allowedTestOutboundSendsAreNotRefused::test_the_command_is_allowedtest/test_feedback.pyTestNewUserSessionWindow::test_past_window_but_server_dedup_not_due_stays_not_eligibleTestApiFeedbackEligible::test_not_eligible_when_aperture_returns_null_bodyTestNewUserSessionWindow::test_a_null_aperture_body_is_not_eligibletest/test_find_ui.pytest_seeded_newcomer_words_on_pages_and_settingstest_runtime_labelled_chips_are_found_by_newcomer_wordstest_newcomer_words_find_their_targettest/test_frontmatter.pyTestWrittenValuesStayLoadableYaml::test_a_control_character_is_refusedTestWrittenValuesStayLoadableYaml::test_unspellable_values_are_refused_not_mangledTestWrittenValuesStayLoadableYaml::test_an_unwritable_value_is_refusedtest/test_handlers_mcp_coverage_gateway_servers.pyTestGatewaySetStub::test_validation_matrix_is_400TestGatewaySetStubBatch::test_validation_matrix_is_400TestGatewaySetStub::test_an_invalid_body_is_400test/test_handlers_messaging_coverage_channels.pyTestHelpers::test_is_valid_webex_emailTestHelpers::test_is_valid_webex_email_shape_rulesTestHelpers::test_webex_email_validitytest/test_image_refs_replay_strip.pyTestBarePathPassIsNarrowerThanTheInliner::test_code_and_url_spans_keep_their_textTestBarePathPassKeepsProse::test_prose_keeps_every_wordTestBarePathPassIsNarrowerThanTheInliner::test_the_text_is_kepttest/test_image_refs_replay_strip.pyTestBarePathPassKeepsProse::test_the_reference_inside_prose_is_still_strippedTestBarePathPassKeepsProse::test_a_spaced_path_whose_shape_vouches_for_it_is_strippedTestBarePathPassKeepsProse::test_the_reference_is_strippedtest/test_imessage_client.pyTestOwnEchoLedger::test_resolved_records_are_still_boundedTestOwnEchoLedger::test_the_ledger_is_boundedTestOwnEchoLedger::test_the_echo_ledger_is_boundedtest/test_inline_payload_scoped_regressions.pyTestACallIsJudgedByWhatItResolvesTo::test_every_static_binding_reaches_the_runnerTestACallIsJudgedByWhatItResolvesTo::test_every_static_binding_reaches_the_loaderTestACallIsJudgedByWhatItResolvesTo::test_every_static_binding_is_a_credential_minttest/test_is_interrupted.pyTestInterrupted::test_clean_completion_is_not_interruptedTestCompletedCompaction::test_ordinary_completed_turn_is_finishedTestInterrupted::test_a_completed_turn_is_not_interruptedtest/test_issue_gate_refs.pyTestWhatDoesNotCount::test_unlisted_keywords_do_not_countTestWhatDoesNotCount::test_keyword_must_start_the_trailerTestWhatDoesNotCount::test_the_line_declares_nothingtest/test_kiro_prerequisite.pyTestConfigSetHintsForLauncher::test_a_percent_in_the_path_leaves_only_the_powershell_rowTestConfigSetHintsForLauncher::test_a_bang_in_the_path_leaves_only_the_powershell_rowTestConfigSetHintsForLauncher::test_a_special_character_in_the_path_leaves_only_the_powershell_rowtest/test_mcp_browser_tool.pytest_navigate_classifier_rejects_percent_encoded_hoststest_navigate_classifier_rejects_raw_non_ascii_private_hoststest_navigate_classifier_rejects_a_disguised_private_hosttest/test_mcp_gatewayd_coverage.pyTestReadFirstFrame::test_undecodable_or_invalid_json_returns_noneTestReadFirstFrame::test_non_object_json_is_refusedTestReadFirstFrame::test_a_bad_first_frame_returns_nonetest/test_meetings_store.pyTestSafeMeetingId::test_rejects_unsafeTestSafeMeetingId::test_rejects_non_stringTestSafeMeetingId::test_rejects_an_unsafe_idtest/test_model_registry.pyTestModelRegistry::test_fable_5_not_defaultTestModelRegistry::test_default_canonicalTestModelRegistry::test_the_claude_code_default_is_canonicaltest/test_model_selection_scenarios.pyTestEntitlementPredicate::test_unserved_model_is_unusableTestExplicitPickRefusal::test_unavailable_pick_would_be_flagged_by_the_predicateTestEntitlementPredicate::test_an_unserved_model_is_unusabletest/test_options_marker_label_closers.pyTestAcceptedCosts::test_a_nested_head_is_not_swallowed_into_a_labelTestLookalikeBracketPairsParse::test_a_nested_head_is_still_refusedTestAcceptedCosts::test_a_nested_head_is_refusedtest/test_options_marker_terminator.pyTestAnUnterminatedMarkerDoesNotEatItsLine::test_it_is_refusedTestWhatMustNotHaveChanged::test_every_previously_refused_shape_still_isTestAnUnterminatedMarkerDoesNotEatItsLine::test_the_marker_is_refusedtest/test_papyrus_doc_title.pytest_reads_the_titletest_turns_latex_into_plain_texttest_reads_the_title_as_plain_texttest/test_pinned_fs_descendant.pyTestByNameArm::test_it_yields_none_and_validates_a_clean_chainTestByNameArm::test_a_clean_chain_is_not_refused_negative_controlTestByNameArm::test_a_clean_chain_yields_none_and_validatestest/test_project_scan_models.pyTestIsPruned::test_listed_directories_are_prunedTestIsPruned::test_dot_directories_are_prunedTestIsPruned::test_the_directory_is_prunedtest/test_qualified_model_ids.pyTestGrammar::test_qualified_nested_and_colon_ids_are_acceptedTestGrammar::test_legacy_and_bracket_names_are_unchangedTestGrammar::test_an_accepted_name_matchestest/test_session_markdown.pytest_html_container_exit_leaves_a_later_code_fence_top_leveltest_gpt_6_a_quoted_comment_releases_the_markdown_when_its_quote_endstest_a_later_code_fence_is_top_leveltest/test_sibling_list_check.pytest_well_formed_sections_passtest_documented_forms_passtest_the_section_passestest/test_skill_provider_github.pyTestMaterialisation::test_reserved_device_names_are_refused_at_every_levelTestMaterialisation::test_a_reserved_stem_with_several_extensions_is_still_reservedTestMaterialisation::test_a_reserved_device_name_is_refusedtest/test_skill_provider_http.pyTestIsInternalUrl::test_encoded_internal_is_blockedTestIsInternalUrl::test_plain_internal_is_blockedTestIsInternalUrl::test_an_internal_url_is_blockedtest/test_slugs.pyTestRefusedSlugChar::test_what_the_normalizer_turns_into_slug_characters_is_not_blamedTestRefusedSlugChar::test_empty_when_every_character_is_a_slug_characterTestRefusedSlugChar::test_no_character_is_blamedtest/test_spawn_reasoning_effort.pyTestSchema::test_unknown_level_is_rejectedTestSchema::test_non_string_is_rejectedTestSchema::test_a_bad_level_is_rejectedtest/test_transcribe_ffmpeg.pyTestBundledFfmpeg::test_resolves_the_exact_packaged_resourceTestBundledFfmpeg::test_packaged_cli_without_electron_parent_uses_release_decoderTestBundledFfmpeg::test_the_packaged_resource_is_resolvedtest/test_qualified_model_ids.pyTestSchemas::test_a_qualified_id_passes_unchangedTestSchemas::test_legacy_names_pass_unchangedTestSchemas::test_an_accepted_name_passes_unchangedLook-alike groups left alone (170: 134 plain, 36 with a security-word name)
Each group's copies share the body text but read different data per file or class (module constants,
_OWNERSlists, per-file fixtures such as a template'shtml, class fixtures). Folding them would need a shared helper per contract, which this pass does not do.test_the_class_only_scan_can_failx13: test_acp_bindings.py, test_backend_bindings.py, test_client_bindings.py, test_cron_service_bindings.py, test_history_bindings.py, test_runtime_bindings.py, test_session_bindings.py, test_session_handle_bindings.py, test_session_lifecycle_bindings.py, test_ssh_tunnel_manager_bindings.py, test_taskrunner_bindings.py, test_transport_dispatch_composition.py, test_transport_dispatch_webex_composition.pytest_no_owner_imports_the_facade_at_run_timex13: test_acp_bindings.py, test_artifacts_bindings.py, test_backend_bindings.py, test_client_bindings.py, test_history_bindings.py, test_runtime_bindings.py, test_sel_bindings.py, test_session_bindings.py, test_session_handle_bindings.py, test_session_lifecycle_bindings.py, test_session_map_bindings.py, test_ssh_tunnel_manager_bindings.py, test_taskrunner_bindings.pytest_no_owner_keeps_an_unbound_self_functionx11: test_acp_bindings.py, test_artifacts_bindings.py, test_client_bindings.py, test_driver_owner_bindings.py, test_history_bindings.py, test_session_allocation_bindings.py, test_session_handle_bindings.py, test_session_lifecycle_bindings.py, test_skills_bindings.py, test_ssh_tunnel_manager_bindings.py, test_taskrunner_bindings.pytest_no_bound_function_needs_its_class_bodyx9: test_acp_bindings.py, test_client_bindings.py, test_history_bindings.py, test_runtime_bindings.py, test_session_bindings.py, test_session_handle_bindings.py, test_session_lifecycle_bindings.py, test_ssh_tunnel_manager_bindings.py, test_taskrunner_bindings.pytest_each_owner_names_the_fields_it_writes_and_readsx9: test_acp_bindings.py, test_client_bindings.py, test_runtime_bindings.py, test_session_bindings.py, test_session_handle_bindings.py, test_session_lifecycle_bindings.py, test_skills_bindings.py, test_ssh_tunnel_manager_bindings.py, test_taskrunner_bindings.pytest_the_field_scan_counts_every_read_and_write_shapex8: test_acp_bindings.py, test_client_bindings.py, test_runtime_bindings.py, test_session_bindings.py, test_session_handle_bindings.py, test_session_lifecycle_bindings.py, test_ssh_tunnel_manager_bindings.py, test_taskrunner_bindings.pytest_the_detector_answers_both_waysx7: test_acp_refactor_create_guard.py, test_agent_refactor_create_guard.py, test_artifacts_refactor_create_guard.py, test_cli_doctor_refactor_create_guard.py, test_pod_runtime_refactor_create_guard.py, test_sandbox_refactor_create_guard.py, test_source_providers_refactor_create_guard.pytest_the_owner_edge_check_sees_every_spellingx6: test_chat_handlers_composition_contract.py, test_dashboard_agents_composition_contract.py, test_dashboard_files_composition_contract.py, test_dashboard_server_composition_contract.py, test_handlers_messaging_composition_contract.py, test_hooks_composition_contract.pytest_the_class_body_scan_can_failx6: test_client_discord_composition_contract.py, test_client_telegram_composition_contract.py, test_renderer_discord_composition_contract.py, test_renderer_telegram_composition_contract.py, test_session_tree_projection_facade.py, test_telegram_transport_dispatch_composition_contract.pytest_leaf_test_scope_derives_this_file_as_a_corpus_gatex6: test_cron_script_facade.py, test_routes_parts_sage_composition_contract.py, test_security_posture_facade.py, test_security_split_patch_reach.py, test_session_storage_parts.py, test_warm_runtime_patch_reach.pytest_it_reads_the_hosts_own_field_bagx6: test_dashboard_template_flow.py, test_dashboard_template_office.py, test_dashboard_template_pr-watch.py, test_dashboard_template_roadmap.py, test_dashboard_template_standup.py, test_dashboard_template_swimlane.pytest_inert_mention_allowed(+5 names) x6: test_denied_commands_security_cost.py, test_denied_commands_security_kill.py, test_denied_commands_security_mentions.py, test_denied_commands_security_mint.pytest_argument_does_not_break_the_match(+4 names) x6: test_discord_app_commands.py, test_telegram_parity_commands.py, test_webex_dispatch.py, test_wecom_commands_and_ingest.pytest_the_test_tree_walk_reaches_every_collected_treex6: test_gate_bindings.py, test_run_bindings.py, test_runner_facade.py, test_store_parts_bindings.py, test_store_taskq_bindings.py, test_taskq_bridge_bindings.pytest_leaf_test_scope_derives_this_file_as_a_corpus_gatex6: test_gate_bindings.py, test_run_bindings.py, test_runner_facade.py, test_store_parts_bindings.py, test_store_taskq_bindings.py, test_taskq_bridge_bindings.pytest_a_block_comment_refuses_the_line(+5 names) x6: test_name_grant.py, test_name_grant_windows.pytest_the_facade_installs_its_mirror_when_run_as_a_scriptx5: test_client_discord_composition_contract.py, test_client_telegram_composition_contract.py, test_renderer_discord_composition_contract.py, test_renderer_telegram_composition_contract.py, test_session_tree_projection_facade.pytest_the_shared_loader_accepts_itx5: test_dashboard_template_flow.py, test_dashboard_template_office.py, test_dashboard_template_roadmap.py, test_dashboard_template_standup.py, test_dashboard_template_swimlane.pytest_each_path_is_presentx5: test_dashboard_template_flow.py, test_dashboard_template_office.py, test_dashboard_template_roadmap.py, test_dashboard_template_standup.py, test_dashboard_template_swimlane.pytest_it_renders_on_load_and_on_every_messagex5: test_dashboard_template_flow.py, test_dashboard_template_office.py, test_dashboard_template_roadmap.py, test_dashboard_template_standup.py, test_dashboard_template_swimlane.pytest_data_consumer_exemption_does_not_cover_a_real_run(+4 names) x5: test_denied_commands_security_cost.py, test_denied_commands_security_kill.py, test_denied_commands_security_mentions.py, test_denied_commands_security_mint.pytest_the_member_set_is_the_frozen_inventoryx5: test_gate_bindings.py, test_run_bindings.py, test_store_parts_bindings.py, test_store_taskq_bindings.py, test_taskq_bridge_bindings.pytest_the_sweep_reports_a_global_the_namespace_does_not_bindx4: test_agent_parts.py, test_cli_doctor_parts.py, test_sandbox_launcher_program_parts.py, test_subagent_parts_composition_contract.pytest_the_class_only_scan_can_failx4: test_artifacts_bindings.py, test_context_assembly_bindings.py, test_driver_owner_bindings.py, test_skills_bindings.pytest_no_name_of_the_family_is_excluded_from_the_mirrorx4: test_artifacts_parts_contract.py, test_control_parts_contract.py, test_session_control_parts_contract.py, test_spawn_parts_contract.pytest_owners_import_only_owners_listed_before_themx4: test_artifacts_parts_contract.py, test_control_parts_contract.py, test_session_control_parts_contract.py, test_spawn_parts_contract.pytest_every_owner_logs_under_the_facades_namex4: test_client_discord_composition_contract.py, test_client_telegram_composition_contract.py, test_renderer_discord_composition_contract.py, test_renderer_telegram_composition_contract.pytest_a_moved_member_is_its_owners_functionx4: test_client_discord_composition_contract.py, test_client_telegram_composition_contract.py, test_renderer_discord_composition_contract.py, test_renderer_telegram_composition_contract.pytest_every_owner_function_of_self_is_bound_on_the_classx4: test_client_discord_composition_contract.py, test_client_telegram_composition_contract.py, test_renderer_discord_composition_contract.py, test_renderer_telegram_composition_contract.pytest_no_bound_function_needs_the_class_bodyx4: test_client_discord_composition_contract.py, test_client_telegram_composition_contract.py, test_renderer_discord_composition_contract.py, test_renderer_telegram_composition_contract.pytest_each_guarded_construct_stays_in_the_facadex4: test_client_discord_composition_contract.py, test_client_telegram_composition_contract.py, test_renderer_discord_composition_contract.py, test_renderer_telegram_composition_contract.pytest_the_globstar_matcher_reads_patterns_as_the_reviewers_dox4: test_dashboard_agents_composition_contract.py, test_dashboard_files_composition_contract.py, test_dashboard_server_composition_contract_guards.py, test_handlers_messaging_composition_contract.pytest_each_resolved_value_has_the_declared_typex4: test_dashboard_template_flow.py, test_dashboard_template_roadmap.py, test_dashboard_template_standup.py, test_dashboard_template_swimlane.pytest_it_reaches_no_networkx4: test_dashboard_template_office.py, test_dashboard_template_roadmap.py, test_dashboard_template_standup.py, test_dashboard_template_swimlane.pytest_agent_resolves_to_kirocrew_when_unsetx4: test_feishu_dispatch.py, test_teams_dispatch.py, test_webex_dispatch.py, test_wecom_dispatch.pytest_compact_none_capability_preserves_dispatchx4: test_feishu_dispatch.py, test_teams_dispatch.py, test_webex_dispatch.py, test_wecom_dispatch.pytest_no_name_patched_through_run_is_read_by_an_owner(+2 names) x4: test_gate_bindings.py, test_run_bindings.py, test_runner_facade.py, test_store_taskq_bindings.pytest_agent_reply(+3 names) x4: test_slack_handler_coverage.pytest_no_test_patches_a_forwarded_name_that_it_may_createx3: test_acp_refactor_create_guard.py, test_agent_refactor_create_guard.py, test_pod_runtime_refactor_create_guard.pytest_leaf_test_scope_derives_this_file_as_a_corpus_gatex3: test_agent_parts.py, test_cli_doctor_parts.py, test_sandbox_launcher_program_parts.pytest_the_patch_scan_reads_every_spelling_and_nothing_elsex3: test_agent_parts.py, test_cli_doctor_parts.py, test_sandbox_launcher_program_parts.pytest_the_patch_scan_finds_every_known_seamx3: test_agent_parts.py, test_cli_doctor_parts.py, test_sandbox_launcher_program_parts.pytest_the_owner_import_check_sees_every_spellingx3: test_agent_parts.py, test_cli_doctor_parts.py, test_subagent_parts_composition_contract.pytest_the_package_init_defines_nothingx3: test_agent_parts.py, test_cli_doctor_parts.py, test_sandbox_launcher_program_parts.pytest_the_importer_check_sees_every_spellingx3: test_agent_parts.py, test_cli_doctor_parts.py, test_subagent_parts_composition_contract.pytest_the_frozen_inventory_is_not_emptyx3: test_app_backend_composition_contract.py, test_apps_registry_composition_contract.py, test_aws_control_backup_composition_contract.pytest_every_module_holding_a_name_holds_the_same_objectx3: test_app_backend_composition_contract.py, test_apps_registry_composition_contract.py, test_aws_control_backup_composition_contract.pytest_the_reader_flags_every_spelling_and_only_thosex3: test_app_backend_composition_contract_patch_spellings.py, test_apps_registry_composition_contract_patch_spellings.py, test_aws_control_backup_composition_contract_patch_guards.pytest_each_owner_names_the_fields_it_writes_and_readsx3: test_backend_bindings.py, test_sel_bindings.py, test_session_map_bindings.pytest_self_test_passesx3: test_check_comment_history.py, test_subprocess_encoding_gate.py, test_sync_io_in_async_gate.pytest_prompt_does_not_carry_the_retired_verbosity_tokenx3: test_conductor_agent.py, test_pipeline_conductor_agent.py, test_security_conductor_agent.pytest_the_sibling_import_scan_catches_a_planted_importx3: test_context_composition_contract_facade.py, test_skills_composition_contract.py, test_vector_memory_composition_contract.pytest_the_patch_scan_finds_every_known_seamx3: test_cron_script_facade.py, test_security_posture_facade.py, test_session_storage_parts.pytest_leaf_test_scope_derives_this_file_as_a_corpus_gatex3: test_fleet_probe_owners.py, test_pr_status_owners.py, test_push_guard_owners.pytest_every_name_the_one_file_script_bound_is_still_bound_on_the_facade(+1 names) x3: test_fleet_probe_owners.py, test_pr_status_owners.py, test_push_guard_owners.pytest_no_owner_imports_the_facade_at_run_timex3: test_runner_facade.py, test_store_parts_bindings.py, test_store_taskq_bindings.pytest_each_class_an_owner_defines_carries_its_frozen_modulex3: test_runner_facade.py, test_store_parts_bindings.py, test_store_taskq_bindings.pytest_leaf_test_scope_derives_this_file_as_a_corpus_gatex3: test_runtime_bindings.py, test_session_allocation_bindings.py, test_session_handle_bindings.pytest_the_placement_scan_finds_each_construct_it_pinsx3: test_telegram_transport_dispatch_composition_contract.py, test_transport_dispatch_composition.py, test_transport_dispatch_webex_composition.pytest_an_owner_imports_the_facade_only_for_type_checking_and_no_project_modulex2: test_agent_parts.py, test_cli_doctor_parts.pytest_the_facade_helper_is_only_ever_called_in_placex2: test_app_backend_composition_contract.py, test_apps_registry_composition_contract.pytest_the_reader_follows_a_production_re_exportx2: test_app_backend_composition_contract_patch_spellings.py, test_apps_registry_composition_contract_patch_spellings.pytest_leaf_test_scope_derives_this_file_as_a_corpus_gatex2: test_app_backend_composition_contract_patch_spellings.py, test_apps_registry_composition_contract_patch_spellings.pytest_precondition_a_declaring_manifest_is_admitted_when_untamperedx2: test_app_signing_payload_executed_fields.py, test_app_signing_payload_resource_and_ui_fields.pytest_delete_missing_404(+1 names) x2: test_artifact_comment_handlers.py, test_artifacts_handlers_coverage.pytest_edit_missing_404(+1 names) x2: test_artifact_comment_handlers.py, test_artifacts_handlers_coverage.pytest_the_scan_reads_every_file_that_names_the_facade(+1 names) x2: test_artifacts_refactor_create_guard.py, test_source_providers_refactor_create_guard.pytest_no_owner_keeps_an_unbound_self_functionx2: test_backend_bindings.py, test_sel_bindings.pytest_the_owner_set_is_the_packagex2: test_chat_handlers_composition_contract.py, test_chat_runner_base_surface.pytest_the_package_holds_exactly_the_composed_modulesx2: test_chat_persistence_composition_contract.py, test_context_composition_contract_facade.pytest_the_package_init_imports_nothingx2: test_chat_persistence_composition_contract.py, test_context_composition_contract_facade.pytest_no_owner_anchors_a_path_on_its_own_filex2: test_chat_persistence_composition_contract.py, test_context_composition_contract_facade.pytest_the_package_holds_exactly_the_composed_partsx2: test_chat_persistence_parts_composition_contract.py, test_routes_parts_sage_composition_contract.pytest_the_package_init_holds_only_its_docstringx2: test_chat_persistence_parts_composition_contract.py, test_routes_parts_sage_composition_contract.pytest_the_owners_are_every_sibling_module_in_layer_orderx2: test_client_discord_composition_contract.py, test_renderer_discord_composition_contract.pytest_an_owner_imports_only_owners_below_it_and_never_its_facadex2: test_client_discord_composition_contract.py, test_renderer_discord_composition_contract.pytest_the_class_keeps_every_base_memberx2: test_client_discord_composition_contract.py, test_renderer_discord_composition_contract.pytest_every_base_member_keeps_its_kind_and_signaturex2: test_client_discord_composition_contract.py, test_renderer_discord_composition_contract.pytest_only_the_family_imports_an_ownerx2: test_client_discord_composition_contract.py, test_renderer_discord_composition_contract.pytest_the_owner_import_scan_finds_an_outside_importerx2: test_client_discord_composition_contract.py, test_renderer_discord_composition_contract.pytest_each_moved_class_is_served_whole_from_its_ownerx2: test_client_discord_composition_contract.py, test_renderer_discord_composition_contract.pytest_the_owners_are_every_sibling_module_in_layer_orderx2: test_client_telegram_composition_contract.py, test_renderer_telegram_composition_contract.pytest_an_owner_imports_only_owners_below_it_and_never_its_facadex2: test_client_telegram_composition_contract.py, test_renderer_telegram_composition_contract.pytest_the_class_keeps_every_base_member_and_gains_nonex2: test_client_telegram_composition_contract.py, test_renderer_telegram_composition_contract.pytest_every_base_member_keeps_its_kind_and_signaturex2: test_client_telegram_composition_contract.py, test_renderer_telegram_composition_contract.pytest_the_sibling_import_scan_allows_a_module_importx2: test_context_composition_contract_facade.py, test_skills_composition_contract.pytest_both_exempted_caller_classes_are_fenced(+1 names) x2: test_cron_session_control.py, test_session_control_lineage_fence.pytest_missing_testpaths_exits_rather_than_scanning_nothing(+1 names) x2: test_cwd_relative_repo_reads_gate.py, test_testpaths_coverage_gate.pytest_the_owner_set_is_the_packagex2: test_dashboard_agents_composition_contract.py, test_slack_handler_composition_contract.pytest_the_owner_set_is_the_packagex2: test_dashboard_files_composition_contract.py, test_handlers_messaging_composition_contract.pytest_it_reads_only_the_work_foldx2: test_dashboard_template_flow.py, test_dashboard_template_roadmap.pytest_assert_floor_passes_default_authority(+1 names) x2: test_denied_commands_authority.py, test_platform_context.pytest_assert_floor_rejects_non_authority(+1 names) x2: test_denied_commands_authority.py, test_platform_context.pytest_a_quoted_literal_construct_pattern_stays_denied(+1 names) x2: test_denied_commands_security_kill.pytest_function_not_forwarding_to_a_protected_program_allowed(+1 names) x2: test_denied_commands_security_kill.py, test_denied_commands_security_mint.pytest_mint_spellings_still_blocked(+1 names) x2: test_denied_commands_security_kill.py, test_denied_commands_security_mint.pytest_quote_aware_window_still_sees_the_kill(+1 names) x2: test_denied_commands_security_kill.pytest_payload_without_a_protected_command_allowed(+1 names) x2: test_denied_commands_security_kill.py, test_denied_commands_security_mint.pytest_interpreter_argv_literal_blocked(+1 names) x2: test_denied_commands_security_mint.py, test_denied_commands_security_ssh_self.pytest_a_genuine_netcat_exec_is_denied_by_this_row(+1 names) x2: test_denied_commands_security_rows.py, test_denied_commands_security_ssh_self.pytest_sso_plus_profile_passesx2: test_deploy_script_validation.pytest_unterminated_options_tag_is_not_redosx2: test_discord.py, test_telegram.pytest_save_rejects_non_numeric_user_idsx2: test_discord_config_handlers.py, test_telegram_config_handlers.pytest_soft_threshold_boundsx2: test_discord_config_handlers.py, test_telegram_config_handlers.pytest_every_host_deny_is_preceded_by_the_shared_steerx2: test_eval_subagent_deny_notice.py, test_taskrunner_deny_notice.pytest_every_reject_audits_before_the_steerx2: test_eval_subagent_deny_notice.py, test_taskrunner_deny_notice.pytest_every_steer_names_its_cause_explicitlyx2: test_eval_subagent_deny_notice.py, test_taskrunner_deny_notice.pytest_each_owner_imports_on_its_own_before_the_facadex2: test_events_facade.py, test_interactions_facade.pytest_save_rejects_whitespace_credentialsx2: test_feishu_config_handlers.py, test_wecom_config_handlers.pytest_strict_guard_is_actually_armedx2: test_folder_watcher_off_loop_guard.py, test_knowledge_agent_sync_off_loop.pytest_the_resolution_scan_can_failx2: test_gate_bindings.py, test_run_bindings.pytest_nothing_else_in_src_imports_an_ownerx2: test_gate_bindings.py, test_run_bindings.pytest_a_foreign_child_may_read_itx2: test_gateway_id_sandbox_seal.py, test_skill_projection_sandbox_seal.pytest_macos_denies_writes_but_not_readsx2: test_gateway_id_sandbox_seal.py, test_skill_projection_sandbox_seal.pytest_a_named_port_is_still_used_as_the_fallback(+1 names) x2: test_instance_credential_pairing.pytest_a_404_still_reads_as_feature_absent(+1 names) x2: test_issue_radar_deps.pytest_a_parenthetical_citation_is_removed_as_one_unitx2: test_issue_radar_routes_ai_coverage.py, test_issue_radar_routes_coverage.pytest_a_non_string_does_not_raise(+1 names) x2: test_issue_radar_routes_ai_coverage.py, test_issue_radar_routes_coverage.pytest_absent_and_empty_default_to_issuex2: test_issue_radar_routes_ai_coverage_lists_and_investigation.py, test_issue_radar_routes_coverage.pytest_missing_params_is_400x2: test_issue_radar_routes_coverage.pytest_an_unconnected_repo_is_404x2: test_issue_radar_routes_coverage.pytest_missing_params_is_400x2: test_issue_radar_routes_coverage.pytest_a_malformed_or_non_object_payload_is_400x2: test_issue_radar_routes_coverage.py, test_issue_radar_routes_coverage_label_and_issue_writes.pytest_an_unconnected_repo_is_404x2: test_issue_radar_routes_coverage.pytest_missing_params_is_400x2: test_issue_radar_routes_coverage.pytest_an_unconnected_repo_is_404_before_the_permission_gatex2: test_issue_radar_routes_coverage_label_and_issue_writes.pytest_the_watcher_fires_only_on_completionx2: test_main_macos_failure_watch.py, test_scheduled_failure_watch.pytest_the_declared_set_matches_what_is_advertisedx2: test_mcp_crew_log.py, test_mcp_debug.pytest_non_member_session_is_untouchedx2: test_member_dispatch_mount.py, test_member_panel_mount.pytest_kiro_backend_is_untouchedx2: test_member_dispatch_mount.py, test_member_panel_mount.pytest_returns_none_when_nothing_is_installed(+1 names) x2: test_papyrus_latex.py, test_papyrus_tectonic.pytest_prompt_drives_patrol_with_monitor_start_not_waitx2: test_pipeline_conductor_agent.py, test_security_conductor_agent.pytest_a_siblings_clean_check_run_does_not_pass_this_prx2: test_pr_readiness_evaluate.pytest_a_previous_attempts_clean_check_run_does_not_pass_a_rerunx2: test_pr_readiness_evaluate.pytest_the_template_origin_keeps_auto_maintenance_offx2: test_preflight_write_permission.py, test_push_guard.pytest_ships_in_warn_modex2: test_proof_line_check.py, test_sibling_list_check.pytest_enforcement_applies_to_pull_requests_opened_on_or_after_the_datex2: test_proof_line_check.py, test_sibling_list_check.pytest_the_signature_digest_ignores_an_object_address_in_either_spellingx2: test_runtime_bindings.py, test_session_handle_bindings.pytest_the_bound_function_scans_include_every_static_methodx2: test_runtime_bindings.py, test_session_handle_bindings.pytest_sandbox_exec_not_found_returns_false(+1 names) x2: test_sandbox_probe.pytest_operator_extension_corpus_default_config_rejects(+1 names) x2: test_security_oauth_urls.pytest_the_field_scan_counts_every_read_and_write_shapex2: test_sel_bindings.py, test_session_map_bindings.pytest_no_bound_function_needs_its_class_bodyx2: test_session_allocation_bindings.py, test_skills_bindings.pytest_the_bound_function_scans_include_every_static_methodx2: test_session_lifecycle_bindings.py, test_taskrunner_bindings.pytest_the_runtime_package_holds_exactly_the_composed_modulesx2: test_skills_composition_contract.py, test_vector_memory_composition_contract.pytest_the_package_ships_with_the_wheelx2: test_skills_composition_contract.py, test_vector_memory_composition_contract.pytest_the_package_init_imports_nothingx2: test_skills_composition_contract.py, test_vector_memory_composition_contract.pytest_no_runtime_module_reads_a_seam_as_a_bare_globalx2: test_skills_composition_contract.py, test_vector_memory_composition_contract.pytest_no_runtime_module_defines_an_async_functionx2: test_skills_composition_contract.py, test_vector_memory_composition_contract.pytest_a_construct_a_guard_reads_stays_where_the_guard_reads_itx2: test_slack_gateway_composition_contract.py, test_slack_handler_composition_contract.pytest_a_refused_subdirectory_is_skipped_and_recorded(+1 names) x2: test_snapshot_unreadable_entries.pytest_a_refused_subdirectory_is_skipped_on_the_by_name_walk(+1 names) x2: test_snapshot_unreadable_entries.pytest_row_is_registered_as_a_default_on_capabilityx2: test_social_share_governance.py, test_tailnet_governance.pytest_the_budget_alone_hands_the_reader_the_keyx2: test_split_credential_boundary_channel_delivery.py, test_split_credential_boundary_rotation_and_tally.pytest_the_kind_reader_tells_a_coroutine_from_a_functionx2: test_store_parts_bindings.py, test_store_taskq_bindings.pytest_each_member_keeps_its_kind_signature_and_ownerx2: test_store_parts_bindings.py, test_store_taskq_bindings.pytest_each_owner_imports_only_owners_listed_before_itx2: test_store_parts_bindings.py, test_store_taskq_bindings.pytest_each_owner_names_the_fields_it_writes_and_readsx2: test_store_parts_bindings.py, test_store_taskq_bindings.pytest_help_commandx2: test_teams_dispatch.py, test_webex_dispatch.pytest_every_base_name_still_resolvesx2: test_transport_dispatch_composition.py, test_transport_dispatch_webex_composition.pytest_a_moved_name_is_its_owners_objectx2: test_transport_dispatch_composition.py, test_transport_dispatch_webex_composition.pytest_the_mirror_serves_exactly_the_moved_names_the_facade_does_not_bindx2: test_transport_dispatch_composition.py, test_transport_dispatch_webex_composition.pytest_the_owner_list_is_the_layer_order_and_names_every_owner_on_diskx2: test_transport_dispatch_composition.py, test_transport_dispatch_webex_composition.pytest_no_owner_takes_a_sync_io_module_through_a_from_importx2: test_transport_dispatch_composition.py, test_transport_dispatch_webex_composition.pytest_the_sync_io_gate_reports_a_blocking_call_planted_in_each_coroutine_ownerx2: test_transport_dispatch_composition.py, test_transport_dispatch_webex_composition.pytest_no_owner_holds_what_the_facade_guards_read_by_pathx2: test_transport_dispatch_composition.py, test_transport_dispatch_webex_composition.pytest_conversation_statex2: test_webex_dispatch.py, test_wecom_dispatch.pytest_parse_mid_turn_overridex2: test_webex_dispatch.py, test_wecom_commands_and_ingest.pytest_a_bare_override_is_recognized(+1 names) x2: test_webex_dispatch.py, test_wecom_commands_and_ingest.pytest_a_complete_or_unrelated_message_is_not_a_bare_override(+1 names) x2: test_webex_dispatch.py, test_wecom_commands_and_ingest.py