Satellites engine module boundaries (FG-architecture-satellites, 2026-11-15)
The source is design recommendation 7 in qa/reviews/fable-satellites-2026-11-10.md (ledger row D129): split the supervisor (host) and the list client out of bin/starchaser-satellite into modules with their own tests. Rechecked desk-1.0 at 2b00a579a. The host, runtime and network broker were already split out. The list client module had only the download. The signature check, the saved copy, the rollback floor and the two list formats were still in the engine. They are now in the module.
| module | owns | focused tests | |---|---|---| | starchaser_satellite_host.py | running add-on processes: services, taskbar items, their logs and restarts | satellite_host_publication_test, satellite_everyday_test | | starchaser_satellite_runtime.py | bounded runs, the sandbox command, appearance and accessibility handoff | satellite_sandbox_appearance_test, satellite_accessibility_bus_test | | starchaser_satellite_network.py | the declared-host HTTPS broker and its redirects | satellite_network_broker_test | | starchaser_satellite_list.py | downloading a list, checking its signature (and withdrawn keys), the signature verdict, the saved copy, the rollback floor, reading list.json and index.toml | satellite_list_client_test |
starchaser satellite keeps everything that decides what a list means for this account: which list to use, which entries a list may offer (ID, link, commit and version rules shared with install), Reviewed entries from unsigned lists counting as Unreviewed, the kill switch (apply_removals) and the developer-sample filter. Removals stay independent of discovery (D121). The engine reads Starchaser's signed list for them whichever list Find more shows.
Rules for list changes:
- The list module never imports the engine and reads no environment variables. Every keyring, cache folder, address and save function is an argument. The engine's test overrides (
TEST_OVERRIDES) are the only route by which test paths reach it.
- The engine keeps its names (
check_signature,read_cache,write_cache,list_signature,newest_seen,note_seen,parse_index,list_format) as thin wrappers that pass its currentKEYRING,CACHE,LIST_SEENandSHARED_INDEX. Callers and tests that replace those names keep working.
- A new list trust rule goes in the module with a test in
satellite_list_client_test. A new rule about which entries are offered or blocked goes in the engine with a behavior test throughread_index.