docs: security gate — data rule in § WRITE, spike probe header, redaction set
capitalize-commit § WRITE: captured text only via a quoted heredoc body file. Spike probe flagged do-not-load, job path generic. noise.py port scope stated. README, USAGE, CHANGELOG list the 6-bis redaction shapes.
This commit is contained in:
1 parent
d5dd34fc68
commit
a403df2472
7 files changed
+17
-9
No files matched your search
@@ -1,5 +1,5 @@
|
||||
# probe4b report (CLI 2.1.317, claude -p, haiku, --setting-sources local)
|
||||
Raw log: /home/bchanot/.claude/jobs/8573ce6f/tmp/probe4b/log.jsonl (per case: log.cN.jsonl; full streams: out.cN.jsonl)
|
||||
Raw log: $CLAUDE_JOB_DIR/tmp/probe4b/log.jsonl (per case: log.cN.jsonl; full streams: out.cN.jsonl)
|
||||
Mod loaded: init event plugins list contains {"name":"probe4b","source":"probe4b@inline","version":"0.1.0"}.
|
||||
|
||||
| case | isError | keys of out | deny | text | gitOperation | classic events |
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
"""Offline noise measurement of the memory mod capture rule.
|
||||
|
||||
1:1 port of failureLine / normalize / redact of
|
||||
mods/memory/hooks/register.ts. Read-only, stdout only.
|
||||
Port of the capture rule (failureLine, normalize, letter and errorish
|
||||
tests) of mods/memory/hooks/register.ts; the redaction port covers
|
||||
patterns 1-10 only, not the 6-amended / 6-bis shapes: samples are for
|
||||
counting, never for pasting. Read-only, stdout only.
|
||||
Run: python3 -I noise.py [--dir D] [--days 14] [--samples 30] [--seed N]
|
||||
"""
|
||||
import argparse
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
// SPIKE PROBE — do not load: logs raw Bash output (command, stdout, text)
|
||||
// unredacted to a jsonl file. Kept as the record of the 2026-11-03 engine
|
||||
// probe.
|
||||
import type { Register } from 'claude-code'
|
||||
|
||||
const LOG = '/home/bchanot/.claude/jobs/8573ce6f/tmp/probe4b/log.jsonl'
|
||||
const LOG = `${process.env.CLAUDE_JOB_DIR}/tmp/probe4b/log.jsonl`
|
||||
|
||||
function cut(v: any, n: number): any {
|
||||
return v === undefined || v === null ? v : String(v).slice(0, n)
|
||||
|
||||
Reference in new issue
Block a user