Skip to content

spec(t27os): labs surface survival -- encoder fetch M6-only, receipt survives a surface failure, full sha skips the API (Refs #12105) - #12107

Merged
gHashTag merged 2 commits into
masterfrom
night/127-labs-surface-survival
Oct 24, 2026
Merged

gHashTag merged 2 commits into
masterfrom
night/127-labs-surface-survival

Conversation

@gHashTag

Copy link
Copy Markdown
Collaborator

Refs #12105 (STALE-DRAFT-STEP) -- one-commit rebuild of stale draft #11884 on master 2e52102.

#11884 was DIRTY against a base that still carried the settle step; master has moved on. The law it adds is still wanted: lab.yml (Trinity-S-AI-DNA/t27os) still sends a full 40-hex sha to the unauthenticated commits API and writes whatever comes back, null included.

specs/t27os/labs.t27 gains the executor's surface steps (+86 lines, nothing else touched):

  • surface_runs(s, m6, wasm): the encoder fetch belongs to M6.
  • receipt_written(measured, surface_failed): once the measurement ran, the receipt is written (run 39987596010).
  • sha_needs_lookup / sha_resolved_ok: a 40-hex sha is used as-is; a lookup answer that is not 40 hex fails the step (run 39993710023).

Verification: t27os lab run 40132953038 (seal=true), receipt at Trinity-S-AI-DNA/t27os runs/d8ec9a40c267f025879f5540abea1a286470a843.*.json. Draft until both legs are green and the seal is committed.

🤖 Generated with Claude Code

…survives a surface failure, full sha skips the API (Refs #12105)

One-commit rebuild of stale draft #11884 on master (STALE-DRAFT-STEP, #12105).
lab.yml still resolves a full 40-hex sha through the unauthenticated API and
accepts a "null" answer; the law pins the three executor surface rules with
one test per lost-receipt specimen (runs 39987596010, 39993710023).

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

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-10-24 21:09:50 UTC

Summary

Status Count
Total Open PRs 46
PRs with Failing Checks 42
PRs with All Checks Green 4
READY 3
FAILING 42
PENDING 0
NO CHECKS YET 0

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

Seal Status

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

…27c, Refs #12105)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@gHashTag
gHashTag marked this pull request as ready for review October 24, 2026 21:14
@gHashTag

Copy link
Copy Markdown
Collaborator Author

Lab receipt (run 40132953038, challenge sha256 6e5b5b69...): Trinity-S-AI-DNA/t27os runs/d8ec9a40c267f025879f5540abea1a286470a843.6e5b5b69.json

  • t27c: specs/t27os/labs.t27|tests=12|pass=12|FAIL=0|vacuous=0|blocked=0
  • t27b: specs/t27os/labs.t27|leg=t27b|tests=12|pass=12|FAIL=0|vacuous=0|asserts=58
  • seal: lab-built .trinity/seals/t27os_labs.json committed as b854405 (seal-only commit, spec unchanged). Undrafted.

@github-actions

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-10-24 21:15:25 UTC

Summary

Status Count
Total Open PRs 46
PRs with Failing Checks 40
PRs with All Checks Green 6
READY 4
FAILING 40
PENDING 0
NO CHECKS YET 0

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

Seal Status

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

@tri-claw

tri-claw Bot commented Oct 24, 2026

Copy link
Copy Markdown

Summary by t27-bees

Checked by the t27 compiler

t27c parse, parse-complete and typecheck on each changed .t27 file at b854405. Nothing was generated, built or run. A pass means the file is well formed, not that it is right.

  • specs/t27os/labs.t27: parses and typechecks.

Read by the model

This PR adds the executor's surface steps to specs/t27os/labs.t27 to fix three documented receipt-loss issues in t27os lab runs: (1) the encoder fetch now runs only when m6=true (it previously ran on every dispatch and failed on a third-party CDN ~40% of the time), (2) a surface failure no longer erases the receipt once measurement has run, and (3) a full 40-hex sha is used directly without an unauthenticated API lookup that could return null.

Worth a look

  • specs/t27os/labs.t27:189 — surface_runs treats any surface value outside 0..2 as "does not run" (returns false). If the executor ever passes a surface index ≥ SURF_COUNT (3), it will silently skip rather than error, potentially masking a dispatch bug.
  • specs/t27os/labs.t27:190–191 — The encoder fetch (SURF_ENCODER_FETCH) and M6 (SURF_M6) are gated by the same m6 flag. If the executor intends them to be independently controllable (e.g., fetch encoder without running M6), this couples them together.
  • specs/t27os/labs.t27:205–208 — sha_needs_lookup only checks len == 40 && lower_hex. A 40-character string containing non-hex characters (e.g., gggg...) would be treated as a full sha and skip the API, possibly causing a downstream checkout failure with a confusing error.
  • specs/t27os/labs.t27:214–216 — sha_resolved_ok applies the same len == 40 && lower_hex check to the API response. If the API ever returns a valid 40-hex sha but with uppercase letters, the step will fail even though the sha is usable.
  • .trinity/seals/t27os_labs.json — The seal shows tests increased from 9 to 12 (the three new tests). Verify the seal was regenerated by the bootstrap compiler after the spec change; a stale seal would make the gate pass incorrectly.

Read: 2 files, +95 -9, the whole diff. Head b854405. Model: openai-compatible/nvidia/nemotron-3-ultra-550b-a55b. Commands: @t27-bees review | summary | help | pause | resume. Free for every repository.

@gHashTag
gHashTag merged commit 6a29cba into master Oct 24, 2026
37 checks passed
@gHashTag
gHashTag deleted the night/127-labs-surface-survival branch October 26, 2026 03:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-auto-merge Opt out of the issue gate's default squash auto-merge (issue-gate.yml)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant