Skip to content

docs(skills): back up critical config before mutating — undo-path discipline - #134

Merged
ysyneu merged 1 commit into
feat/ai-srefrom
docs/skill-backup-before-mutate
Aug 7, 2026
Merged

docs(skills): back up critical config before mutating — undo-path discipline#134
ysyneu merged 1 commit into
feat/ai-srefrom
docs/skill-backup-before-mutate

Conversation

@ysyneu

@ysyneu ysyneu commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

The Safety section tells agents to confirm before mutating, but confirmed writes can still be wrong, and update/delete on config overwrites state that many resources keep no server-side history for.

This adds a backup-before-mutate discipline: fetch the current object with the matching read verb, save it under backups/ in the workspace, and require completion reports to state what changed, where the backup is, and how to restore. create-only changes report the undo (delete) instead.

One read call buys recoverability.

@ysyneu
ysyneu merged commit 8cd3090 into feat/ai-sre Aug 7, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant