LYGO TraumaCodex (ClawHub public tentacle)
When to run: User asks for TraumaCodex, IBI→digest pipeline, dual offline/online mirror dig, or local waveform from timing samples.
What it does (in-package only):
- Accept IBI list (ms) — demo synthetic set or
--ibi-file - Derive HMAC
seed_256from timing entropy (not a password store) - Build LDQ-style mono waveform params + optional WAV
- Write offline package + online summary (summaries only; no raw IBI stored)
- Compute mirror dig = SHA256(offline‖online)
- Emit protocol “healing code” digests (not medical)
Security posture (ClawHub-reviewed path):
| Control | Value |
|---|---|
| Network | No |
| Subprocess / shell | No |
External LYGO_STACK_ROOT exec |
No |
| Code location | scripts/traumacodex_core.py only |
| Writes | ./traumacodex_out or --out DIR or skill state/ with --i-consent |
python scripts/traumacodex_cli.py
python scripts/traumacodex_cli.py --ibi-file samples.json --out ./out
python scripts/traumacodex_cli.py --out ./out --verify
python scripts/self_check.py
Not medical. Do not feed clinical/PHI biometrics unless you understand local file outputs.
Stack FULL operator build (optional, separate channel, not required for this skill):
SkillHub #full-lygo / stack tools/traumacodex_waveform.py — reviewed separately from this package.
Δ9Φ963 — in-package · offline dig · open lattice.
