Files
nixos/.gitignore
oqyude 2ed525b9f5
test-runner / smoke (push) Successful in 0s
nixos flake checks / invariant-checks (push) Canceled after 0s
chore: anchor the scripts ignore rule and keep the guard verifier (T48)
.gitignore had `scripts` as an unanchored pattern. A pattern without a slash
matches a directory of that name at ANY depth, so a future
modules/*/scripts/ would have been silently ignored — the kind of thing that
only shows up as "why is my file not in git". It is anchored to /scripts/
now. No tracked file was matched before or after (verified with
`git ls-files | git check-ignore --stdin --no-index`, empty both ways).

The 22 scripts in .temp/ are not committed wholesale: they are eight
iterations of one T4 test (t4-final-v5..v8), three of another
(t4-live-test{,v2,v3}), plus one-shot deploy/cleanup/diagnose scripts that
hardcode `cd /mnt/s/Git/nixos` and perform umount / mount --move. Committing
them would be noise, not knowledge.

One of them is reusable and non-destructive, so it is preserved:
.ci/verify/guard-non-destructive-verify.sh. It creates two throwaway systemd
units (ConditionPathIsMountPoint=/nonexistent must refuse to start,
=/mnt/services must start) and resets them, so it can be run against a live
host to prove the condition is evaluated at all. That is the check the owner
needs for T52. Content is byte-identical to the .temp original
(md5 b0ac8081aae568a3db921fb64f4c0a05) and passes shellcheck -S error.

Not pushed.
2026-10-24 02:28:32 +03:00

18 lines
562 B
Plaintext

.vscode
.omo
__pycache__
# Anchored on purpose: the unanchored pattern matched any directory named
# `scripts` at any depth, so a future modules/*/scripts/ would have been
# silently ignored. Only the repo-root debris dir is meant here.
/scripts/
.temp
.opencode/
# H_fix.* regression session debris (helper scripts + in-place edit backups).
# These are produced by ad-hoc test scripts during a regression cycle
# and add noise to git status afterwards.
h-fix-*-helpers/
*.bak-t*
# metaagent runtime artifacts (per-session, not for commit)
.metaagent-director/