chore: sync local alignment guidance and managed hooks #10
Loading…
Reference in a new issue
No description provided.
Delete branch "chore/align-local-forge"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Updates declaration-check guidance for Align's local command and regenerates managed hooks and review configuration from Align #809. Interrupted hooks clean up their snapshots, and the updated review wrapper retains the zero-failed-unit gate.
Merge after Align 13 is published and verified.
Review
01M5N1NC2FHD59FKG0EC27AZW3— headb0d9dd7cf9bc19ee852218522ceab3ecd12df5c6Review — j4k-oss/fta-check @
4900e92f07Scope: diff against base tree
3feb72321423Review finished: 10 succeeded, 0 failed
Triage: settled
Facts: current review-wide projection
Computed under:
Findings (1)
medium — The cleanup watcher can finish before the untracked checkout recreates the snapshot
01M5N1SP26Y90W9Y1XF4VY2HJS.githooks/commit-msg(snippet)01M5N1VA2QPMG0QD6JYKGV2WGZ· valid: The exact-grounded anchor shows worktree creation directly invokes Git and closes fd 6. The reviewer supplies a specific trace: only run_step publishes a process group, so EOF during this checkout makes watch_snapshot remove resources without stopping their creator. The reported gated-Git experiment places cleanup before real checkout and observes the directory and registration returning afterward; this is a coherent scheduling interleaving, not an assertion that every checkout timing recreates them. Descriptor closure is not process ownership, and successful cleanup of run_step checks does not cover this call site. This supports the APoSD concern that the cleanup abstraction leaves callers responsible for coordinating process registration and resource lifetime; pulling that coordination into the execution owner addresses the demonstrated defect. Medium is appropriate. The trace and experiment are reviewer-reported evidence, not independently reproduced.01M5N1TW78N7VMTYCRNGGTBGRP(general-bug)Other claims
01M5N1TW78N7VMTYCRNGGTBGRPmedium — The watcher removes the snapshot while its checkout is still running →01M5N1SP26Y90W9Y1XF4VY2HJSCoverage
Coverage pass: 01M5N1NPZCKR0Y3S2PZMVCR8Q4
Accounting: complete (all slots terminal; see slot results for failures)
Slot health: healthy
@ -146,2 +205,3 @@exec 6> >(set -m; watch_snapshot <&0 > /dev/null &)# Relative worktree paths would upgrade the repository format; post-checkout hooks must not run here.git --git-dir="$git_common_dir" -c worktree.useRelativePaths=false -c core.hooksPath=/dev/null worktree add --quiet --detach "$snapshot_dir" "$snapshot_commit"git --git-dir="$git_common_dir" -c worktree.useRelativePaths=false -c core.hooksPath=/dev/null worktree add --quiet --detach "$snapshot_dir" "$snapshot_commit" 6>&-medium — The cleanup watcher can finish before the untracked checkout recreates the snapshot
lens
aposd-plain· armdefault· tally 1 valid / 0 invalid / 0 uncertainclaim
01M5N1SP26Y90W9Y1XF4VY2HJSof review01M5N1NC2FHD59FKG0EC27AZW3Declining this hardening change for the owned-repository migration at
b0d9dd7cf9. I traced the direct worktree-add call and the watcher: checkout does not register a process group, so the reported hook-only SIGKILL ordering is a plausible cleanup gap. I am not claiming it is fixed or disproved. The reported experiment gates Git before the real checkout starts. This checkout uses /opt/homebrew/bin/git without that gate. Git attribute inspection found no assigned filter on any of this repository’s 51 tracked paths. The user explicitly limited this migration to our actual repositories and asked us to avoid expanding tooling for unusual edge cases. We retain that scope and accept this limitation; no follow-up PR or broader cleanup guarantee is claimed.