Skip to content

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

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

BastiHu wants to merge 2 commits 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. Rebased head · Stack verification and outstanding evidence.

Before/after browser captures are ready. Upload to this description is pending GitHub browser sign-in.

Original submission and earlier verification

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
  • UI evidence: active-run before/after images and interaction video remain outstanding
  • 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 Nov 24, 2026 11:01am 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.

This branch was successfully deployed

1 active deployment
Preview — e1aa6ba8 Deployed Nov 24, 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.

3 participants