Hands brief: errors never echo an input value, pinned by a canary

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-09-30 13:47:27 +02:00
commit 59b99fed12
2 changed files with 14 additions and 0 deletions

View file

@ -108,6 +108,11 @@ Standing rulings: <short list>.
- One rule, one path. A simpler case of the rule (one lane, one cell, an
empty set) runs through the general path, not a fast path beside it. If a
second path looks necessary, stop and report it; do not build it.
- An error, log line or refusal never echoes an input value, and that
includes a path, a URL or a line of the offending config. Name the field and
the error code. Test it with a canary value: no byte of the canary may appear.
Soul found this class twice on 2026-09-30: Heimdall's secret reader printed a
URL bound as a path, and TOML parse errors quote the whole `KEY = "value"` line.
Every rule the spec or the operator names gets a behavioural test. Measure the
suite with <the ecosystem's mutation tool>, scoped to this cut's diff

View file

@ -1152,3 +1152,12 @@ code path", and "such obviously unnecessary split authority should never pass a
"design order as data, not as scheduling", and the brief carried no instruction to check.
- The Soul brief template now requires `git log -S` / `--grep` on a mechanism before recommending it. A
mechanism that was tried must be cited with the reason the new situation differs.
## 2026-09-30: errors never echo an input value
- Evidence: the Heimdall secrets cut existed to keep secrets off terminals, yet its new reader's error printed
the `_FILE` path. Soul reproduced a full `postgres://user:pw@...` URL reaching journald when a URL was bound
into a `_FILE` slot. The Imagination map for the same cut had already found TOML parse errors quoting whole
`KEY = "value"` lines. Same class, found twice in one day.
- The Hands brief template now requires that errors, logs and refusals name the field and the error code, never
the value, and that this is pinned by a canary test.