Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
230 commits
Select commit Hold shift + click to select a range
0b2d503
refactor(sanitize): 05-R2 move mailbox tests to mailbox/tests.rs (#3172)
mblua Oct 22, 2026
1f77c8f
refactor(sanitize): 05-R2/R3 move settings test modules to settings/t…
mblua Oct 22, 2026
142f3da
refactor(sanitize): 05-R2 update settings test-path pins and ids (#3172)
mblua Oct 22, 2026
5d5917f
refactor(sanitize): 05-R2 repin census and test-debt ids after mailbo…
mblua Oct 22, 2026
cc0b768
refactor(sanitize): 01 wrap mailbox lines over 100 chars (#3172)
mblua Oct 22, 2026
0caa1d6
refactor(sanitize): 01-R1/R2/R3 keep settings lines within 100 chars …
mblua Oct 22, 2026
dfa6dce
refactor(sanitize): 05-R2/R3 move commands/config tests to config/tes…
mblua Oct 22, 2026
76b59b3
refactor(sanitize): 01-R1/R2/R3 keep commands/config lines within 100…
mblua Oct 22, 2026
ec82fb8
refactor(sanitize): 05-R2/R3 move session test and seam modules to co…
mblua Oct 22, 2026
203ee7e
refactor(sanitize): 05-R2 skip test-only files in lifecycle ownership…
mblua Oct 22, 2026
2a9a6dd
refactor(sanitize): 01-R1/R2/R3 keep commands/session lines within 10…
mblua Oct 22, 2026
3390e58
refactor(sanitize): 02 split settings into agent/source/field/load/pr…
mblua Oct 22, 2026
ad7aa1d
refactor(sanitize): 02-R2 split commands/config into noun submodules …
mblua Oct 22, 2026
233ca76
refactor(sanitize): 02-R2 split commands/config/profile_selection by …
mblua Oct 22, 2026
cf8a147
refactor(sanitize): 02-R2 split mailbox into submodules (#3172)
mblua Oct 22, 2026
79cc8cb
refactor(sanitize): 02-R2 repoint pty writer inventory to mailbox sub…
mblua Oct 22, 2026
33bd639
refactor(sanitize): 05-C6 split commands/config tests by noun (#3172)
mblua Oct 22, 2026
dd3e148
refactor(sanitize): 02-R2 split session resume args and probe into co…
mblua Oct 22, 2026
bb4c565
chore(sanitize): regenerate module-arcs after session split (#3172)
mblua Oct 22, 2026
022a421
refactor(sanitize): 02 split settings/agent into command/profile/inst…
mblua Oct 22, 2026
9ca13ee
Merge remote-tracking branch 'origin/main' into refactor/3172-sanitiz…
mblua Oct 22, 2026
77ea63a
refactor(sanitize): 05-R2 skip test-only files in local config writer…
mblua Oct 22, 2026
af30d0d
test(sanitize): update state-key census and spawn inventory for moved…
mblua Oct 22, 2026
dde98bc
fix(sanitize): 05 gate accepts use super::* in tests/ folder files pe…
mblua Oct 22, 2026
0910b37
refactor(sanitize): 05-R2 move lib.rs inline test modules to src/test…
mblua Oct 22, 2026
ee1553e
refactor(sanitize): 01 wrap long lines in moved lib.rs tests (#3176)
mblua Oct 22, 2026
0a83b3e
refactor(sanitize): 05-R2/R3 move selection tests and timing_probe to…
mblua Oct 22, 2026
4bcca82
refactor(sanitize): 01 wrap long lines in moved selection tests (#3176)
mblua Oct 22, 2026
bdd1df5
refactor(sanitize): 08 mark moved timing_probe test-only at file scop…
mblua Oct 22, 2026
fd1fbe1
refactor(sanitize): 05-R2/R3 move coding_agents_catalog tests to codi…
mblua Oct 22, 2026
b63d94f
refactor(sanitize): 05-C6 split coding_agents_catalog tests by noun (…
mblua Oct 22, 2026
21d1dc0
refactor(sanitize): 01-R1 wrap coding_agents_catalog lines to 100 cha…
mblua Oct 22, 2026
31515d4
refactor(sanitize): 01-R1/R2 wrap coding_agents_catalog test lines to…
mblua Oct 22, 2026
d9c340d
refactor(sanitize): 02 move scope-B catalog data to test fixtures (#3…
mblua Oct 22, 2026
2afc3a1
refactor(sanitize): 01 wrap long string literals and comments in lib.…
mblua Oct 22, 2026
23cfcd1
fix(sanitize): call resolve_claude_projects_dir_in via resume_probe i…
mblua Oct 22, 2026
5512fcb
fix(sanitize): gate windows-only test imports in commands/config for …
mblua Oct 22, 2026
4019fe9
refactor(sanitize): 05-R2/R3 move session_context tests and token_acc…
mblua Oct 22, 2026
c9aec86
refactor(sanitize): 05-R2 move session_context token_accounting under…
mblua Oct 22, 2026
e7415da
fix(sanitize): import replace_settings_file_atomic on every platform …
mblua Oct 22, 2026
3633156
refactor(sanitize): 01 wrap long lines in session/selection.rs (#3176)
mblua Oct 22, 2026
8c022f7
fix(sanitize): gate platform-only mailbox test imports on their cfg f…
mblua Oct 22, 2026
a12e18c
refactor(sanitize): 01 wrap long production lines in session_context …
mblua Oct 22, 2026
5cd8919
fix(sanitize): gate windows-only selection test import on its cfg (#3…
mblua Oct 22, 2026
8fd65d3
style(sanitize): rustfmt lib.rs and tests/lifecycle.rs (#3176)
mblua Oct 22, 2026
b32d0ce
fix(sanitize): rustfmt cfg-gated test imports in phone/mailbox.rs (#3…
mblua Oct 22, 2026
61dbbcf
refactor(config): split coding_agents_catalog production code into ch…
mblua Oct 22, 2026
394cd03
refactor(config): use explicit imports in coding_agents_catalog child…
mblua Oct 22, 2026
ab3b46a
chore(sanitize): regenerate module-arcs.txt (#3176)
mblua Oct 22, 2026
b94a2eb
chore(sanitize): cycle baseline: coding_agents_catalog left the main …
mblua Oct 22, 2026
638e32e
refactor(sanitize): 02-R1 move response close registration to selecti…
mblua Oct 22, 2026
226e4c4
refactor(sanitize): 02 split session_context into submodules (#3176)
mblua Oct 22, 2026
0ac530e
refactor(sanitize): 02 keep session_context globals and git launch in…
mblua Oct 22, 2026
b67ec74
chore(sanitize): regenerate module arcs after session_context split (…
mblua Oct 22, 2026
b7ae664
refactor(sanitize): 05-R2 move agent_update tests to agent_update/tes…
mblua Oct 22, 2026
cf10123
refactor(sanitize): 05-R2 move seed_manifest tests to seed_manifest/t…
mblua Oct 22, 2026
3e05b78
refactor(sanitize): 05-R2 split seed_manifest tests into tests/ and 0…
mblua Oct 22, 2026
954fc00
refactor(sanitize): 05-R2/R3 move entity_creation tests and inline te…
mblua Oct 22, 2026
cf6de3a
refactor(sanitize): 01 wrap long lines in moved entity_creation tests…
mblua Oct 22, 2026
71de2a6
refactor(sanitize): 01 wrap agent_update lines to 100 chars (#3176)
mblua Oct 22, 2026
0629268
refactor(sanitize): 02-R2 move selection payload and critical admissi…
mblua Oct 22, 2026
420bd99
refactor(sanitize): 01 wrap long lines in seed_manifest (#3176)
mblua Oct 22, 2026
51864af
refactor(sanitize): 05-R2/R3 move sessions_persistence tests to own f…
mblua Oct 22, 2026
3286cab
refactor(sanitize): 01 wrap long lines in sessions_persistence (#3176)
mblua Oct 22, 2026
98ca166
refactor(sanitize): 01 wrap long production lines in entity_creation.…
mblua Oct 22, 2026
d5b421a
fix(sanitize): accept out-of-line test modules in cli_workgroup_team …
mblua Oct 22, 2026
cc23025
fix(sanitize): keep cli_workgroup_team scrape fix line-neutral (#3176)
mblua Oct 22, 2026
c187838
refactor(sanitize): 05-R2 move remote_watcher tests to remote_watcher…
mblua Oct 22, 2026
3aacd8b
refactor(sanitize): 01-R1 wrap remote_watcher lines to 100 chars (#3176)
mblua Oct 22, 2026
5719a9d
Merge remote-tracking branch 'origin/main' into refactor/3176-sanitiz…
mblua Oct 22, 2026
0c26d95
fix(sanitize): gate windows-only test import in profile_selection for…
mblua Oct 22, 2026
ec6e30a
refactor(sanitize): 02 split lib.rs into private root modules (#3176)
mblua Oct 22, 2026
a63fd7d
refactor(sanitize): 02 split agent_update into submodules (#3176)
mblua Oct 22, 2026
a77b1ac
chore(sanitize): regenerate module arcs and cycle baseline after agen…
mblua Oct 22, 2026
e5a63fc
fix(sanitize): rejoin split doc comment in tests (#3176)
mblua Oct 22, 2026
669be0a
fix(sanitize): import probe_command_install_state_in in unix agent_pa…
mblua Oct 22, 2026
de42dbd
refactor(sanitize): 05-C6 split remote_watcher tests by noun (#3176)
mblua Oct 22, 2026
dea1c85
refactor(sanitize): 02-R3 move replacement work/state, fixture and en…
mblua Oct 22, 2026
abd11c2
refactor(sanitize): 05-R2 move sessions_persistence extra test module…
mblua Oct 22, 2026
10f4431
refactor(sanitize): 05 explicit imports in moved sessions_persistence…
mblua Oct 22, 2026
9667591
fix(sanitize): keep served remote URLs whole in settings.rs and gate …
mblua Oct 22, 2026
d48a97e
fix(sanitize): sort cognitive-complexity baseline entries by id (#3176)
mblua Oct 22, 2026
d2002aa
refactor(sanitize): 05-R2 move ac_discovery tests to ac_discovery/tes…
mblua Oct 22, 2026
15f8f5d
refactor(sanitize): 02 split entity_creation into noun submodules (#3…
mblua Oct 22, 2026
a10efbe
fix(sanitize): import load_sessions_from_path for non-windows derived…
mblua Oct 22, 2026
ee8fbab
fix(sanitize): re-point moved ac_discovery ignored test in test-debt …
mblua Oct 22, 2026
7c2d4b0
refactor(sanitize): 01-R1 wrap ac_discovery lines to 100 chars (#3176)
mblua Oct 22, 2026
b3f04c3
refactor(sanitize): 02 move run() out of lib.rs into app_run (#3176)
mblua Oct 22, 2026
2df505c
fix(sanitize): re-export is_file_in_use_error for all test targets (#…
mblua Oct 22, 2026
1ffcbbd
refactor(sanitize): 02 split remote_watcher production into child mod…
mblua Oct 22, 2026
6fa298e
chore(sanitize): regenerate module arcs and cycle baseline after remo…
mblua Oct 22, 2026
ad62b22
refactor(sanitize): 02-R4 move tauri-free OwnedReplacementContinuatio…
mblua Oct 22, 2026
1a282ed
refactor(sanitize): 05-R2 move session manager tests to manager/tests…
mblua Oct 22, 2026
294121d
refactor(sanitize): 02 split ac_discovery into noun submodules (#3176)
mblua Oct 22, 2026
0646f1f
chore(sanitize): regenerate module arcs and cycle baseline after ac_d…
mblua Oct 22, 2026
fee976d
refactor(sanitize): 05-C6 move terminal_snapshot acceptance_tests to …
mblua Oct 22, 2026
fcecd60
refactor(sanitize): 01 wrap long lines in session manager (#3176)
mblua Oct 22, 2026
684314e
refactor(sanitize): split seed_manifest.rs into focused submodules (#…
mblua Oct 22, 2026
839e6c4
chore(sanitize): regenerate module arcs and cycle baseline after seed…
mblua Oct 22, 2026
e734d6d
refactor(sanitize): 05-R2 move message_store tests to message_store/t…
mblua Oct 22, 2026
7713f35
refactor(sanitize): 01 wrap >100-char lines in terminal_snapshot acce…
mblua Oct 22, 2026
d55b2b4
style(sanitize): rustfmt terminal_snapshot acceptance tests after lin…
mblua Oct 22, 2026
29b10a4
refactor(sanitize): 01 wrap message_store lines over 100 columns (#3176)
mblua Oct 22, 2026
59b5dda
refactor(sanitize): 02-R5 move tauri-free SelectionCoordinator method…
mblua Oct 22, 2026
bb07c2a
refactor(sanitize): 05 move seed_manifest stage_e_conformance to its …
mblua Oct 22, 2026
1332566
refactor(sanitize): 02 split terminal_snapshot acceptance tests into …
mblua Oct 22, 2026
3ce25a9
refactor(sanitize): 02 split session manager into noun submodules (#3…
mblua Oct 22, 2026
c728b56
refactor(sanitize): 05-R2 move response_close_carrier tests under man…
mblua Oct 22, 2026
71b32c1
refactor(sanitize): 05-C6 move seed_manifest stage_e_conformance unde…
mblua Oct 23, 2026
17a6dcd
refactor(sanitize): 02-R2 split sessions_persistence into noun submod…
mblua Oct 22, 2026
95d708a
refactor(sanitize): 01 wrap orphan warned counter line (#3176)
mblua Oct 22, 2026
9ed4215
chore(sanitize): regenerate module arcs and cycle baseline after sess…
mblua Oct 22, 2026
7fd7302
refactor(sanitize): 01 wrap container_backend long string literals (#…
mblua Oct 23, 2026
2383317
refactor(sanitize): 05 replace acceptance support glob imports with e…
mblua Oct 23, 2026
596847c
refactor(sanitize): 02-R6 move create/auto-close tickets and shutdown…
mblua Oct 23, 2026
cc86155
refactor(sanitize): 02 split message_store into submodules (#3176)
mblua Oct 23, 2026
affb170
chore(sanitize): regenerate module arcs after message_store split (#3…
mblua Oct 23, 2026
30a9db2
refactor(sanitize): 05-R2 move coding_agent_mutations inline tests to…
mblua Oct 23, 2026
08afeab
refactor(sanitize): 05-R2/R3 move local_backend inline test modules t…
mblua Oct 23, 2026
6853d37
chore(sanitize): regenerate module arcs after local_backend tests mov…
mblua Oct 23, 2026
3f5e520
fix(sanitize): gate windows-only CREATE_NO_WINDOW import in remote_wa…
mblua Oct 23, 2026
6077d1c
refactor(sanitize): 01 wrap coding_agent_mutations lines over 100 col…
mblua Oct 23, 2026
f6ee056
fix(sanitize): gate Windows-only seed_manifest imports for non-Window…
mblua Oct 23, 2026
a1db83b
refactor(sanitize): 05-R2 move container_backend tests to child files…
mblua Oct 23, 2026
4ab994f
refactor(sanitize): 01 wrap >100-char lines in local_backend (#3176)
mblua Oct 23, 2026
3e9eb75
refactor(sanitize): 02-R2 split coding_agent_mutations into agent_op,…
mblua Oct 23, 2026
ee7bc23
chore(sanitize): regenerate module arcs and cycle baseline after codi…
mblua Oct 23, 2026
4c3d5e0
refactor(sanitize): 02 split container_backend production into submod…
mblua Oct 23, 2026
af6a0a6
fix(sanitize): gate Windows-only test import in ac_discovery (#3176)
mblua Oct 23, 2026
4ac3912
refactor(sanitize): 05 explicit imports in message_store children (#3…
mblua Oct 23, 2026
d1b90be
refactor(sanitize): move sha256_hex to message_store root to avoid ro…
mblua Oct 23, 2026
f46303b
refactor(sanitize): 05-R2 move seeded_context_templates tests to test…
mblua Oct 23, 2026
6bb4b47
refactor(sanitize): 01 wrap long lines in seeded_context_templates (#…
mblua Oct 23, 2026
fa5ae44
refactor(sanitize): 05-R2 move local_config_io tests to local_config_…
mblua Oct 22, 2026
d885b42
fix(sanitize): update issue_1930 test path after move to tests::start…
mblua Oct 23, 2026
55f9bfc
refactor(sanitize): 02 split coding_agent_mutations tests into topic …
mblua Oct 23, 2026
57f59dc
refactor(sanitize): 02 keep tauri runtime spawns in container_backend…
mblua Oct 23, 2026
b05a141
refactor(sanitize): 05-R2 move pty manager tests to tests.rs and test…
mblua Oct 23, 2026
62fa3c3
refactor(sanitize): 02 split seeded_context_templates into state, spe…
mblua Oct 23, 2026
69faea2
refactor(sanitize): 01 wrap last long line in seeded_context_template…
mblua Oct 23, 2026
38c4de9
refactor(sanitize): 05-R2/R3 move agent_config inline test modules to…
mblua Oct 23, 2026
990f9c5
refactor(sanitize): 05-R2 move root_agent tests to tests.rs and tests…
mblua Oct 23, 2026
3c1f89c
refactor(sanitize): 01 wrap agent_config lines over 100 chars (#3176)
mblua Oct 23, 2026
8871a9e
refactor(sanitize): 01 wrap long lines in pty manager (#3176)
mblua Oct 23, 2026
b28985c
refactor(sanitize): 01 wrap long lines in root_agent and its tests (#…
mblua Oct 23, 2026
042e2b9
refactor(sanitize): 05-R2/R3 move coding_agent_profiles inline tests …
mblua Oct 23, 2026
4a0584b
refactor(sanitize): 01 wrap >100-char lines in coding_agent_profiles …
mblua Oct 23, 2026
3aa7b67
refactor(sanitize): 02 split agent_config tests into topic submodules…
mblua Oct 23, 2026
36a8302
refactor(sanitize): 02 split pty manager into response_close (diagnos…
mblua Oct 23, 2026
c755908
chore(sanitize): regenerate module arcs for pty manager split (#3176)
mblua Oct 23, 2026
5bfa2d8
refactor(sanitize): 05 replace coding_agent_mutations glob imports wi…
mblua Oct 23, 2026
63e48d1
chore(sanitize): repoint moved agent_config ignored tests in test-deb…
mblua Oct 23, 2026
e9b3335
refactor(sanitize): 05-R2 move role_experiment inline tests to role_e…
mblua Oct 23, 2026
b187edd
refactor(sanitize): 01 wrap role_experiment lines over 100 chars (#3176)
mblua Oct 23, 2026
b5822c0
refactor(sanitize): 02 split coding_agent_profiles production into ch…
mblua Oct 23, 2026
4131c19
refactor(sanitize): 02 split pty manager tests into response_close_wr…
mblua Oct 23, 2026
1105fdf
refactor(sanitize): 02 split root_agent into skill_snapshots, legacy_…
mblua Oct 23, 2026
81cfa2f
refactor(sanitize): 05-R2 move terminal_snapshot inline tests to test…
mblua Oct 23, 2026
55c6323
refactor(sanitize): 05-R2 move web/commands inline tests to child fil…
mblua Oct 23, 2026
7da2139
refactor(sanitize): 02 split role_experiment into command, run, stora…
mblua Oct 23, 2026
65fe03f
refactor(sanitize): 05-R2 move task_ops inline tests to task_ops/test…
mblua Oct 23, 2026
f5254e8
refactor(sanitize): 05-R2 rustfmt task_ops tests (#3176)
mblua Oct 23, 2026
7ba64b4
refactor(pty): wrap long lines in terminal_snapshot (#3176)
mblua Oct 23, 2026
52e5fe4
refactor(sanitize): 01 wrap >100-char lines in web/commands and its t…
mblua Oct 23, 2026
2e58cb0
fix(sanitize): gate Windows-only strip_extended_prefix test import (#…
mblua Oct 23, 2026
d313b21
refactor(sanitize): 01 wrap long lines in task_ops (#3176)
mblua Oct 23, 2026
484e8fa
fix(sanitize): gate Windows-only web/commands room_idle test module (…
mblua Oct 23, 2026
7613f7c
refactor(sanitize): 05-R1 rename pty/watchers/mod.rs to watchers.rs (…
mblua Oct 23, 2026
b4fe8e1
refactor(sanitize): 05-R2 move pty watchers inline test modules to te…
mblua Oct 23, 2026
353ead5
refactor(sanitize): 01 wrap Codex working pattern in pty watchers (#3…
mblua Oct 23, 2026
aa45fe0
chore(sanitize): repoint moved pty watchers ignored test in test-debt…
mblua Oct 23, 2026
c7dc2e5
refactor(sanitize): 02 split task_ops into status, clean and flow mod…
mblua Oct 23, 2026
9a27fbf
refactor(pty): split terminal_snapshot into submodules (#3176)
mblua Oct 23, 2026
2266d4c
chore: regenerate module arcs and cycles baseline after terminal_snap…
mblua Oct 23, 2026
c45bca0
refactor(sanitize): 02 split web/commands dispatch into child modules…
mblua Oct 23, 2026
55b2cdc
refactor(pty): wrap long evidence line in terminal_snapshot resource …
mblua Oct 23, 2026
bcf0ced
refactor(sanitize): 02 split task_ops tests into child test modules (…
mblua Oct 23, 2026
ab45a07
refactor(sanitize): 02 split pty watchers resolution, screen frame, a…
mblua Oct 23, 2026
36e697e
chore(sanitize): record module arcs after pty watchers split (#3176)
mblua Oct 23, 2026
0dcf4aa
refactor(sanitize): 05-R2 move context_alerts inline tests to context…
mblua Oct 23, 2026
4e90f7f
refactor(pty): move terminal_snapshot resource tests under tests/ (#3…
mblua Oct 23, 2026
3d70129
refactor(sanitize): 01 wrap long lines in context_alerts (#3176)
mblua Oct 23, 2026
a71c883
refactor(config): move agent_command inline tests to agent_command/te…
mblua Oct 23, 2026
3a7e30d
refactor(config): wrap long format strings in agent_command (refs #3176)
mblua Oct 23, 2026
ba37920
refactor(sanitize): 05-R2 move pty/output inline tests to output/test…
mblua Oct 23, 2026
3d52266
refactor(sanitize): 01 wrap long log lines in pty/output (#3176)
mblua Oct 23, 2026
9eaff0e
refactor(sanitize): 02 split context_alerts into actor and runtime mo…
mblua Oct 23, 2026
32476cc
refactor(config): split agent_command into instructions, profile_hash…
mblua Oct 23, 2026
e065714
refactor(sanitize): 02 split context_alerts tests into child test mod…
mblua Oct 23, 2026
239c890
refactor(sanitize): 02 split pty watchers engine tests into child tes…
mblua Oct 23, 2026
84670d2
refactor(sanitize): 05-R2 move teams inline tests to teams/tests.rs (…
mblua Oct 23, 2026
b319451
fix(sanitize): drop unix-only imports unused in terminal_snapshot par…
mblua Oct 23, 2026
b7f0b86
style(sanitize): rustfmt terminal_snapshot imports (#3176)
mblua Oct 23, 2026
7bf666e
refactor(sanitize): 01 wrap long lines in teams (#3176)
mblua Oct 23, 2026
872b558
refactor(config): move projects inline tests to projects/tests (refs …
mblua Oct 23, 2026
4d389ac
refactor(sanitize): 02 split pty/output into capture, attachments, de…
mblua Oct 23, 2026
81bd00a
chore: regenerate module arcs after pty/output split (#3176)
mblua Oct 23, 2026
06fcfd5
refactor(config): wrap long format strings in projects (refs #3176)
mblua Oct 23, 2026
fa0f138
refactor(sanitize): 02 split teams into replica, routes, membership a…
mblua Oct 23, 2026
16ed09c
ci: count agent_command tests moved under tests:: (refs #3176)
mblua Oct 23, 2026
8fad6fc
refactor(sanitize): 05-R2 move resource_monitor registry inline tests…
mblua Oct 23, 2026
6a1396a
refactor(config): split projects into codec, identity and resolution …
mblua Oct 23, 2026
7e739ba
refactor(sanitize): 02 split teams tests into child test modules (#3176)
mblua Oct 23, 2026
a5aee99
refactor(sanitize): 05-R2 move injected_messages inline tests to inje…
mblua Oct 23, 2026
f73c5a0
refactor(cli): move list_peers inline tests to list_peers/tests (refs…
mblua Oct 23, 2026
453e080
refactor(sanitize): 05-R2 move ui_automation tests to ui_automation/t…
mblua Oct 23, 2026
a5ea80e
refactor(cli): wrap long help lines in list_peers (refs #3176)
mblua Oct 23, 2026
0af7621
fix(sanitize): gate teams test-only imports by platform for Linux CI …
mblua Oct 23, 2026
8c91270
refactor(sanitize): 01 wrap long string lines in ui_automation (#3176)
mblua Oct 23, 2026
ce2b7a0
refactor(sanitize): 05-R2 point ui_automation P2 fixture at tests/wat…
mblua Oct 23, 2026
150681d
refactor(sanitize): 01 wrap long lines in injected_messages (#3176)
mblua Oct 23, 2026
2009d83
refactor(sanitize): 02 split injected_messages into render and provis…
mblua Oct 23, 2026
d7dd5a1
refactor(cli): split list_peers into status, discovery and snapshot m…
mblua Oct 23, 2026
a50f2de
refactor(sanitize): 02 split local_backend into child modules (#3176)
mblua Oct 23, 2026
5a49d4c
chore(sanitize): record module arcs after local_backend split (#3176)
mblua Oct 23, 2026
83aee7a
refactor(sanitize): keep git guard static and env read in local_backe…
mblua Oct 23, 2026
b1a40f9
chore(sanitize): regenerate module arcs after local_backend rebase (#…
mblua Oct 23, 2026
457c711
refactor(sanitize): 01 wrap long log format strings in resource_monit…
mblua Oct 23, 2026
795a13c
refactor(sanitize): 02 split injected_messages tests into child test …
mblua Oct 23, 2026
b0fb3a3
refactor(sanitize): 02-R7 move tauri runtime parts of selection into …
mblua Oct 23, 2026
68a9785
refactor(sanitize): 02 split local_config_io tests into pair, publish…
mblua Oct 23, 2026
10a2867
chore(sanitize): regenerate cycle baseline after selection split (SCC…
mblua Oct 23, 2026
87d5757
refactor(sanitize): 02 split resource_monitor registry kill, sampling…
mblua Oct 23, 2026
84395be
chore(sanitize): record module arcs after resource_monitor registry s…
mblua Oct 23, 2026
7c235bf
refactor(sanitize): 02 split ui_automation into ui_automation/ childr…
mblua Oct 23, 2026
13c2e20
chore: regenerate module arcs and cycles baseline after ui_automation…
mblua Oct 23, 2026
ad68ada
chore: refresh cycles baseline after ui_automation split (SCC shrink)…
mblua Oct 23, 2026
02e993d
fix(sanitize): gate injected_messages windows-only test import for Li…
mblua Oct 23, 2026
43d0eae
fix(sanitize): gate windows-only response registration test imports i…
mblua Oct 23, 2026
e3f7f3c
test(sanitize): update state-key census and spawn inventory for batch…
mblua Oct 23, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
10 changes: 6 additions & 4 deletions .github/workflows/pr-regression-gates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1003,7 +1003,7 @@ jobs:
shell: bash
run: |
set -euo pipefail
TEST='tests::issue_1930_linux_unmarked_adjacent_unwritable_refuses_to_start'
TEST='tests::startup::issue_1930_linux_unmarked_adjacent_unwritable_refuses_to_start'

cargo test --locked --lib "$TEST" -- --exact --test-threads=1 --nocapture 2>&1 | tee test-1577.log

Expand Down Expand Up @@ -1210,9 +1210,11 @@ jobs:
set -euo pipefail
FILTER=config::agent_command::tests
# LINUX count: the Windows leg also compiles four cfg(windows) tests
# and reports 96. Update in the same commit that adds or removes a
# test in that module.
EXPECTED=92
# and reports 100. Update in the same commit that adds or removes a
# test in that module. Since #3176 the module also holds the former
# sibling modules derived_agent_id_home (3 tests) and
# p02_schema_launch (1 test).
EXPECTED=96
cargo test --locked --lib "$FILTER" -- --nocapture 2>&1 | tee test-2431.log
grep -qF 'env_precedence_is_platform_independent' test-2431.log || {
echo "::error::the POSIX precedence sentinel never ran; the filter matched nothing or it was renamed."
Expand Down
54 changes: 27 additions & 27 deletions cognitive-complexity.baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
}
},
{
"id": "rust:src-tauri/src/config/session_context.rs::mod:token_accounting::summarized_default_context_meets_size_budget",
"id": "rust:src-tauri/src/config/session_context/tests/token_accounting.rs::summarized_default_context_meets_size_budget",
"sites": {
"windows": [
"24924aced08a"
Expand All @@ -133,7 +133,7 @@
}
},
{
"id": "rust:src-tauri/src/config/settings.rs::mod:tests::settings_save_error_preserves_sources_and_separates_diagnostic_from_outward",
"id": "rust:src-tauri/src/config/settings/tests.rs::settings_save_error_preserves_sources_and_separates_diagnostic_from_outward",
"sites": {
"windows": [
"826617b3bb4f"
Expand Down Expand Up @@ -178,7 +178,7 @@
}
},
{
"id": "rust:src-tauri/src/phone/mailbox.rs::impl:MailboxPoller::deliver_internal_system_wake",
"id": "rust:src-tauri/src/phone/mailbox/internal_delivery.rs::impl:MailboxPoller::deliver_internal_system_wake",
"sites": {
"windows": [
"bb794053ede9"
Expand All @@ -192,86 +192,86 @@
}
},
{
"id": "rust:src-tauri/src/phone/mailbox.rs::impl:MailboxPoller::handle_close_session",
"id": "rust:src-tauri/src/phone/mailbox/pty_artifact.rs::impl:MailboxPoller::process_pty_input_file",
"sites": {
"windows": [
"1d959a229655"
"34a3d771ff0c"
],
"linux": [
"1d959a229655"
"34a3d771ff0c"
],
"macos": [
"1d959a229655"
"34a3d771ff0c"
]
}
},
{
"id": "rust:src-tauri/src/phone/mailbox.rs::impl:MailboxPoller::handle_purge_wg",
"id": "rust:src-tauri/src/phone/mailbox/pty_authority.rs::impl:MailboxPoller::spawn_pty_input_target",
"sites": {
"windows": [
"40cfe953061c"
"0e2097deada7"
],
"linux": [
"40cfe953061c"
"0e2097deada7"
],
"macos": [
"40cfe953061c"
"0e2097deada7"
]
}
},
{
"id": "rust:src-tauri/src/phone/mailbox.rs::impl:MailboxPoller::poll",
"id": "rust:src-tauri/src/phone/mailbox/self_switch.rs::impl:MailboxPoller::resolve_repo_path",
"sites": {
"windows": [
"dff40736a7a2"
"81f48c31ba89"
],
"linux": [
"dff40736a7a2"
"81f48c31ba89"
],
"macos": [
"dff40736a7a2"
"81f48c31ba89"
]
}
},
{
"id": "rust:src-tauri/src/phone/mailbox.rs::impl:MailboxPoller::process_pty_input_file",
"id": "rust:src-tauri/src/phone/mailbox/session_lookup.rs::impl:MailboxPoller::handle_close_session",
"sites": {
"windows": [
"34a3d771ff0c"
"1d959a229655"
],
"linux": [
"34a3d771ff0c"
"1d959a229655"
],
"macos": [
"34a3d771ff0c"
"1d959a229655"
]
}
},
{
"id": "rust:src-tauri/src/phone/mailbox.rs::impl:MailboxPoller::resolve_repo_path",
"id": "rust:src-tauri/src/phone/mailbox/session_request.rs::impl:MailboxPoller::handle_purge_wg",
"sites": {
"windows": [
"81f48c31ba89"
"40cfe953061c"
],
"linux": [
"81f48c31ba89"
"40cfe953061c"
],
"macos": [
"81f48c31ba89"
"40cfe953061c"
]
}
},
{
"id": "rust:src-tauri/src/phone/mailbox.rs::impl:MailboxPoller::spawn_pty_input_target",
"id": "rust:src-tauri/src/phone/mailbox/wake_workers.rs::impl:MailboxPoller::poll",
"sites": {
"windows": [
"0e2097deada7"
"dff40736a7a2"
],
"linux": [
"0e2097deada7"
"dff40736a7a2"
],
"macos": [
"0e2097deada7"
"dff40736a7a2"
]
}
},
Expand Down
12 changes: 10 additions & 2 deletions scripts/room-rename-allowlist.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -206,8 +206,16 @@ const STR_EXCEPTIONS = {
// Their purpose is to represent a legacy Workgroup, so no production line moves
// and section 9.1 adds room- twins beside the existing literals.
const P2_FILES = [
"src-tauri/src/pty/terminal_snapshot/acceptance_tests.rs",
"src-tauri/src/pty/terminal_snapshot/resource_tests.rs",
"src-tauri/src/pty/terminal_snapshot/tests/acceptance.rs",
"src-tauri/src/pty/terminal_snapshot/tests/acceptance/api_cancellation.rs",
"src-tauri/src/pty/terminal_snapshot/tests/acceptance/api_support.rs",
"src-tauri/src/pty/terminal_snapshot/tests/acceptance/daemon_paths.rs",
"src-tauri/src/pty/terminal_snapshot/tests/acceptance/fixture.rs",
"src-tauri/src/pty/terminal_snapshot/tests/acceptance/host_api.rs",
"src-tauri/src/pty/terminal_snapshot/tests/acceptance/host_cancellation.rs",
"src-tauri/src/pty/terminal_snapshot/tests/acceptance/leakage.rs",
"src-tauri/src/pty/terminal_snapshot/tests/acceptance/room_targets.rs",
"src-tauri/src/pty/terminal_snapshot/tests/resource.rs",
];

// Plan 3.8 / 9.4 AC1 point 8: the 63 frontend lines this plan moves.
Expand Down
72 changes: 40 additions & 32 deletions scripts/room-rename-allowlist.tsv
Original file line number Diff line number Diff line change
Expand Up @@ -2802,31 +2802,39 @@ P2-fixture src-tauri/src/pty/docker_runtime.rs "type=bind,source=C:/project/.ac/
P1-comment src-tauri/src/pty/git_watcher.rs /// workgroups whose project is not in `settings.projectPaths`; sessions alone
P2-fixture src-tauri/src/pty/manager.rs let mark = manager.mark_spawning("C:/repo/.ac/wg-1/__agent_dev", "dev");
P2-fixture src-tauri/src/pty/manager.rs cwd: "C:/repo/.ac/wg-1/__agent_dev".to_string(),
P2-fixture src-tauri/src/pty/terminal_snapshot/acceptance_tests.rs const WORKGROUP: &str = "wg-1-dev-team";
P2-fixture src-tauri/src/pty/terminal_snapshot/acceptance_tests.rs let workgroup = ac_root.join(WORKGROUP);
P2-fixture src-tauri/src/pty/terminal_snapshot/acceptance_tests.rs std::fs::create_dir_all(workgroup.join(format!("__agent_{name}")))
P2-fixture src-tauri/src/pty/terminal_snapshot/acceptance_tests.rs workgroup.join(format!("__agent_{name}/config.json")),
P2-fixture src-tauri/src/pty/terminal_snapshot/acceptance_tests.rs workgroup.join("__agent_member-tampered/config.json"),
P2-fixture src-tauri/src/pty/terminal_snapshot/acceptance_tests.rs coordinator: workgroup.join("__agent_coordinator"),
P2-fixture src-tauri/src/pty/terminal_snapshot/acceptance_tests.rs worker: workgroup.join("__agent_worker"),
P2-fixture src-tauri/src/pty/terminal_snapshot/acceptance_tests.rs live_member: workgroup.join("__agent_member-live"),
P2-fixture src-tauri/src/pty/terminal_snapshot/acceptance_tests.rs exited_member: workgroup.join("__agent_member-exited"),
P2-fixture src-tauri/src/pty/terminal_snapshot/acceptance_tests.rs claimed_from: format!("{PROJECT}:{WORKGROUP}/coordinator"),
P2-fixture src-tauri/src/pty/terminal_snapshot/acceptance_tests.rs audit.accept_requester("project:wg-1-dev-team/coordinator");
P2-fixture src-tauri/src/pty/terminal_snapshot/acceptance_tests.rs target: "project:wg-1-dev-team/member-live".to_string(),
P2-fixture src-tauri/src/pty/terminal_snapshot/acceptance_tests.rs let target = format!("{PROJECT}:{WORKGROUP}/member-live");
P2-fixture src-tauri/src/pty/terminal_snapshot/acceptance_tests.rs let requester = format!("{PROJECT}:{WORKGROUP}/coordinator");
P2-fixture src-tauri/src/pty/terminal_snapshot/acceptance_tests.rs let live_target = format!("{PROJECT}:{WORKGROUP}/member-live");
P2-fixture src-tauri/src/pty/terminal_snapshot/acceptance_tests.rs format!("{PROJECT}:{WORKGROUP}/member-live"),
P2-fixture src-tauri/src/pty/terminal_snapshot/acceptance_tests.rs format!("{PROJECT}:{WORKGROUP}/member-exited"),
P2-fixture src-tauri/src/pty/terminal_snapshot/acceptance_tests.rs format!("{PROJECT}:{WORKGROUP}/member-missing"),
P2-fixture src-tauri/src/pty/terminal_snapshot/acceptance_tests.rs format!("{PROJECT}:{WORKGROUP}/member-tampered"),
P2-fixture src-tauri/src/pty/terminal_snapshot/acceptance_tests.rs &format!("{PROJECT}:{WORKGROUP}/worker"),
P2-fixture src-tauri/src/pty/terminal_snapshot/acceptance_tests.rs &format!("{PROJECT}:{WORKGROUP}/coordinator"),
P2-fixture src-tauri/src/pty/terminal_snapshot/acceptance_tests.rs let coordinator_fqn = format!("{PROJECT}:{WORKGROUP}/coordinator");
P2-fixture src-tauri/src/pty/terminal_snapshot/acceptance_tests.rs let worker_fqn = format!("{PROJECT}:{WORKGROUP}/worker");
P2-fixture src-tauri/src/pty/terminal_snapshot/resource_tests.rs const REQUESTER: &str = "project:wg-1-team/coordinator";
P2-fixture src-tauri/src/pty/terminal_snapshot/resource_tests.rs const TARGET: &str = "project:wg-1-team/member";
P2-fixture src-tauri/src/pty/terminal_snapshot/tests/acceptance.rs const WORKGROUP: &str = "wg-1-dev-team";
P2-fixture src-tauri/src/pty/terminal_snapshot/tests/acceptance/fixture.rs let workgroup = ac_root.join(WORKGROUP);
P2-fixture src-tauri/src/pty/terminal_snapshot/tests/acceptance/fixture.rs std::fs::create_dir_all(workgroup.join(format!("__agent_{name}")))
P2-fixture src-tauri/src/pty/terminal_snapshot/tests/acceptance/fixture.rs workgroup.join(format!("__agent_{name}/config.json")),
P2-fixture src-tauri/src/pty/terminal_snapshot/tests/acceptance/fixture.rs workgroup.join("__agent_member-tampered/config.json"),
P2-fixture src-tauri/src/pty/terminal_snapshot/tests/acceptance/fixture.rs coordinator: workgroup.join("__agent_coordinator"),
P2-fixture src-tauri/src/pty/terminal_snapshot/tests/acceptance/fixture.rs worker: workgroup.join("__agent_worker"),
P2-fixture src-tauri/src/pty/terminal_snapshot/tests/acceptance/fixture.rs live_member: workgroup.join("__agent_member-live"),
P2-fixture src-tauri/src/pty/terminal_snapshot/tests/acceptance/fixture.rs exited_member: workgroup.join("__agent_member-exited"),
P2-fixture src-tauri/src/pty/terminal_snapshot/tests/acceptance/host_api.rs claimed_from: format!("{PROJECT}:{WORKGROUP}/coordinator"),
P2-fixture src-tauri/src/pty/terminal_snapshot/tests/acceptance/api_support.rs audit.accept_requester("project:wg-1-dev-team/coordinator");
P2-fixture src-tauri/src/pty/terminal_snapshot/tests/acceptance/api_support.rs target: "project:wg-1-dev-team/member-live".to_string(),
P2-fixture src-tauri/src/pty/terminal_snapshot/tests/acceptance/api_cancellation.rs let target = format!("{PROJECT}:{WORKGROUP}/member-live");
P2-fixture src-tauri/src/pty/terminal_snapshot/tests/acceptance/common_blocking.rs let target = format!("{PROJECT}:{WORKGROUP}/member-live");
P2-fixture src-tauri/src/pty/terminal_snapshot/tests/acceptance/host_cancellation.rs let target = format!("{PROJECT}:{WORKGROUP}/member-live");
P2-fixture src-tauri/src/pty/terminal_snapshot/tests/acceptance/scanner_shutdown.rs let target = format!("{PROJECT}:{WORKGROUP}/member-live");
P2-fixture src-tauri/src/pty/terminal_snapshot/tests/acceptance/host_cancellation.rs let requester = format!("{PROJECT}:{WORKGROUP}/coordinator");
P2-fixture src-tauri/src/pty/terminal_snapshot/tests/acceptance/scanner_shutdown.rs let requester = format!("{PROJECT}:{WORKGROUP}/coordinator");
P2-fixture src-tauri/src/pty/terminal_snapshot/tests/acceptance/daemon_paths.rs let live_target = format!("{PROJECT}:{WORKGROUP}/member-live");
P2-fixture src-tauri/src/pty/terminal_snapshot/tests/acceptance/host_finalizer.rs let live_target = format!("{PROJECT}:{WORKGROUP}/member-live");
P2-fixture src-tauri/src/pty/terminal_snapshot/tests/acceptance/leakage.rs let live_target = format!("{PROJECT}:{WORKGROUP}/member-live");
P2-fixture src-tauri/src/pty/terminal_snapshot/tests/acceptance/panic_boundaries.rs let live_target = format!("{PROJECT}:{WORKGROUP}/member-live");
P2-fixture src-tauri/src/pty/terminal_snapshot/tests/acceptance/daemon_paths.rs format!("{PROJECT}:{WORKGROUP}/member-live"),
P2-fixture src-tauri/src/pty/terminal_snapshot/tests/acceptance/daemon_paths.rs format!("{PROJECT}:{WORKGROUP}/member-exited"),
P2-fixture src-tauri/src/pty/terminal_snapshot/tests/acceptance/daemon_paths.rs format!("{PROJECT}:{WORKGROUP}/member-missing"),
P2-fixture src-tauri/src/pty/terminal_snapshot/tests/acceptance/daemon_paths.rs format!("{PROJECT}:{WORKGROUP}/member-tampered"),
P2-fixture src-tauri/src/pty/terminal_snapshot/tests/acceptance/daemon_paths.rs &format!("{PROJECT}:{WORKGROUP}/worker"),
P2-fixture src-tauri/src/pty/terminal_snapshot/tests/acceptance/daemon_paths.rs &format!("{PROJECT}:{WORKGROUP}/coordinator"),
P2-fixture src-tauri/src/pty/terminal_snapshot/tests/acceptance/leakage.rs let coordinator_fqn = format!("{PROJECT}:{WORKGROUP}/coordinator");
P2-fixture src-tauri/src/pty/terminal_snapshot/tests/acceptance/panic_boundaries.rs let coordinator_fqn = format!("{PROJECT}:{WORKGROUP}/coordinator");
P2-fixture src-tauri/src/pty/terminal_snapshot/tests/acceptance/leakage.rs let worker_fqn = format!("{PROJECT}:{WORKGROUP}/worker");
P2-fixture src-tauri/src/pty/terminal_snapshot/tests/resource.rs const REQUESTER: &str = "project:wg-1-team/coordinator";
P2-fixture src-tauri/src/pty/terminal_snapshot/tests/resource.rs const TARGET: &str = "project:wg-1-team/member";
P0-identifier src-tauri/src/resource_monitor/registry.rs workgroup: Option<String>,
P0-identifier src-tauri/src/resource_monitor/registry.rs self.metadata.workgroup.clone(),
P1-comment src-tauri/src/resource_monitor/registry.rs // #559 (H3) - a relaunch of the same wg/role must not leave its prior
Expand Down Expand Up @@ -2981,7 +2989,7 @@ P2-fixture src-tauri/src/session/session.rs let p = find_workgroup_task_path_for
P2-fixture src-tauri/src/session/session.rs assert!(p.ends_with(r"\wg-3-team\TASK.md"));
P2-fixture src-tauri/src/telegram/bridge.rs " ▄▀▀ ▀▀▄ D:/0_repos/AgentsCommander_iac/.ac/wg-21-ac-dev-team-v3/__agent_ac-cli-tester-v3",
P2-fixture src-tauri/src/telegram/bridge.rs " D:/0_repos/AgentsCommander_iac/.ac/wg-21-ac-dev-team-v3/__agent_ac-cli-tester-v3"
P2-fixture src-tauri/src/testability/ui_automation.rs workgroup: None,
P2-fixture src-tauri/src/testability/ui_automation/tests/watchdog.rs workgroup: None,
P0-identifier src-tauri/src/web/commands.rs let config: crate::config::project_settings::WorkgroupGroupsConfig =
P2-fixture src-tauri/src/web/commands.rs use crate::config::project_settings::{WorkgroupGroup, WorkgroupGroupsConfig};
P2-fixture src-tauri/src/web/commands.rs let config = WorkgroupGroupsConfig {
Expand Down Expand Up @@ -3231,9 +3239,9 @@ P1-comment src-tauri/src/api/identity.rs /// #1614 (D): a Room replica and a leg
P2-fixture src-tauri/src/api/identity.rs for entity in ["wg-1-team", "room-1-team"] { section 9.1 fixture twin: the room- case added BESIDE the kept wg- one (Rule P2)
P2-fixture src-tauri/src/api/identity.rs "a Workgroup and a Room at slot 1 must be two different peers" section 9.1 fixture twin: the room- case added BESIDE the kept wg- one (Rule P2)
P2-fixture src-tauri/src/api/identity.rs assert!(resolved[0].contains("wg-1-team"), "got: {}", resolved[0]); section 9.1 fixture twin: the room- case added BESIDE the kept wg- one (Rule P2)
P1-comment src-tauri/src/pty/terminal_snapshot/acceptance_tests.rs /// `WORKGROUP`, never replacing it: a legacy fixture is the only way section 9.1 fixture twin's doc comment, stating why the wg- fixture is kept
P1-comment src-tauri/src/pty/terminal_snapshot/acceptance_tests.rs /// exercising `wg-1-dev-team` and gains the Room case. section 9.1 fixture twin's doc comment, stating why the wg- fixture is kept
P2-fixture src-tauri/src/pty/terminal_snapshot/acceptance_tests.rs assert!(has_entity_prefix(WORKGROUP), "{WORKGROUP}"); section 9.1 fixture twin: the room- case added BESIDE the kept wg- one (Rule P2)
P2-fixture src-tauri/src/pty/terminal_snapshot/acceptance_tests.rs assert_eq!(strip_entity_prefix(WORKGROUP), Some("1-dev-team")); section 9.1 fixture twin: the room- case added BESIDE the kept wg- one (Rule P2)
P1-comment src-tauri/src/pty/terminal_snapshot/acceptance_tests.rs // directory name, so a Room and a legacy Workgroup at the same slot are section 9.1 fixture twin's doc comment, stating why the wg- fixture is kept
P2-fixture src-tauri/src/pty/terminal_snapshot/acceptance_tests.rs let legacy_fqn = format!("{PROJECT}:{WORKGROUP}/coordinator"); section 9.1 fixture twin: the room- case added BESIDE the kept wg- one (Rule P2)
P1-comment src-tauri/src/pty/terminal_snapshot/tests/acceptance.rs /// `WORKGROUP`, never replacing it: a legacy fixture is the only way section 9.1 fixture twin's doc comment, stating why the wg- fixture is kept
P1-comment src-tauri/src/pty/terminal_snapshot/tests/acceptance.rs /// exercising `wg-1-dev-team` and gains the Room case. section 9.1 fixture twin's doc comment, stating why the wg- fixture is kept
P2-fixture src-tauri/src/pty/terminal_snapshot/tests/acceptance/room_targets.rs assert!(has_entity_prefix(WORKGROUP), "{WORKGROUP}"); section 9.1 fixture twin: the room- case added BESIDE the kept wg- one (Rule P2)
P2-fixture src-tauri/src/pty/terminal_snapshot/tests/acceptance/room_targets.rs assert_eq!(strip_entity_prefix(WORKGROUP), Some("1-dev-team")); section 9.1 fixture twin: the room- case added BESIDE the kept wg- one (Rule P2)
P1-comment src-tauri/src/pty/terminal_snapshot/tests/acceptance/room_targets.rs // directory name, so a Room and a legacy Workgroup at the same slot are section 9.1 fixture twin's doc comment, stating why the wg- fixture is kept
P2-fixture src-tauri/src/pty/terminal_snapshot/tests/acceptance/room_targets.rs let legacy_fqn = format!("{PROJECT}:{WORKGROUP}/coordinator"); section 9.1 fixture twin: the room- case added BESIDE the kept wg- one (Rule P2)
4 changes: 3 additions & 1 deletion scripts/sanitizing_file_layout.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ function measure(path, scan) {
}
}
for (const scope of scan.scopes) for (const entry of scope.imports) if (entry.glob) {
if (path.endsWith('/tests.rs') && entry.target === 'super::*') continue;
// C6: a file under a tests/ folder is part of its tests.rs, so it may glob its parent too.
const testsFile = path.endsWith('/tests.rs') || path.includes('/tests/');
if (testsFile && entry.target === 'super::*') continue;
const use = scan.items.find(i => i.kind === 'use' && i.scope === scope &&
ts.slice(i.first, i.last).some(t => t.text === '*'));
hit(m, 'glob', use?.line ?? 1);
Expand Down
Loading
Loading