You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
metadata-protocol: export the write door's DERIVED_PROVENANCE_KEYS so service-automation's run checksum strips the same set by import, not by a second spelling #39445
Filing gate: ② follow-up named by an L1 ACCEPT (PR #39431, L1-b verdict 7396551302) · Source: fleet (os-dev open question on #39388, report 7395777922).
What
PR #39431 (#39388) makes flowContentChecksum in packages/services/service-automation/src/flow-identity.ts drop _packageId, _packageVersion and _provenance before hashing, so a package-bound run's checksum equals its sys_metadata_history row. The key list is spelled a second time there (SERVED_PROVENANCE_STAMPS), because the write door's own list, DERIVED_PROVENANCE_KEYS / stripDerivedProvenance in packages/metadata-protocol/src/protocol-package-bindings.ts, is module-private.
The two sets must agree by construction: a new derived stamp added at the write door and not here silently breaks run identity again for package-bound flows.
Owed
Export the key list (or stripDerivedProvenance) from @objectstack/metadata-protocol and import it in flow-identity.ts, deleting the local copy. service-automation already imports from that package (flow-precedence.ts, read by L1-b).
Clause-②: an added export from a published package widens the public surface; the claim answers it.
Responsibility: platform code in this repo (metadata-protocol + service-automation); no path keeps the two lists equal today; reach is future: any added derived stamp.
Grade: area:workflow · Task · p3 · reach: package-bound flow run identity, latent until a new derived stamp is added · evidence: read (L1-b, PR #39431)
Activity