Simplify human conversation and hide internal audit envelopes

This commit is contained in:
aiagent
2026-10-19 03:27:58 -07:00
parent 6b44147563
commit 547f62fa53
8 changed files with 206 additions and 33 deletions
+3 -1
View File
@@ -34,7 +34,9 @@ def main():
elif item.is_file():
shutil.copy2(item,stage/name)
if target.exists():
backup=target.with_name(target.name+'.backup-'+datetime.now().strftime('%Y%m%d%H%M%S'))
backup_root=base/'skill-backups'
backup_root.mkdir(parents=True,exist_ok=True)
backup=backup_root/(target.name+'.backup-'+datetime.now().strftime('%Y%m%d%H%M%S%f'))
if backup.exists():
raise ValueError('Backup destination exists')
os.replace(target,backup)