helix3 index.php: baseline still byte-diverges from deployed file after #4/#5 #6
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Despite #4 (helix3 baseline content restored, cloaking backdoor dropped) and #5 (
.gitattributes-> LF) both merged, the generated baselinetemplates/shaper_helix3/index.phpstill byte-diverges from the clean file deployed on the server. The difference is not malicious content -- the customization (warehouse logic, analytics) is legit and the backdoor is gone -- it is a byte-level mismatch between the generated baseline and the deployed file.Impact
A byte-exact integrity comparison flags this known-good, legit file as modified (false positive):
Diagnosis (first step)
Given #4/#5 are already merged, determine where the residual byte-difference originates:
build-baseline.shre-run after #4/#5 merged -- or is the deployed baseline still carrying the pre-#4 helix3?* text=auto eol=lfactually normalized this file on a fresh checkout (clientcore.autocrlfstate at build time).templates/shaper_helix3/index.phpagainst the deployed file and classify the remaining delta (whitespace/EOL vs. real character differences).Acceptance criteria
templates/shaper_helix3/index.phpbyte-exactly reproduces the deployed clean file.Resolved — no repo content change needed. Root cause was deploy-side: the baseline build pinned a stale revision (a commit predating #4/#5), so the generated baseline still carried the old helix3. After bumping the deploy-side pinned rev to the current main HEAD and rebuilding, a byte-exact integrity comparison now reports 0 differences for
templates/shaper_helix3/index.php— and 0 modified files across the entire tree. The repo content was already byte-correct (the #4/#5 merges); no renormalization required. AC 1–3 met.