Design 47 H: H-A-298, a module moves only when its own inputs change; a take-in says what it waits on

This commit is contained in:
2026-11-21 19:42:54 +01:00
parent ed35da552f
commit 1316151f07
@@ -1726,3 +1726,12 @@ Where two preparers disagreed, the chosen one is named.
the trunk reads. Owed, H2: a dry run reads and writes only its own scratch state (keyed by the branch and call) and
leaves the trunk's packages state untouched; a test that runs a branch dry run and then reads the trunk's packages
unchanged. P3, P-NATS-native (a module's own state, one owner per key).
- **H-A-298 (a module moves only when its own inputs change; a take-in says what it waits on, 19:42)** Met live: a
merge of two test files in the catalog repository (the zfs and forge modules) moved 36 modules into one pipeline,
because a module's fingerprint takes the repository's commit, not the artifact's declared paths; and that take-in
took eleven minutes, seven of them with no journal line while the indexer waited on the forge's listing under a
busy control-node. Owed, H2: (1) a module's fingerprint is the digest of its artifacts' declared paths and its
manifest at the commit, so a commit outside them moves nothing (the paths the private network module's fix met in
H-A-294's neighbour, A-474); (2) a take-in writes a journal line, and the indexer's take-in state says it, for every
wait longer than a minute on another part (the forge, a package publish), naming the part. P3, P-failure-loud,
nothing-moved-in-five-minutes.