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
lefthook: the format pre-commit job fails on docs-only commits #126
.oxfmtrc.json sets ignorePatterns: ["docs/**"], but the format job in lefthook.yml runs pnpm exec oxfmt --check {staged_files} on whatever is staged. A commit that stages only files under docs/ hands oxfmt zero targets after the ignore pattern is applied, oxfmt exits 2 with "Expected at least one target file", and the hook rejects a perfectly formatted change.
Found while landing #122: every earlier commit there happened to also stage CHANGELOG.md or README.md, so the first docs-only commit was the first to hit it and had to go in with --no-verify.
Fix
Either skip_empty: true on the format job, or narrow its glob so docs/** is excluded to match .oxfmtrc.json. One line in lefthook.yml.
Activity
docs: apply review findings on the gateway and worker docs
docs: apply the second review round on the gateway and worker docs
docs: record the settled details in ADR 0005 itself
docs: close the confirmation round on the gateway and worker docs
docs(adr-0005): require ws/wss for gateway.url, rejecting http/https
docs(gateway): replace the stale "gateway is inert" paragraph (D4)
docs(adr-0005): forward the lease owner so ownership survives a restart
docs(gateway): replace the stale "gateway is inert" paragraph (D4)
docs: fix the mode/gateway contradiction, spell out an agent token's …
docs: drop the duplicated device.exec pitfalls the stack collapse left
docs(gateway): replace the stale "gateway is inert" paragraph (D4)
docs(gateway): fix two docs claims left stale by the fleet queue land…
docs(gateway): replace the stale "gateway is inert" paragraph (D4)
docs(gateway): fix two docs claims left stale by the fleet queue land…
4 remaining items
docs(agent-rules): testing rules, and three more from the review record
docs: describe TTL-first leases end state, accept ADR 0004 (PR C) (#122)
docs: accept ADR 0005 for gateway and worker modes
docs: apply review findings on the gateway and worker docs
docs: apply the second review round on the gateway and worker docs
docs: record the settled details in ADR 0005 itself
docs: close the confirmation round on the gateway and worker docs
docs(adr-0005): require ws/wss for gateway.url, rejecting http/https
docs(adr-0005): forward the lease owner so ownership survives a restart
docs: fix the mode/gateway contradiction, spell out an agent token's …
docs: drop the duplicated device.exec pitfalls the stack collapse left
docs: merge the duplicated device.exec section left by the stack coll…
docs(gateway): replace the stale "gateway is inert" paragraph (D4)
docs: describe gateway and worker modes end state, accept ADR 0005 (#120