aboutsummaryrefslogtreecommitdiffstats
path: root/AGENTS.md
diff options
context:
space:
mode:
Diffstat (limited to 'AGENTS.md')
-rw-r--r--AGENTS.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/AGENTS.md b/AGENTS.md
index 155b496..f1d9048 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -33,6 +33,12 @@ plans are working files, kept out of git (`.superpowers/`).
`gpg-preset-passphrase`. Every other subprocess in the helper runs with
`stdin=DEVNULL`, so nothing can read the passphrase off the ssh channel.
Never put the passphrase in argv, env, logs or files.
+- Second exception: `config-get` / `config-set` (Keystone's settings page)
+ run before `load_config`, so a broken helper config stays fixable;
+ `config-set` reads the new text from stdin, validates it with `check()`
+ (the same rules as `load_config`), keeps `.bak` and replaces atomically.
+ The config names paths and scripts the helper runs: the ssh login is root
+ already, so this grants nothing new.
- Hints are parsed (`shlex`), never sourced. `sb_builder/hints.py` mirrors
slackrepo's own rules (`libexec/functions.d/parsefunctions.sh` in [slackrepo](https://github.com/aclemons/slackrepo));
check that file when changing it.