feat(host): add IP-literal blocking TCP resource endpoint (P5)
- resource.open("tcp", ip:port, ["read","write"]) with exact IP grants,
project mode only, 5s connect/read/write timeouts; no DNS/TLS/UDP/server
sockets (ADR-0034).
- Add TCP stream storage/dispatch in the resource table; CLI --allow-net IP;
pure/strict preflight rejects the grant and the language endpoint.
- Host loopback echo/grant/DNS/strict tests and a .mq.md CLI echo test.
- Update specs, status, architecture, README, changelog and evidence.
Gate: fmt, clippy -D warnings, 426 tests passed.
This commit is contained in:
1 parent
1d87f98539
commit
00bdcad1ff
15 files changed
+435
-4
No files matched your search
@@ -105,6 +105,9 @@ executes anything.
|
||||
`.mq.md` print chain is the only execution path for `打印`/`print` on an official install (ADR-0031),
|
||||
covering all 15 value types; `HostOp::Print` and the legacy formatter are
|
||||
removed (ADR-0027/0028/0029/0030/0031).
|
||||
* **Blocking TCP endpoint (RFC-CM P5 first slice)** — `resource.open("tcp",
|
||||
"<ip>:<port>", ["read","write"])` with exact IP grants, project mode and
|
||||
5-second timeouts; DNS/TLS/UDP/server sockets excluded (ADR-0034).
|
||||
* **In-process ResourceProvider v1 (RFC-CM CM-A09 first slice)** — trusted
|
||||
providers register extra resource kinds, project-mode + name-grant gated,
|
||||
using the existing `resource.*`/`Result` ABI; no parser/runtime/`HostOp`
|
||||
|
||||
Reference in new issue
Block a user