lib

Core libraries for Radroots
git clone https://radroots.dev/git/lib.git
Log | Files | Refs | README

session.v1.json (2094B)


      1 {
      2   "schema": "radroots.execution.session.v1",
      3   "package": "radroots_execution",
      4   "feature": "session",
      5   "implementation_scope": "Resource lifecycle coordinator; not durable command admission, authority or qualification of concrete hosts",
      6   "construction_effects": false,
      7   "runtime_owned": false,
      8   "detached_tasks_created": false,
      9   "in_flight_limit": "Required nonzero u16, fixed per session; shared by every cloned handle",
     10   "startup": "Repeat/resume a partially completed host start; admission only after success; closing interrupts pending startup and cannot reopen",
     11   "shutdown_order": [
     12     "close_admission",
     13     "quiesce",
     14     "drain_work_permits",
     15     "disconnect",
     16     "dispose_callbacks",
     17     "close_storage"
     18   ],
     19   "cancellation": "Retain successful stages; resume only the unfinished hook. Hosts retain hook progress and obtained results across cancellation or failure",
     20   "permit_ownership": "Executor retains permit through its safe journal boundary independently of caller observation; permit retains session resources and is not a durable receipt",
     21   "drop_completion_claim": false,
     22   "waker_callbacks_and_destructors": "Run outside the synchronous admission gate, including replacement, clearing and wake",
     23   "native": {
     24     "shared_handle": "Arc",
     25     "host_bounds": "Send + Sync",
     26     "future_bound": "Send"
     27   },
     28   "wasm32": {
     29     "shared_handle": "Rc",
     30     "host_bounds": "local",
     31     "future_bound": "local"
     32   },
     33   "remaining_qualification": [
     34     "Complete native participant and browser resource hosts",
     35     "Owned durable command workers and result retention",
     36     "Authenticated workspace attachment",
     37     "Complete ordinary facade and generated bindings"
     38   ],
     39   "attachment_retention_before_start": "ClientSession retains one scoped signer before observation using the same fixed resource gate, including before worker startup. This is not command/work admission.",
     40   "quiesce": "Permanently stop admission and complete only the host quiesce stage; composing owners then drain work/disconnect transports before final callback disposal and storage closure."
     41 }