From 59b99fed1250b27e0c2b4330e2dd139db96644fc Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Wed, 30 Sep 2026 13:47:27 +0200 Subject: [PATCH] Hands brief: errors never echo an input value, pinned by a canary Co-Authored-By: Claude Opus 5.5 --- references/briefs.md | 5 +++++ references/changelog.md | 9 +++++++++ 2 files changed, 14 insertions(+) diff --git a/references/briefs.md b/references/briefs.md index 7dd04af..b48ade8 100644 --- a/references/briefs.md +++ b/references/briefs.md @@ -108,6 +108,11 @@ Standing rulings: . - 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 , scoped to this cut's diff diff --git a/references/changelog.md b/references/changelog.md index 1493591..edaeebb 100644 --- a/references/changelog.md +++ b/references/changelog.md @@ -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.