Mandatory: Before any write, patch, delete, rsync, or destructive shell command under ~/tools/__CFI, run a snapshot first.
bash ~/tools/__CFI/scripts/cfa_snapshot_backup.sh pre-editOr wrap the whole operation:
bash ~/tools/__CFI/scripts/cfa_pre_edit.sh --label <short-task-name> -- <your command>- Do not set
CFA_SKIP_AUTO_BACKUP=1unless the user explicitly asks. - After backup, note the path from
~/tools/__CFI-backups/LATEST_MANUAL_BACKUP.txtin your progress message when the change is large. - Details: BACKUP_POLICY.md
- SSOT paths:
VerifCPU/verif_cpu_verilog,soc-verify-agent/,hierwalk/,socverif-harness/ - Never use
HARNESS_SESSION_ROOT=/home/user/toolsfor scrub tests without__CFAprotection (seeharness_evidence._PROTECTED_SESSION_PREFIXES).