06.2 · Testing absorption + make retirement: trog test, seat.sh retires, SSE polish #23
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
cmoriarty/trog#23
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Phase 3 of the command layer (#21), after 06.1 lands.
trog test cycle— the mock cycle-test as a trog command (orchestrator mock mode + drain path from 06.1; assertions unchanged: queue clean, critics reported, review served, other-games guard)trog test critics— critic-test (fixture judge,--freshpassthrough)trog--out— also download the artifact locally after done (design-doc leftover)Exit: the README's command surface is
trog …plus a five-target Makefile.Status after 06.1 (#22, closed 2026-07-25) — part of this landed early:
Already done in #22:
Retire scripts/seat.sh + seat-* make targets— deleted, along with cycle-test.sh and thecycle-test/assets-drain/asset-benchtargetstrog test cycleexists in substance astrog asset-mock-test: per-run in-process stub seats (no stack mock mode needed), cycle-test's other-games guard (refuses before queueing), plus stronger assertions than the original — declared per-asset verdict expectations (pass briefs describe stub media, fail sentinels) with aPLUMBING OK/FAILEDexit verdict. Open question for this ticket: keep theasset-*names or fold under atrog test …subcommand family.Still open here:
trog test critics— critic-test.sh is the last bash test script (it already renders the review viapython -m trog_lib.reviewin-container; wrapping = fixture judge +--freshpassthrough + baseline assertion, 6 pass / 1 fail orange sentinel)activemap worth streaming too)--outartifact downloadImplemented — the
trog testfamily (naming per user direction 2026-07-25)Checkbox status:
trog test cycle→ shipped astrog test asset --mock(assertions upgraded: queue clean, critics reported, review served, other-games guard, PLUS declared per-asset verdict expectations and a PLUMBING OK/FAILED exit verdict)trog test critics→POST /test/criticsruns fixture judge (--fresh passthrough) + baseline assertion (orange sentinel fails, rest pass) + review page + mirror, all server-side; critic-test.sh deletedmake health/helloretired —trog statusnow probes aegra too/jobs/{id}/stream+/drain/stream; CLI streams events live and falls back to polling against older orchestrators--outon image/music/sfx/animate — downloads the finished asset (git deliveries via the raw view). Verified:trog sfx "water drop" --out drop.wav→ 176KB local fileVerification:
trog test→ overall PASS (unit 79 / critics baseline ok / mock 7/7).trog test regression→ overall PASS, exit 0 (real tier: 29 min, all 8 items generated and delivered).The suite already paid for itself: the FIRST regression run failed its mock tier legitimately — a prior one-off's keep-warm seat had left the brain down when the mock drain's critics started (the mock path skipped brain restore on the assumption mock never touches the brain). Fixed: post-drain always releases idle seats and waits for brain health before judging. The failing report → fix → clean rerun cycle is exactly what this command is for.
CLI 0.5.0, stack deployed. Exit criteria met: README's command surface is
trog …+ a build-shaped Makefile.Final thoughts — closing
Command layer is complete: all three phases (#21 one-offs, #22 drain absorption, #23 testing absorption) landed within two days, and the exit criterion holds — the README's command surface is
trog …plus a build-shaped Makefile. Bothtrog test(PASS) andtrog test regression(PASS, exit 0) verified on the deployed stack; final state: queue empty, brain up, aegra up, no stray seats, git and image current.Things worth remembering from this ticket:
make deploythat pushes first (or fails loudly on an unpushed tree) would remove the whole class — cheap future QoL.trog test critics --freshexists for post-critic-edit runs; the fixture style-block ground-truth rule (#18) is what keeps that baseline stable.Phase 4 (studio UI rides the same API) is the only remaining command-layer story, and it belongs to the studio tickets (#7–#10).
Post-close QoL from the final thoughts, landed as
5247e80—make redeploynow guards the git-connected-stack trap: fails loudly on a dirty tree (image would build from your tree while the stack deploys from git) or unpushed commits (the webhook only redeploys when Forgejo main moves), each with the exact fix in the message;FORCE=1bypasses. All three paths verified live.