safe-chains 0.243.6

Auto-allow safe bash commands in agentic coding tools
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
# Every file under src/, classified. `tests/properties.rs` enforces it.
#
# `pure`: behaviour is a function of the inputs (the classifier reads HOME and a thread-local
# directory context, but a property fixes both, so the classifier modules count as pure). Each
# names the property tests stating its invariants: a bare name is a fn inside a `proptest!` block
# in that file, `"src/x.rs::name"` one in another file (most of this crate's properties live in
# whole-file suites). A pure file with none yet goes in `owed`, which may only shrink: a file
# that gains a property leaves it in the same change.
#
# `effectful`: does I/O, owns process-wide state loaded from disk, or is module wiring with no
# logic of its own, with the reason. `test_only`: a whole-file test suite.
#
# Example-only and registry-sweep tests (`every_*`) are not properties here: a property states an
# invariant over generated inputs.

owed = [
  "src/cst/budget.rs",
  "src/cst/reserved.rs",
  "src/engine/archetype.rs",
  "src/engine/resolve/flags.rs",
  "src/envvars.rs",
  "src/envvars/option_string.rs",
  "src/handlers/coreutils/sed.rs",
  "src/handlers/forges/glab.rs",
  "src/handlers/ruby/bundle.rs",
  "src/registry/docs.rs",
]

[pure]
"src/registry/passthrough_gate.rs" = ["src/registry/tests.rs::a_passthrough_beside_any_non_policy_modifier_is_never_accepted"]
"src/targets/declared.rs" = ["a_named_directory_is_used_only_when_absolute_and_otherwise_unknown"]
"src/cst/cd.rs" = ["cdpath_redirects_only_an_unanchored_name"]
"src/cst/cwd_flow.rs" = ["a_union_keeps_every_folder_or_collapses_to_unknown", "a_flow_after_an_or_starts_only_from_failures", "exactly_the_cap_of_distinct_folders_is_kept_and_one_more_collapses", "an_or_keeps_the_successes_of_both_sides_and_the_failures_of_the_last"]
"src/cst/check.rs" = [
  "src/cst/proptests.rs::safe_redirects_always_pass",
  "src/cst/proptests.rs::unsafe_sub_detected_in_word",
  "src/cst/proptests.rs::unsafe_sub_in_dquote_detected",
  "src/cst/proptests.rs::safe_word_no_subs",
  "src/cst/proptests.rs::unsafe_injected_into_pipeline",
  "src/cst/proptests.rs::unsafe_in_subshell_detected",
  "src/cst/proptests.rs::unsafe_in_for_body_detected",
  "src/cst/proptests.rs::unsafe_in_while_body_detected",
  "src/cst/proptests.rs::unsafe_in_while_cond_detected",
  "src/cst/proptests.rs::unsafe_in_if_body_detected",
  "src/cst/proptests.rs::unsafe_in_if_cond_detected",
  "src/cst/proptests.rs::unsafe_in_else_detected",
  "src/cst/proptests.rs::unsafe_in_for_items_sub_detected",
  "src/cst/proptests.rs::file_redirect_promotes_to_safewrite",
  "src/cst/proptests.rs::redirect_to_auto_executed_target_is_denied",
  "src/cst/proptests.rs::heredoc_always_safe",
  "src/cst/proptests.rs::a_heredoc_body_cannot_change_the_verdict",
  "src/cst/proptests.rs::unicode_prefix_never_matches_allowlist",
  "src/cst/proptests.rs::unicode_suffix_never_matches_allowlist",
  "src/handler_property_tests.rs::a_heredoc_body_is_code_only_behind_a_bare_delimiter",
]
"src/cst/display.rs" = ["src/cst/proptests.rs::roundtrip"]
"src/cst/echoed.rs" = ["src/cst/echoed_tests.rs::printed_items_are_written_only_where_each_may_be"]
"src/cst/eval.rs" = [
  "src/cst/proptests.rs::eval_determinism",
  "src/cst/proptests.rs::function_definition_is_always_inert",
  "src/cst/proptests.rs::var_substitution_matches_manual_expansion",
  "src/cst/proptests.rs::function_arg_binding_matches_direct_call",
  "src/handler_property_tests.rs::a_flanked_atom_never_moves_where_the_write_lands",
  "src/handler_property_tests.rs::an_unflanked_atom_is_never_admitted",
]
"src/cst/arith.rs" = [
  "src/cst/arith_tests.rs::an_assignment_in_any_arithmetic_context_is_refused_and_a_comparison_is_not",
]
"src/cst/arith/commands.rs" = [
  "src/cst/arith_tests.rs::an_assignment_in_any_arithmetic_context_is_refused_and_a_comparison_is_not",
]
"src/cst/arith/expression.rs" = [
  "src/cst/arith_tests.rs::an_assignment_in_any_arithmetic_context_is_refused_and_a_comparison_is_not",
]
"src/cst/functions.rs" = [
  "src/cst/proptests.rs::a_redefinition_in_one_command_does_not_reach_the_next",
  "src/cst/proptests.rs::a_call_whose_body_is_unknown_never_runs_the_command_it_shadows",
  "src/cst/proptests.rs::a_function_the_shell_runs_unnamed_is_judged_at_its_definition",
  "src/cst/proptests.rs::an_alias_definition_is_refused_and_a_listing_is_not",
  "src/cst/proptests.rs::a_hash_that_binds_a_name_to_a_path_is_refused_and_a_lookup_is_not",
]
"src/cst/explain.rs" = [
  "src/handler_property_tests.rs::explain_agrees_with_enforcement_whatever_the_call_order",
  "src/handler_property_tests.rs::command_text_cannot_forge_a_segment_line",
  "src/cst/explain.rs::hook_context_has_one_line_per_listed_segment",
]
"src/cst/mod.rs" = [
  "src/handler_property_tests.rs::arbitrary_command_strings_never_panic",
  "src/handler_property_tests.rs::substitution_salad_terminates_fast",
  "src/cst/normalize_tests.rs::normalizing_keeps_every_redirect",
]
"src/cst/netargs.rs" = [
  "src/cst/netargs_tests.rs::a_network_command_never_approves_an_expanded_argument",
  "src/cst/netargs_tests.rs::a_network_command_never_approves_an_xargs_or_exec_item",
  "src/cst/netargs_tests.rs::a_quoted_dollar_never_trips_the_mark",
  "src/cst/netargs_tests.rs::a_request_item_reads_a_file_only_through_an_at_separator",
]
"src/cst/parse/function.rs" = ["src/cst/proptests.rs::roundtrip", "src/cst/proptests.rs::a_redirect_written_on_a_function_body_applies_to_each_call"]
"src/cst/parse.rs" = [
  "a_random_unclosed_nest_parses_in_linear_work",
  "src/cst/funsub_tests.rs::a_function_substitution_is_never_approved",
  "src/cst/proptests.rs::roundtrip",
  "src/cst/proptests.rs::parse_never_panics",
  "src/cst/escape_tests.rs::a_line_continuation_inside_a_word_never_changes_the_verdict",
]
"src/cst/sub_close.rs" = [
  "src/cst/parse.rs::a_random_unclosed_nest_parses_in_linear_work",
  "src/cst/proptests.rs::roundtrip",
]
"src/cst/ansi_c.rs" = [
  "src/cst/opaque_tests.rs::ansi_c_hex_spelling_is_the_same_word",
  "src/cst/opaque_tests.rs::locale_quote_is_the_double_quoted_string",
]
"src/cst/loops.rs" = ["src/cst/loops_tests.rs::a_literal_loop_approves_exactly_when_every_substituted_body_does"]
"src/cst/opaque.rs" = [
  "src/cst/opaque_tests.rs::registry_commands_never_trust_an_unknown_word",
  "src/cst/opaque_tests.rs::an_unknown_word_never_approves_what_a_refused_program_would",
  "src/cst/opaque_tests.rs::a_glued_item_never_approves_what_its_text_would_not",
]
"src/cst/printed.rs" = ["src/cst/printed_tests.rs::a_printed_word_is_never_safer_through_xargs", "src/cst/printed_tests.rs::the_utility_is_never_replaced"]
"src/cst/heredocs.rs" = ["src/cst/heredocs_tests.rs::commands_after_a_heredoc_on_its_line_are_judged_as_written", "src/cst/heredocs_tests.rs::an_expansion_in_a_body_never_approves_more_than_the_command"]
"src/cst/escape.rs" = [
  "src/cst/escape_tests.rs::a_line_continuation_inside_a_word_never_changes_the_verdict",
  "src/cst/classify_budget_tests.rs::backtick_substitutions_never_parse_more_than_the_allowance",
]
"src/cst/opaque/declared.rs" = ["src/cst/opaque_tests.rs::a_rebound_variable_is_not_read_stale"]
"src/cst/opaque/items.rs" = ["src/cst/opaque_tests.rs::registry_commands_never_trust_an_unknown_word"]
"src/cst/opaque/walk.rs" = ["src/cst/opaque_tests.rs::registry_commands_never_trust_an_unknown_word"]
"src/cst/opaque/glob.rs" = [
  "literals_match_themselves",
  "repeating_stars_never_changes_the_match",
  "src/cst/glob_tests.rs::a_glob_is_approved_only_when_no_match_can_lead_with_a_dash",
]
"src/handlers/pattern_flags.rs" = [
  "a_cluster_carrying_e_or_f_supplies_a_pattern",
  "every_prefix_of_a_pattern_long_flag_supplies_a_pattern",
  "a_bare_word_never_supplies_a_pattern",
]
"src/handlers/env_print.rs" = [
  "a_p_flag_lists_and_assignments_alone_do_not",
  "a_name_beside_remove_is_printed_and_a_removal_alone_is_not",
]
"src/handlers/perl_load.rs" = ["src/cst/opaque_tests.rs::registry_commands_never_trust_an_unknown_word"]
"src/cst/brace.rs" = ["src/cst/brace_bash_tests.rs::a_brace_word_is_exact_or_unresolved", "src/cst/brace_bash_tests.rs::a_sequence_brace_is_exact_or_unresolved"]
"src/cst/budget.rs" = []
"src/cst/classify_budget.rs" = [
  "src/cst/classify_budget_tests.rs::delegation_never_parses_more_than_the_allowance",
  "src/cst/classify_budget_tests.rs::backtick_substitutions_never_parse_more_than_the_allowance",
]
"src/cst/scope_budget.rs" = ["src/cst/scope_budget.rs::sources_never_multiply_the_binding_set"]
"src/cst/search_quote.rs" = ["src/cst/search_quote_tests.rs::a_dollar_the_shell_keeps_in_a_search_path_is_refused"]
"src/cst/stdin_fed.rs" = ["src/cst/stdin_fed_tests.rs::an_editor_is_refused_exactly_when_its_standard_input_is_fed", "src/cst/stdin_fed_tests.rs::only_a_line_number_passes_as_a_plus_operand"]
"src/cst/reserved.rs" = []
"src/pathctx/anchor.rs" = [
  "src/pathctx/anchor_tests.rs::a_placed_write_is_plain_and_stays_put",
  "src/pathctx/anchor_tests.rs::a_placed_read_stays_put_and_names_no_secret",
  "src/pathctx/anchor_tests.rs::placement_is_monotone_in_the_level",
  "src/pathctx/anchor_tests.rs::a_hidden_segment_is_never_plain",
]
"src/pathctx/folder.rs" = ["src/pathctx/folder_soundness_tests.rs::an_approved_write_lands_nowhere_protected_in_any_covered_folder"]
"src/pathctx/temp_root.rs" = ["a_user_temporary_directory_is_exactly_two_segments_then_t"]
"src/engine/resolve/backup.rs" = ["a_backup_is_the_file_renamed_by_its_suffix"]
"src/engine/resolve/transfer.rs" = [
  "joining_keeps_every_climb_out_of_the_base_visible",
  "an_absolute_base_stays_absolute",
  "an_unknown_component_is_never_normalized_away",
]
"src/engine/resolve/path_verdicts.rs" = ["src/cst/proptests.rs::redirect_to_auto_executed_target_is_denied", "src/cst/proptests.rs::file_redirect_promotes_to_safewrite"]
"src/registry/cwd_writes.rs" = ["only_a_well_formed_declaration_lowers"]
"src/registry/build_archetype_flags.rs" = ["valued_joins_the_flag_and_command_lists"]
"src/registry/build_lower.rs" = ["output_lowers_only_a_known_source"]
"src/registry/glob_flags.rs" = ["an_undeclared_family_refuses_nothing", "only_an_undeclared_flag_refuses", "a_value_is_judged_alike_in_every_spelling", "ascii_letter_flag_admits_any_letter_word_in_every_spelling", "ascii_letter_flag_refuses_any_non_letter_in_every_spelling"]
"src/registry/dispatch/credential_args.rs" = ["a_credential_name_is_found_in_any_position", "a_pattern_that_could_spell_a_credential_name_is_one"]
"src/registry/dispatch/pre_flags.rs" = ["the_listed_flags_in_front_are_skipped_with_their_values"]
"src/registry/dispatch/delegate.rs" = ["only_listed_flags_pass_before_the_separator"]
"src/engine/resolve/regions/role_merge.rs" = ["src/engine/resolve/locus.rs::a_temp_directory_is_not_lifted_into_the_worktree_by_a_substitution_tag"]
"src/engine/resolve/regions/home_spelling.rs" = ["a_prefix_strips_in_any_case_only_at_a_component_boundary"]
"src/engine/resolve/regions/path_text.rs" = ["a_path_is_below_a_root_only_past_a_component_boundary", "the_folded_prefix_agrees_with_lowercasing", "a_hidden_component_is_found_wherever_it_is"]
"src/engine/archetype.rs" = []
"src/engine/authoring.rs" = [
  "union_levels_admit_everything_but_their_declared_gap",
  "authored_levels_are_facet_monotone",
]
"src/engine/bridge.rs" = [
  "projection_matches_a_direct_walk_of_the_band",
  "an_allowed_projection_is_earned_by_that_level_and_refused_by_every_lower_one",
  "adding_a_capability_never_makes_the_projection_more_permissive",
]
"src/engine/facet.rs" = [
  "src/engine/testgen.rs::set_facets_distinguishes_capabilities_differing_in_one_axis",
  "src/engine/testgen.rs::every_axis_index_is_reachable",
  "src/engine/testgen.rs::set_facets_omits_exactly_the_zero_terms",
]
"src/engine/level.rs" = [
  "totality",
  "extends_is_a_superset",
  "deny_only_shrinks",
  "src/engine/testgen.rs::clause_diagnostic_agrees_with_admits",
  "src/engine/testgen.rs::a_reported_mismatch_names_a_facet_that_actually_fails",
  "src/engine/testgen.rs::clause_diagnostic_agrees_with_matches_as_deny",
  "src/engine/testgen.rs::level_nearest_miss_agrees_with_admits_capability",
  "src/engine/testgen.rs::the_sentinel_is_denied_even_with_any_one_axis_relaxed",
]
"src/engine/resolve.rs" = [
  "transfer_commands_gate_both_operand_roles",
  "sudo_family_flag_walk_never_panics",
  "src/handler_property_tests.rs::declared_substitutions_deny_out_of_workspace_roots",
  "src/handler_property_tests.rs::write_mode_flags_deny_out_of_workspace_targets",
  "src/handler_property_tests.rs::substitution_cannot_launder_a_trusted_write",
  "src/handler_property_tests.rs::read_commands_deny_targets_the_shield_cannot_clear",
  "src/handler_property_tests.rs::a_flag_naming_a_program_is_gated_on_where_that_program_lives",
  "src/handler_property_tests.rs::a_write_is_gated_by_its_target_not_its_spelling",
]
"src/engine/resolve/capability.rs" = [
  "a_secret_read_is_exposed_and_nothing_else_moves",
  "marking_a_secret_read_exposed_changes_no_default_level",
  "a_read_is_exposed_exactly_when_it_claims_a_secret",
]
"src/engine/resolve/flags.rs" = []
"src/engine/resolve/stage_output.rs" = ["src/handler_property_tests.rs::tagged_substitution_residue_cannot_escape"]
"src/engine/resolve/pinned_face.rs" = ["src/handler_property_tests.rs::tagged_substitution_residue_cannot_escape"]
"src/engine/resolve/locus.rs" = [
  "a_dollar_anywhere_forces_machine",
  "a_parent_escape_forces_machine",
  "src/handler_property_tests.rs::tagged_substitution_residue_cannot_escape",
  "a_temp_directory_is_not_lifted_into_the_worktree_by_a_substitution_tag",
]
"src/engine/resolve/locus_url.rs" = [
  "a_file_url_names_the_local_path_inside_it",
  "a_path_or_a_hostless_scheme_is_not_a_url",
]
"src/engine/resolve/lookup_prefix.rs" = [
  "a_run_of_lookup_prefixes_strips_to_the_path_after_it",
  "a_path_without_a_lookup_prefix_is_left_alone",
]
"src/envvars.rs" = []
"src/envvars/option_string.rs" = []
"src/ghc_rts.rs" = ["a_runtime_option_anywhere_among_the_arguments_denies"]
"src/registry/types/hooks.rs" = ["src/ghc_rts.rs::a_runtime_option_anywhere_among_the_arguments_denies"]
"src/envvars/config_dir.rs" = [
  "src/envvars/config_dir_tests.rs::any_config_location_under_a_temp_root_is_refused",
  "src/envvars/config_dir_tests.rs::a_config_directory_outside_the_scratch_places_is_allowed",
  "src/envvars/config_dir_tests.rs::the_refusal_is_the_same_with_and_without_the_prefix_spellings",
  "src/envvars/config_dir_tests.rs::a_case_variant_of_a_temp_root_is_refused",
]
"src/envvars/command_search.rs" = [
  "src/envvars/command_search_tests.rs::a_foreign_search_folder_anywhere_in_path_is_refused",
  "src/envvars/command_search_tests.rs::a_path_of_standard_folders_keeps_the_commands_verdict",
]
"src/envvars/exported.rs" = [
  "src/envvars/exported_tests.rs::an_operand_that_could_be_any_assignment_is_refused",
  "src/envvars/exported_tests.rs::an_exported_assignment_agrees_with_the_statement",
]
"src/envvars/rebind.rs" = [
  "src/envvars/rebind_tests.rs::a_loop_variable_agrees_with_the_same_assignment",
  "src/envvars/rebind_tests.rs::reading_into_a_listed_variable_is_always_refused",
  "src/cst/proptests.rs::a_hook_array_filled_by_a_command_is_refused",
]
"src/envvars/shell_words.rs" = [
  "src/envvars/shell_words_tests.rs::only_a_named_shell_in_a_standard_bin_is_allowed",
  "src/envvars/shell_words_tests.rs::every_standard_shell_is_allowed",
  "src/envvars/shell_words_tests.rs::shell_text_is_refused_and_plain_text_is_not",
]
"src/handlers/android/adb.rs" = [
  "a_dash_s_prefix_serial_does_not_change_the_verdict",
  "a_shell_bare_command_is_inert_regardless_of_trailing_args",
  "dispatch_routes_only_adb_to_is_safe_adb_and_returns_none_otherwise",
]
"src/handlers/coreutils/chmod_mode.rs" = [
  "an_octal_mode_sets_an_id_bit_exactly_when_its_value_has_one",
  "adding_s_for_any_class_sets_an_id_bit",
  "a_mode_without_s_or_high_octal_bits_sets_none",
  "a_mode_given_to_mkdir_or_rsync_is_judged_as_chmod_judges_it",
]
"src/handlers/coreutils/archive_extract.rs" = [
  "an_extraction_is_refused_and_a_listing_is_not",
]
"src/handlers/coreutils/rsync_remote.rs" = [
  "a_remote_option_is_judged_as_the_same_option_given_locally",
]
"src/handlers/make_dirs.rs" = [
  "a_second_move_is_refused",
  "a_move_with_a_relative_makefile_is_refused",
]
"src/handlers/make_text.rs" = [
  "an_assignment_operand_is_refused",
  "a_makefile_from_stdin_is_refused",
  "a_target_is_not_refused",
]
"src/handlers/mise_global.rs" = ["no_audited_variable_is_set_globally_in_any_spelling"]
"src/handlers/coreutils/rsync_shell.rs" = [
  "a_connect_program_is_refused_in_every_spelling",
  "a_remote_shell_variable_agrees_with_its_flag_in_every_spelling",
  "a_remote_shell_other_than_ssh_is_never_approved",
  "a_relative_remote_shell_is_approved_only_inside_the_project",
  "a_login_name_that_is_an_option_is_refused",
]
"src/handlers/coreutils/stdin_names.rs" = [
  "a_name_from_stdin_is_approved_only_where_reading_it_is",
]
"src/handlers/coreutils/awk.rs" = [
  "an_awk_program_that_runs_code_is_never_approved",
  "the_surroundings_alone_are_approved",
  "awk_operands_and_the_option_policy_count_the_same_operands",
]
"src/engine/resolve/link_mode.rs" = ["a_follow_flag_before_the_operands_end_always_follows"]
"src/engine/resolve/tar_paths.rs" = ["a_relative_path_lands_below_the_change_directory_and_an_anchored_one_ignores_it", "only_a_colon_before_the_first_slash_names_a_host"]
"src/cst/pager_set.rs" = ["naming_the_pager_marks_the_line"]
"src/cst/opaque/glob/dot_names.rs" = [
  "src/engine/resolve/frozen_walk_tests.rs::a_glob_after_the_line_turns_on_dot_names_reaches_frozen_names",
  "src/cst/glob_tests.rs::no_quoting_of_dotglob_hides_it",
]
"src/registry/shapes.rs" = ["a_shaped_sub_refuses_a_repository_address_and_keeps_a_local_folder"]
"src/handlers/coreutils/find_skip.rs" = ["src/handlers/coreutils/find_skip_tests.rs::only_a_word_that_keeps_entries_away_keeps_any"]
"src/handlers/coreutils/find.rs" = [
  "dispatch_routes_find_to_is_safe_find_with_some_wrapper",
  "dispatch_returns_none_for_every_non_find_command",
  "is_safe_find_denies_any_unknown_primary_regardless_of_position",
  "is_safe_find_verdict_is_invariant_under_appending_a_read_only_standalone_primary",
]
"src/handlers/coreutils/grep.rs" = [
  "naive_oracle_matches_is_safe_grep_on_every_token_sequence",
  "dispatch_is_some_iff_command_is_a_grep_family_name",
  "an_allowed_invocation_stays_allowed_when_trailing_tokens_are_appended",
]
"src/handlers/coreutils/net/nslookup.rs" = [
  "only_known_safe_tokens_yield_inert_verdict",
  "every_allowed_verdict_is_exactly_inert",
]
"src/handlers/coreutils/net/route.rs" = [
  "is_safe_route_matches_the_specified_reference",
  "trailing_tokens_after_a_safe_subcommand_are_inert",
  "any_unknown_token_before_any_subcommand_denies",
  "command_docs_is_a_single_route_entry",
]
"src/handlers/coreutils/sed.rs" = []
"src/handlers/coreutils/tar.rs" = [
  "command_verdict_and_is_safe_command_agree_on_allowance",
  "tar_list_with_benign_archive_is_allowed",
  "tar_list_verdict_is_invariant_under_verbose_flag",
  "tar_extract_with_benign_archive_is_denied",
]
"src/handlers/df.rs" = [
  "every_documented_libxo_combination_is_allowed",
  "any_unlisted_libxo_token_is_denied",
]
"src/handlers/direct_script.rs" = ["a_direct_path_is_refused_on_every_level_and_target", "a_decorated_identity_name_still_spells_that_name", "an_extension_is_dropped_only_for_an_identity_name"]
"src/handlers/fd.rs" = [
  "fd_exec_follows_the_inner_command_locus",
  "fd_batch_without_placeholder_gates_the_base",
  "a_climb_anywhere_after_a_placeholder_is_seen",
]
"src/handlers/forges/gh.rs" = [
  "a_typed_field_reading_a_file_never_approves",
  "a_graphql_query_naming_mutation_anywhere_never_approves",
  "a_download_into_a_home_dotfile_never_approves",
]
"src/handlers/forges/glab.rs" = []
"src/handlers/fuzzy/fzf.rs" = [
  "a_command_running_action_is_refused_in_every_delimiter_form",
  "bindings_built_only_from_ui_actions_are_accepted",
  "an_action_outside_the_ui_lists_is_refused",
  "dispatch_returns_none_for_any_non_fzf_program",
  "dispatch_for_fzf_matches_is_safe_fzf",
  "a_command_running_bind_dominates_other_flags",
]
"src/handlers/fuzzy/sk.rs" = [
  "a_history_block_within_a_passing_policy_yields_exactly_safe_write",
  "a_policy_failure_yields_denied_with_or_without_history",
  "appending_a_non_history_token_keeps_has_history",
]
"src/handlers/interpreter.rs" = ["src/handler_property_tests.rs::interpreter_commands_deny_shell_escapes"]
"src/handlers/jvm/jar.rs" = [
  "a_short_flag_containing_a_forbidden_letter_is_not_list_mode",
  "a_long_flag_is_list_mode_only_when_it_equals_dash_dash_list",
  "is_safe_jar_with_short_flag_matches_is_list_mode_when_tail_is_clean",
  "no_flags_after_agrees_with_a_freshly_filtered_tail",
]
"src/handlers/jvm/mvn.rs" = [
  "too_short_input_is_always_denied",
  "unknown_phase_is_always_denied",
  "appending_a_standalone_flag_preserves_verdict_and_level",
  "version_phase_is_inert_only_when_solitary",
  "an_operand_that_is_not_a_listed_phase_or_goal_denies",
  "an_unlisted_property_denies_in_every_spelling",
  "a_file_flag_judges_its_value_the_same_in_every_spelling",
]
"src/handlers/magick.rs" = [
  "magick_with_fewer_than_two_tokens_is_denied",
  "a_script_flag_anywhere_in_the_tail_denies_magick",
  "a_first_token_that_is_a_bare_non_path_word_outside_known_subs_denies_magick",
  "magick_with_a_non_fallback_long_flag_delegates_to_convert",
]
"src/handlers/mod.rs" = ["src/handler_property_tests.rs::handlers_never_panic_and_are_deterministic"]
"src/handlers/network.rs" = [
  "is_safe_method_matches_a_simple_case_insensitive_reference_set",
  "a_safe_curl_header_value_lacks_a_colon_it_is_denied",
  "a_safe_curl_header_value_round_trips_through_name_case_and_whitespace",
  "is_safe_curl_help_or_version_in_two_tokens_is_always_inert",
]
"src/handlers/node/bun.rs" = [
  "help_shortcut_yields_inert_for_any_program_token_at_length_two",
  "tokens_shorter_than_two_are_always_denied",
  "flag_only_tail_after_program_with_no_help_shortcut_is_denied",
]
"src/handlers/node/bunx.rs" = [
  "dispatch_only_routes_bunx",
  "runner_dispatch_denies_when_no_package_is_named",
  "find_runner_package_index_double_dash_yields_start_plus_one",
]
"src/handlers/node/npx.rs" = ["npx_verdict_matches_direct"]
"src/handlers/perl.rs" = [
  "closing_delimiter_is_identity_exactly_on_non_paired_bytes",
  "scan_perl_with_unknown_long_flag_returns_none",
  "has_substitution_eval_matches_e_flag_for_isolated_substitution",
  "a_sub_call_or_special_variable_assignment_is_never_approved",
]
"src/handlers/perl_regex.rs" = [
  "a_regex_that_evaluates_code_is_never_approved",
  "code_between_inert_pieces_is_always_read",
  "src/handlers/perl.rs::has_substitution_eval_matches_e_flag_for_isolated_substitution",
]
"src/handlers/php.rs" = [
  "is_safe_ini_pair_only_depends_on_the_key_half",
  "is_safe_ini_pair_matches_the_allowlist_exactly",
  "is_safe_ini_pair_rejects_any_string_without_equals",
  "check_laravel_cache_clear_denies_two_positionals",
  "check_laravel_cache_clear_safe_write_survives_inert_flag_insertion",
  "a_script_outside_the_project_is_not_run_under_its_basename",
]
"src/handlers/ruby/bundle.rs" = []
"src/handlers/safe_chains.rs" = ["no_rule_change_is_ever_approved", "no_rule_change_is_approved_through_cargo_run"]
"src/handlers/shell.rs" = [
  "loop_control_bare_or_single_digit_is_inert",
  "loop_control_other_inputs_are_denied",
  "dispatch_returns_none_for_unhandled_commands",
  "a_cluster_holding_any_letter_outside_the_policy_never_approves",
  "src/cst/printed_tests.rs::the_utility_is_never_replaced",
]
"src/handlers/shell_text.rs" = [
  "src/handlers/shell_text_tests.rs::a_zless_flag_follows_whether_the_line_sets_the_pager",
  "src/handlers/shell_text_tests.rs::a_word_the_man_script_would_evaluate_is_refused",
  "src/handlers/shell_text_tests.rs::a_variable_the_man_script_would_evaluate_is_refused",
  "src/handlers/shell_text_tests.rs::a_plain_word_is_not_shell_text",
  "src/handlers/shell_text_tests.rs::a_zless_flag_the_shell_would_split_is_refused",
  "src/handlers/shell_text_tests.rs::a_zless_word_the_shell_keeps_whole_is_not_refused_for_splitting",
]
"src/handlers/system/plutil.rs" = [
  "convert_dash_o_dash_is_inert_and_dash_o_other_value_is_safe_write",
  "convert_format_outside_allowlist_is_denied_for_any_modifier_tail",
  "convert_help_or_h_in_two_token_slice_is_inert",
  "convert_reordering_dash_r_and_dash_s_preserves_the_verdict",
]
"src/handlers/system/screen.rs" = [
  "an_option_takes_one_session_name_and_never_starts_a_detached_session",
  "options_that_only_shape_a_new_session_never_pass",
  "a_reattach_with_a_valued_option_still_takes_one_session_name",
]
"src/handlers/system/open.rs" = [
  "an_operand_that_is_not_a_web_address_is_denied_without_a_document_flag",
  "a_document_flag_lets_the_same_operand_through",
  "a_url_flag_value_must_be_a_web_address_even_with_a_document_flag",
  "an_operand_with_a_scheme_other_than_the_web_is_denied_with_any_flag",
]
"src/handlers/system/ssh.rs" = [
  "a_file_named_to_the_auth_probe_is_refused_in_every_spelling",
  "naming_no_file_keeps_the_auth_probe_approved_in_every_spelling",
]
"src/handlers/system/sysctl.rs" = [
  "sysctl_with_equals_in_any_tail_token_is_denied",
  "sysctl_without_equals_falls_through_to_fallback_grammar",
  "sysctl_safe_standalone_flag_does_not_change_verdict",
]
"src/handlers/system/tmux.rs" = ["a_sequence_is_as_strict_as_its_strictest_command", "global_flags_alone_never_name_a_command"]
"src/handlers/system/tmux_formats.rs" = ["an_unknown_name_is_refused_wherever_it_is_looked_up"]
"src/handlers/system/tmux_keys.rs" = [
  "src/handlers/system/tmux_keys_tests.rs::navigation_alone_is_always_approved",
  "src/handlers/system/tmux_keys_tests.rs::submitted_text_is_never_more_permissive_than_running_it",
  "src/handlers/system/tmux_keys_tests.rs::text_left_unsubmitted_is_refused",
]
"src/handlers/pandoc.rs" = [
  "a_value_with_a_path_character_is_never_a_plain_format",
  "a_plain_name_with_extensions_is_accepted_unless_it_is_pdf",
  "a_lua_suffixed_writer_is_refused_in_every_spelling",
  "pdf_is_refused_with_any_extensions",
  "a_writer_flag_with_a_path_value_is_denied_in_every_spelling",
]
"src/handlers/hadolint.rs" = ["any_runtime_option_token_is_denied"]
"src/handlers/shellcheck.rs" = ["any_runtime_option_token_is_denied"]
"src/handlers/printf.rs" = [
  "any_spelling_of_the_store_conversion_is_refused",
  "a_format_without_a_percent_is_never_refused",
  "an_escaped_percent_never_starts_a_conversion",
  "a_store_inside_parentheses_is_refused_unless_they_close_a_time_conversion",
  "no_format_makes_the_scan_panic",
]
"src/handlers/tilt.rs" = [
  "get_with_random_resource_is_safe_read",
  "describe_with_random_resource_is_safe_read",
  "random_path_shaped_arg_is_inert",
  "random_bare_word_is_denied",
]
"src/handlers/vcs/git.rs" = ["no_route_to_git_config_switches_off_a_safety_check"]
"src/handlers/wrappers.rs" = [
  "dispatch_unknown_command_returns_none",
  "dispatch_env_matches_is_safe_env",
  "dispatch_hyperfine_matches_is_safe_hyperfine",
  "is_safe_env_assignment_loop_combines_assignment_verdict",
  "heavy_slot_verdict_matches_inner",
  "heavy_slot_rejects_bad_preamble_or_missing_separator",
]
"src/engine/plain.rs" = [
  "src/engine/plain/tests.rs::every_printed_facet_of_any_capability_has_plain_words",
  "src/engine/plain/tests.rs::rows_are_never_empty_and_account_for_every_facet",
]
"src/explain_fix.rs" = ["src/explain_fix/tests.rs::an_offered_grant_always_works", "src/explain_fix/tests.rs::command_text_cannot_add_a_line"]
"src/explain_fix/gate.rs" = [
  "src/explain_fix/gate/tests.rs::one_boundary_segment_makes_the_whole_chain_a_boundary",
  "src/explain_fix/gate/tests.rs::a_write_to_a_runs_later_place_is_a_boundary_whatever_the_command_or_spelling",
  "src/explain_fix/gate/tests.rs::an_agent_is_a_boundary_however_its_name_is_quoted",
]
"src/lib.rs" = [
  "src/handler_property_tests.rs::arbitrary_command_strings_never_panic",
  "src/handler_property_tests.rs::sanitized_text_is_always_a_single_line",
  "src/overreach_property_tests.rs::only_a_foreign_temp_path_is_reported_as_foreign_temp",
]
"src/reach.rs" = [
  "every_reason_names_the_path_on_one_line",
  "a_trust_root_reason_stays_short_and_plain",
  "a_trust_root_repository_is_explained_by_its_snapshot_only_for_an_observing_sub",
]
"src/mcp/args.rs" = ["an_undeclared_argument_is_always_refused"]
"src/mcp/client_approval.rs" = ["only_editing_tools_count"]
"src/operands.rs" = ["src/overreach_property_tests.rs::a_path_reached_through_an_earlier_statement_is_reported_as_itself"]
"src/netloc.rs" = [
  "only_the_host_component_decides",
  "case_never_changes_the_verdict",
  "a_local_host_under_another_domain_is_remote",
  "never_panics_on_any_input",
  "a_port_never_changes_the_verdict",
]
"src/parse.rs" = [
  "command_name_is_last_slash_segment_or_full_at_prefixed",
  "split_value_is_some_iff_separator_present_and_yields_first_suffix",
  "content_outside_double_quotes_is_idempotent",
  "has_flag_verdict_is_invariant_under_appending_a_double_dash_tail",
  "const_less_is_the_strict_byte_order",
]
"src/pathgate.rs" = [
  "ar_write_never_more_permissive_than_read",
  "ar_ops_classify_regardless_of_modifiers",
  "textutil_convert_never_more_permissive_than_info",
]
"src/pathgate/chdir.rs" = ["a_move_and_an_operand_judge_as_their_join"]
"src/pathgate/folder_code.rs" = [
  "a_folder_code_tool_asks_from_a_foreign_temp_folder_and_not_from_the_project",
  "a_folder_code_tool_asks_from_a_directory_outside_the_project",
]
"src/pathgate/flag_match.rs" = ["every_spelling_of_a_mapped_flag_yields_the_same_value"]
"src/pathgate/handlers.rs" = [
  "src/pathgate.rs::ar_write_never_more_permissive_than_read",
  "src/pathgate.rs::ar_ops_classify_regardless_of_modifiers",
  "src/pathgate.rs::textutil_convert_never_more_permissive_than_info",
  "src/pathgate/handlers/plist.rs::plist_readers_are_never_laxer_than_cat",
]
"src/pathgate/role.rs" = ["roles_parse_by_name_and_rank_along_the_ladder"]
"src/pathgate/handlers/git_mv.rs" = ["git_flags_never_change_where_the_operands_land", "fewer_than_two_operands_is_never_judged_as_a_move"]
"src/pathgate/handlers/jj.rs" = ["the_repository_is_read_only_with_the_flag_and_an_observing_sub"]
"src/pathgate/handlers/jq.rs" = [
  "src/pathgate/handlers/jq_tests.rs::a_directive_at_any_directive_position_is_seen",
  "src/pathgate/handlers/jq_tests.rs::modulemeta_after_any_operator_is_seen",
  "src/pathgate/handlers/jq_tests.rs::a_field_or_a_longer_name_never_reads_as_a_directive",
  "src/pathgate/handlers/jq_tests.rs::every_short_cluster_holding_f_or_l_is_seen",
  "src/pathgate/handlers/jq_tests.rs::every_yq_loader_spelling_is_seen_outside_a_field",
  "src/pathgate/handlers/jq_tests.rs::checking_never_panics",
  "src/pathgate/handlers/jq_tests.rs::the_filter_is_found_behind_any_options",
]
"src/pathgate/handlers/ncu.rs" = ["manifest_role_follows_upgrade_flag_in_every_position"]
"src/pathgate/handlers/plist.rs" = ["plist_readers_are_never_laxer_than_cat", "a_non_option_dash_o_never_relaxes_a_rewrite"]
"src/policy.rs" = ["src/handler_property_tests.rs::flag_forms_classify_identically"]
"src/refusal.rs" = [
  "the_outcome_controls_which_consequence_phrase_a_refusal_names",
  "no_entry_after_a_single_assignment_names_program_and_assignment",
  "no_entry_with_only_assignments_uses_the_trimmed_input_and_no_swallow",
]
"src/registry/build_eval_safe.rs" = ["bare_literal_eval_safe_values_are_accepted", "a_non_literal_eval_safe_value_is_rejected"]
"src/registry/build_sub.rs" = ["aliases_inherit_the_canonical_declaration"]
"src/registry/operands.rs" = ["an_operand_holding_a_marker_is_refused", "operands_without_a_marker_are_unaffected", "no_patterns_refuse_nothing", "glob_agrees_with_a_recursive_reading", "a_literal_name_matches_its_assignment_only"]
"src/registry/build.rs" = [
  "build_policy_optional_valued_mechanism_appends_to_both_lists",
  "build_policy_unknown_tolerance_tracks_the_boolean_pair",
  "first_arg_matches_agrees_with_a_simple_reference",
  "first_arg_matches_is_monotone_in_adding_a_matching_pattern",
]
"src/registry/dispatch.rs" = [
  "src/handler_property_tests.rs::code_exec_denies_foreign_executor",
  "src/handler_property_tests.rs::code_exec_worktree_dominates_foreign",
  "src/handler_property_tests.rs::project_runner_redirect_flag_is_locus_gated",
  "src/handler_property_tests.rs::mlr_in_place_flag_denied_anywhere_in_main_region",
  "src/registry/tests.rs::toml_strict_reject_random_flags",
  "src/registry/tests.rs::a_localizing_sub_refuses_every_hostile_host",
  "src/registry/tests.rs::an_unrecognized_local_spelling_denies",
]
"src/registry/docs.rs" = []
"src/registry/policy.rs" = [
  "a_tail_token_outside_the_passthrough_lists_is_never_allowed",
  "a_tail_of_listed_flags_with_the_guard_is_allowed_at_the_passthrough_level",
  "a_valued_flag_with_no_value_in_the_tail_is_never_allowed",
  "a_second_separator_is_never_allowed",
  "first_positional_and_first_positional_at_agree_on_the_returned_string",
  "first_positional_at_index_points_at_the_returned_token",
  "first_positional_with_empty_grammars_matches_a_simple_scan",
  "flag_given_matches_a_reading_unit_by_unit",
  "prepending_a_known_standalone_flag_does_not_change_the_first_positional",
]
"src/suggest.rs" = [
  "src/suggest/tests.rs::generated_entry_admits_the_observed_command",
  "src/suggest/tests.rs::generated_entry_rejects_an_unobserved_flag",
  "src/suggest/tests.rs::generated_entry_bounds_positionals",
  "src/suggest/tests.rs::generated_toml_always_loads",
  "src/suggest/tests.rs::analyze_is_deterministic",
]
"src/userconfig/edit.rs" = [
  "src/userconfig/tests.rs::grant_then_remove_is_the_identity",
  "src/userconfig/tests.rs::a_grant_keeps_every_line",
  "src/userconfig/tests.rs::granting_twice_is_granting_once",
  "src/userconfig/tests.rs::add_then_remove_is_the_identity",
]
"src/userconfig/surgery.rs" = [
  "src/userconfig/tests.rs::grant_then_remove_is_the_identity",
  "src/userconfig/tests.rs::add_then_remove_is_the_identity",
]
"src/userconfig/guard.rs" = [
  "src/userconfig/tests.rs::normalizing_twice_is_normalizing_once",
  "src/userconfig/tests.rs::nothing_inside_a_credential_store_is_grantable",
]
"src/handlers/followed_read/search.rs" = [
  "every_valued_flag_is_consumed_when_ripgrep_follows",
  "every_valued_flag_is_consumed_when_ag_follows",
  "every_valued_flag_is_consumed_when_ack_follows",
]
"src/verdict.rs" = [
  "combine_takes_the_max_of_levels_when_both_allowed",
  "combine_is_denied_iff_either_operand_is_denied",
  "combine_is_associative",
  "level_display_string_resolves_back_to_the_same_level",
]

[effectful]
"src/allowlist.rs" = "reads Claude Code's settings files for permissions.allow patterns"
"src/bin/gen_fuzz_corpus.rs" = "writes the fuzz dictionary and seed files"
"src/cli.rs" = "clap argument declarations only"
"src/handlers/cargo_runs_this.rs" = "reads the nearest Cargo.toml to learn which package cargo run starts"
"src/handlers/ruby/gemfile.rs" = "reads the folders above the working directory for the Gemfile Bundler loads"
"src/config_cli.rs" = "prints what a config change did and exits"
"src/decisionlog.rs" = "appends to the decision log under HOME"
"src/docs.rs" = "renders the command docs and writes the mdbook tree"
"src/engine/mod.rs" = "module declarations only"
"src/pathgate/fuzz_judges.rs" = "reads the process-wide gate tables; a seam whose invariant the gate_prefilter fuzz target checks"
"src/engine/resolve/regions.rs" = "loads grants from ~/.config/safe-chains.toml and Claude Code's settings, and reads HOME"
"src/engine/resolve/regions/grant_faces.rs" = "reads HOME to place the grants it merges"
"src/engine/resolve/regions/metadata.rs" = "reads the process-wide region table and the running OS"
"src/engine/resolve/regions/hypothetical.rs" = "holds the thread-local hypothetical grant and reads HOME"
"src/engine/resolve/regions/protection.rs" = "reads the process-wide region table and HOME"
"src/engine/resolve/regions/workspace_roots.rs" = "reads extra workspace roots from ~/.config/safe-chains.toml"
"src/engine/resolve/regions/unicode_spelling.rs" = "reads the process-wide region table and HOME"
"src/pathgate/handlers/pax.rs" = "walks the copy's destination and sources on disk for frozen names"
"src/folder_cli.rs" = "prints the --explain section for --unknown-folder"
"src/registry/folder_config.rs" = "reads ~/.config/safe-chains.toml"
"src/handlers/android/mod.rs" = "module declaration only"
"src/handlers/coreutils/mod.rs" = "module wiring: declarations and name-to-handler dispatch"
"src/handlers/coreutils/net/mod.rs" = "module wiring: declarations and name-to-handler dispatch"
"src/handlers/forges/mod.rs" = "module declarations only"
"src/handlers/fuzzy/mod.rs" = "module declaration only"
"src/handlers/jvm/mod.rs" = "module declaration only"
"src/handlers/node/mod.rs" = "module wiring: declarations and name-to-handler dispatch"
"src/handlers/ruby/mod.rs" = "module declaration only"
"src/handlers/system/mod.rs" = "module wiring: declarations and name-to-handler dispatch"
"src/handlers/vcs/mod.rs" = "module wiring: declarations and name-to-handler dispatch"
"src/hook_cli.rs" = "reads the hook envelope from stdin and writes the decision to stdout"
"src/main.rs" = "the binary: arguments, files, stdin and stdout"
"src/mcp/mod.rs" = "the MCP server loop on stdin and stdout"
"src/mcp/tools.rs" = "runs the safe-chains binary for each tool call"
"src/mcp_cli.rs" = "starts the MCP server on stdin and stdout"
"src/process_home.rs" = "owns the process home: $HOME, or, with the test-home feature, a directory this process creates for an integration test"
"src/pathctx.rs" = "owns the thread-local directory context and reads HOME and TMPDIR"
"src/pathctx/home.rs" = "reads the thread-local directory context and HOME"
"src/pathctx/root.rs" = "reads the thread-local directory context"
"src/pathctx/vars.rs" = "owns the thread-local bindings of loop variables, assignments and positionals"
"src/pathctx/item_shape.rs" = "owns the thread-local shapes of loop variables and piped items"
"src/pathctx/lexical.rs" = "reads HOME, and the process-wide region table to keep a protected place absolute"
"src/engine/resolve/frozen_reach.rs" = "lists the folders below a recursive operand on disk"
"src/engine/resolve/frozen_walk.rs" = "walks the folders below a recursive operand on disk, following links when asked"
"src/engine/resolve/frozen_walk/listing.rs" = "lists one directory of a walk on disk"
"src/handlers/followed_read.rs" = "lists the tree a command that follows links would read"
"src/handlers/followed_read/ackrc.rs" = "reads the environment and the ack config files it names"
"src/handlers/followed_read/archive.rs" = "lists the trees pax, 7z and diff read when they follow links"
"src/pathctx/place/physical.rs" = "reads the filesystem: lstat, readlink and directory listings along a path"
"src/pathctx/place.rs" = "reads the thread-local directory context and, through place/physical, the filesystem"
"src/registry/custom.rs" = "reads .safe-chains.toml and ~/.config/safe-chains.toml"
"src/registry/mod.rs" = "the process-wide registries, including the one loaded from the user's config"
"src/registry/flag_sets.rs" = "reads the process-wide registries in registry/mod.rs"
"src/registry/types.rs" = "type declarations and their serde shapes only"
"src/registry/transfer.rs" = "type declarations and their serde shapes only"
"src/registry/types_tables.rs" = "type declarations and their serde shapes only"
"src/registry/types_behavior.rs" = "type declarations only"
"src/registry/types_sub.rs" = "type declarations and their serde shapes only"
"src/suggest_cli.rs" = "reads and writes .safe-chains.toml for --suggest"
"src/targets/agy.rs" = "reads and writes the harness's settings file"
"src/targets/claude.rs" = "reads and writes the harness's settings file"
"src/targets/codex.rs" = "reads and writes the harness's settings file"
"src/targets/copilot.rs" = "reads and writes the harness's settings file"
"src/targets/cursor.rs" = "reads and writes the harness's settings file"
"src/targets/droid.rs" = "reads and writes the harness's settings file"
"src/targets/gemini.rs" = "reads and writes the harness's settings file"
"src/targets/grok.rs" = "reads and writes the harness's settings file"
"src/targets/mod.rs" = "detects harnesses on disk and reads the environment"
"src/targets/opencode.rs" = "installs into the harness's config directory"
"src/targets/qwen.rs" = "reads and writes the harness's settings file"
"src/userconfig/list.rs" = "reads the config files it lists"
"src/userconfig/mod.rs" = "reads and writes ~/.config/safe-chains.toml"

[test_only]
"src/registry/harness.rs" = "the in-process config harness (#[cfg(test)] mod in registry/custom.rs)"
"src/cst/funsub_tests.rs" = "the function substitution suite (#[cfg(test)] mod in cst/mod.rs)"
"src/cst/search_quote_tests.rs" = "the kept-dollar search path suite (#[cfg(test)] mod in cst/search_quote.rs)"
"src/cst/stdin_fed_tests.rs" = "the fed-standard-input suite (#[cfg(test)] mod in cst/stdin_fed.rs)"
"src/allowlist/rule_scope_tests.rs" = "the rules-in-scope suite (#[cfg(test)] mod in allowlist.rs)"
"src/pathctx/anchor_tests.rs" = "the anchor suite (#[cfg(test)] mod in pathctx/anchor.rs)"
"src/envvars/command_search_tests.rs" = "the command search path suite (#[cfg(test)] mod in envvars/command_search.rs)"
"src/envvars/config_dir_tests.rs" = "the config-location suite (#[cfg(test)] mod in envvars/config_dir.rs)"
"src/envvars/description_twins_tests.rs" = "the description variable-twin guard (#[cfg(test)] mod in envvars.rs)"
"src/envvars/exported_tests.rs" = "the export operand suite (#[cfg(test)] mod in envvars/exported.rs)"
"src/envvars/rebind_tests.rs" = "the loop and read rebinding suite (#[cfg(test)] mod in envvars/rebind.rs)"
"src/envvars/shell_words_tests.rs" = "the shell program and shell text suite (#[cfg(test)] mod in envvars/shell_words.rs)"
"src/pathctx/folder_tests.rs" = "the unknown-folder suite (#[cfg(test)] mod in pathctx/folder.rs)"
"src/pathctx/folder_soundness_tests.rs" = "the anchor-soundness property (#[cfg(test)] mod in pathctx/folder.rs)"
"src/pathctx/place/physical_tests.rs" = "the link-following suite (#[cfg(test)] mod in pathctx/place/physical.rs)"
"src/engine/resolve/frozen_reach_tests.rs" = "the recursive-reach suite (#[cfg(test)] mod in engine/resolve/frozen_reach.rs)"
"src/engine/resolve/frozen_walk_tests.rs" = "the bounded-walk suite (#[cfg(test)] mod in engine/resolve/frozen_walk.rs)"
"src/engine/resolve/shell_operand_tests.rs" = "the destructive-operand suite (#[cfg(test)] mod in engine/resolve.rs)"
"src/handlers/coreutils/find_skip_tests.rs" = "the find-filter suite (#[cfg(test)] mod in handlers/coreutils/find_skip.rs)"
"src/composition.rs" = "the composition test suite (#[cfg(test)] mod in lib.rs)"
"src/cst/echoed_tests.rs" = "the printed-item suite (#[cfg(test)] mod in cst/echoed.rs)"
"src/cst/arith_tests.rs" = "the arithmetic-assignment suite (#[cfg(test)] mod in cst/arith.rs)"
"src/cst/proptests.rs" = "the CST property suite (#[cfg(test)] mod in cst/mod.rs)"
"src/cst/normalize_tests.rs" = "the CST normalization properties (#[cfg(test)] mod in cst/mod.rs)"
"src/handlers/system/tmux_keys_tests.rs" = "the tmux send-keys suite (#[cfg(test)] mod in tmux_keys.rs)"
"src/cst/netargs_tests.rs" = "the network-argument suite (#[cfg(test)] mod in cst/netargs.rs)"
"src/cst/loops_tests.rs" = "the loop-variable and unknown-content suite (#[cfg(test)] mod in cst/mod.rs)"
"src/cst/opaque_tests.rs" = "the unknown-word suite (#[cfg(test)] mod in cst/mod.rs)"
"src/cst/printed_tests.rs" = "the printed-item suite (#[cfg(test)] mod in cst/printed.rs)"
"src/cst/heredocs_tests.rs" = "the heredoc queue suite (#[cfg(test)] mod in cst/heredocs.rs)"
"src/cst/escape_tests.rs" = "the escape and line-continuation suite (#[cfg(test)] mod in cst/escape.rs)"
"src/handlers/vcs/jj_tests.rs" = "the jj suite (#[cfg(test)] mod in handlers/vcs/mod.rs)"
"src/pathgate/handlers/jq_tests.rs" = "the jq-family program suite (#[cfg(test)] mod in pathgate/handlers/jq.rs)"
"src/cst/brace_bash_tests.rs" = "the brace-expansion-against-bash suite (#[cfg(test)] mod in cst/mod.rs)"
"src/cst/glob_tests.rs" = "the glob-listing suite (#[cfg(test)] mod in cst/mod.rs)"
"src/cst/classify_budget_tests.rs" = "the classification-budget suite (#[cfg(test)] mod in cst/mod.rs)"
"src/handlers/shell_text_tests.rs" = "the man shell-text suite (#[cfg(test)] mod in handlers/shell_text.rs)"
"src/handlers/signal_tests.rs" = "the process-signal suite (#[cfg(test)] mod in handlers/mod.rs)"
"src/decisionlog/tests.rs" = "decisionlog's test suite"
"src/engine/plain/tests.rs" = "the plain-words dictionary's test suite"
"src/explain_fix/tests.rs" = "explain_fix's test suite"
"src/explain_fix/gate/tests.rs" = "the gate-kind suite"
"src/mcp/tests.rs" = "the MCP server's test suite"
"src/engine/resolve/scenarios.rs" = "resolver scenario tests (#[cfg(test)] mod in resolve.rs)"
"src/engine/testgen.rs" = "the level-algebra property suite (#[cfg(test)] mod in engine/mod.rs)"
"src/handler_property_tests.rs" = "the cross-handler property suite (#[cfg(test)] mod in lib.rs)"
"src/overreach_property_tests.rs" = "the workspace_overreach property suite (#[cfg(test)] mod in lib.rs)"
"src/path_placement_tests.rs" = "the path-placement property suite (#[cfg(test)] mod in lib.rs)"
"src/substitution_property_tests.rs" = "the exhaustive substitution-permissiveness suite (#[cfg(test)] mod in lib.rs)"
"src/registry/arity_tests.rs" = "short-flag arity worklist guards (#[cfg(test)] mod in registry/mod.rs)"
"src/registry/overlap_tests.rs" = "the standalone+valued overlap guard and its properties (#[cfg(test)] mod in registry/mod.rs)"
"src/registry/gate_consistency.rs" = "path-gate consistency tests (#[cfg(test)] mod in registry/mod.rs)"
"src/registry/guard_values.rs" = "the registry-wide guard on a required flag given as another flag's value (#[cfg(test)] mod in registry/mod.rs)"
"src/registry/glob_scope_tests.rs" = "the registry-wide guard on flags after a first_arg glob argument (#[cfg(test)] mod in registry/mod.rs)"
"src/registry/tests.rs" = "the registry test suite"
"src/suggest/tests.rs" = "suggest's test suite"
"src/tests.rs" = "the crate's example test suite"
"src/userconfig/tests.rs" = "userconfig's test suite"
"src/pathctx/place_tests.rs" = "the placing suite (#[cfg(test)] mod in pathctx.rs)"
"src/pathctx/root_consumers_tests.rs" = "the project-root reader ratchet (#[cfg(test)] mod in pathctx.rs)"
"src/outside_dir.rs" = "scratch directories for tests that must sit outside the temporary root and the home"