As promised, here’s a minimal sketch.
*Capsule format (high-level)*
* magic + version * crypto suite id (AEAD) * KDF id + parameters (for password path) * salt / nonces * policy section (time/geo/password/visual, AND/OR AST) * ciphertext (payload blob) * auth tag / integrity
*Threat model (compact)* Protects against:
* someone who only gets the `.cfcaps` file (without required secrets/rules) * accidental/premature access during sharing (time/place/team constraints)
Does not protect against:
* fully compromised endpoint/runtime (bypass checks / exfiltrate plaintext after legitimate open) * malicious recipient taking photos/screenshots once content is opened
If people want, I can write a 1-page spec from this (policy AST fields + encoding).