fix(skills): write BOMs as escape sequences so apm audit stops flagging them #232

Merged
Defame1297 merged 2 commits from fix/apm-hidden-chars-208 into main 2026-11-27 16:18:47 +00:00
2 Commits
Author SHA1 Message Date
Defame1297andClaude Opus 5.5 7b13285666 test(adr0020): write the BOM fixture as an escape sequence
tests/test-adr0020-frontmatter.sh held a literal U+FEFF in its 'bom'
fixture, which apm audit flags as a hidden character. Write it as the
Python backslash-ufeff escape instead; the test still passes (36/36).

Refs #208

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
2026-11-27 15:38:12 +00:00
Defame1297andClaude Opus 5.5 644c9d7f08 fix(skills): write BOMs as escape sequences so apm audit stops flagging them
The validate-adapter.bats fixtures and factory-audit's strip_bom held
literal U+FEFF characters, which apm audit reports as hidden characters
on every install. Replace each with the Python backslash-ufeff escape;
behaviour is unchanged (fixtures still emit EF BB BF, all 349 bats tests
pass).

Bump factory-audit to 1.0.7 (ADR-0022); provider-adapter-author's change
is under tests/, which the bump gate ignores.

Refs #208

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
2026-11-27 14:48:15 +00:00