Skip to content

feat(verified): payout gate -- no verified result, no normal reward - #6683

Merged
gHashTag merged 1 commit into
masterfrom
claude/verified-payout-6655
Oct 6, 2026
Merged

gHashTag merged 1 commit into
masterfrom
claude/verified-payout-6655

Conversation

@gHashTag

@gHashTag gHashTag commented Oct 6, 2026

Copy link
Copy Markdown
Owner

Closes #6682
Refs #6655 (Phase I, network economy and provider settlement)

Adds specs/verified/payout.t27. It joins the existing TRI-NET ledger outcome (gHashTag/trinity-fpga@65855047454a src/trinet/ledger.zig Outcome, mirrored in declaration order) with the engineering verdict.

  • payout(outcome, verified, verdict_referenced) returns PAY_NORMAL only when the ledger credited the receipt, the engineering verdict passed (review gate at POLICY, or seal verified with passing tests), and the settlement record names that verdict.
    • Every ledger refusal stays PAY_NONE, a slash stays PAY_SLASH_ONLY, and an unknown code fails closed.
  • split_fits(pool, executor, provider, contributor) refuses a split that exceeds the pool. It subtracts rather than adds, so the sum cannot wrap.
  • It adds no second ledger, token or settlement protocol, and no percentages: the shares are inputs from the existing economy rules.

Evidence (Railway lab, master t27c, zig 0.16.0):

  • 8/8 tests passed
  • 8/8 mutants killed
  • gen-verilog (142 lines) and gen-c (151 lines) OK
  • t27c seal --verify: all hashes MATCH (spec_hash sha256:fdc59139...)
  • gitleaks: no leaks; own-language hook passed

🤖 Generated with Claude Code

specs/verified/payout.t27 joins the TRI-NET ledger's settle() outcome
(trinity-fpga src/trinet/ledger.zig, mirrored codes) with the engineering
verdict: PAY_NORMAL only for credited + verified + referenced; ledger
refusals and slashes pass through. split_fits() refuses an executor +
provider + contributor split over the pool without wrapping. No
percentages, no second ledger. 8 tests, 8/8 mutants killed, sealed.

Closes #6682
Refs #6655

Co-Authored-By: Claude Opus 5.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 06:58:52 UTC

Summary

Status Count
Total Open PRs 50
PRs with Failing Checks 37
PRs with All Checks Green 13
READY 12
FAILING 37
PENDING 0
NO CHECKS YET 0

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

Seal Status

  • ⚠️ STALE -- sha256(compiler.rs)=3c78f3c7ffb7 != 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).

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.

verified: payout gate -- no verified result, no normal reward; split within pool (#6655 Phase I)

1 participant