feat(host): add in-process ResourceProvider v1 (CM-A09 slice)
- Add ResourceProvider v1 trait with name/protocol/kinds/open/read/write/close; host still issues the opaque language Resource handle, provider tokens stay private. - Add StdHost::register_resource_provider with protocol/version, reserved-name and duplicate-kind checks; add Capabilities.allow_resource_provider grants. - Provider kinds are project-mode only; pure/strict refuse them; in-process providers are trusted and not a sandbox (ADR-0033). - Reuse resource.* and Result shapes; no parser/Value/runtime/HostOp changes. - Add mock read/write provider and rejection tests, docs/spec/status/evidence. Gate: fmt, clippy -D warnings, 423 tests passed.
This commit is contained in:
1 parent
a8e62a5ba9
commit
1be4662049
13 files changed
+640
-18
No files matched your search
@@ -125,6 +125,12 @@ currently `0.1.0`; no release tag has been cut. Dates use ISO 8601.
|
||||
before module loading, a `std:marqdo-stdlib@<version>#<digest>` package
|
||||
instance id, `project.stdlib` in Analysis v2, and test coverage for
|
||||
`std:` resolution, tamper rejection and frozen-binary hash equality.
|
||||
- CM-A09 in-process ResourceProvider v1 (ADR-0033): `ResourceProvider` trait,
|
||||
`StdHost::register_resource_provider`, per-kind registration with protocol
|
||||
version/conflict checks and `Capabilities.allow_resource_provider`; provider
|
||||
streams reuse `resource.*` and are project-mode only. A mock read/write
|
||||
provider test runs without parser/runtime/`HostOp` changes. C/Worker provider
|
||||
transport remains open.
|
||||
- CM-A08 table logical/stdlib slice (ADR-0032): `stdlib/data/table.mq.md`
|
||||
adds select/filter/sort/append/set-cell/join/group as value-returning
|
||||
`.mq.md` functions; `Value::Table` semantics and GFM AST laziness unchanged;
|
||||
|
||||
Reference in new issue
Block a user