CHARM13 is an engineering system for habitat camouflage evaluation and construction around encrypted volumes, together with a finite-model research program on budgeted adaptive distinguishability of attributed filesystem trees.
It does not introduce a new cipher. Confidentiality of bytes is external L0 (e.g. VeraCrypt). CHARM13 owns cover naturalness, detection, and refuse-on-blown.
| Layer | Role | Owner |
|---|---|---|
| Cryptographic ciphertext | Secrecy of content | External L0 (VeraCrypt, etc.) |
| Cover / habitat story | On-disk narrative | CHARM13 forge + inspect |
Most tools stop at the ciphertext. CHARM13 runs construct → measure → refuse.
Full field notes: docs/FIELD_GUIDE.md. Doctrine: docs/MASTER.md. T1 budget: docs/T1_BUDGET.md.
pip install -e .
charm doctor
charm bench
charm forge -o D:\packs\demo -t photo_library --placeholder -s 1024 --force
charm smell D:\packs\demo -t photo_library
These notes develop the comparison between adaptive and nonadaptive observation under a fixed look budget
The principal quantity is the worst-case additive gap at budget two under active arity at most
The identity is proved inside the frozen model below and is attained by an explicit construction. Whether the package is new relative to the broader literature on sequential testing and costly feature acquisition is left open; the abstract existence of adaptive gains is classical. What is collected here is a closed finite theory: flattening, root-arity, equality classification of the binary extremizer, habitat-shaped closed forms, exact rational certificates, and the consequences for a static detection checklist used as engineering quality control.
We do not claim laboratory (T4) hardness, a new cipher, or a probabilistic interpretation of severity scores.
Contents of the mathematical part.
research/THEOREMS.md (catalog) · research/m5/SEED_THEOREMS.md (proofs) · research/LADDER_MASTER.md (missions M4–M18).
Let
for the size of the active support. A policy of budget $B$ is either adaptive (a decision tree of depth at most
If
In particular, a strict adaptivity gap at budget two requires at least four active worlds.
If every query has active arity at most
Both bounds are sharp: there exists a finite system with
For
The sharp seed package is proved in the frozen model. Its literature priority is unresolved. Residual contributions emphasized here are support flattening, the exact root-arity envelope, equality classification, habitat closed forms, and the engineering corollaries in §6.
Bayes bridge (weighted classification trees):
Root-arity proof core:
Matching address family
Remark (cyclic gate; pedagogical). The gate research/ANALOGUES.md.
Gain-sensitive support bound and open curve:
Known anchors:
Full write-up: research/THEOREMS.md · analytic proofs: research/m5/SEED_THEOREMS.md.
The following closed forms describe filesystem-shaped query geometries. They are applications of the general apparatus, not replacements for the sharp law
All fixed budgets. On the same family, for every
A fixed-size checklist cannot uniformly bound adaptive risk across branching factors.
Parity payloads. Local bit marginals matched; global parity differs per branch. Perfect adaptive separation costs
Capacity zero. Under adaptive inspection with
| Family | Role | Gap / separation |
|---|---|---|
| Address construction (arity |
Extremal law | |
|
|
Habitat + greedy scar |
|
| Parity ( |
Budget race |
|
The identities above are accompanied by exact-rational machine checks.
pip install -e .
cd research\m5\EXPERIMENTS
python test_m5_exact.py # G_2(K)=1-1/K, butterfly, support
python test_m5.py # k-pair closed forms + greedy
cd ..\..\ladder
python run_ladder.py
python run_ladder_high.py
cd ..\m4\EXPERIMENTS
python test_certificates.pyOn success: for assets/figures/ may be regenerated by python assets/render_figures.py and python assets/render_animations.py.
Encrypted volumes secure the confidentiality of bytes; they do not, by themselves, secure the narrative those bytes present on disk. The software layer collected in this repository constructs habitat-shaped cover trees, subjects them to a deterministic detection oracle, and refuses emission when the cover is judged blown. The cipher (Layer 0) is external. Cover construction and the refuse rule are internal.
The design may be read as a load path: construction (forge), inspection (charm smell), and a dual refuse gate. Severity aggregation is a monoid on ordinal weights, not a posterior probability of forgery. Laboratory-scale adversaries (T4) are excluded from the sealed claims. Static inspection is a nonadaptive checklist: necessary quality control, not a substitute for the adaptive envelopes of §§2–4.
charm doctor
charm bench
charm templates
charm forge -o D:\packs\demo -t photo_library --placeholder -s 1024 --force
charm smell D:\packs\demo -t photo_library
charm explain score_semantics
charm explain adaptive_t1
charm explain gate_before_local
blown_score = 1 − Π_i (1 − w_sev(i)) # bad=0.55, warn=0.25, info=0.05
refused = (∃ finding with severity bad) ∨ (blown_score ≥ 0.6)
| Fact | Implication |
|---|---|
| Weights are ordinal | Not calibrated likelihoods or posteriors |
| Product is a monoid | Commutative severity aggregation, not |
| Dual gate | One bad finding alone scores 0.55 and still refuses |
| Clean report | Necessary for refuse automation—not a full adaptive T1 bound |
Doctrine: docs/T1_BUDGET.md · naturalness: docs/NATURAL.md · master: docs/MASTER.md
| Case | Adversary | Claim |
|---|---|---|
| T0 | Glancing human | Strong on implemented tells |
| T1 | Curious technical peer, short session | Improves cost of casual tells; static inspection is nonadaptive; see docs/T1_BUDGET.md |
| T2 | Offline stolen disk | Crypto holds if L0 holds; cover may affect prioritization only |
| T3 | Compelled password | Not claimed until CELLAR is complete |
| T4 | Laboratory process and time | No claim. |
| Template | Narrative |
|---|---|
adobe_cache |
Media cache debris (default) |
steam_depot |
Local depot fragment |
vm_disk |
VM metadata + disk-like blob |
photo_library |
Managed library store |
sql_backup |
Database dump handoff |
docker_cache |
Overlay / layer residue |
mail_store |
Mailbox export slice |
iso_mirror |
Install media fragment |
incomplete_download |
Interrupted transfer |
wgs_lab |
Optional sequencing pack habitat |
generic |
Untyped bulk |
Naturalness is habitat-relative. Opaque extensions for non-genuine formats. Specialist names require magic and membership. Famous public sample IDs forbidden as decoration. Published checksums must match bytes.
| Command | Purpose |
|---|---|
charm forge |
Build habitat tree + optional volume / placeholder |
charm smell |
Inspect tree: findings, severity score, dual refuse |
charm bench |
Calibration fixtures (known-bad must blow) |
charm explain [code] |
Finding catalog |
charm doctor |
Environment + doctrine pointers |
charm templates |
List habitats |
charm which-vc |
Locate VeraCrypt |
Forge refuses blown covers by default. --i-know is an informed override. --write-seed is off by default. Size ceilings require --unsafe-size when deliberately exceeded.
| Band | Content |
|---|---|
| M4 | Finite adaptive gap certificates, score hygiene, witnesses |
| M5 | Flattening, root-arity, |
| M6–M9 | All-$B$ envelopes, greedy failure, checklist incompleteness, capacity zero |
| M10–M13 | Closed forms vs DP, doctrine pack, parity budgets, unbounded separation |
| M14–M18 | Nesting, score–LR reversals, query complexity, randomized NA, mega-pack |
Reproduce: ladder runners + M4/M5 test suites. Static and animated figures are first-class artifacts of the certificates, not decoration.
Open frontier. Support-constrained curve
- Inventing or “improving” ciphers
- Probability-of-generation marketing for
blown_score - Operational guidance for concealing material from forensic inspection
- Exhaustive file-type encyclopedias
- T4 claims under any packaging
- Literature-novelty press language for the sharp seed package
charm
├── forge construction sequence + refuse joint
├── smell as-built detection oracle + severity monoid + dual gate
├── props habitat members (decoy trees)
├── caliper size bands / opaque payload policy
├── ecology specialist families + habitat membership
├── forgery seeded identity fields
├── kernel foundation L0 (VeraCrypt create)
├── bench known-bad load tests
└── catalog detail catalog (explain surface)
Process: docs/SKUNKWORKS.md · security: SECURITY.md · field notes: docs/FIELD_GUIDE.md
Purdue black #000000 / #0A0A0A · old gold #CFB991 · Boiler Up.
David Lombardo · MIT License · v0.3.8
github.com/coldbricks/charm13
All mathematical claims are relative to the finite models named in the text. Open questions are listed in the theorem catalog.


























