Skip to content

Port gHashTag/trinity:src/tri/gen_record_store.zig (Zig, 4 functions) to specs/port/trinity/src/tri/gen_record_store.t27 - #7049

Open
gHashTag wants to merge 3 commits into
masterfrom
queen-5875
Open

gHashTag wants to merge 3 commits into
masterfrom
queen-5875

Conversation

@gHashTag

@gHashTag gHashTag commented Oct 6, 2026

Copy link
Copy Markdown
Owner

Closes #5875

Written by a bee on queen-5875 and published by tools/queen/publish.py. The branch itself is the bee's; the second commit is the coordination entry every pull request must add, which a bee has no way to know about.

1 file changed, 164 insertions(+)

🤖 Generated with Claude Code

Trinity Bee and others added 3 commits October 4, 2026 02:52
…ity/src/tri/gen_record_store.t27

- Add RecordStore struct with columns and row_count fields
- Port RecordStore_init: initializes record store with given column count
- Port RecordStore_insert: inserts values into columns with bounds checking
- Port RecordStore_get: retrieves values by row/column with null safety
- Port RecordStore_deinit: cleanup function (undefined body as per instructions)
- Add 4 comprehensive tests covering basic operations and edge cases

Closes #5875
Port RecordStore_init, RecordStore_insert, RecordStore_get and
RecordStore_deinit to .t27 with a fixed-capacity column model
([MAX_COLUMNS]Column with explicit live counts) instead of the
original's growable ArrayLists; init returns the store by value, so
no pointer to a local escapes. Replaces the prior attempt's undefined
body in RecordStore_deinit (Zig compile error: value of type
'@typeof(undefined)' ignored) with state clearing: every column is
emptied and the counts return to zero, keeping the original's release
decision. Adds 6 tests covering round-trip reads, column orientation,
insert bounds past the column count, get null paths, row counting and
deinit. t27c parse and typecheck pass; t27c test-report shows 6/6
passing with no BLOCKED; generated Zig has no 'not yet implemented'.

Closes #5875
A pull request must add exactly one docs/now entry and a bee has no way
to know that: its brief names a boundary file and acceptance criteria,
and docs/now/ is neither. The publisher adds it rather than failing the
gate.

Closes #5875

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-10-06 19:32:09 UTC

Summary

Status Count
Total Open PRs 50
PRs with Failing Checks 47
PRs with All Checks Green 3
READY 0
FAILING 47
PENDING 0
NO CHECKS YET 0

These columns do not partition: 0 + 47 + 0 + 0 = 47, and there are 50 open PRs. A PR is being counted twice or not at all.

Seal Status

  • ⚠️ STALE -- sha256(compiler.rs)=b23641f01baa != manifest seal=87e5cbd3ad94.
    The committed NMSE numbers were certified against an older compiler.rs.
    Run scripts/reseal-check.sh locally for the two-step reseal command (advisory; not a merge gate).

This was referenced Oct 6, 2026
This was referenced Oct 6, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Port gHashTag/trinity:src/tri/gen_record_store.zig (Zig, 4 functions) to specs/port/trinity/src/tri/gen_record_store.t27

2 participants