Skip to content

Port gHashTag/trinity:src/firebird/governance_temp.zig (Zig, 1 function) to specs/port/trinity/src/firebird/governance_t - #7233

Merged
gHashTag merged 3 commits into
masterfrom
queen-5199
Oct 7, 2026
Merged

gHashTag merged 3 commits into
masterfrom
queen-5199

Conversation

@gHashTag

@gHashTag gHashTag commented Oct 7, 2026

Copy link
Copy Markdown
Owner

Closes #5199

Written by a bee on queen-5199 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, 71 insertions(+)

🤖 Generated with Claude Code

Trinity Bee and others added 3 commits October 6, 2026 19:34
The turn ended with these files edited and never committed. Uncommitted
work is invisible to the review - it reads the branch - so the attempt
would have been released as empty and the next bee would have started
beside this work rather than from it.

This commit is not a claim that the work is correct. It is the bee's
work, committed on its behalf, and it is judged exactly like any other:
the adversarial reviewer reads it, the compiler runs on it, and the
issue's own criteria are measured against it.

Issue: #5199
Turn: efb9809d-ad77-4a74-88fc-056487f26d2b
Ending: finished (the turn closed)
Committed: 1 path(s)
Left uncommitted: 0 path(s) outside the declared boundary
Spec for gHashTag/trinity src/firebird/governance_temp.zig (deinit fix
for governance.zig). The original walks the appeals map and frees, per
appeal, appeal_id, appeal_reason and every evidence URL, then deinits
evidence_urls and the appeals map; original_violation is deliberately
not freed (deep copy of duped_violation, dies with the map).

Allocator access, map iteration and collection deinit are plumbing the
.t27 world cannot express, so the port keeps the decision and tests it
as pure functions: appeal_free_count (frees per appeal: 2 + evidence
URLs), frees_original_violation (always false) and deinit_free_total
(the walk summed over the map). The deinit shell itself stays a bare
return: the compiler rejects undefined bodies on analyzed functions
and unused parameters, so the shell carries no signature it cannot
use. Three test blocks assert the per-appeal count, the never-freed
decision and the walk total.

t27c parse/typecheck clean; test-report 3/3 pass, 0 FAIL, no BLOCKED.

Closes #5199
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 #5199

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

github-actions Bot commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-10-07 02:20:40 UTC

Summary

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

These columns do not partition: 1 + 47 + 0 + 0 = 48, 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 7, 2026
This was referenced Oct 7, 2026
@gHashTag
gHashTag enabled auto-merge (squash) October 7, 2026 07:21
@gHashTag
gHashTag merged commit cc19987 into master Oct 7, 2026
25 of 29 checks passed
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/firebird/governance_temp.zig (Zig, 1 function) to specs/port/trinity/src/firebird/governance_temp.t27

2 participants