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
ci: native diagram installation identity depends on the installing umask, and the recovery steps don't say so #3339
The native diagram installation digest (diagramInstallationIdentity, scripts/diagram-export-installation.mjs:24-38) includes file modes. When an install is made under umask 0077, the unchanged epic base hashes to b846ed2b… instead of the qualified 0c2758c0…, with the same package, file and byte counts. Only umask 022 matches. The recovery message (FROZEN_NATIVE_INSTALLATION_MUST_MATCH_QUALIFIED_BYTES: recover this owned install from a fresh private cache) and the install-recovery steps in CONTRIBUTING.md don't say this, so following them under a restrictive umask can never succeed.
Either the recovery steps and the error text name the required umask (022) and show the exact install command, or the identity is computed from normalised modes, so a restrictive umask doesn't change it. If the identity changes, that needs its own requalification.
A test shows that an install under umask 0077 either matches after the documented recovery, or is refused with a message that names the umask.
Claiming (token claim-3339-u022a). Branch: fix/3339-diagram-install-umask. Approach: option (a). The recovery steps and the installation-mismatch diagnostic will name umask 022 and the exact install command. The identity stays unchanged, because scripts/diagram-export-installation.mjs is itself part of the frozen qualified source inventory (diagramSourceSetup), so normalising modes there would change both qualified pins. Collision check: closure-only overlaps with open drafts, and no PR changes the same paths.
Handoff: draft PR #3403 (head a47cbd450ed4daa27d7b1cab9f387960eb3f592b) implements option (a) with failing-first, recovery and mutation receipts, and is ready to confirm. Main is not red, but another candidate holds the integration lease, so confirmation was not requested. To resume, run bun scripts/integrate.ts confirm 3403 --issues schlessera/brain-kit#3339 from a current origin/main checkout once the lease is free. Releasing the claim.
Activity
schlessera commentedon Nov 3, 2026
Claiming (token
claim-3339-u022a). Branch:fix/3339-diagram-install-umask. Approach: option (a). The recovery steps and the installation-mismatch diagnostic will name umask022and the exact install command. The identity stays unchanged, becausescripts/diagram-export-installation.mjsis itself part of the frozen qualified source inventory (diagramSourceSetup), so normalising modes there would change both qualified pins. Collision check: closure-only overlaps with open drafts, and no PR changes the same paths.schlessera commentedon Nov 3, 2026
Handoff: draft PR #3403 (head
a47cbd450ed4daa27d7b1cab9f387960eb3f592b) implements option (a) with failing-first, recovery and mutation receipts, and is ready to confirm. Main is not red, but another candidate holds the integration lease, so confirmation was not requested. To resume, runbun scripts/integrate.ts confirm 3403 --issues schlessera/brain-kit#3339from a currentorigin/maincheckout once the lease is free. Releasing the claim.