GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Playtest F5: the thread chip with an End button (#889) by scuttletoby · Pull Request #1099 · scuttletoby/t3code

Conversation

@scuttletoby

@scuttletoby scuttletoby commented Nov 27, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Owner

Playtest mode F5, the last fork part: a chip on the thread for a running playtest session, with an End button.

Merge #1098 first. It announces this PR's four ChatView.tsx lines, and this branch is built on its commit. Until #1098 merges, the seam check here fails against main's list.

What

  • Server (apps/server/src/playtest/playtestRoutes.ts, wired in fork/forkLayers.ts):
    • GET /api/fork/playtest/state?threadId= (read scope): the thread's session that is on, else null. A session that has ended, a thread with none, or a failed read all show no chip, never a 500.
    • POST /api/fork/playtest/end with { threadId } (operate scope): the person's End. It is PlaytestService.end with the reason person, which is exactly what the tool's end runs. It answers ended, nothing-to-end or release-failed. If the store cannot be read, it answers unavailable with the reason.
    • With no session it answers 401, without the scope 403, and for a bad request 400.
    • Paths and answer types are in packages/contracts/src/playtest.ts.
  • Web (apps/web/src/components/fork/playtest/):
    • The chip sits in the composer's banners, next to where the handoff chip goes. It shows the target, whether the session is starting, on or ending, the last round, and the step that runs now.
    • End asks the route and shows a toast with what happened.
    • The chip is read again whenever the thread changes (a tool call, T3's "Playtest ended" notice) and every 10 s while it shows. So it goes when the session ends any other way: the agent's end, idle, time limit, claim gone, thread gone.
    • Only for a thread on the app's own server, as with the handoff routes.
    • Seam: four ChatView.tsx lines (the import, one hook call, two spreads), moved from announced to added.
  • Settings rows. Playtest has no new setting. The Playtest row now says what the chip and End do, and its search item finds "chip" and "end".
  • Docs: docs/fork/playtest.md (new section "The thread chip"), docs/fork/README.md, and the change file docs/fork/changes/app/889-playtest-mode-part-5-thread-whose.md.

Tests: the question each answers

Server, playtestRoutes.test.ts:

  • "Who may read the chip and who may end, and what does a bad request get?" (401, 403, 400)
  • "Does End run the tool's end with the reason person, and does pressing it again answer nothing-to-end?"
  • "Does an ended session or a failed read show no chip rather than an error?"

Web, usePlaytestChipItems.browser.test.tsx:

  • "Does a thread with a session that is on show the chip, and does End call the end route once and remove the chip?"
  • "Does the chip go when the session ends another way, on the thread's next change (well under the 10 s poll)?"
  • "Does a thread with no session, or a draft with no shell yet, show nothing and read nothing?"
  • "Does the chip name a session that is starting or ending, and a release T3 still retries?"

Red, then green

  • Without playtestRoutes.ts or usePlaytestChipItems.tsx, the test files do not load.
  • End sent with the reason agent: the End route test fails.
  • The state route returning an ended session: the state test fails.
  • The chip not re-read when the thread changes: 2 web tests fail. A first version of the test passed even then, because the 10 s poll rescued it. Its two "chip gone" checks now time out at 2 s, so they prove the immediate re-read.
  • End's answer not applied: the End test fails.

State question

  • Runs again: a second End after the session ended answers nothing-to-end (tested). Two presses at once share the service's one release, as two tool ends already do. The button is disabled while a press is in flight.
  • Stops half-way: End is the service's end, which saves the end before it starts the release. A release that fails leaves the session ending. The chip then says "ending", and End can be pressed again (the tool's own rule).
  • Existing, old or empty state: a thread that never had a session, or whose last session ended, shows nothing. An older server without the routes answers 404, which reads as no chip. A thread on another environment is not asked. Nothing new is stored: the chip is read from the service each time.

Upstream fit and general vs project

  • Fork files only, apart from the four announced ChatView.tsx lines. It uses upstream's ComposerBannerStack and the same auth as the app's other HTTP calls.
  • General: works for any project's adapter. No project or target name is in the code.

Checks run

  • effect-tsgo on contracts, server and web: 0 errors.
  • Vitest: playtestRoutes.test.ts 2, the chip browser test 4, playtestSettings.logic.test.ts 5, ForkPanels.browser.test.tsx 7. All pass.
  • vp lint and vp fmt --check on the changed files: clean.
  • Pre-commit (fmt, lint, knip): pass.
  • fork-seam-check against seams: announce the playtest chip (#889) lines in ChatView.tsx #1098's list: only the pinned seams. fork-seam-check.test.cjs: 122 pass. fork-changes-list.test.cjs: 10 pass.

Fixes #889

🤖 Generated with Claude Code

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@scuttletoby

scuttletoby commented Nov 27, 2026

Copy link
Copy Markdown
Owner Author

Rebased onto main 106c78f: conflicts in FORK_CHANGES.md, resolved by taking main's realigned table and re-adding this PR's Playtest part 5 row.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@scuttletoby
scuttletoby force-pushed the fork/889-playtest-chip branch from 0811c25 to 718bb43 Compare November 27, 2026 20:09
@scuttletoby scuttletoby mentioned this pull request Nov 27, 2026
FORK_CHANGES.md: one file per change, so PRs that edit different changes merge cleanly #1130
Merged
@scuttletoby

scuttletoby commented Nov 27, 2026

Copy link
Copy Markdown
Owner Author

lens: code · reviewer: Claude Opus 5.5 (lens compare) · read at: 718bb43

Lens compare: #1099 vs #1126. This PR is kept; #1126 (and its announcement #1125) can be closed by the orchestrator.

blocker: none
major: none
minor: End shows for a connection without the operate scope; pressing it gets a 403 and the toast "The server answered 403." (carry-over 1).
minor: the state route sends the whole PlaytestSessionView (worktree path, the problem text, the last round's detail) to any read-scope connection, though the chip uses only target, state, last round number/state/step, running and whether problem is set (carry-over 2).
minor: playtestRoutes.test.ts uses a fake service, so "End is exactly the tool's end" is proven only as "calls service.end with reason person"; nothing checks that release ran and the next read shows no chip (carry-over 3).
minor: a thread on a linked environment never shows the chip (primary environment only, documented). Fine for #889's "done when"; a later step if wanted (carry-over 5).
minor: merge path. This branch sits on a rebased copy of the announcement (a859687) that is not what #1098 holds (#1098 is 4 behind main). #1098 also announces the calm-sidebar lines, which compete with #1120's. The seam rule is met once one list-only PR with the four ChatView.tsx lines merges first: #1098 refreshed onto main, or a new list-only PR with just those lines if #1120's calm sidebar is the one kept. Seam check against a859687's list: exit 0.

Why this one:

  1. Setting off (state question). Playtest F5: thread chip with End (#889) #1126 asks the server only while playtest is on (playtestMayRun). Switching playtest off does not end a running session: the docs say the session keeps renewing and releasing with its own steps, and push answers "Playtest was switched off for this project; end the session". So with Playtest F5: thread chip with End (#889) #1126 the chip and End disappear while the session still holds the target, which is when the person most needs End. In Playtest F5: the thread chip with an End button (#889) #1099 the chip comes from the service whatever the setting, and End works.
  2. Ending. The tool's rule for a session stuck ending (release failed) is "call end again". Playtest F5: the thread chip with an End button (#889) #1099 keeps End there and says so. Playtest F5: thread chip with End (#889) #1126 hides End while ending, so the person can only wait for T3's next retry.
  3. Thinner add-on. Playtest F5: the thread chip with an End button (#889) #1099 adds 4 lines in 1 upstream file (ChatView.tsx); the routes live in fork files via forkLayers.ts. Playtest F5: thread chip with End (#889) #1126 adds 13 lines in 5 upstream files, including rpc.ts and ws.ts, which upstream changes often, so every upstream sync risks conflicts there.
  4. Less traffic. Playtest F5: the thread chip with an End button (#889) #1099 polls only while a chip shows and reads again when the thread changes (its tests time out at 2 s, so they prove the re-read, not the 10 s poll). Playtest F5: thread chip with End (#889) #1126 polls every 15 s for every open server thread whenever playtest is on anywhere.

Both answer the runs-again case (second End is nothing-to-end, tested) and stops-half-way (the service's end is uninterruptible from the save, and release is retried). Deleted or archived thread: the service ends the session as thread-gone; both chips then read none.

Carry over from #1126:

  1. Hide End when the connection lacks the operate scope (useEnvironmentScope(environmentId, AuthOrchestrationOperateScope)), plus Playtest F5: thread chip with End (#889) #1126's browser test "a connection that cannot operate threads sees the chip without End".
  2. Send only the chip's fields from the state route (like Playtest F5: thread chip with End (#889) #1126's ForkPlaytestChipSession/chipSessionOf): no worktree and no raw step text; a boolean for "release has a problem" is enough.
  3. A server test over the real PlaytestService and PlaytestService.testkit.ts (as in Playtest F5: thread chip with End (#889) #1126's playtestRpcHandlers.test.ts): start, End through the route, assert release: ran, endReason: "person", the state route then answers null, a second End answers nothing-to-end, and an agent's end shows no chip.
  4. Optional: the note and the rounds count in the chip's text or tooltip (Playtest F5: thread chip with End (#889) #1126's playtestChipText).
  5. Optional, later: a chip for threads on a linked environment (Playtest F5: thread chip with End (#889) #1126 goes through the WS RPC; it would need its own announced seams).

Ran here (clean clone, gated):

  • Playtest F5: the thread chip with an End button (#889) #1099: playtestRoutes.test.ts 2 pass; usePlaytestChipItems.browser.test.tsx 4 pass.
  • Red check: with the route returning an ended session, the state test fails (1 failed, 1 passed); with the line restored, it passes.
  • Playtest F5: thread chip with End (#889) #1126: playtestRpcHandlers.test.ts 5 pass; playtestChip.logic.test.ts 3 pass; ForkPlaytestChip.browser.test.tsx 4 pass.
  • CI: on both, only the seam step is red, because each one's announcement is not merged yet (seams: announce the playtest chip (#889) lines in ChatView.tsx #1098 here, fork seams: announce the calm sidebar's web lines (#878 CAL3, CAL4) #1120 + fork seams: announce the playtest chip's lines (#889) #1125 there). Most of this PR's other jobs were still pending when read.

🤖 Generated with Claude Code

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

This was referenced Nov 27, 2026
Playtest F5: thread chip with End (#889) #1126
Closed
fork seams: announce the playtest chip's lines (#889) #1125
Closed
scuttletoby added a commit that referenced this pull request Nov 27, 2026
@scuttletoby @claude
seams: announce only the playtest chip (#889) lines; the calm sidebar…
e098f70
…'s go with #1120

Merges main and narrows the announcement to the four ChatView.tsx lines of #1099.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
scuttletoby added a commit that referenced this pull request Nov 27, 2026
@scuttletoby @claude
Playtest chip: End only with the operate scope, a slim state answer, …
207e58e
…a test over the real service

Fix round from the #1099 lens (carry-overs from #1126):
- End is left out for a connection without the operate scope.
- The routes send PlaytestChipSession only: no worktree, step output or
  problem text, and releaseProblem in place of the text.
- playtestRoutes.service.test.ts runs the routes over the real service and
  its fake adapter.
- The chip's tooltip has the agent's note and the rounds count.

Part of #889

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@scuttletoby
scuttletoby force-pushed the fork/889-playtest-chip branch from 718bb43 to 207e58e Compare November 27, 2026 20:42
@scuttletoby scuttletoby mentioned this pull request Nov 27, 2026
seams: announce the playtest chip (#889) lines in ChatView.tsx #1098
Merged
@scuttletoby

scuttletoby commented Nov 27, 2026

Copy link
Copy Markdown
Owner Author

Fix round (head 207e58e)

Base. I rebuilt this branch on the refreshed #1098 commit (e098f70: main plus the four ChatView.tsx announced lines). The playtest commit applied cleanly, and its list moves those four lines to added. fork-seam-check against #1098's list: only the pinned seams. It goes green on main once #1098 merges. I force-pushed this branch once, with a lease on the old head.

Carry-overs from #1126:

  1. End without the operate scope: fixed.

    • The chip reads useEnvironmentScope(environmentId, AuthOrchestrationOperateScope) and leaves End out when it is false.
    • Test: "a connection that cannot operate threads sees the chip without End". It fails when End is always shown.
  2. State route sends only the chip's fields: fixed.

    • New contract PlaytestChipSession: id, target, state, note, rounds, lastRound {number, state, step}, running, and releaseProblem. releaseProblem is a boolean: the session is ending and a step problem is set.
    • Both routes map through chipSessionOf, so the End answer does not leak either. Nothing sends the worktree, a round's detail or the problem text.
    • playtestRoutes.test.ts checks the exact key list, and that a path, step output and problem text in the stored session never reach the JSON. It fails when the route sends the whole session.
  3. Test over the real service: added. playtestRoutes.service.test.ts runs the routes over PlaytestService.make with the testkit's fake adapter. It covers:

    • start a session, then the state route shows it, without a worktree;
    • End through the route answers ended, and the adapter log shows release:0;
    • status then has endReason: "person", and the state route answers null;
    • a second End answers nothing-to-end, with no second release;
    • an agent's end on another thread leaves no chip.

    It fails when the route ends with the reason agent.

  4. Note and rounds in a tooltip: done.

    • The title has a tooltip with the note and the rounds count, for example "try the new jump · 3 rounds so far". It uses the app's Tooltip component (lint refuses a native title), plus an sr-only description.
    • Test: "names the state in its title, with the agent's note and the rounds in its tooltip". It fails without the text.
  5. Linked-environment chip: skipped for now. It needs the WS RPC and its own announced seams (the lens marks it as a later step).

Docs: docs/fork/playtest.md "The thread chip" says End needs the operate scope, what the tooltip shows, and that the routes send only the chip's fields.

Run here:

  • playtestRoutes.test.ts and playtestRoutes.service.test.ts: 3 pass. usePlaytestChipItems.browser.test.tsx: 6 pass. packages/contracts playtest.test.ts: 22 pass.
  • effect-tsgo on contracts, server and web: 0 errors.
  • vp lint and vp fmt on the touched files: clean. Pre-commit (fmt, lint, knip): pass.
  • t3-capacity is not on this linked machine, so I ran only these files.

🤖 Generated with Claude Code

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@scuttletoby scuttletoby mentioned this pull request Nov 27, 2026
Follow upstream: rebase onto v0.1.14-nightly.20261127.5345 (draft) #1138
Merged
@scuttletoby

scuttletoby commented Nov 27, 2026

Copy link
Copy Markdown
Owner Author

lens: code · reviewer: Claude Opus 5.5 (round 2) · read at: 207e58e

blocker: none
major: none
minor: chipSessionOf sets releaseProblem whenever the session is ending and any problem is set, not only a failed release's. A renew problem kept from before End, or the claim: … problem of a claim-failed end, makes the chip say "Its release has not worked yet; T3 tries again, or press End again" while the first release is still running. Probe (below) fails on this head. Fix: problem?.startsWith(RELEASE_PROBLEM), as noticeReady does, plus one test.
minor: an End whose release could not start (RELEASE_COULD_NOT_RUN) comes back from the service as ended, so the toast says "The target is released", but the target is not released: its claim expires by itself. The chip answer now has no problem text, so the web cannot tell. A flag, or an outcome, for "ended without release" would let the toast say so.
minor: a read that fails once (network blip) returns null, which stops the 10 s poll and hides the chip until the thread changes again. This is a documented choice ("never a chip on a guess"); retrying once before hiding would keep End reachable while an agent is quiet.

Round 1 (lens compare), checked against this head:

  • round 1, fixed: End is hidden without the operate scope (useEnvironmentScope), and a browser test covers it.
  • round 1, fixed: the state and End routes send only PlaytestChipSession: no worktree, no round detail, no problem text. The fake-service route test checks the key list and that none of these leak.
  • round 1, fixed: playtestRoutes.service.test.ts runs the routes over the real PlaytestService and its testkit: release:0 runs, endReason: "person", the state route then answers null, a second End answers nothing-to-end with no second release, and an agent's end shows no chip.
  • round 1, fixed: the tooltip shows the note and the rounds count.
  • round 1, still open by choice: no chip for a thread on a linked environment (documented; a later step).
  • round 1, merge path: the branch now sits on seams: announce the playtest chip (#889) lines in ChatView.tsx #1098's refreshed commit. On this head CI is red only at the seam step (fork-checks "Fork lines in upstream files", and the drift job's seam step). The Test Server and Test Web shards pass. It should clear once seams: announce the playtest chip (#889) lines in ChatView.tsx #1098 merges.

State question:

  • Runs again: a second End answers nothing-to-end and does not run a second release (tested over the real service). Two presses at once share one release fiber (beginEnd returns the running release op), and the button is disabled while a press is in flight.
  • Stops half-way: end saves ending before the release inside one uninterruptible block. A failed release stays ending, the sweep retries it every renewMinutes, and End can be pressed again. A T3 restart mid-release is retried by the sweep. The chip shows "ending" meanwhile, but see the first minor for its wording.
  • Existing, old or empty state: a thread with no session, or whose last one ended, shows nothing (status returns the last, ended one; the route maps it to null). A draft with no shell reads nothing. An older server's 404 reads as no chip. Nothing new is stored. Playtest switched off with a session still running: the chip still shows and End still works, because it reads the service and not the setting.

Probe (pure function, no server; fails on this head with "expected true to be false" in both cases):

const base = { id: "s1", threadId: "t", target: "dev-1", note: "", rounds: 0,
  startedAt: "x", lastActivityAt: "x", worktree: "/w" } as any;
chipSessionOf({ ...base, state: "ending", running: "release", problem: "renew: exit 1" }).releaseProblem // true
chipSessionOf({ ...base, state: "ending", running: "release", problem: "claim: boom" }).releaseProblem  // true

Ran here (clean clone, offline install, single files under nice):

  • The probe above: 2 fail, as described.
  • playtestRoutes.test.ts and playtestRoutes.service.test.ts time out on this machine. They bind a random local port, which its sandbox blocks (a known wall here, not a fault of this PR). CI's Test Server shards pass on this head.
  • The browser test was not run here (it needs a browser server). CI's Test Web shards pass.
  • Read all touched files and PlaytestService.end/status/beginEnd/releaseNow for the state answers.

🤖 Generated with Claude Code

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

scuttletoby added a commit that referenced this pull request Nov 27, 2026
@scuttletoby @claude
Playtest chip: a release's own problem, End without a release, a fail…
baaed2a
…ed read keeps the chip

Round 2 of the #1099 lens:
- releaseProblem only for a problem that starts with RELEASE_PROBLEM, so a
  renew or claim problem does not show "release has not worked" while the
  first release runs.
- End whose release could not start answers ended-unreleased, and the toast
  says the target was not given back.
- A failed read keeps the chip and keeps polling (up to six in a row); a
  404 from an older server still reads as no chip.

Part of #889

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@scuttletoby

scuttletoby commented Nov 27, 2026

Copy link
Copy Markdown
Owner Author

Fix round 2 (head baaed2a)

  1. releaseProblem: fixed. It is now set only when the session is ending and its problem starts with RELEASE_PROBLEM (exported from the service, the same test noticeReady uses). The lens probe is now a test: "says a release failed only for a release's own problem" (renew and claim problems: false; release: …: true; not ending: false). It fails with the old rule.

  2. End without a release: fixed. When the service answers ended with a RELEASE_COULD_NOT_RUN problem, the route answers a new outcome, ended-unreleased. The toast then says "Playtest ended, target not released". Tests:

    • over the real service, a removed release program gives ended-unreleased and no release: in the log;
    • in the browser test, the toast.

    The route test fails without the mapping.

  3. Failed read: fixed. The read now tells "not known" (undefined: a failed call or a 5xx) from "none" (null; a 404 from an older server is still none).

    • A failed read keeps the chip and its End, and reads again on the poll. After six failures in a row the poll rests until the thread changes, and the chip stays.
    • Tests: the browser test "a read that fails keeps the chip and its End, and the next good read decides", plus a pure test of nextChipRead (keep, poll, the cap). Both fail if a failed read counts as none.
    • I did not use a ref: the repo's lint refuses one written during render or kept in step by an effect. A failed read simply leaves the state alone.

Docs: docs/fork/playtest.md "The thread chip" now says what a failed read and an unreleased End do.

Run here:

  • playtestRoutes.test.ts and playtestRoutes.service.test.ts: 5 pass. Chip browser test: 9 pass. Contracts playtest.test.ts: 22 pass.
  • effect-tsgo on contracts, server and web: 0 errors.
  • vp lint and vp fmt on the touched files: clean. Pre-commit (fmt, lint, knip): pass.
  • fork-seam-check against seams: announce the playtest chip (#889) lines in ChatView.tsx #1098's list: only the pinned seams.

🤖 Generated with Claude Code

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

scuttletoby added a commit that referenced this pull request Nov 27, 2026
@scuttletoby @claude
seams: announce the playtest chip (#889) lines in ChatView.tsx (#1098)
7902448
* seams: announce the calm sidebar (#878 CAL3, CAL4) and playtest chip (#889) lines

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* seams: announce only the playtest chip (#889) lines; the calm sidebar's go with #1120

Merges main and narrows the announcement to the four ChatView.tsx lines of #1099.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
scuttletoby added a commit that referenced this pull request Nov 27, 2026
@scuttletoby @claude
seams: announce the playtest chip (#889) lines in ChatView.tsx (#1098)
5355da7
* seams: announce the calm sidebar (#878 CAL3, CAL4) and playtest chip (#889) lines

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* seams: announce only the playtest chip (#889) lines; the calm sidebar's go with #1120

Merges main and narrows the announcement to the four ChatView.tsx lines of #1099.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
scuttletoby added a commit that referenced this pull request Nov 27, 2026
@scuttletoby @claude
seams: announce the playtest chip (#889) lines in ChatView.tsx (#1098)
de6734b
* seams: announce the calm sidebar (#878 CAL3, CAL4) and playtest chip (#889) lines

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* seams: announce only the playtest chip (#889) lines; the calm sidebar's go with #1120

Merges main and narrows the announcement to the four ChatView.tsx lines of #1099.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
scuttletoby added a commit that referenced this pull request Nov 27, 2026
@scuttletoby @claude
seams: announce the playtest chip (#889) lines in ChatView.tsx (#1098)
dc19179
* seams: announce the calm sidebar (#878 CAL3, CAL4) and playtest chip (#889) lines

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* seams: announce only the playtest chip (#889) lines; the calm sidebar's go with #1120

Merges main and narrows the announcement to the four ChatView.tsx lines of #1099.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
@scuttletoby
scuttletoby force-pushed the main branch from f3ed74c to 9921016 Compare November 28, 2026 00:00
scuttletoby added a commit that referenced this pull request Nov 28, 2026
@scuttletoby @claude @noreply
seams: announce the playtest chip (#889) lines in ChatView.tsx (#1098)
f8bcfe6
* seams: announce the calm sidebar (#878 CAL3, CAL4) and playtest chip (#889) lines

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* seams: announce only the playtest chip (#889) lines; the calm sidebar's go with #1120

Merges main and narrows the announcement to the four ChatView.tsx lines of #1099.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
@scuttletoby scuttletoby mentioned this pull request Nov 28, 2026
fork seams: announce the no-effort warning lines in ChatView.tsx (#876) #1189
Merged
scuttletoby added a commit that referenced this pull request Nov 28, 2026
@scuttletoby @claude
Playtest chip: End only with the operate scope, a slim state answer, …
fb855f7
…a test over the real service

Fix round from the #1099 lens (carry-overs from #1126):
- End is left out for a connection without the operate scope.
- The routes send PlaytestChipSession only: no worktree, step output or
  problem text, and releaseProblem in place of the text.
- playtestRoutes.service.test.ts runs the routes over the real service and
  its fake adapter.
- The chip's tooltip has the agent's note and the rounds count.

Part of #889

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@scuttletoby
scuttletoby force-pushed the fork/889-playtest-chip branch from baaed2a to be6d45b Compare November 28, 2026 04:55
scuttletoby added a commit that referenced this pull request Nov 28, 2026
@scuttletoby @claude
Playtest chip: a release's own problem, End without a release, a fail…
be6d45b
…ed read keeps the chip

Round 2 of the #1099 lens:
- releaseProblem only for a problem that starts with RELEASE_PROBLEM, so a
  renew or claim problem does not show "release has not worked" while the
  first release runs.
- End whose release could not start answers ended-unreleased, and the toast
  says the target was not given back.
- A failed read keeps the chip and keeps polling (up to six in a row); a
  404 from an older server still reads as no chip.

Part of #889

Co-Authored-By: Claude Opus 5.5 <[email protected]>
scuttletoby and others added 3 commits November 28, 2026 05:43
@scuttletoby @claude
Playtest F5: the thread chip with an End button
5b3856d
A thread whose playtest session is on shows a Playtest chip above its
composer: target, state, last round, the step running now. End ends the
session as the tool's end does (reason person), through a new pair of
routes (GET /api/fork/playtest/state, POST /api/fork/playtest/end). The
chip goes when the session ends any other way. Moves the announced
ChatView lines to added.

Fixes #889

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@scuttletoby @claude
Playtest chip: End only with the operate scope, a slim state answer, …
8633fe6
…a test over the real service

Fix round from the #1099 lens (carry-overs from #1126):
- End is left out for a connection without the operate scope.
- The routes send PlaytestChipSession only: no worktree, step output or
  problem text, and releaseProblem in place of the text.
- playtestRoutes.service.test.ts runs the routes over the real service and
  its fake adapter.
- The chip's tooltip has the agent's note and the rounds count.

Part of #889

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@scuttletoby @claude
Playtest chip: a release's own problem, End without a release, a fail…
e5e4551
…ed read keeps the chip

Round 2 of the #1099 lens:
- releaseProblem only for a problem that starts with RELEASE_PROBLEM, so a
  renew or claim problem does not show "release has not worked" while the
  first release runs.
- End whose release could not start answers ended-unreleased, and the toast
  says the target was not given back.
- A failed read keeps the chip and keeps polling (up to six in a row); a
  404 from an older server still reads as no chip.

Part of #889

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@scuttletoby
scuttletoby force-pushed the fork/889-playtest-chip branch from be6d45b to e5e4551 Compare November 28, 2026 05:54
@scuttletoby scuttletoby added the fork:merge-ready Merge conveyor: lenses done, merge when green label Nov 28, 2026
@scuttletoby
Merge branch 'main' into fork/889-playtest-chip
0608a87
@scuttletoby
scuttletoby merged commit c108ef1 into main Nov 28, 2026
37 checks passed

Uh oh!

There was an error while loading. Please reload this page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

fork:merge-ready Merge conveyor: lenses done, merge when green

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Playtest mode F5: thread chip with an End button

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@scuttletoby
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.