feat(pbs): add array-backed Stack and circular Queue

This commit is contained in:
2026-10-27 09:37:10 +00:00
parent 01a1968689
commit 0016d92ac3
34 changed files with 5274 additions and 9 deletions
+21
View File
@@ -397,3 +397,24 @@ prefix reclamation and sticky final retention. Set GC tests do not assume an
iteration order. Add `--release` to qualify the Rust release profile independently
of the two producer variants; omit focused flags for the complete mandatory corpus.
All harness builds remain outside the runtime checkout, which is consumed unchanged.
## PBS Stack and Queue qualification
The mandatory Stack/Queue corpus is included in every complete run. A focused
run uses `python3 tools/pbx-conformance/run.py --runtime ../runtime --stack-queue-only`;
add `--release` for the optimized runtime profile. Both source producer paths are
mandatory in each profile. Generate fixtures with the architecture tests and
`:prometeu-app:installedKnowledgeTest` before executing the runner.
`stack_queue.rs` validates dense/circular storage, inactive-slot cleanup, exact
capacity/growth, wrapped growth, complete payloads, once/named evaluation, snapshot
orders/states, imports and actual installed-JAR examples. Lowered quota runs compare
complete original-object instruction prefixes to a successful run and distinguish
preservation before mutation from retained writes afterward. Separate test-only
growth probes demonstrate an installed candidate with old size after a later fault;
these probes are not shipped or counted as natural refusal frequencies.
GC fixtures require actual advancing collection counters. Snapshots release source
backings and observe 1,200 → 1 → 1 → 0 nodes/payloads. Collection fixtures observe
64 → 61 → 0 → 1 → 0 payloads and only one retained backing until its final owner
is dropped. Temporary Cargo projects/targets stay outside the runtime checkout.