Files
felhom.eu/documentation/audits/cc-creds-build-2026-10-17/harness/child.sh
T
adminandClaude Opus 5.5 ba40c0a25b
gates / gates (push) Successful in 6m44s
CC secrets build: consumers switched to sec, S19 age key in the recovery runbooks, evidence (R-1118, R-1122)
Build skill (hub token, ISO publish), fb_probe (token from `sec run` env, tests red-proved), secrets.md (Resend:
pipe inside sec run), bench README, read_credential docstring, 12-agent-tooling §5, workspace CLAUDE secrets line.
Evidence: audits/cc-creds-build-2026-10-17/ (tests, red-proofs, 36-row child-session proof both launch modes,
install, fresh-session proof, import names+lengths, history sweep names).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012qRErfCoiTkvDK9N5XHbzb
2026-10-17 13:33:07 +02:00

10 lines
681 B
Bash
Executable File

#!/bin/bash
# child.sh MODE SETTINGS OUTJSON "prompt" MODE = normal | skip
# Throwaway headless CC child with a scrubbed environment (no RESEND_API, no CC tokens).
M=()
[ "$1" = skip ] && M=(--dangerously-skip-permissions)
cd ~/cc-creds-build/work
exec env -i CCSEC_STORE="$HOME/cc-creds-build/teststore/root/store/cc.sops.yaml" CCSEC_AGE_KEY="$HOME/cc-creds-build/teststore/keys.txt" HOME="$HOME" USER="$USER" LOGNAME="$LOGNAME" PATH="$PATH" LANG=C.UTF-8 TERM=dumb SHELL=/bin/bash \
claude -p "${M[@]}" ${CHILD_MODEL:+--model "$CHILD_MODEL"} --add-dir /home/kisfenyo/cc-creds-build --settings "$2" --output-format json --max-turns 4 "$4" \
< /dev/null > "$3" 2> "$3.stderr"