Post

Reject Tracked Artifacts and Retire Compass Cleanup

Reject Tracked Artifacts and Retire Compass Cleanup

This commit tightens the GitOps hygiene by rejecting any tracked files that fall under the repository’s root .gitignore, introduces CI checks for local migration outputs and retired artifacts, and cleans up stale Compass‑related resources. It updates the workflow, ignore rules, agent notes, and wiki pages so future developers know to keep transient execution and evidence out of version control.

Workflow Changes in .github/workflows/validate.yml

The workflow now contains two new jobs: Check tracked artifacts and its test variant. Both invoke bash scripts/ci/tracked-artifacts-check.sh and bash scripts/ci/tracked-artifacts-check-test.sh to enforce rejection of ignored paths.

.gitignore Pattern Additions for Migration Outputs

A new block was added to .gitignore: a comment noting local migration output and retired artifacts, plus patterns *.bak, *.orig, *.rej. These prevent force‑added local build files from being committed.

Agent Instructions and Documentation Updates

AGENTS.md gained a ‘Repository artifacts’ section directing maintainers to keep local state, caches, plans, rollback exports, and operator receipts outside git. The wiki pages openwiki/operations/validation-gates.md and openwiki/workloads/application-notes.md were revised to explain that Argo CD now sees retained terminal pods and that stale Jobs must stay until GitOps removes them. The test script scripts/ci/tracked-artifacts-check-test.sh was also created to automate acceptance/rejection of tracked artifacts.

This post is licensed under CC BY 4.0 by the author.