coilysiren-pull-all skip-on-dirty is too aggressive #51

Closed
opened 2026-05-23 20:54:34 +00:00 by coilysiren · 1 comment
Owner

Originally filed by @coilysiren on 2026-05-15T01:06:54Z - https://github.com/coilysiren/infrastructure/issues/164

Symptom - 2026-05-14 04:43 run skipped 29/30 repos as "working tree dirty" and only pulled infrastructure. Almost certainly the same catalog-block.py canonical-sync drift that has been sitting uncommitted across multiple repos.

Why this matters - Daily pull-all is supposed to keep kai-server checkouts current. When it skips ~all repos for weeks at a time, kai-server diverges silently from origin and the user-facing surface (daily routines, repo-recall, etc.) runs against stale code.

Options

  • Detect the specific "regenerated canonical drift" case (e.g. only files matching a known canonical-sync allowlist) and git checkout -- them before pulling.
  • Or use git stash + git stash pop around the pull.
  • Or fall back to git pull --autostash with a final dirty-check.

Related to the missing auto-commit step in coilyco-ai's apply-catalog-block-hook (separate issue, coilyco-ai sweep).

_Originally filed by @coilysiren on 2026-05-15T01:06:54Z - [https://github.com/coilysiren/infrastructure/issues/164](https://github.com/coilysiren/infrastructure/issues/164)_ **Symptom** - 2026-05-14 04:43 run skipped 29/30 repos as "working tree dirty" and only pulled infrastructure. Almost certainly the same catalog-block.py canonical-sync drift that has been sitting uncommitted across multiple repos. **Why this matters** - Daily pull-all is supposed to keep kai-server checkouts current. When it skips ~all repos for weeks at a time, kai-server diverges silently from origin and the user-facing surface (daily routines, repo-recall, etc.) runs against stale code. **Options** - Detect the specific "regenerated canonical drift" case (e.g. only files matching a known canonical-sync allowlist) and `git checkout --` them before pulling. - Or use `git stash` + `git stash pop` around the pull. - Or fall back to `git pull --autostash` with a final dirty-check. Related to the missing auto-commit step in coilyco-ai's apply-catalog-block-hook (separate issue, coilyco-ai sweep).
Author
Owner

Merged into #4 in the 2026-05-29 backlog burn-down. pull-all skip-on-dirty duplicate of #4 Reopen if it should stand alone.

Merged into #4 in the 2026-05-29 backlog burn-down. pull-all skip-on-dirty duplicate of #4 Reopen if it should stand alone.
Sign in to join this conversation.
No description provided.