spec: accept RFC 0011 and integrate structured tasks

spec 04 §33-§36 (tasks, loans, Send/Share table, scheduler with
separate schedule seed, quantum, task limit); spec 02 §6, 07a, 08, 11
updated; tasks published, task_transfer and task_borrow_returns
reserved; Q-014 resolved; bundle gains the task sections
This commit is contained in:
dev committed 2026-10-04 15:53:35 +03:00
1 parent 1eb446eedb
commit 2289917af3
9 files changed
+158 -6

No files matched your search

+3 -1
View File
@@ -19,7 +19,7 @@ Status values: `open`, `resolved`.
| Q-011 | resolved | P2 | Effect hierarchy and discharge |
| Q-012 | resolved | P2 | Capability representation and host instantiation |
| Q-013 | open | P3 | Deterministic `select` rule and scheduler seed |
| Q-014 | open | P3 | `Send`/`Share` derivation for aggregates holding capabilities |
| Q-014 | resolved | P3 | `Send`/`Share` derivation for aggregates holding capabilities |
| Q-015 | open | P5 | Operational weak-memory model for the interpreter |
| Q-016 | open | P0 | Floating-point determinism |
| Q-017 | open | P5 | Replay file format |
@@ -111,6 +111,8 @@ Spec 04 §14 and spec 11 §6 require a stable rule in deterministic mode but do
Spec 02 §6 derives properties structurally; spec 05 §5 says capability types define their own transfer rules. Undecided: the derivation for a struct mixing ordinary fields with `Local` or move-only capabilities.
**Resolved (RFC 0011):** `Send`/`Share` are structural; every capability kind is `Send` and `Share`, so an aggregate holding capabilities is `Send`/`Share` exactly when its other members are (spec 04 §35).
## Q-015 — Operational weak-memory model
The SB litmus test requires the interpreter not to forbid `r1=0, r2=0` under relaxed ordering. Undecided: which executable model to use (store buffers, a promising-style semantics, or an axiomatic checker over recorded executions) and how much of C11's model to adopt.