Skip to content

test: split oversized test files by topic and name tests by behavior - #529

Merged
lg2m merged 68 commits into
mainfrom
test/split-and-rename
Nov 2, 2026
Merged

lg2m merged 68 commits into
mainfrom
test/split-and-rename

Conversation

@lg2m

@lg2m lg2m commented Nov 1, 2026

Copy link
Copy Markdown
Collaborator

Stacked on #528. (#528 has merged; this PR merges origin/main and targets main.)

Change

Test-only. These are moves and renames: no assertion, fixture body or test logic changed.

E3: split oversized test files by topic (sibling foo.rs + foo/, no mod.rs):

  • qq-core sessions/tests.rs: side-question tests and helpers → tests/side_questions.rs. Owned-summary tests → tests/compaction/owned_summaries.rs. Fixtures used by only one topic module now live in that module.
  • sessions/tests/goals.rs → goals/{notices,spend,driver,policy}.rs.
  • sessions/tests/compaction.rs → compaction/{auto_compaction,pruning,folding,in_run,exact_inputs,owned_summaries}.rs.
  • sessions/tests/delegation.rs (5.4k, not in the finding but over the limit) → delegation/{spawning,lifecycle,write_children,budgets,depth,audits}.rs.
  • tools.rs mod tests → tools/tests.rs + tools/tests/{dispatch,argument_repairs,read,search,tree,edit,shell}.rs. Paths to the real tool modules inside those files are now written as crate::tools::<tool>::, because the test module names shadow them.
  • qq-core lib.rs mod tests and mod ab1_audit_regression → src/tests.rs + src/tests/{summaries,instructions,tool_loop,truncation,checkpoints,retries,mcp,delegation,external_tools,audit_regression}.rs. lib.rs goes from 11.3k to 1.8k lines.
  • src/headless.rs tests → src/headless/tests.rs + src/headless/tests/{foreground_goal,resume,output,cancellation,budgets,delivery_history}.rs.
  • qq-host runtime.rs tests → runtime/tests.rs + runtime/tests/{clients,resolved_models,spawn_validation,goal_policy,catalog,providers,plans,plan_compilation}.rs.

Every test file touched is now under 3,000 lines except sessions/tests/runs.rs (3,179), which grew by about 600 lines of runs-only fixtures. sessions/tests.rs is down to 2,949 lines of shared fixtures.

E4: name tests by behavior. 105 tests drop their ab1_–ab6_, ac4_ or t20_ prefix. 102 of them just lose the prefix, because the rest of the name already describes the behavior. Three get a new name:

  • ab4_inspection_only_descriptor_differs_from_prompt20_identity → inspection_only_descriptor_differs_from_prompt_version_20
  • t20_strict_refuses_only_unprefixed_contained_reads_and_keeps_hints → strict_builtin_preference_refuses_only_unprefixed_contained_reads_and_keeps_hints
  • ab3_native_zero_row_window_returns_a_budget_error → native_zero_row_window_returns_a_budget_error (Windows only). Dropping the prefix alone would leave zero_row_window_…, which reads like the separate tools::read test of a similar name.

Modules runtime::prompt::ab2_contract, ab2_header_authority and tests::t20 become contract_tests, header_authority_tests and tests::dispatch_corrections. No collisions.

References updated. .config/nextest.toml (real-process, priority and platform filters), .config/platform-tests/{windows,macos}.txt, the worker re-exec test paths passed to run_worker / --exact (tools::tests::shell::commands_see_…, runtime::tests::providers::google_…_child, and the renamed inherited_path_…, verified_exec_…, verified_process_…, verified_image_… workers), xtask/src/legacy-sleeps.txt (same 11 sleeps at new paths and lines), and ADR 0014's headless::tests::output::… path. .config/quarantine.toml is empty. .github/workflows, docs/guide, docs/runbooks, and xtask check.rs, perf.rs, smoke.rs and lint.rs name none of these tests. The one ab2_ string left is a made-up name inside check.rs's nextest-output parser fixture. The r4_ names in perf.rs are perf metric and worker function names, not tests. grep -rn finds no other old name.

Verification

  • Test count: 2,980 before and after on the stacked base, and 3,002 on origin/main vs this head after the merge.
  • Name list: cargo nextest list --workspace --all-features on origin/main, with the map below applied, is exactly the sorted list on this head. 704 tests change (602 path-only, 102 renames). Three more Windows-only tests (one renamed in place, two moved and renamed) are verified against the source, since Linux can't list them.
  • Groups: cargo nextest show-config test-groups has the same real-process and soak membership before and after, modulo the map.
  • Platform lists: each entry in .config/platform-tests/*.txt resolves to a fn at that module path, and every test(=…) in .config/nextest.toml names a listed test or a platform-list entry. cargo xtask lint passes, platform rule included. The OS-side list check (.github/scripts/platform-tests.sh) runs in the ci:full platform jobs.
  • Nothing lost: a whitespace-insensitive character-count comparison of all .rs files before and after the split matches, apart from the removed mod tests {, the dedent and the new mod/use super::* lines.
  • cargo nextest run on all 704 moved or renamed tests: 704 passed. That includes the re-exec workers, which fail if their path string is wrong.
  • cargo xtask check --full: passed on d53ffc4 (fmt, lint, clippy, 3,002/3,002 tests, minimal provider profile).

Known impact

None for users. Rerun commands and filters that named old paths need the new ones from the map. There is no Windows toolchain here, so the Windows-only #[cfg(windows)] tests that moved (tools::tests::read::native_*, tools::tests::shell::{dropped_windows_shell_waiter…, windows_shell_timeout…}) were checked against the source, not compiled. The ci:full Windows job compiles them.

Rename and move map (707 tests, grouped by old module => new module)
qq-core  ab1_audit_regression  =>  tests::audit_regression
    a_failed_command_that_wrote_still_triggers_audit
qq-core  approval::tests  (same module)
    ab1_cmd_separators_and_native_sort_output_are_work -> cmd_separators_and_native_sort_output_are_work   [Windows only]
    ab1_literal_exec_arguments_remain_reads -> literal_exec_arguments_remain_reads
    ab1_sed_extended_regex_is_read_without_write_options -> sed_extended_regex_is_read_without_write_options
qq-core  catalog::tests  (same module)
    ab4_cached_declarations_honor_absent_result_recall -> cached_declarations_honor_absent_result_recall
    ab4_progressive_eligibility_filters_indexes_pins_and_selector_reports -> progressive_eligibility_filters_indexes_pins_and_selector_reports
    ab4_read_only_runs_are_never_offered_schemas_their_policy_denies -> read_only_runs_are_never_offered_schemas_their_policy_denies
qq-core  plan::tests  (same module)
    ab4_inspection_only_descriptor_differs_from_prompt20_identity -> inspection_only_descriptor_differs_from_prompt_version_20
qq-core  runtime::prompt::ab2_contract  =>  runtime::prompt::contract_tests
    ab2_header_omits_absent_recall_and_spill_tools -> header_omits_absent_recall_and_spill_tools
    ab2_ignored_walk_guidance_requires_the_explicit_override -> ignored_walk_guidance_requires_the_explicit_override
    ab2_read_child_keeps_its_brief_and_omits_the_action_obligation -> read_child_keeps_its_brief_and_omits_the_action_obligation
    ab2_root_contract_preserves_analysis_scope_and_names_next_action -> root_contract_preserves_analysis_scope_and_names_next_action
qq-core  runtime::prompt::ab2_header_authority  =>  runtime::prompt::header_authority_tests
    a_run_without_tools_has_no_environment
    a_write_child_defers_to_its_parent_and_its_snapshot
    ab2_prompt_omits_descriptions_and_question_guidance_for_absent_tools -> prompt_omits_descriptions_and_question_guidance_for_absent_tools
    ab2_single_tool_prompts_omit_all_other_tool_instructions -> single_tool_prompts_omit_all_other_tool_instructions
    the_environment_states_mode_snapshot_and_stops
qq-core  runtime::shell_policy::tests  (same module)
    ab1_read_image_approvals_are_explicit_closed_and_bounded -> read_image_approvals_are_explicit_closed_and_bounded
    t20_prefixes_and_path_operands_do_not_overstate_replaceability -> prefixes_and_path_operands_do_not_overstate_replaceability
qq-core  sessions::tests  =>  sessions::tests::compaction::owned_summaries
    admitted_summary_turn_survives_a_dropped_waiter_before_settlement
    owned_compaction_index_migration_failure_preserves_previous_version
    owned_compaction_index_rejects_wrong_existing_predicate
    owned_compaction_index_upgrades_preserves_rows_and_reopens
    prompt_terminal_receipt_waits_for_abandoned_owned_summary
    recovered_internal_summary_settles_durable_session_cost_once
    settled_internal_summary_rejects_stale_turns_without_recharging
qq-core  sessions::tests  =>  sessions::tests::side_questions
    side_accepted_admission_receipt_survives_deadline_and_is_settled
    side_answer_bypasses_the_main_permit_and_leaves_session_rows_unchanged
    side_answer_cancellation_while_waiting_releases_only_side_admission
    side_answer_finishes_while_main_provider_is_active_without_main_requests
    side_cancel_after_completion_reports_already_finished_without_an_event
    side_cancel_drains_a_blocked_inspection_tool_before_settlement
    side_cancel_mid_stream_reports_unknown_spend_and_completion_known_totals
    side_cancel_of_an_unknown_id_is_a_typed_not_found
    side_capture_current_task_is_last_and_bounded_without_synthetic_results
    side_capture_excludes_unfinished_runs_and_reports_missing_context
    side_capture_is_bounded_and_preserves_complete_tool_units
    side_capture_omits_an_oversized_unit_before_loading_payload
    side_capture_reads_streamed_chunks_of_active_run_assistant_turns
    side_command_replay_launches_once_and_snapshot_matches_terminal_event
    side_deadline_from_admission_times_out_before_provider_load
    side_dropped_submit_future_still_settles_and_frees_the_session
    side_expired_admission_does_not_enter_worker_queue
    side_failure_with_a_request_in_flight_reports_unknown_spend_without_charging_main
    side_late_completion_settlement_is_timed_out_not_completed
    side_long_stream_persists_logarithmically_many_partial_updates
    side_partial_text_is_durable_before_completion_and_cancel_preserves_it
    side_public_provider_panic_settles_interrupted_and_shutdown_drains
    side_query_limits_validate_and_a_lowered_turn_limit_applies
    side_recovery_marks_interrupted_without_replaying_provider_work
    side_replacement_waits_for_the_cancelled_owner_to_tear_down
    side_running_question_blocks_delete_and_prune
    side_running_question_survives_a_snapshot_over_the_body_budget
    side_schema_upgrades_reopens_and_rejects_invalid_capture_shape
    side_settlement_tolerates_a_session_deleted_after_cancel
    side_submit_then_immediate_shutdown_settles_accepted_work
    side_terminal_settlement_is_idempotent_without_duplicate_events
    side_threads_continue_explicitly_reset_and_persist_before_return
    side_timeout_drains_a_blocked_inspection_tool_before_the_answer_returns
    side_turns_stream_separately_and_never_concatenate
    side_wire_cancel_does_not_cancel_main_and_replays_same_receipt
qq-core  sessions::tests::compaction  =>  sessions::tests::compaction::auto_compaction
    a_compaction_that_does_not_shrink_the_assembly_never_loops
    a_context_overflow_failure_compacts_before_the_next_prompt
    a_failed_auto_compaction_does_not_strand_the_queued_prompt
    a_prompt_still_over_budget_after_compacting_runs_from_the_summary_alone
    a_single_inherited_summary_recovers_at_the_same_cutoff
    an_over_budget_prompt_keeps_its_first_attachment_bytes_across_auto_compaction
    auto_compaction_panic_settles_its_exact_prompt_reservation
    cancelled_queued_prompt_does_not_mask_provider_overflow_evidence
    cancelling_a_queued_prompt_never_cancels_a_manual_compaction
    cancelling_the_queued_prompt_cancels_the_pending_auto_compaction
    compaction_sends_and_persists_the_effective_output_cap
    exceeding_the_hard_budget_compacts_once_and_the_prompt_proceeds
    failed_manual_compaction_does_not_mask_provider_overflow_evidence
    failed_overflow_recovery_never_resends_the_known_overflowing_prompt
    inherited_context_overflow_recovers_the_same_prompt_without_manual_compaction
    manual_compaction_folds_all_portions_and_commits_only_the_final_summary
    manual_compaction_transport_retry_preserves_the_visible_prefix
    manual_fold_restart_resets_abandoned_response_recovery
    oversized_compaction_summary_fails_without_committing_a_marker
    permanent_reserved_reload_failure_settles_only_that_prompt
    prompts_below_the_context_threshold_never_auto_compact
    provider_overflow_can_compact_active_turns_then_the_inherited_prefix
    provider_overflow_evidence_survives_restart_until_compaction_commits
    pruned_history_still_compacts_a_known_overflow_before_the_retry
    saturated_reserved_reload_waits_after_auto_compaction
    storage_overflow_compacts_before_the_queued_prompt
    unknown_provider_identity_still_compacts_a_known_overflow_before_the_retry
qq-core  sessions::tests::compaction  =>  sessions::tests::compaction::exact_inputs
    an_empty_fold_preserves_the_uncompacted_transcript
    early_constraints_and_corrections_survive_repeated_automatic_compaction
    exact_inputs_preserve_applied_corrections_and_answers_in_conversation_order
    exact_inputs_reject_capacity_overflow_without_cutting_or_deleting_sources
    legacy_summary_projection_recovers_exact_inputs_without_another_compaction
    oversized_legacy_inputs_fail_only_the_affected_run
    scoped_inputs_cover_steering_before_a_kept_turn_after_an_empty_fault
qq-core  sessions::tests::compaction  =>  sessions::tests::compaction::folding
    a_bounded_step_that_fails_stops_the_fold_without_repeating_its_input
    a_committed_step_survives_shutdown_and_the_next_prompt_folds_from_its_marker
    a_transcript_several_windows_long_folds_through_bounded_summarizer_steps
    manual_compaction_of_an_oversized_transcript_reads_one_window_at_a_time
    one_run_larger_than_the_window_fails_as_irreducible_not_already_attempted
qq-core  sessions::tests::compaction  =>  sessions::tests::compaction::in_run
    a_dense_tokenizer_compacts_in_run_instead_of_failing_at_the_guard
    a_later_queued_cancellation_cannot_evict_receipts_for_displayed_messages
    a_provider_window_rejection_compacts_the_run_and_continues
    a_rejected_in_run_summary_fails_the_run_closed_without_resending_the_overflow
    an_empty_faulted_attempt_inside_the_replaced_span_keeps_replay_equal_to_live
    an_exhausted_fold_admits_the_prompt_with_summary_only_history
    an_in_run_compaction_that_cannot_start_fails_the_prompt_run_as_a_server_failure
    an_in_run_marker_survives_restart_and_folds_into_a_later_between_run_compaction
    an_in_run_summarizer_keeps_the_session_context_before_its_prompt
    an_in_run_summary_cut_at_the_output_limit_is_continued_and_joined_verbatim
    cancelling_during_in_run_compaction_settles_both_runs_once
    compacting_after_a_slice_report_replays_the_live_context
    compaction_retention_preserves_recent_rollback_views_and_reclaims_covered_runs
    in_run_compaction_boundary_keeps_the_recent_turns_with_their_results
    maximum_goal_is_verbatim_immediately_after_three_in_run_summaries
    one_run_spanning_several_windows_compacts_its_own_turns_and_completes
    repeated_in_run_compaction_retains_the_session_prefix_after_restart
    replay_drops_and_keeps_delivered_answers_as_the_in_run_splice_did
    replay_drops_the_notice_and_steering_the_in_run_splice_removed
    snapshot_run_tail_retains_the_foreground_receipt_after_many_owned_compactions
qq-core  sessions::tests::compaction  =>  sessions::tests::compaction::pruning
    a_live_prune_classifies_earlier_runs_results_by_their_stored_effect
    a_live_prune_moves_the_watermark_and_the_next_run_extends_it
    a_prompt_inside_the_last_tenth_of_the_window_compacts_before_it_sends
    a_run_that_outgrows_the_window_stubs_its_stale_reads_instead_of_failing
    a_session_without_a_window_still_sheds_stale_reads_before_the_storage_backstop
    assembly_prunes_stale_read_only_results_but_never_mutating_ones
    assembly_work_follows_the_retained_context_not_the_archive
    each_run_extends_the_previous_runs_last_request_until_a_seam
    history_pages_cover_oversized_turns_without_skipping_older_sources
    history_recall_includes_applied_steering_and_live_run_evidence_without_search_echoes
    history_search_is_scan_bounded_and_newest_first
    measured_occupancy_survives_assembly_pruning_and_admits_the_next_prompt
    the_proactive_threshold_stubs_stale_reads_before_it_compacts
    the_prune_watermark_never_reports_success_for_a_run_without_a_prompt_row
qq-core  sessions::tests::delegation  =>  sessions::tests::delegation::audits
    a_mutating_run_is_audited_by_a_read_only_child_and_passes
    a_revise_verdict_sends_the_run_back_once_and_the_revision_stands
    a_text_only_slice_report_is_never_audited_or_treated_as_the_answer
    an_unavailable_auditor_fails_open_and_is_recorded
    audit_overspend_and_unknown_spend_exhaust_the_parent
    audit_triggers_and_suppressions_follow_the_heuristic
    audits_inherit_remaining_limits_and_charge_inclusive_spend_once
    steering_during_an_audit_reaches_the_next_parent_request
    the_contract_judges_the_audited_revision_and_a_revision_does_not_reset_repairs
qq-core  sessions::tests::delegation  =>  sessions::tests::delegation::budgets
    a_balanced_child_of_a_max_effort_parent_is_admitted_at_medium
    budgeted_read_children_refuse_exhausted_or_unknown_remainders
    child_compaction_spend_reduces_the_next_child_allowance
    child_duration_is_reduced_by_preflight_and_prior_children
    concurrent_children_per_run_queue_behind_the_cap
    nested_spend_receipt_distinguishes_never_started_from_unknown_cancelled_work
    nested_spend_receipt_excludes_later_prompts_in_owned_sessions
    nested_spend_receipt_rejects_incomplete_or_overflowing_descendants
    nested_spend_reduces_the_next_root_child_allowance
    nested_unknown_spend_prevents_a_later_root_child
    owned_compaction_receipt_preserves_bounds_unknown_and_exact_ownership
    owned_spend_session_deletion_checks_followup_owners_after_the_original_root_finished
    owned_spend_session_deletion_waits_for_the_root_receipt
    saturated_parents_awaiting_children_never_deadlock
    sequential_children_receive_the_remaining_budget_after_prior_spend
    spawns_beyond_the_per_run_budget_return_a_tool_error
    stopped_child_summary_receipt_does_not_wait_for_spawned_drop_cleanup
qq-core  sessions::tests::delegation  =>  sessions::tests::delegation::depth
    a_tree_is_capped_at_the_descendant_limit
    cancelling_the_root_settles_the_whole_subtree
    depth_one_keeps_children_from_spawning_and_the_ceiling_is_enforced
    depth_two_lets_children_spawn_read_only_grandchildren_that_cannot_spawn
    max_depth_zero_disables_delegation_for_the_root_itself
    saturated_parents_at_every_depth_never_deadlock
qq-core  sessions::tests::delegation  =>  sessions::tests::delegation::lifecycle
    cancelling_the_parent_after_child_completion_preserves_the_child
    cancelling_the_parent_interrupts_an_in_flight_child_tool
    cancelling_the_parent_run_cancels_its_in_flight_child
    child_cancellation_persistence_failure_prevents_parent_continuation
    child_mutation_drains_before_steering_or_a_replacement_run_can_write
    frozen_collection_watchdog_expires_without_virtual_time_advancing
    interrupting_steering_owns_a_child_whose_creation_reply_is_pending
    shutdown_closes_child_admission_before_scanning_unfinished_runs
    shutdown_settles_a_running_parent_and_its_in_flight_child
    shutdown_waits_for_started_child_loader_work_without_creating_a_child
    steering_charges_a_completed_but_unconsumed_child_exactly_once
    store_saturation_does_not_release_a_running_write_child
    unconfirmed_shell_exit_prevents_session_continuation
    unreadable_child_outcome_fails_the_runtime_before_parent_continuation
qq-core  sessions::tests::delegation  =>  sessions::tests::delegation::spawning
    a_child_sessions_summarizer_uses_the_childs_own_prompt_prefix
    a_failed_child_returns_a_tool_error_and_the_parent_continues
    child_final_refusal_is_returned_to_the_parent
    child_sessions_cannot_spawn_and_dispatch_rejects_the_attempt
    configured_worker_model_wins_and_preserves_parent_selection_fields
    explicit_route_outside_the_advertised_list_spawns_when_validation_accepts
    explicit_spawn_model_bypasses_configured_worker_resolution
    failed_child_run_insert_leaves_no_idle_orphan
    multi_turn_child_returns_only_its_final_answer
    parallel_spawn_accounting_is_ordered_exact_and_survives_restart
    parent_cancellation_linearizes_with_in_flight_child_creation
    rejected_spawn_validation_creates_no_child_state_and_names_the_check
    replayed_parent_cancellation_rediscovers_its_running_child
    restart_cancels_a_queued_child_owned_by_an_interrupted_parent
    spawn_agent_runs_a_read_only_child_and_returns_its_final_text
    spawn_validation_covers_worker_and_parent_fallback_routes
    worker_resolution_failure_creates_no_child_state_and_parent_continues
qq-core  sessions::tests::delegation  =>  sessions::tests::delegation::write_children
    a_late_child_approval_runs_once_after_the_parent_switches_to_auto
    a_write_child_cannot_run_a_fixed_stop
    a_write_child_executes_authorized_edits
    a_write_spawn_is_a_mutating_call_under_the_parents_policy
    an_ask_parent_cannot_widen_its_read_child_to_human_approved_writes
    an_auto_child_denies_writes_beneath_an_ask_parent_without_prompting
    nested_write_requests_preserve_the_root_only_write_boundary
    parent_readonly_revocation_denies_a_late_client_child_approval
    write_children_require_the_roster_flag
    write_children_serialize_on_the_per_run_write_permit
qq-core  sessions::tests::execution_context  (same module)
    ab1_execution_receipt_is_atomic_bounded_and_survives_reopen -> execution_receipt_is_atomic_bounded_and_survives_reopen
    ab1_historical_context_stays_unavailable_and_wrong_schema_is_rejected -> historical_context_stays_unavailable_and_wrong_schema_is_rejected
qq-core  sessions::tests::goals  (same module)
    ac4_checklist_mutation_evidence_tracks_actual_changes_and_stays_off_wire -> checklist_mutation_evidence_tracks_actual_changes_and_stays_off_wire
qq-core  sessions::tests::goals  =>  sessions::tests::goals::driver
    a_due_goal_waits_for_a_workspace_restore_and_blocks_starting_one
    active_idle_goal_dispatches_fresh_work_without_a_user_prompt
    concurrent_goal_queue_passes_commit_one_fresh_pending_run
    driver_loader_failures_pause_or_block_without_unbounded_restart
    goal_adoption_ignores_owned_compaction_but_detects_preempting_prompts
    goal_check_edits_preserve_unrelated_stop_states
    goal_check_edits_reset_only_the_changed_check_failure_streak
    goal_failure_and_no_progress_streaks_require_consecutive_matching_outcomes
    goal_pause_cancels_unclaimed_work_and_fences_resume_while_draining
    goal_resume_refuses_spent_unknown_or_draining_state
    goal_terminal_outcomes_pause_backoff_and_bound_failure_streaks
    goal_wait_deadline_exhausts_without_queueing_expired_work
    paused_goal_fences_preparing_user_prompt_until_cancelled
    paused_goal_waits_for_paid_detached_child_after_parent_settlement
    provider_backoff_uses_durable_streak_across_reopen_and_resets_after_completion
    recovered_user_prompt_survives_an_active_goal_edit
    replayed_goal_controls_restore_only_unsettled_paid_cancellation_signals
    user_prompt_preempts_unclaimed_goal_atomically_without_spending_allowance
qq-core  sessions::tests::goals  =>  sessions::tests::goals::notices
    active_goal_side_context_keeps_frozen_notice_within_unit_bound
    client_revision_is_shown_once_without_refreshing_model_control_authority
    client_revision_notice_reopens_as_the_exact_model_window
    failed_turn_notice_commit_rolls_back_the_atom_events_and_capacity
    goal_notice_schema_refuses_wrong_types_without_advancing_the_version
    goal_upgrade_preserves_deployed_notice_and_projection_bytes
    maximum_goal_notice_keeps_verbatim_fields_and_reserves_the_check_tail
    ordered_goal_boundaries_merge_wait_and_retry_deliveries
    revision_notices_across_reactive_checkpoint_overflow_reopen_in_order
    stored_goal_notices_refuse_malformed_atoms_and_exhausted_read_budget
qq-core  sessions::tests::goals  =>  sessions::tests::goals::policy
    auto_goal_checks_derive_contained_authority_without_human_consent
    goal_check_approval_requires_exact_command_and_revision
    goal_check_policy_denies_new_authority_but_not_committed_replays
    goal_policy_checks_each_budget_dimension_against_its_fixed_anchor
    goal_policy_schema_rejects_bad_shapes_without_advancing_the_version
    goal_policy_tightening_before_load_or_main_start_prevents_provider_work
    goal_provider_backoff_uses_durable_policy_without_shortening_model_wait
    goal_workspace_policy_fences_direct_commands_and_preserves_replays_and_stops
qq-core  sessions::tests::goals  =>  sessions::tests::goals::spend
    between_run_compactor_charges_its_goal_after_owner_cancel_and_reopen
    committed_goal_turn_recovery_charges_session_and_historical_goal_once
    common_goal_reservation_clamps_current_remainders_and_preserves_prompt_limits
    delegated_child_spend_keeps_the_original_goal_after_replacement
    detached_child_refreshes_ancestor_budget_after_parent_settlement
    failed_terminal_goal_event_rolls_back_spend_and_outcome_then_retries_once
    goal_admission_refuses_expired_or_unknown_budgets_before_loading
    goal_deadline_expiring_during_loading_refuses_main_request_for_both_origins
    goal_main_start_refreshes_and_persists_positive_remaining_allowance
    goal_request_migration_refuses_bad_shapes_without_advancing_version
    goal_terminal_spend_is_once_and_stays_with_the_captured_historical_goal
    owned_compaction_spend_survives_owner_settlement_and_goal_replacement
    paid_owner_schema_upgrades_and_rejects_bad_shapes_atomically
    paid_preparation_freezes_the_optional_goal_before_main_start
    parent_deletion_preserves_unsettled_paid_child_then_detaches_settled_child
    pending_goal_request_recovery_poison_spend_without_charging_a_run
    real_between_run_compactor_records_goal_dispatch_and_known_rejection
    real_in_run_compactor_preserves_rejected_prefix_and_uncertain_dispatch
    rejected_provider_outage_spends_no_goal_run_or_measured_budget
    rejection_only_goal_recovery_does_not_invent_session_spending
    sponsored_child_rejected_before_turn_preserves_known_zero_goal_spend
qq-core  sessions::tests::loop_guard  (same module)
    ac4_runtime_guard_refusal_is_durable_and_reopens_identically -> runtime_guard_refusal_is_durable_and_reopens_identically
qq-core  sessions::tests::migrations  (same module)
    ab5_schema_fifty_cannot_hide_a_missing_execution_receipt_column -> schema_fifty_cannot_hide_a_missing_execution_receipt_column
    ab5_store_open_rejects_the_next_schema_before_loading_sessions -> store_open_rejects_the_next_schema_before_loading_sessions
qq-core  sessions::tests::progress  (same module)
    ab5_read_only_root_notice_replays_and_legacy_notice_keeps_its_text -> read_only_root_notice_replays_and_legacy_notice_keeps_its_text
qq-core  sessions::tests::projection  (same module)
    ab2_ambiguous_history_fails_only_its_run_and_keeps_fresh_sessions_usable -> ambiguous_history_fails_only_its_run_and_keeps_fresh_sessions_usable
    ab2_ambiguous_history_is_not_assigned_the_current_projection -> ambiguous_history_is_not_assigned_the_current_projection
    ab2_checkpoint_review_without_exact_projection_cannot_lose_its_verdict -> checkpoint_review_without_exact_projection_cannot_lose_its_verdict
    ab2_known_historical_projection_preserves_the_eighth_search_page -> known_historical_projection_preserves_the_eighth_search_page
    ab2_projection_migration_preserves_old_rows_and_refuses_incompatible_stores -> projection_migration_preserves_old_rows_and_refuses_incompatible_stores
    ab2_projection_retries_and_invalid_writes_preserve_first_commit -> projection_retries_and_invalid_writes_preserve_first_commit
    ab2_projection_write_failure_stops_before_next_provider_request -> projection_write_failure_stops_before_next_provider_request
    ab2_replay_uses_exact_persisted_replies_and_a_legacy_correction_notice -> replay_uses_exact_persisted_replies_and_a_legacy_correction_notice
    ab2_started_checkpoint_without_verdict_or_projection_fails_closed -> started_checkpoint_without_verdict_or_projection_fails_closed
qq-core  sessions::transcript::action_bias_tests  (same module)
    ab2_pruning_preserves_long_search_cursor_and_is_idempotent -> pruning_preserves_long_search_cursor_and_is_idempotent
    ab2_replay_matches_live_projection_for_sixty_four_mixed_replies -> replay_matches_live_projection_for_sixty_four_mixed_replies
    ab2_replay_preserves_complete_late_search_pages -> replay_preserves_complete_late_search_pages
qq-core  tests  (same module)
    ab1_inherited_path_shadowed_read_counts_as_work_and_audit -> inherited_path_shadowed_read_counts_as_work_and_audit
qq-core  tests  =>  tests::checkpoints
    a_budget_final_turn_after_a_report_gets_no_continuation_notice
    a_mixed_turn_overlaps_its_leading_reads_then_runs_the_rest_in_order
    a_tool_call_on_the_checkpoint_turn_settles_as_a_rejection_and_the_run_continues
    an_unmetered_empty_checkpoint_is_retried_as_a_transient_fault
    calls_past_the_per_turn_cap_settle_as_tool_errors_and_the_run_continues
    enforces_the_admitted_call_limit_and_checkpoint_request_contract
    renews_the_internal_tool_budget_until_the_task_completes
    the_measured_token_chain_survives_the_slice_checkpoint_and_continuation
qq-core  tests  =>  tests::delegation
    a_spawn_the_parent_cannot_afford_is_refused_as_a_tool_error
    a_tool_free_wait_takes_reports_only_with_an_answer
    ab4_read_only_root_states_authority_and_has_no_action_obligation -> read_only_root_states_authority_and_has_no_action_obligation
    agent_prompt_advertises_fetch_only_when_declared
    agent_prompt_teaches_delegation_only_when_spawn_agent_is_declared
    child_effort_derives_from_the_role_and_never_exceeds_the_parent
    children_receive_the_parents_remaining_budget_and_their_usage_rolls_up
    delegation_authority_guidance_matches_the_spawn_schema
    delegation_guidance_asks_for_a_question_a_purpose_and_an_answer_shape
    delegation_route_resolution_prefers_model_then_role_then_default
    only_a_delivered_answer_restarts_the_stall_count
    roster_prompt_names_the_current_model_and_each_route_with_relative_cost
    spawn_model_overrides_are_normalized_and_forwarded_to_the_spawner
    spawner_less_runs_neither_declare_nor_dispatch_spawn_agent
    spawner_runs_declare_the_tool_and_truncate_oversized_child_answers
    subagent_prompts_say_a_parent_is_waiting_and_read_children_drop_the_implement_line
qq-core  tests  =>  tests::external_tools
    a_model_loads_a_matching_skill_with_arguments_and_reads_the_script_beside_it
    ab2_captured_subset_prompts_only_instruct_declared_tools -> captured_subset_prompts_only_instruct_declared_tools
    ab4_direct_external_grants_control_declaration_and_execution -> direct_external_grants_control_declaration_and_execution
    ab4_direct_gate_and_declarations_share_the_compiled_grant_snapshot -> direct_gate_and_declarations_share_the_compiled_grant_snapshot
    ab4_direct_requests_declare_only_executable_tools_and_state_authority -> direct_requests_declare_only_executable_tools_and_state_authority
    ab4_duplicate_host_grants_authorize_only_the_surviving_owner -> duplicate_host_grants_authorize_only_the_surviving_owner
    ab4_interactive_inspection_only_profiles_have_no_action_obligation -> interactive_inspection_only_profiles_have_no_action_obligation
    ab4_read_only_recovery_omits_granted_external_pins_and_index -> read_only_recovery_omits_granted_external_pins_and_index
    ab4_read_only_root_hides_write_child_authority_and_denies_injection -> read_only_root_hides_write_child_authority_and_denies_injection
    ab4_run_messages_uses_grants_at_first_poll_for_gate_and_declarations -> run_messages_uses_grants_at_first_poll_for_gate_and_declarations
    disclosed_skills_are_listed_and_loadable_only_for_guidance_capable_runs
    explicit_exposure_preserves_catalog_schema_bounds
    explicit_exposure_rejects_hidden_tools_before_full_approval
    explicit_external_exposure_with_a_selector_remains_progressive
    explicit_external_exposure_without_a_selector_is_fully_callable
    external_host_tools_obey_every_approval_mode_regardless_of_hints
    host_failures_are_typed_tool_errors_and_small_catalogs_expose_fully
    progressive_exposure_pins_selected_tools_for_the_rest_of_the_run
    recovered_runs_re_pin_from_prior_select_tools_results
    side_question_rejects_forbidden_calls_without_dispatch_or_approval
qq-core  tests  =>  tests::instructions
    agents_instructions_win_and_claude_is_an_absence_only_fallback
    ambiguous_and_unknown_guidance_fail_before_provider_work
    cancellation_after_workspace_open_starts_no_provider_work
    double_slash_escapes_runtime_guidance_selection
    explicit_workspace_skill_reaches_the_shared_provider_request
    guidance_bounds_and_reserved_names_fail_before_provider_work
    guidance_symlink_escape_fails_before_provider_work
    instruction_file_at_the_byte_limit_reaches_provider
    instruction_symlink_escape_fails_before_provider_work
    invalid_primary_instructions_fail_before_provider_work
    mutation_flow_discovers_mixed_scopes_and_verifies_before_completion
    native_guidance_shadows_compatibility_without_loading_ambient_bodies
    no_instruction_file_and_analysis_only_request_complete_without_mutation
    root_agents_instructions_and_completion_contract_reach_provider
qq-core  tests  =>  tests::mcp
    mcp_failures_are_tool_errors_and_results_are_truncated
    merges_mcp_declarations_and_dispatches_granted_calls_to_the_registry
    ungranted_mcp_calls_are_denied_unattended_and_unknown_names_error
qq-core  tests  =>  tests::retries
    a_retry_sleep_yields_to_cancellation_and_the_deadline
    an_empty_completion_after_tool_results_and_steering_is_still_a_fault
    an_empty_completion_without_usage_is_a_transient_fault_not_an_answer
    credential_load_timeout_does_not_retry_the_turn
    the_turn_retry_allowance_resets_on_a_completed_turn
    transient_faults_retry_the_turn_and_exhaustion_pauses
    turns_provider_errors_into_failed_events
qq-core  tests  =>  tests::summaries
    a_summarizer_run_sends_the_prompt_runs_system_prompt_and_tools_without_context_sources
    in_run_summarize_answers_one_call_turn_with_rejections_and_keeps_only_the_new_reply
    in_run_summarize_fails_on_a_second_call_turn_and_on_a_cut_call_turn
    summary_fold_can_split_after_many_completed_continuation_turns
    summary_fold_preserves_the_cumulative_run_text_bound
    summary_fold_rejects_empty_intermediate_portions_before_more_provider_work
    summary_fold_request_weights_match_each_replaced_transcript
    summary_fold_resets_continuations_and_reports_rejected_work
qq-core  tests  =>  tests::tool_loop
    a_run_follows_a_yielded_command_and_stops_the_rest_when_it_ends
    a_turns_tool_output_is_capped_and_persisted_results_stay_whole
    ab2_batched_searches_defer_before_execution_and_retry_unchanged -> batched_searches_defer_before_execution_and_retry_unchanged
    ab2_deferred_searches_do_not_trigger_a_premature_slice_checkpoint -> deferred_searches_do_not_trigger_a_premature_slice_checkpoint
    ab2_late_direct_search_preserves_complete_pages_and_continuation -> late_direct_search_preserves_complete_pages_and_continuation
    ab3_parallel_default_reads_recover_every_line_under_the_turn_budget -> parallel_default_reads_recover_every_line_under_the_turn_budget
    calls_with_malformed_arguments_short_circuit_without_consulting_the_gate
    executes_read_tools_and_returns_results_in_request_order
    fails_when_provider_completes_with_an_unfinished_tool_call
    gate_less_runs_deny_mutating_tools_and_return_the_error_to_the_model
    invalid_tool_argument_json_yields_a_tool_error_and_continues_the_run
    mutating_calls_execute_sequentially_in_request_order
    oversized_tool_arguments_yield_a_tool_error_and_continue_the_run
    read_tools_overlap_and_cancellation_stops_in_flight_work
    reports_the_underlying_workspace_open_error
    shell_calls_stream_output_deltas_before_their_result
qq-core  tests  =>  tests::truncation
    a_completed_tool_turn_resets_the_reasoning_only_streak
    a_paused_turn_with_no_text_resumes_from_the_original_prompt
    a_policy_bound_ceiling_names_the_policy_not_max_output_tokens
    a_session_shaped_run_raises_an_empty_truncated_cap_toward_the_catalog_ceiling
    a_summarizer_turn_spent_on_reasoning_fails_without_a_notice
    a_tool_call_cut_mid_arguments_with_no_text_is_an_empty_truncation
    a_tool_call_on_the_budget_final_turn_settles_without_running
    a_tool_call_then_cut_turn_changes_the_resend_when_it_can
    a_toolless_request_rejects_provider_tool_calls_before_a_second_poll
    a_truncated_budget_final_turn_settles_as_exhausted_not_continued
    a_truncated_turn_that_streamed_a_tool_call_is_continued_not_failed
    an_empty_truncated_turn_at_the_ceiling_retries_with_a_notice_then_names_the_cause
    an_empty_truncated_turn_raises_the_cap_once_then_completes
    an_empty_truncation_after_the_continuation_cap_does_not_spend_another_turn
    bounds_model_text_across_the_entire_tool_loop
    completed_limited_stream_stays_finished_when_polled_after_its_deadline
    content_filter_stops_still_fail_as_provider_response
    prior_empty_assistant_turns_do_not_block_a_follow_up
    rejects_oversized_provider_tool_metadata
    the_reasoning_diagnostic_counts_only_turns_that_produced_nothing
    truncated_turns_are_committed_and_continued_within_the_cap
    truncation_past_the_cap_settles_with_a_typed_failure
qq-core  tests::loop_guard  (same module)
    ac4_process_work_receipts_reset_repeated_successes -> process_work_receipts_reset_repeated_successes
    ac4_runtime_1500_changed_results_for_one_call_remain_novel -> runtime_1500_changed_results_for_one_call_remain_novel
    ac4_runtime_alternating_stable_reads_pause_after_two_novel_results -> runtime_alternating_stable_reads_pause_after_two_novel_results
    ac4_runtime_external_producer_identity_survives_equal_previews -> runtime_external_producer_identity_survives_equal_previews
    ac4_runtime_host_refusals_do_not_establish_executed_error_streaks -> runtime_host_refusals_do_not_establish_executed_error_streaks
    ac4_runtime_mutation_allows_the_same_read_after_four_results -> runtime_mutation_allows_the_same_read_after_four_results
    ac4_runtime_novel_reads_complete_and_keep_reporting -> runtime_novel_reads_complete_and_keep_reporting
    ac4_runtime_pauses_after_512_quiet_attempts_despite_requested_reports -> runtime_pauses_after_512_quiet_attempts_despite_requested_reports
    ac4_runtime_refuses_fifth_identical_success_in_the_same_turn -> runtime_refuses_fifth_identical_success_in_the_same_turn
    ac4_runtime_refuses_third_identical_error_in_the_same_turn -> runtime_refuses_third_identical_error_in_the_same_turn
    ac4_runtime_unavailable_recall_does_not_prove_an_executed_error_streak -> runtime_unavailable_recall_does_not_prove_an_executed_error_streak
    ac4_verified_process_reads_keep_repeated_observations -> verified_process_reads_keep_repeated_observations
qq-core  tests::progress  (same module)
    ab1_cd_prefixed_reads_without_context_verification_count_as_work -> cd_prefixed_reads_without_context_verification_count_as_work
    ab1_verified_exec_reads_report_on_request_sixty_five -> verified_exec_reads_report_on_request_sixty_five
qq-core  tests::t20  =>  tests::dispatch_corrections
    t20_placeholder_handle_is_a_dispatch_correction_without_a_store_lookup -> placeholder_handle_is_a_dispatch_correction_without_a_store_lookup
    t20_strict_refuses_only_unprefixed_contained_reads_and_keeps_hints -> strict_builtin_preference_refuses_only_unprefixed_contained_reads_and_keeps_hints
qq-core  tools::output::tests  (same module)
    ab2_mixed_pages_and_long_recall_names_fit_all_sixty_four_replies -> mixed_pages_and_long_recall_names_fit_all_sixty_four_replies
    ab2_sixteen_search_pages_cannot_bypass_the_turn_cap -> sixteen_search_pages_cannot_bypass_the_turn_cap
qq-core  tools::process_context::evidence::tests  (same module)
    ab6_configured_producer_survives_plan_compile_and_real_process_execution -> configured_producer_survives_plan_compile_and_real_process_execution
    ab6_ten_image_v2_receipt_fits_the_existing_store_bound -> ten_image_v2_receipt_fits_the_existing_store_bound
    ab6_v2_proof_requires_call_manifest_plan_policy_and_pinned_producer -> v2_proof_requires_call_manifest_plan_policy_and_pinned_producer
qq-core  tools::process_context::provenance::tests  (same module)
    ab6_cancelled_producer_capture_does_not_poison_later_evidence -> cancelled_producer_capture_does_not_poison_later_evidence
    ab6_concurrent_producer_capture_shares_one_complete_identity -> concurrent_producer_capture_shares_one_complete_identity
    ab6_producer_source_is_closed_and_capture_is_shared -> producer_source_is_closed_and_capture_is_shared
qq-core  tools::process_context::tests  (same module)
    ab1_verified_image_is_bound_and_unverified_effects_count_as_work -> verified_image_is_bound_and_unverified_effects_count_as_work
qq-core  tools::read::tests  (same module)
    ab3_masked_long_header_keeps_room_for_a_separate_repair_note -> masked_long_header_keeps_room_for_a_separate_repair_note
    ab3_zero_row_window_returns_an_explicit_budget_error -> zero_row_window_returns_an_explicit_budget_error
qq-core  tools::search::tests  (same module)
    ab2_depth_excluded_siblings_advance_the_scan_frontier -> depth_excluded_siblings_advance_the_scan_frontier
qq-core  tools::tests  =>  tools::tests::argument_repairs
    readonly_argument_repairs_are_noted_without_changing_the_read
    readonly_argument_repairs_drop_observed_irrelevant_read_ignore_flag
    readonly_argument_repairs_keep_continuation_and_hashes_when_bounded
    readonly_argument_repairs_keep_search_pagination_usable
    readonly_argument_repairs_note_execution_errors
    readonly_argument_repairs_preserve_authority_duplicates_and_bounds
    readonly_argument_repairs_preserve_complete_search_text_and_original_cursor
    readonly_argument_repairs_preserve_line_clipping_counts
    readonly_argument_repairs_preserve_the_prunable_search_header
    readonly_argument_repairs_remain_visible_for_long_paths
qq-core  tools::tests  =>  tools::tests::dispatch
    a_directory_swap_cannot_redirect_an_admitted_write_into_git_trust_files
    built_in_tool_declarations_keep_their_order_and_schema_identity
    complete_result_identity_survives_identical_previews_and_discarded_spills
    dispatch_protects_canonical_policy_and_git_aliases
    dispatch_protects_policy_and_git_trust_files_without_blocking_ordinary_writes
    dispatch_rejects_a_protected_edit_batch_before_changing_any_file
    edit_and_write_reject_containment_escapes
    every_minimal_call_decodes
    fetch_catalog_presence_matches_the_build_feature
    file_tools_preserve_human_changes_during_staging
    host_failures_do_not_invent_observed_tool_results
    mutation_argument_refusals_are_not_execution_observations
    mutation_leaf_cancellation_is_not_an_execution_observation
    rejects_parent_and_symlink_escapes
    secrets_in_results_are_masked_at_the_boundary
    spawn_agent_authority_guidance_matches_write_capability
    spawn_agent_hides_model_override_without_authenticated_routes
    spawn_agent_model_override_is_explicit_and_omitted_by_default
    spawn_agent_with_a_roster_selects_by_role_and_limits_overrides_to_roster_routes
    tool_result_provenance_separates_execution_from_argument_refusal
qq-core  tools::tests  =>  tools::tests::edit
    a_rename_failure_midway_reports_partial_apply_and_records_what_landed
    atomic_applies_preserve_permissions_and_leave_no_temp_files
    concurrent_sessions_conflict_at_file_granularity
    edit_batches_apply_in_order_across_files_with_anchors_and_report_each
    edit_batches_fail_whole_with_the_edit_index_and_write_nothing
    edit_dry_run_previews_without_writing_and_if_hash_replaces_a_read
    edit_fails_precisely_on_absent_and_ambiguous_old_strings
    edit_replace_all_replaces_every_occurrence
    edit_replaces_exact_strings_and_refreshes_the_recorded_hash
    edits_and_overwrites_require_a_prior_read_in_this_session
    edits_carry_their_diff_as_a_ui_payload_never_as_model_text
    stale_files_fail_the_apply_until_they_are_reread
    write_file_creates_new_files_without_a_prior_read
    write_file_hints_at_edit_file_when_most_lines_are_kept
    zero_hash_placeholder_reads_as_absent
qq-core  tools::tests  =>  tools::tests::read
    a_spilled_read_stores_the_ignored_offset_note
    ab3_continuation_beyond_start_offset_bound_is_terminal -> continuation_beyond_start_offset_bound_is_terminal
    ab3_default_reads_fill_the_budget_and_explicit_limits_resume -> default_reads_fill_the_budget_and_explicit_limits_resume
    ab3_full_row_is_not_clipped_again_after_adding_the_gutter -> full_row_is_not_clipped_again_after_adding_the_gutter
    ab3_long_path_headers_preserve_contiguous_model_visible_rows -> long_path_headers_preserve_contiguous_model_visible_rows
    ab3_native_unicode_header_preserves_repaired_read_windows -> native_unicode_header_preserves_repaired_read_windows   [Windows only]
    ab3_native_zero_row_window_returns_a_budget_error -> native_zero_row_window_returns_a_budget_error   [Windows only]
    ab3_rendered_line_bound_continues_contiguously_without_spill -> rendered_line_bound_continues_contiguously_without_spill
    ab3_scan_cap_continuation_does_not_claim_an_exact_remainder -> scan_cap_continuation_does_not_claim_an_exact_remainder
    ab3_scan_cap_offsets_remain_readable_until_a_terminal_marker -> scan_cap_offsets_remain_readable_until_a_terminal_marker
    ab3_secret_masking_preserves_contiguous_default_windows -> secret_masking_preserves_contiguous_default_windows
    control_dense_results_are_bounded_by_their_json_escaped_size
    read_and_list_are_bounded_and_deterministic
    read_file_accepts_a_multibyte_char_split_by_the_scan_cap
    read_file_does_not_mark_an_exactly_cap_sized_file_truncated
    read_file_if_changed_since_skips_unchanged_content_but_still_records
    read_file_outline_and_info_modes
    read_file_ranges_merge_align_and_report_bounds
    read_file_ranges_win_over_default_shaped_offset_and_limit
    read_file_reports_ignored_offsets_in_every_successful_mode
    read_file_stops_at_its_byte_budget_and_names_the_resume_offset
    read_search_identity_excludes_advisory_only_search_changes
    read_search_identity_ignores_unmatched_file_renames
    read_search_identity_retains_clipped_search_context
    read_search_identity_retains_read_lines_before_clipping_and_respects_scan_cap
    read_search_identity_retains_search_rows_before_clipping
    t20_oversized_search_and_ranges_keep_lossless_corrections -> oversized_search_and_ranges_keep_lossless_corrections
qq-core  tools::tests  =>  tools::tests::search
    a_fifo_or_oversized_ignore_file_is_skipped_not_read
    ab2_cursor_path_boundary_round_trips_without_header_clipping -> cursor_path_boundary_round_trips_without_header_clipping
    ab2_instruction_discovery_depth_windows_cover_boundaries -> instruction_discovery_depth_windows_cover_boundaries
    ab2_instruction_link_pages_resume_without_following_directory_links -> instruction_link_pages_resume_without_following_directory_links
    ab2_long_directory_watermark_decodes_and_reaches_later_instructions -> long_directory_watermark_decodes_and_reaches_later_instructions
    ab2_long_nonmatching_prefix_releases_its_cursor_reservation -> long_nonmatching_prefix_releases_its_cursor_reservation
    ab2_names_and_content_search_reach_an_explicit_ignored_worktree -> names_and_content_search_reach_an_explicit_ignored_worktree
    ab2_names_discover_file_ignored_instructions_in_visible_directories -> names_discover_file_ignored_instructions_in_visible_directories
    ab2_names_discovery_reports_safe_instruction_links_and_blocks_bad_links -> names_discovery_reports_safe_instruction_links_and_blocks_bad_links
    ab2_names_scan_budget_advances_past_empty_directories -> names_scan_budget_advances_past_empty_directories
    ab2_names_scan_budget_advances_past_nonmatching_links -> names_scan_budget_advances_past_nonmatching_links
    ab2_unrepresentable_match_returns_an_explicit_budget_error -> unrepresentable_match_returns_an_explicit_budget_error
    search_honours_gitignore_generated_directories_and_include_ignored
    search_matches_names_and_content_without_following_symlinks
    search_modes_regex_case_context_and_globs
    search_pages_with_an_exact_cursor_and_caps_per_file
    search_skips_oversized_and_binary_files_and_counts_them
    search_stops_at_the_byte_budget_with_a_cursor_instead_of_cutting
    search_tolerates_invalid_utf8_and_a_symlink_loop
qq-core  tools::tests  =>  tools::tests::shell
    a_background_process_holding_the_pipe_does_not_block_the_call
    a_command_starts_in_a_group_its_ready_watcher_leads
    a_long_command_yields_and_completes_through_command_status
    a_one_mebibyte_log_is_searchable_through_read_tool_result
    a_running_build_survives_the_old_ten_minute_ceiling
    a_running_build_without_a_command_timeout_survives_two_minutes
    a_yielded_escaped_tree_dies_when_the_run_ends
    bounded_capture_keeps_head_and_tail_and_counts_omitted_bytes
    cancel_and_timeout_kill_descendants_that_left_the_group
    commands_get_plain_output_defaults
    commands_see_their_working_directory_in_pwd_and_no_oldpwd
    dropped_shell_waiter_is_reaped_before_drain_with_full_live_output
    dropped_write_waiter_drains_the_actual_atomic_apply
    exec_runs_an_exact_argv_without_shell_interpretation
    failed_process_receipt_write_reaps_child_and_blocks_settlement
    panicked_shell_task_never_reports_confirmed_quiescence
    saturated_live_output_never_masks_shell_cancellation
    saturated_live_output_never_masks_the_shell_timeout
    shell_accepts_a_build_deadline_longer_than_ten_minutes
    shell_cancellation_kills_the_process_group
    shell_children_inherit_the_full_environment
    shell_hints_at_the_built_in_for_the_first_program_unless_off
    shell_identity_survives_the_actual_capture_and_dispatch_path
    shell_nonzero_exits_are_tool_errors_that_carry_the_exit_code
    shell_output_is_truncated_head_and_tail_at_the_budget
    shell_pins_the_working_directory_inside_the_workspace
    shell_rejects_empty_commands_and_out_of_range_timeouts
    shell_runs_commands_streams_output_and_reports_the_exit_code
    shell_timeout_kills_the_whole_process_group_and_names_its_limit
    stalled_process_receipt_cannot_delay_cancellation_or_timeout
    the_command_table_forgets_unread_results_and_cancel_is_bounded
    yielded_commands_stop_on_cancel_and_on_teardown
qq-core  tools::tests  =>  tools::tests::tree
    cancellation_and_large_directories_stop_at_explicit_bounds
    tree_fills_breadth_first_with_counts_chains_and_ignored_markers
qq-core  tools::walk::tests  (same module)
    ab2_directory_listing_is_bounded_before_ordered_pages -> directory_listing_is_bounded_before_ordered_pages
    ab2_directory_listing_stops_at_mid_enumeration_cancellation -> directory_listing_stops_at_mid_enumeration_cancellation
qq-host  runtime::tests  (same module)
    ab2_unresolved_projection_keeps_the_server_recovery_message -> unresolved_projection_keeps_the_server_recovery_message
qq-host  runtime::tests  =>  runtime::tests::catalog
    catalog_hides_builtin_models_until_the_provider_is_authenticated
    catalog_merges_live_ids_without_overriding_configured_metadata
    codex_live_catalog_replaces_implicit_models_but_keeps_explicit_routes
    durable_trust_recompiles_a_plan_that_withheld_untrusted_authority
    served_catalog_does_not_require_a_configured_model
    startup_withholds_untrusted_authority_without_weakening_strict_inspection
    unauthenticated_builtins_carry_a_remedy_and_authenticated_ones_do_not
qq-host  runtime::tests  =>  runtime::tests::clients
    direct_and_server_commands_resolve_identical_slash_guidance
    observers_fall_behind_restart_and_converge_without_delaying_commits
    tui_client_delivers_workspace_capabilities_and_refreshes_them
    tui_client_opens_new_named_or_existing_sessions_and_refuses_bad_ids
qq-host  runtime::tests  =>  runtime::tests::goal_policy
    goal_check_authority_loads_current_shell_denies_and_refuses_bad_policy
    goal_check_policy_validation_has_a_bounded_lazy_blocking_pool
    isolated_tui_qa_policy_survives_runtime_callbacks_and_reconnect
    workspace_goal_policy_maps_current_limits_without_model_loading
qq-host  runtime::tests  =>  runtime::tests::plan_compilation
    cache_routing_follows_the_builtin_route
    codex_plan_compilation_keeps_credentials_request_time
    codex_plan_with_no_live_cache_uses_configured_effort_ladder
    global_skills_come_from_the_configuration_directory
    model_options_carry_the_advertised_effort_ladder
    plan_compilation_reads_only_the_selected_providers_credential
    plan_spawn_routes_offer_only_providers_with_a_credential_present
    preparation_cancellation_suppresses_later_phases_and_cache_publication
    preparation_cancelled_before_poll_skips_blocking_workspace_work
    provider_default_overrides_configured_effort_without_becoming_a_wire_level
    reasoning_effort_outside_the_advertised_ladder_is_a_plan_error
    reasoning_effort_profiles_overrides_and_cache_preserve_explicit_choices
    responses_body_shape_follows_the_route_not_the_auth_scheme
    the_responses_body_shape_is_part_of_the_request_shape_digest
qq-host  runtime::tests  =>  runtime::tests::plans
    ab1_factory_clones_profiles_and_cache_keep_host_read_approvals -> factory_clones_profiles_and_cache_keep_host_read_approvals
    configured_static_exposure_names_match_the_compiled_catalog
    described_endpoints_drop_userinfo_query_and_fragment
    exposure_intersects_profile_mcp_admission_before_member_validation
    file_backed_provider_rotation_rebinds_new_runs_and_preserves_held_plans
    pack_profiles_compile_persona_skills_tool_policy_and_mcp_subsets_into_plans
    plan_descriptor_covers_provider_model_workspace_and_tools_without_secrets
    profiles_select_defaults_key_the_plan_cache_and_reject_unknown_names
    source_changes_during_plan_admission_do_not_certify_stale_configuration
    workspace_config_edits_recompile_and_a_broken_edit_keeps_the_valid_plan
qq-host  runtime::tests  =>  runtime::tests::providers
    accepts_case_insensitive_loopback_http_schemes
    constructs_amazon_bedrock_mantle_runtimes_for_supported_apis_and_auth_modes
    constructs_amazon_bedrock_runtimes_for_every_auth_mode_without_network_access
    constructs_and_reuses_openai_codex_runtime_for_the_selected_profile
    constructs_every_wired_http_api_and_builtin_key_provider
    constructs_xai_runtimes_for_model_selected_responses_and_chat_protocols
    credential_rotation_changes_the_epoch_but_not_the_plan_digest
    direct_runtime_uses_catalog_context_window_before_provider_io
    google_is_authenticated_by_the_google_api_key_alias
    google_is_authenticated_by_the_google_api_key_alias_child
    mantle_model_api_metadata_overrides_the_provider_default
    mantle_runtime_cache_identity_includes_region_api_and_aws_profile
    plan_digest_includes_custom_auth_header_name_but_never_its_value
    rejects_unsupported_amazon_bedrock_mantle_apis_before_network_access
    reuses_matching_runtimes_and_separates_auth_modes
    runtime_cache_identity_includes_effective_context_window
    xai_descriptor_names_an_explicit_reference_over_the_profile
qq-host  runtime::tests  =>  runtime::tests::resolved_models
    a_derived_roster_effort_is_fitted_to_the_child_route
    a_new_session_pins_the_output_cap_only_when_it_was_chosen
    a_persisted_output_limit_below_the_default_is_treated_as_unset
    a_plan_carries_the_catalog_output_ceiling_bounded_by_policy
    builtin_request_shape_identities_are_pinned
    delegation_roster_carries_catalog_metadata_and_relative_cost
    delegation_roster_uses_effective_gateway_limits_without_inventing_other_metadata
    litellm_bedrock_alias_keeps_automatic_compaction_enabled
    protocol_pricing_adapter_preserves_every_field
    reasoning_effort_lifts_the_default_output_cap_where_thinking_shares_it
    request_shape_identity_is_canonical_and_tracks_every_safe_wire_input
    request_shape_identity_stays_unknown_for_secret_bearing_deployment_channels
    resolved_model_caps_output_to_known_metadata_and_preserves_unknown_limits
    resolved_model_is_secret_free_and_carries_effective_metadata
    resolved_model_rejects_output_limits_the_codec_cannot_represent
    resolved_model_reports_codex_controls_and_named_auth_profiles
    resolves_configured_worker_model_and_falls_back_to_parent_selection
    session_model_fallback_resolves_config_but_explicit_pin_wins
qq-host  runtime::tests  =>  runtime::tests::spawn_validation
    model_catalog_selection_does_not_advertise_an_unadmitted_route
    spawn_admission_keeps_the_parent_runs_advertised_selection
    spawn_validation_accepts_discovered_models_from_a_warm_cache_without_network
    spawn_validation_names_each_failed_check
    spawn_validation_rejects_policy_denied_providers
    spawn_validation_rejects_unreadable_stored_oauth_logins
    spawn_validation_requires_provider_authentication_at_spawn_time
qq::bin/qq  cli::tests  (same module)
    ab1_read_approval_flag_parses_for_every_execution_surface -> read_approval_flag_parses_for_every_execution_surface
qq::bin/qq  headless::tests  =>  headless::tests::budgets
    budgets_settle_runs_as_budget_exhaustion
    hard_cost_budget_cancels_an_unmetered_looping_child
    inclusive_cost_never_substitutes_a_direct_alias_for_unknown_child_cost
    inclusive_usage_counts_children_and_preserves_unknown_totals
    turn_budget_cancels_before_a_silent_over_budget_turn_can_hang
qq::bin/qq  headless::tests  =>  headless::tests::cancellation
    aborting_the_headless_owner_still_settles_its_accepted_run
    event_output_failure_cancels_and_settles_the_run
    final_text_output_failure_is_a_harness_failure
    interrupt_sends_cancellation_and_leaves_no_active_run
    output_failure_after_prompt_submission_cancels_and_settles_the_run
    timeout_sends_cancellation_and_leaves_no_active_run
    trace_failure_after_prompt_submission_cancels_and_settles_the_run
qq::bin/qq  headless::tests  =>  headless::tests::delivery_history
    a_finished_run_recovers_its_answer_after_delivery_history_expires
    an_interrupt_keeps_its_exit_status_when_delivery_history_expires
    an_unanswered_question_survives_a_delivery_gap_without_an_invented_answer
    canonical_replies_preserve_long_utf8_and_truncations_without_text_messages
    canonical_reply_channel_order_survives_database_maintenance
    foreground_auto_goal_denies_fixed_stops_without_a_human_wait
    settled_goal_run_records_survive_delivery_history_retirement
qq::bin/qq  headless::tests  =>  headless::tests::foreground_goal
    closing_goal_host_drains_accepted_work_without_admitting_successors
    foreground_goal_achievement_and_blocking_emit_every_direct_run_before_final_state
    foreground_goal_adopts_active_edits_for_interrupt_and_cleanup
    foreground_goal_adopts_active_work_and_leaves_foreign_runs_running
    foreground_goal_check_scopes_control_real_repeated_check_execution
    foreground_goal_cleanup_preserves_an_existing_input_pause
    foreground_goal_early_trace_failure_keeps_final_stdout_usable
    foreground_goal_harness_failure_still_emits_final_record
    foreground_goal_held_family_drains_before_terminal_output
    foreground_goal_input_controls_and_run_reads_are_identity_fenced
    foreground_goal_interrupt_pauses_and_returns_distinct_exit
    foreground_goal_interrupt_reconciles_durable_achievement
    foreground_goal_interrupt_with_queued_question_replays_to_final_record
    foreground_goal_invalid_new_invocations_do_not_create_sessions
    foreground_goal_invalid_resume_does_not_pause_active_goal
    foreground_goal_missing_specification_rejects_before_settings_change
    foreground_goal_output_failure_pauses_active_work_and_preserves_stopped_reason
    foreground_goal_owner_abort_durably_pauses_accepted_goal
    foreground_goal_refused_check_consent_is_invalid_configuration
    foreground_goal_rejects_preempting_user_work_before_adoption
    foreground_goal_reopen_replays_work_before_client_adoption
    foreground_goal_runs_existing_driver_until_budget_and_emits_each_direct_run
    foreground_goal_text_trace_failure_preserves_summary_and_exit
    foreground_goal_trace_flush_does_not_duplicate_the_final_record
    foreground_goal_unanswered_question_retains_needs_user_reason
    foreground_goal_without_check_consent_returns_paused_without_model_work
qq::bin/qq  headless::tests  =>  headless::tests::output
    a_repaired_typed_answer_reports_the_repairs_it_spent
    a_valid_typed_answer_rides_the_outcome_record_and_the_trial_names_the_schema
    an_answer_that_never_validates_is_a_task_failure_with_the_typed_verdict
    an_empty_correlation_is_absent_from_the_trial_record
    auto_children_fetch_public_hosts_but_managed_denies_prevent_dispatch
    embedded_source_revision_is_exact_and_matches_display_revision
    internal_slice_rollover_is_not_a_headless_terminal_outcome
    jsonl_output_never_carries_the_resume_hint
    jsonl_records_have_monotonic_cursors_and_exactly_one_terminal_outcome
    text_format_prints_the_validated_document_not_the_fence
    text_format_streams_progress_to_stderr_and_answers_on_stdout
    text_read_only_denials_end_with_the_approval_auto_hint_before_the_resume_hint
    the_denial_hint_is_silent_in_jsonl_where_records_carry_the_denials
    the_denial_hint_is_silent_under_auto
    the_denial_hint_is_silent_when_read_only_denied_nothing
    the_resume_hint_is_printed_after_a_timed_out_run_too
    the_resume_hint_names_the_session_on_stderr_and_never_touches_stdout
    without_a_contract_the_records_carry_no_output_fields
qq::bin/qq  headless::tests  =>  headless::tests::resume
    goal_resume_preserves_ask_for_unattended_mutations
    session_resume_after_an_unclean_exit_recovers_the_interrupted_run_first
    session_resume_permission_selection_is_shared_by_prompt_and_goal
    session_resume_preserves_ask_and_its_unattended_policy_without_an_override
    session_resume_read_only_uses_its_effective_denial_hint
    session_resume_rejects_unknown_foreign_busy_and_child_sessions
    session_resume_submits_into_the_idle_session_and_applies_the_invocation
qq::bin/qq  tests  (same module)
    ab1_existing_server_cannot_silently_ignore_read_approvals -> existing_server_cannot_silently_ignore_read_approvals

lg2m added 30 commits November 1, 2026 02:29
…ne nextest profile

Tests use one thread per CPU; real-process tests share a two-thread group so
their exit confirmation is not starved, and only the ~15 slowest tests get
priority. Soak tests form a group the pull-request gate leaves out and
`cargo xtask check --full` runs.

The hand-picked test-exact steps become a nextest `platform` profile whose
selection CI diffs against .config/platform-tests/<os>.txt; the two Windows
jobs merge into one. `cargo xtask lint` requires every Windows- or
macOS-only test to be listed.

Adds a 14-day quarantine list with a lint, a gate exclusion and a
non-blocking stress job, starting empty. The devcontainer job runs only when
its inputs change or off pull requests; the minimal core profile runs as its
own job.
…stead of migrating them

Schema 25 shipped in v0.0.1. Steps 1-24 only served unreleased builds, so
they go together with their tests, and opening an older store now fails with
SessionRuntimeError::UnsupportedStoreSchema.
Seeds at unreleased schemas (27, 29-31, 40-42, 45-49, 51-57, 60-63) move to
the nearest released schema below them (26, 28, 39, 43, 50, 58). Tests whose
seeded state never existed in a released store (goal rows before 58, the
experimental 48 notice build) are deleted.
With an active goal the scheduler queues a goal-origin run as soon as the
goal is set. Under load it was claimed before the fixture's prompt, so the
report counted the prompt's tool events (zero) while the goal run did the
work. The fixture now follows the queued goal run, with a per-run turn cap
that fits the scripted workload.
One checked goal now covers the real kills, waits, outages, interleaved
prompts, achievement through the check, and then a replacement goal that
runs out its deadline, which the unchecked soak used to prove.
The perf run keeps its 560 paced 1 KiB chunks. The test streams 8 KiB
chunks with no pause, which still commits over 512 events, the gate it
checks. The captured-output timeout test waits 100 ms instead of 1 s.
The in-run compaction scripts spawned about 640 shells only to produce
6 KB results. A test tool now returns the same stored bytes (the bounded
2,051-byte shell result), so every test compacts exactly as many times as
before. The verbatim-goal test runs 30 turns instead of 72, which still
compacts five times per row.
A 5 s limit made each case wait 5 s. On one loaded core the run needs
about 520 ms to reach the hung summarizer (22 ms unloaded), so 500 ms
failed under stress while 2 s passed 40 of 40.
Each run reads three 90 KiB notes instead of one, so the window-less
session crosses the point where stale reads must be shed after about 40
runs instead of 140. The assertions are unchanged.
lg2m added 16 commits November 1, 2026 11:06
Moves test items verbatim into sibling modules (no mod.rs). Paths in nextest filters, platform lists, worker re-exec strings and the legacy-sleeps baseline follow the new module paths; test names are unchanged.
Drops the ab1-ab6, ac4 and t20 prefixes, renames the ab2_contract, ab2_header_authority and t20 modules, and updates the nextest filters, platform lists and worker re-exec strings that named them.
@lg2m lg2m added the ci:full label Nov 1, 2026
@lg2m
lg2m added this pull request to the merge queue Nov 1, 2026
@lg2m
lg2m removed this pull request from the merge queue due to a manual request Nov 1, 2026
@lg2m

lg2m commented Nov 1, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-01T22:50:25.994699Z d53ffc4 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. More of your lovely PRs please.

Reviewed commit: d53ffc4aa9

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@lg2m
lg2m added this pull request to stack #531 November 2, 2026 01:41
@lg2m
lg2m added this pull request to the merge queue Nov 2, 2026
@lg2m
lg2m removed this pull request from the merge queue due to a manual request Nov 2, 2026
@lg2m
lg2m added this pull request to the merge queue Nov 2, 2026
Merged via the queue into main with commit ee117ea Nov 2, 2026
34 of 40 checks passed
@lg2m
lg2m deleted the test/split-and-rename branch November 2, 2026 01:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant