diff options
| author | Craig Jennings <c@cjennings.net> | 2026-07-02 05:22:09 -0400 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-07-02 05:22:09 -0400 |
| commit | ed75d3c17e7605d2669456b53a03def531a607b7 (patch) | |
| tree | 3b2d272010c63b6360c4f723f059d12dd62b8fe5 /scripts/lint.sh | |
| parent | b6a977cec25fddf1e498896cec3ad9462fc149db (diff) | |
| download | rulesets-ed75d3c17e7605d2669456b53a03def531a607b7.tar.gz rulesets-ed75d3c17e7605d2669456b53a03def531a607b7.zip | |
feat(sync): never let untracked or gitignored files block template updates
Projects were falling behind on templates because somebody sent them a task: an untracked inbox drop read as a dirty tree to the stricter gates. The policy is now stated where the gates live: dirty means tracked modifications only, and untracked or gitignored files never block a template pull, a fast-forward, or a monitoring gate.
The audit found one offender. The inbox monitor's precondition used bare porcelain, counting the very drops it exists to process. It now checks tracked changes only, which is safe because the per-item commit already stages explicitly. The rsync WIP-guard keeps counting untracked files inside the synced source paths on purpose, since a half-written template is exactly the WIP it holds back.
Diffstat (limited to 'scripts/lint.sh')
0 files changed, 0 insertions, 0 deletions
