Local-only defensive instrument

Observe. Report. Contain. Restore.

A defensive console built around a twin-shadow witness: one layer watches files, text, hashes, and signals; the second layer watches the first layer for drift, false certainty, and boundary bleed.

OBS
RPT
00
-1
NO
TWIN
SHADOW
CORE

Defense model

The console follows the Witness Survival Kernel: observe reality, report drift, contain uncertainty, and return operation without losing state.

Observe

Surface Shadow

Collects local signals: file names, sizes, hashes, text patterns, entropy estimates, and boundary pressure.

Report

Witness Shadow

Explains what changed and why it matters. No silent action, no hidden escalation, no remote calls.

Contain

Shadow Shadow

Audits the watcher. If confidence is low, it folds findings into a 00 pocket rather than overclaiming.

Local defense console

Drop files or paste suspicious text. Analysis happens in your browser. This page does not upload data.

Inputs

Select files for local hashing and metadata inspection.

Paste text, logs, emails, or prompts for pattern review.

Witness report

Risk pressure0%
Coherence100%
Boundary mode5 / normal
Files observed0

Event log

ready: local witness initialized
state: 5 → normal coherence

Twin shadow / shadow shadow

The second shadow does not duplicate the first. It questions it. This prevents single-watcher tunnel vision.

Shadow A

Primary observer

Measures external artifacts: hashes, size anomalies, suspicious strings, risky wording, repeated urgency, encoded-looking blobs, and file-type mismatch clues.

A = observe(surface) A.report = evidence + uncertainty A.never_executes_payload = true
Shadow B

Watcher of the watcher

Checks whether the first shadow is overconfident, under-evidenced, or leaking across boundaries. If so, it forces containment.

B = observe(A.report) if B.detects_drift: fold_to_00() request_human_review()

Containment ladder

Every finding maps to a reversible state. Nothing becomes destructive. The safest move is always available.

5
Normal coherence.
Proceed. Log and continue.
00
Containment pocket.
Unclear or suspicious. Preserve evidence, stop assumptions.
-1
Safe hold.
Quarantine recommendation. Export report. Human review required.
5
Restore.
Return to coherent operation only after report is understood.

Kernel

Small enough to remember. Strict enough to use.

SHADOW_WITNESS_DEFENSE_KERNEL v1.0 AUTHOR: David Wise MODE: local-only defensive observation LOOP: OBSERVE(surface) REPORT(evidence, uncertainty) SHADOW_A = inspect(subject) SHADOW_B = inspect(SHADOW_A) IF evidence_high AND uncertainty_low: STATE = 5 ACTION = explain_and_continue IF evidence_mixed OR watcher_drift: STATE = 00 ACTION = contain_and_preserve IF risk_high OR boundary_bleed: STATE = -1 ACTION = safe_hold_export_review NEVER execute unknown payloads NEVER phone home NEVER mutate source evidence REPEAT