← Myceta Specifications

Myceta Media Types & Binary Artifact Signatures

Document ID: MYCETA-SPEC-MIME-01 · Version: 0.1 · Date: November 2026 · Change Controller: Myceta Labs (standards@mycetalabs.com)

1. Overview & Invariant myc Extension Globbing

Myceta preserves an invariant 3-letter myc stem across all file artifacts so shell and build globs partition cleanly: *.myc matches exclusively UTF-8 source files, *.myc? matches exclusively 4-letter binary artifacts, and *.myc* matches all Myceta files. All binary artifacts begin with an 8-octet PNG-style magic signature (ASCII_TAG || 0x0D 0x0A 0x1A 0x0A) to detect accidental text-mode CRLF/LF translation immediately.

2. Vendor-Tree Media Type Table (RFC 6838 Section 3.2)

Media TypeExt8-Byte Magic (Hex)Purpose
text/vnd.myceta.mycUTF-8 text (no BOM)Human-authored Myceta source module
application/vnd.myceta.pack.mycp4D 59 43 50 0D 0A 1A 0A (MYCP\r\n\x1a\n)Signed open or IP-sealed package archive
application/vnd.myceta.library.mycl4D 59 43 4C 0D 0A 1A 0A (MYCL\r\n\x1a\n)Canonical binary module contract & typed IR
application/vnd.myceta.admission.myca4D 59 43 41 0D 0A 1A 0A (MYCA\r\n\x1a\n)Per-callable admission, enclosure, or proof certificate
application/vnd.myceta.bytecode.mycb4D 59 43 42 0D 0A 1A 0A (MYCB\r\n\x1a\n)Clean-room seed VM bytecode (myc-seed.mycb)
application/vnd.myceta.envelope.myce4D 59 43 45 0D 0A 1A 0A (MYCE\r\n\x1a\n)Signed cross-domain binary value/claim envelope

3. Security Considerations (RFC 6838 Section 4.6)

.mycp, .mycl, and .mycb carry executable or compilable computational representations; .myca and .myce carry cryptographic commitments and mathematical witnesses. Receiving any vnd.myceta.* payload over HTTP, email, or filesystem MUST NOT trigger ambient code execution or host capability grants. Conforming implementations place untrusted payloads into isolated quarantine until digest, signature (e.g., Hybrid Ed25519 + ML-DSA-65), schema, and local policy admission succeed. Compression layers inside .mycp MUST enforce strict uncompressed byte ceilings to prevent decompression-bomb denial of service.