cflmy
|
e119727c5d
|
feat(stdlib): format all value types and expose handle identity members
- Add read-only FunctionRef.module/name and PluginHandle.plugin/export
members; PluginHandle.id stays private (ADR-0029).
- Extend stdlib/format.mq.md to Formula/Code/FunctionRef/PluginHandle/
Memory/Resource/Unit, with UTF-8 byte length for Code.
- Fix two-digit ordered-list body indentation so arms 10+ stay inside their
branch (they were previously top-level statements).
- Extend stdlib demo to Formula/Code/FunctionRef and assert all three
io.写值/打印 pairs match byte-for-byte.
- Add runtime member observation test, ADR-0029, spec/status/changelog/evidence.
Gate: fmt, clippy -D warnings, 416 tests passed.
|
2026-11-20 21:57:04 +08:00 |
|
cflmy
|
1377af1601
|
feat(stdlib): ship a verified bundled stdlib with std: imports
- Move the Compat-A print prototype into stdlib/ as the official offline
bundle with stdlib.json (version 0.1.0 + sha256 content digest).
- Add std:<relative> import resolution in the loader with bundle path
confinement, extension inference and fail-closed digest verification.
- Record the verified version/digest/instance_id in Analysis v2
project.stdlib; stdlib modules get a std:name@version#digest instance id.
- Add CLI tests: std:io execution, digest-tamper rejection, missing manifest,
Analysis identity, no foreign/plugin calls, and frozen binary hash equality.
- Update ADR-0028, specs, status, changelog and evidence.
Gate: fmt, clippy -D warnings, 415 tests passed.
|
2026-11-20 21:43:14 +08:00 |
|