Adds an independent dirty_fingerprint computation to xce-build.sh: sha256 over git diff HEAD's output plus the sorted content of untracked, non-ignored files (git ls-files --others --exclude-standard), truncated to 8 hex chars. Resolves to empty on a clean tree or if the hash computation itself fails -- commit_id's own computation and -dirty suffix are left completely untouched. Zero working-tree/index mutation. Verified independently by review with real builds (HEAD pinned to control for concurrent background commits): distinguishes different uncommitted content, reproduces identical fingerprints for identical content, excludes .gitignore'd files, degrades gracefully under 3 independently-injected failure modes without aborting the build, applies to every profile, and leaves the original feature's regression script passing unmodified. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| settings | ||
| specs | ||
| steering | ||