os_config_change
Preview then apply user-approved changes to OS installation files, such as installed copies or Codex adapters, with backups and a confirmation token.
Instructions
Change the user's OS installation after the user approved a preview.
Two calls. First without confirm_token: returns the preview (every file, the action, sha256 before and after, the baseline tree and branch, warnings) and a confirm_token valid for 10 minutes. Show the preview to the user as is and ask. Only after the user agrees, call again with the token and the user's own words. The preview is recomputed; if anything changed you must preview again. Existing files are backed up next to themselves (.bak-aiteam-) before writing, and a decision.user_config_write event is recorded. Never pass a token the user has not seen the preview for.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| change | Yes | What to change: sync_installed_copies (installed hook, skill, agent and command copies of a source install behind the source tree, notice E11), or update_codex_adapter (Codex adapter files from the recorded installation source, notice E13; preserves hooks-only mode and requires preview approval) | |
| user_quote | No | Required when applying: the user's own words approving the preview | |
| confirm_token | No | Empty for the preview; the token from that preview to apply it |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||