A stale refs/locks/jobs/*.lock, a store directory the caller cannot write, and an executable hooks/reference-transaction each make writers fail or run foreign code, and doctor reports healthy for all three; it also reports path-ref-stray for a record that failed to decode, a finding that is spurious because the paths could not be read. Add checks for lock files, write permission, hooks and core.hooksPath, and suppress dependent checks after record-decodes fails.
Source: docs/audit/2026-10-02_ship-readiness-audit.md SHIP-01, SHIP-05, SHIP-10, docs/audit/2026-10-02_day-0-dx-audit.md DX-15 at a5c0acd; lib/175-doctor.sh.
A stale
refs/locks/jobs/*.lock, a store directory the caller cannot write, and an executablehooks/reference-transactioneach make writers fail or run foreign code, anddoctorreportshealthyfor all three; it also reportspath-ref-strayfor a record that failed to decode, a finding that is spurious because the paths could not be read. Add checks for lock files, write permission, hooks andcore.hooksPath, and suppress dependent checks afterrecord-decodesfails.Source:
docs/audit/2026-10-02_ship-readiness-audit.mdSHIP-01, SHIP-05, SHIP-10,docs/audit/2026-10-02_day-0-dx-audit.mdDX-15 ata5c0acd;lib/175-doctor.sh.