Implement marqdo-ext-http#3: the explicit @http package now owns a real
loopback domain test instead of only pure encode/parse cases.
- tests/loopback.mq.md performs two real HTTP/1.1 exchanges in one program
through the CLI's generic resource.open("tcp")/read/write/close, building
requests with http.构建请求字节 and parsing responses with
http.解析响应字节; non-ASCII bodies, explicit --allow-net 127.0.0.1 and
--allow-env HTTP_TEST_PORT only.
- scripts/loopback_server.py is a deterministic one-request-per-connection
server that records method/path/body and returns fixed status/bodies.
- scripts/run_cases.py supports kind=loopback (server lifecycle, port env,
grants, request-record assertions) without changing the pure case path.
- tests/cases/loopback.json asserts GET /one -> 200 第一个 and
POST /two -> 201 第二个 plus the request records.
- Evidence: docs/evidence-2026-11-30-loopback-domain-test.md (real CLI rc.6
candidate + Bundle 0.3.0: 2 cases PASS).
No CLI/Host/other-component change, no new Host request, no release.
Fix marqdo-ext-http#13: `http.文本字节` allocated a fixed 8 MiB Memory region on
every call, and `http.构建请求字节` called it once for the request line and once
per header, so a 6-header request spent ~56 MiB of the default 64 MiB run
budget and a second request failed with `resource.exhausted`.
- `文本字节`: request the minimal page count for the actual text (4-byte
UTF-8 worst case per codepoint, 128-page cap, 1 page minimum).
- `构建请求字节`: concatenate the request line and all headers into one text,
encode once, then concatenate the body; per-header fixed allocations are gone.
- Public signatures and produced request bytes are unchanged (`构建请求` text
API stays compatible).
- Regression case: under the default budget, build the same 6-header request 8
times and assert the final byte length/request text; the old code failed on
the second build.
- docs/evidence records the real CLI/Bundle run.
No CLI/Host change, no new Host request, no release; real loopback multi-request
exchange (#3) and the optional streaming response view remain open/UNVERIFIED.