Preserve content when moving entries between tracked Squad state files
56
65%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Fix and improve this skill with Tessl
tessl review fix ./.copilot/skills/archival-integrity/SKILL.mdUse this skill for decision archival, history summarization, or any operation that moves entries between repository state files. A move has two halves: append to the destination, then trim the source. Treat it as data loss prevention, not text cleanup.
removed from source / added to destination counts. Do not use byte deltas as
an integrity signal.### entry, demote its shallowest heading to ####
while preserving relative levels and fenced-code content.archiveEntries(), prepareInboxBodyForMerge(), and formatArchivalReport() from
packages/squad-sdk/src/state/io/archival.ts over hand-rolled archival logic.The archival tests in test/state/archival.test.ts cover append failures, swallowed writes,
untracked destinations, CRLF inputs, count verification, and fence-aware heading demotion.
29e69f5
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.