API shims: core runtime, networking, capabilities, and GridClient #8
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Objective
Implement callable signatures for the client runtime and transport-facing surface while leaving behavior unimplemented.
Deliverables
Validation
Prerequisite
Stage 0 project setup is complete. Do not implement production behavior in this milestone.
Project constraints
Implemented and pushed in commit
a007313. Generated the complete failure-only core runtime/networking subset: 111 authoritative catalog types and 965 members covering GridClient/settings/login, network/simulator/protocol/UDP, caps/rate limiting, HTTP download/event queue, image/texture pipelines, logging/statistics, threading/disposers, observable/event helpers, and utility interfaces. Event APIs return typed Subscription guards; System.IProgress and IDisposable use explicit project-owned trait objects; concrete Task methods are native async functions; interface Task methods are object-safe boxed Send futures. Added only cataloged project-owned cross-platform boundary types for external HTTP, logging, service collection, cancellation/task, rate-limit, thread/wait, and event signatures. Fixed Caps.Capabilities to its concrete Vec key type and boxed the cataloged Caps/Simulator reference cycle. No external member APIs or platform-specific APIs were copied. The focused fixture compiles login, subscribe, request/cancellation, rate-limit, async shutdown, settings, texture shutdown, and object-safe texture request flows, and verifies five constructors fail with exact member IDs before any runtime work. Review verified exact catalog-ID parity, standardized bodies, explicit lifecycle APIs, and no task/socket/HTTP/filesystem side effect. Gates passed: mapping/shim determinism, cargo fmt, git diff --check, workspace cargo check, workspace test compile (--no-run), clippy -D warnings, workspace docs, issue test (2 passed), and prior focused regressions (9 passed).