godoc-current.txt is GOOS-dependent (sandbox per-OS docs); cross-platform commits trip the hook #126
Labels
No labels
burndown-2026-06
sunday-sprint
autonomy
async-consult
autonomy
epic
autonomy
headless
autonomy
live-collab
coherence-core
priority
P0
priority
P1
priority
P2
priority
P3
priority
P4
qa-fixture
role/ai
role/creator
role/design
role/director
role/engineer
role/exec
role/human
role/ops
role/qa
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
coilyco-flight-deck/umbra#126
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Problem
godoc-current.txtis generated byscripts/check-godoc-current.shrunninggo doc -allper package, and the output is GOOS-dependent sincecli/sandboxgrewsandbox_linux.go/sandbox_other.govariants: a snapshot generated on macOS documents the off-Linux no-ops ("RunJail is unsupported off Linux"), while a Linux regeneration documents the real impls. The committed snapshot and the hook check can only agree on one platform at a time, so every cross-platform commit trips the hook with a spurious diff.Surfaced while landing coilyco-flight-deck/cli-guard#125 on kai-server (Linux): the hook failed on sandbox docs untouched by the change. Swept the Linux regeneration into that commit to keep moving.
Fix options
GOOS=linux go docis not a thing (go doc builds for the host), but the script couldgo list-filter the per-OS files or run inside the Linux CI container only, with the hook skipping off-Linux.godoc-current_linux.txt+godoc-current_other.txt), each checked only on its platform.Related: the Actions runner servicing zero tasks (coilyco-flight-deck/cli-guard#107, coilyco-flight-deck/cli-guard#119) is why CI never caught the drift.