Phase 3: bundle measurement and draft exit review
bundle 35 324 tokens (+0.6 % since RFC 0012 integration; Phase 3 total +29.2 %); exit review drafted, open on P3-11
This commit is contained in:
1 parent
9f322cfe31
commit
0c727eb363
3 files changed
+31
-1
No files matched your search
@@ -42,3 +42,16 @@ Non-normative. Part of the [implementation plan](README.md).
|
||||
## Conformance tests to add
|
||||
|
||||
Negative corpus entries owned by this phase: non-Send transfer, non-Share concurrent read, task escape. Plus E4101, E4302. Scheduler tests for every synchronization primitive (testing policy in AGENTS.md).
|
||||
|
||||
## Exit review (draft — closes when P3-11 is decided)
|
||||
|
||||
- Exit criterion met: `program_parallel_map` and `program_channel_transfer` (plus `program_tcp_echo_tasks`) run in the deterministic profile under randomized schedules: `schedules: 30` in the suite and `--stress 1000` (seeds 0…999 × quanta 1, 2, 7 and the test's own) without a failure.
|
||||
- Decision records accepted and integrated: RFC 0011 (structured tasks, deterministic scheduler), RFC 0012 (waits and cancellation, channels, select, mutex); owner errata after implementation: `mutex<T>` always linear, `mutex.take` rules, E2002 after `send`.
|
||||
- Features published and supported: `tasks`, `cancellation`, `channels`, `sync`. Reserved: `task_transfer`, `task_borrow_returns`, `channel_transfer`, `receiver_dup`, `guard_transfer`, `rwlock`.
|
||||
- Questions resolved: Q-013 (seeded choice among ready `select` arms), Q-014 (Send/Share for capability-holding aggregates).
|
||||
- Conformance: 207 tests pass (Phase 3: 18 run, 9 accept, 27 reject). Every Phase 3 code has accept and reject tests: E4001, E4002, E4101, E4301, E4302, E4304, E4305; `E3101` for `task.spawn`/`task.wait`; `E0006` for each reserved feature.
|
||||
- Stress and fuzzing: CI runs `--stress 200`; 6 000 extra schedule runs and 4 350 + 4 000 mutants (task and coordination corpora) found no failure and no crash.
|
||||
- Agent Reference Bundle: 27 347 → 35 324 tokens (cl100k) over Phase 3 (+29.2 %), recorded per RFC in `docs/agent/history.json`.
|
||||
- Moved out: P3-10 (async buffer claims, `E4303`) to P7-10. Deferred: `RwLock`, several receivers, atomics (Phase 5).
|
||||
- Known limitations: the hosted profile runs tasks cooperatively on one thread and a blocking host I/O call blocks every task (spec 04 §36.1), so `program_tcp_echo_tasks` runs only in the deterministic profile; no systematic exploration yet (DPOR, Phase 5).
|
||||
- Open: P3-11 (`thread.block` and a blocking pool) — proposed to move to P7 with task-aware I/O.
|
||||
Reference in new issue
Block a user