Skip to content

feat(playbooks): show recorded step position and wait status - #1091

Open
BastiHu wants to merge 1 commit into
feat/playbooks-790-integrated-331968a7from
feat/playbooks-next-integrated-331968a7
Open

BastiHu wants to merge 1 commit into
feat/playbooks-790-integrated-331968a7from
feat/playbooks-next-integrated-331968a7

Conversation

@BastiHu

@BastiHu BastiHu commented Nov 17, 2026 •

Copy link
Copy Markdown
Collaborator

Closes #791.

Progress shows the current position and independent Waiting for approval and Blocked flags. Thread and Fleet lists project display fields in SQLite and tolerate damaged snapshots. Mobile checkpoint answers remain tracked in #1212.

Progress verification passed 67 server, 58 shared-client, five browser and seven mobile tests. The bounded-query follow-up passed 82 store, relay, Fleet and integration tests. Earlier tested head · Earlier stack verification.

Before and after

Before After
Flags before Flags after

December re-review

Current layer commit.

Collapsed composer bar

At 05b8a3f359, the collapsed desktop bar shows Review as step 2 of 3 and “Waiting for approval” while the checkpoint is open.

Collapsed Review step with its position and waiting flag

Original evidence comment.

Historical submission and tests on earlier commits

The following records the original submission. The December re-review section above tracks current evidence.

Problem

Progress treated earlier steps as completed and did not explain whether a run was waiting for a person. Closes #791.

What changed

Web, desktop, and mobile show the recorded Step N of M · current title, with the playbook title, positional list, and other holder expanded. Earlier positions no longer imply successful work. Cancellation history uses readable reasons.

The server derives Waiting for approval from the current pending checkpoint and Blocked from the owner's other open human asks. Both flags are viewer-independent and use bounded batch reads without request contents. Existing playbook and Inbox revisions refresh the shared query; duplicate composer subscriptions were removed. This PR is stacked on #1090 (checkpoints), following #1089 and #1088.

UI changes

Shared presenter and automated browser coverage verify positional progress and wait labels. Live active-run before/after captures remain unrun without the real-agent flow; the integrated client report records the library preview, Inbox, and Replay checks completed at the final head.

Live testing

Tests cover approval/decline/withdrawal/cancellation clearing, unrelated requests, legacy history, both flags coexisting, and refresh on the existing read revisions. Combined validation at bc432f7c64040976df0400625870a4b235a8e81b: check:changed passed: 568 tests across 43 files, all 36 affected package typechecks, 17 React compiler cases across 12 selected files, format, lint, Knip, and GraphQL. Captain browser smoke verified the approval-required library preview, Inbox loading, a completed free Replay turn, and restoration of that transcript after an at-rest server restart. Replay exercises provider rendering; it does not verify the Playbook approval flow. Detailed report: artifacts/test-reports/feat-playbooks-next-integrated-331968a7/bc432f7c6.md.

Real-model active-run progression and multi-device answer updates remain unrun while the earlier paid-model authorization request is pending. Native mobile and packaged Electron were not exercised. No live deployment was performed.

Checklist

  • One concern: accurate run progress
  • Tests cover derived flags and shared refresh behavior
  • Live testing: exercised and unexercised paths stated above
  • Upstream-owned files: none changed in this layer
  • Upstream product: no new divergence
  • Surfaces: shared presenter and web/mobile rendering updated; desktop uses web
  • Product and user docs updated

Implemented with GPT-6 Astra in the Codex harness and a J5 Crew.

@vercel

vercel Bot commented Nov 17, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
j5-code Ready Ready Preview Dec 1, 2026 7:21pm UTC

Request Review

@Jacksondr5

Copy link
Copy Markdown
Owner

Direction for the whole stack, before the full review, is in this comment on #1086. We'll review once the stack is rebased onto j5/main after #1205.

@BastiHu
BastiHu force-pushed the feat/playbooks-next-integrated-331968a7 branch from 7b6f547 to e1aa6ba Compare November 24, 2026 11:00
@BastiHu
BastiHu force-pushed the feat/playbooks-790-integrated-331968a7 branch from 2e509e1 to eb3dc9f Compare November 24, 2026 11:00
@BastiHu

BastiHu commented Nov 24, 2026

Copy link
Copy Markdown
Collaborator Author

@Jacksondr5, Progress shows the current position and independent Waiting for approval and Blocked flags. Thread and Fleet lists project display fields in SQLite and tolerate damaged snapshots. Mobile checkpoint answers remain tracked in #1212. Progress verification passed 67 server, 58 shared-client, five browser and seven mobile tests. The bounded-query follow-up passed 82 store, relay, Fleet and integration tests. Commit · Stack-wide response and outstanding evidence.

@Jacksondr5

Copy link
Copy Markdown
Owner

@BastiHu
BastiHu force-pushed the feat/playbooks-790-integrated-331968a7 branch from 62d133f to a63d143 Compare November 30, 2026 13:48
@BastiHu
BastiHu force-pushed the feat/playbooks-next-integrated-331968a7 branch from a93a9e6 to 11a10ad Compare November 30, 2026 13:48
@BastiHu
BastiHu force-pushed the feat/playbooks-next-integrated-331968a7 branch from 11a10ad to 5620e53 Compare November 30, 2026 13:50
@BastiHu
BastiHu force-pushed the feat/playbooks-790-integrated-331968a7 branch from a63d143 to 0dda2c4 Compare November 30, 2026 13:50
@github-actions github-actions Bot added size:XXL 1,000+ effective changed lines (test files excluded in mixed PRs). size:L 100-499 effective changed lines (test files excluded in mixed PRs). and removed size:L 100-499 effective changed lines (test files excluded in mixed PRs). size:XXL 1,000+ effective changed lines (test files excluded in mixed PRs). labels Nov 30, 2026
@BastiHu
BastiHu force-pushed the feat/playbooks-790-integrated-331968a7 branch from 0dda2c4 to 49b7d46 Compare November 30, 2026 16:15
@BastiHu
BastiHu force-pushed the feat/playbooks-next-integrated-331968a7 branch from 5620e53 to 33cd277 Compare November 30, 2026 16:15
@BastiHu

BastiHu commented Dec 1, 2026

Copy link
Copy Markdown
Collaborator Author

Collapsed composer bar

At 05b8a3f359, the collapsed desktop bar shows Review as step 2 of 3 and “Waiting for approval” while the checkpoint is open.

Collapsed Review step with its position and waiting flag

@BastiHu
BastiHu force-pushed the feat/playbooks-790-integrated-331968a7 branch from 49b7d46 to e97f253 Compare December 1, 2026 19:20
@BastiHu
BastiHu force-pushed the feat/playbooks-next-integrated-331968a7 branch from 33cd277 to 056c156 Compare December 1, 2026 19:20

This branch was successfully deployed

1 active deployment
Preview — 056c156e Deployed Dec 1, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L 100-499 effective changed lines (test files excluded in mixed PRs). vouch:trusted Author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants