Skip to content

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

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

BastiHu wants to merge 11 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

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 20, 2026 3:39pm UTC

Request Review

@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:L 100-499 effective changed lines (test files excluded in mixed PRs). labels Nov 17, 2026
@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.

This branch was successfully deployed

1 active deployment
Preview — 7b6f5472 Deployed Nov 20, 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 PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants