Workstream: Type system · Part of #89
Context
CEL has a distinct bytes type. SchemaForge has File (out-of-band S3 blob) and Text, but no inline binary type. For this platform — PASETO, schema signing, trust bundles, ed25519 — inline binary (hashes, signatures, key material, nonces) is first-class data that today must be base64'd into Text, losing the type.
Scope
- New
FieldType + DynamicValue variant for inline bytes with a max-size constraint.
- DSL literal (
b"..."), size(), concat, base64 encode/decode in rules.
Acceptance
- A
bytes field round-trips; rules can operate on it (size/compare/base64).
Dependencies: Parallelizable now — independent of the substrate decision. Soft.
Workstream: Type system · Part of #89
Context
CEL has a distinct
bytestype. SchemaForge hasFile(out-of-band S3 blob) andText, but no inline binary type. For this platform — PASETO, schema signing, trust bundles, ed25519 — inline binary (hashes, signatures, key material, nonces) is first-class data that today must be base64'd intoText, losing the type.Scope
FieldType+DynamicValuevariant for inlinebyteswith a max-size constraint.b"..."),size(), concat, base64 encode/decode in rules.Acceptance
bytesfield round-trips; rules can operate on it (size/compare/base64).Dependencies: Parallelizable now — independent of the substrate decision. Soft.