queen: harvest 9 bee patches that pass their own acceptance criteria (#3508 #3515 #3524 #3525 #3530 #3531 #3534 #3536 #3538) - #3560
Conversation
…tests - Implement init(), next(), range(), and range_inclusive() functions - Add XORSHIFT_MULTIPLIER constant (2685821657736338717) - Handle zero seed substitution with DEFAULT_SEED (88172645463325252) - Add 4 new test blocks bringing total to 10 - Remove all TODO: Implement comments - Follow Xorshift64* algorithm with correct shifts (12, 25, 27) Refs #3560
- Replace all TODO implementations with real function bodies - Implement new(), push(), pop(), is_empty(), is_full() with correct signatures - Add comprehensive test blocks for each function (11 total test blocks) - Maintain parse-clean status and preserve all existing tests - Implement ring buffer logic with proper modulo arithmetic - Handle full/empty states correctly (head == tail for empty, (tail + 1) % capacity == head for full) - Ensure push stops at capacity - 1 usable entries as required Refs #3560
- Implement forward(): max(0, x) with configurable negative_slope - Implement backward(): sparse gradients using forward input as gate - Add comprehensive test blocks covering identity, scaling, and zero cases - Use ZERO constant consistently instead of literal 0.0 - Add note about inplace parameter being unused - Maintain existing tests and invariants Resolves #3524 Closes #3524
…vative - evaluate(): Implements de Casteljau's algorithm for stable curve evaluation - derivative(): Returns the hodograph curve with scaled control point differences - Added comprehensive test cases covering edge cases and basic functionality - Maintains existing tests and adds new ones for t=0, t=1, and derivative behavior Refs #3560
- Implement forward() function with both exact (erf) and approximate (tanh) forms - Implement backward() function with derivatives for both forms - Add comprehensive test coverage for both functions - Use declared constants SQRT_2_OVER_PI and SQRT_PI_OVER_2 - Branch on config.approximate in both functions - Ensure element-wise slice operations with proper bounds checking Resolves #3530 Closes #3530
- Updated all 9 function signatures to match specification - Implemented slice, slice_from, first, last, is_empty, contains, index_of, reverse, concat - Added comprehensive test blocks for all functions (26 total test blocks) - Removed all TODO: Implement comments - Maintained zero-copy semantics and proper error handling Refs #3560
- Implement init(), append(), prepend(), remove(), deinit() functions - Replace 5 placeholder tests with 10 real tests - Add comprehensive test coverage for boundary conditions - Maintain all original function signatures - Remove all TODO comments and default_input references Refs #3560
- Add H0 and K constants with correct FIPS 180-4 values - Implement init(), update(), final(), and hash() functions - Add compression function with all SHA-256 operations - Add test blocks for all functions with FIPS vectors - Fix function signatures to match specification - Remove all TODO stubs Acceptance criteria: - 4 named functions exist with non-empty bodies: met - 0 TODO markers: met - Real-code node count >= 8: met - 7 test blocks: met - Round constant 0x428a2f98 present: met Refs #3560
…omprehensive test coverage - Implement 4 SystemLimits accessors with documented power-of-two values - Implement 6 SacredConstants accessors with full-precision mathematical constants - Implement 2 aggregate accessors that compose individual accessors - Add 16 new test blocks covering all functions and their identities - Remove all TODO: Implement comments - Maintain parse-clean status and existing test blocks Resolves #3538 Closes #3538
…t blocks, +30 x.len reads, +2 empty slice literals) Refs #3560
00034ab to
d3b9e49
Compare
|
📓 NotebookLM Notebook linked to this PR
This notebook contains session context, decisions, and artifacts for this work. |
d3b9e49 to
4a3c6f7
Compare
PR DashboardGenerated at: 2026-09-10 03:42:05 UTC
Summary
Seal Status
|
|
📓 NotebookLM Notebook linked to this PR
This notebook contains session context, decisions, and artifacts for this work. |
Post-merge review: four behavioral defectsReviewed the merged sources at
Related original tasks: #3536 (SHA-256), #3530 (GELU), #3515 (ring buffer). Their parsing/count criteria may be satisfied, but these source-level counterexamples prevent treating the implementations as behaviorally verified. No code or issue states were changed by this review. |
What this is
The Queen swarm (
trios-agent-serveron Railway) worked issues #3507–#3542 on 2026-09-09/10 and committed its results toqueen-<issue>branches inside the container volume. The bee contract says "do not push", so nothing ever reached GitHub. This PR harvests that work:railway ssh→git format-patchper branch →git amontomaster(4a740c7b), authorship preserved (Trinity Bee <bee@trinity.local>).Base the bees built on:
b33485b5(#3506). All 34 patches applied tomasterwith no conflicts.What got in — and what did not
The swarm's reviewer marked 26 of these as accepted. Re-running each issue's own acceptance criteria against the harvested file with
./target/release/t27cbuilt frommastergives a different picture:t27c parsehard error, e.g.then x == fn ([]i64) voidin a test block). All 20 files parse clean onmaster.std.mem.eql(...),@FieldType(...),std.meta.fields(...)), so criterion 1c (parse clean) is unmet.typecheckfailure (forwardexpects 2 args, got 3) that trips the corpus ratchet, and adds 4TODO: Implement dropoutmarkers. Excluded.INFERENCE: the in-container reviewer has no
t27c(no cargo in the image), so it could not run criteria 1c/3/4/5 and accepted on the body scan alone. That is the "misleading green" this repo's gates exist to catch. Follow-up: give the review lane at27cbinary, or run the criteria from a GitHub Action on pushedqueen/*branches.Not included: uncommitted worktree changes for #3507 (
bitvector.t27, 159 lines), #3514 (status.t27), #3521 (text.t27, 172 lines) — bees were still working; harvested as.dirty.diffbut not applied.Per-issue verdict (34 branches, 36 issues)
mastert27cspecs/tri/collections/bitvector.t27specs/tri/utils/text.t27specs/tri/utils/random.t27specs/tri/utils/utf8.t27parse error in fn 'encode' near line 110: unexpected tokespecs/tri/utils/version.t27parse error in fn 'parse' near line 29: Unexpected tokenspecs/tri/net/net.t27parse error in fn 'parse_ip' near line 44: parse error nespecs/tri/search/knuth_morris_pratt.t27parse error in fn 'build_prefix' near line 25: unexpectedspecs/tri/collections/bitmap.t27parse error in fn 'init' near line 26: unexpected token aspecs/git/status.t27specs/tri/collections/ring_buffer.t27specs/tri/crypto/base64.t27parse error in fn 'encode' near line 34: unexpected tokenspecs/tri/collections/deque.t27parse error in fn 'push_front' near line 40: parse errorspecs/ml/transformer/mha_block.t27forwardexpects 2 args, got 3, lines 145/199); adds 4TODO: Implement dropoutspecs/tri/math/statistics.t27parse error in fn 'median' near line 50: unexpected tokenspecs/tri/utils/bytes.t27parse error in fn 'split' near line 112: Unexpected tokenspecs/tri/utils/logging.t27specs/tri/collections/option.t27parse error in fn 'none' near line 29: Unexpected token ispecs/ml/activation/relu_activation.t27specs/tri/math/bezier.t27specs/tri/encoding/msgpack.t27parse error in fn 'encode' near line 38: Unexpected tokenspecs/tri/utils/config.t27parse error in fn 'parse' near line 42: Expected LBrace,specs/tri/collections/priority_queue.t27parse error in fn 'enqueue' near line 32: parse error neaspecs/tri/collections/circular_buffer.t27parse error in fn 'init' near line 28: unexpected token aspecs/ml/activation/gelu_activation.t27specs/tri/collections/array.t27specs/tri/io/filesystem.t27specs/tri/math/polynomial.t27parse error in fn 'add' near line 44: Unexpected token inspecs/tri/collections/linked_list.t27specs/tri/graph/disjoint_set.t27specs/tri/crypto/sha256.t27specs/tri/crypto/hex.t27parse error in fn 'encode' near line 33: unexpected tokenspecs/tri/math/constants.t27specs/ml/activation/sigmoid_activation.t27specs/ml/activation/softmax.t27parse error in fn 'forward' near line 41: parse error neaspecs/tri/graph/graph_bfs.t27parse error in fn 'init' near line 31: unexpected token aspecs/tri/sort/quick_sort.t27Expected LBrace, got KwTest ('test') at line 76:5/queen/statusreported at 2026-09-10T01:2xZ (completed= accepted,claimed= review/wait).Gates run locally on this branch (t27c from
master+ these commits)t27c parse-complete --specs-dir specst27c suite --repo-root . --ratchet --corpus-onlyRATCHET: CLEAN(0 unexpected failures, 0 discard worsened)tools/published_figures.py --checkx.lenreads 680 → 710 (+30),[]T{}literals 478 → 480 (+2)tools/published_figures.py --self-checktools/check_duplicate_declarations.pytools/check_assertionless_spec_tests.pyNo
--bless; no ratchet raised. Per-branch check script and raw results: harvested locally (check.py,results.json) — happy to add them undertools/queen/in a follow-up if wanted.Closes #3508, closes #3515, closes #3524, closes #3525, closes #3530, closes #3531, closes #3534, closes #3536, closes #3538