Skip to content

🎯 ONE SHOT β€” L-MR-POSTRUN Β· Retrieve matrix_samples.jsonl from Railway runner + commit-back to mainΒ #597

@gHashTag

Description

@gHashTag

Parent / cross-refs

Mission

Railway service trios-mr-priority-runner (71f5aac2-d4d5-4640-8895-90ced5d4ea63, IGLA project) appends honest samples to assertions/matrix_samples.jsonl inside the container. Current TS runner has NO commit-back logic β†’ file is stranded. This lane delivers the retrieval + commit-back path so closure_gate_priority.py can actually render an R7 verdict.

Acceptance (R7-witness)

  • Every honest row produced by trios-mr-priority-runner lands on main in assertions/matrix_samples.jsonl
  • Append-only protocol preserved β€” no rewrites of pre-existing rows (incl. the original 20 Git-canonical rows)
  • Each retrieved row carries source: "railway-priority-2026-05-08" tag for provenance
  • closure_gate_priority.py run against final main HEAD β†’ exit 0 on priority 50-cell subset (OR honest FAIL published, R5)
  • Honest verdict posted as comment on closed #446 (NOT reopened β€” R10 content delta check)
  • R3 PR-only, no --admin, author Dmitrii Vasilev <admin@t27.ai>
  • Forbidden seeds {42, 43, 44, 45} absent from appended rows (whitelist {47, 89, 144})

3 sub-lanes (sequential β€” T1 blocks T2, T2 blocks T3)

Lane Target Owner skill
L-MR-POSTRUN-T1 Retrieval mechanism β€” choose + implement ONE of: (a) sidecar gh api PUT /contents/... inside service at EOJ; (b) railway logs stdout capture + parser (if runner prints each row); (c) volume-mount + pull via railway run cat. Deliverable: scripts/fetch_matrix_samples.ts + wiring in runner if (a) tri-gardener-runbook
L-MR-POSTRUN-T2 Commit-back orchestrator β€” PR with appended JSONL rows. Validate schema per row ({format, algo, seed_phi, step, bpb, sha, source, timestamp}), dedup against existing file (idempotent), signed author admin@t27.ai. Branch: feat/l-mr-postrun-t2-jsonl-append coq-runtime-invariants
L-MR-POSTRUN-T3 Honest verdict publication β€” run python3 .github/scripts/closure_gate_priority.py --json against merged main HEAD, post structured verdict comment on #446 with <!-- closure_gate_priority:verdict --> marker. If verdict=PASS, also update #446 Erratum marker with resolution note phd-monograph-auditor

T1 decision criteria (retrieval path)

Queen preference ordering:

  1. (a) sidecar PUT β€” cleanest, runner self-commits. Requires mutating runner (retouch feat(matrix): L-MR-MATRIX-PRIORITY β€” 50-cell priority subset + local runner (closes #588)Β #589 via hot-patch PR). R10 risk: couples runner to git creds.
  2. (c) volume pull β€” cleanest isolation, requires Railway volume mount config. May need extra deploy.
  3. (b) stdout parse β€” most fragile, requires each row emitted to stdout in parseable form. Lowest code footprint if runner already prints.

L-MR-POSTRUN-T1 claimant decides + documents rationale in PR. Queen reserves veto.

Anti-strategy (forbidden)

Railway context (read-only info for claimant)

  • Service: trios-mr-priority-runner ID 71f5aac2-d4d5-4640-8895-90ced5d4ea63
  • Project: IGLA e4fe33bb-3b09-4842-9782-7d2dea1abc9b
  • Image: ghcr.io/ghashtag/trios-trainer-igla:latest
  • ETA runner completion: ~12.5 h CPU wall-clock from 2026-05-08T16:27:23Z β†’ ~2026-05-09T05:00Z
  • Env: SEEDS=47,89,144, STEPS=3000, CPU_ONLY=1, SOURCE_TAG=railway-priority-2026-05-08

Timing

T1 can claim immediately (do not wait for Railway EOJ β€” implement sidecar and redeploy service).
T2 claims after T1 PR merged.
T3 claims after T2 PR merged AND closure_gate_priority.py has non-empty JSONL to gate.

Anchor

phi^2 + phi^-2 = 3 Β· DOI 10.5281/zenodo.19227877
R3 PR-only Β· R5 honest Β· R7 witness Β· R10 atomic Β· CPU-only Β· Seeds {47, 89, 144}

Metadata

Metadata

Assignees

No one assigned

    Labels

    P0iglaone-shotONE SHOT mission issuephdPhD monograph

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions