Agents Builders

Session resume on tasks

Archived
session-resume-on-tasks

Created

Jun 22, 19:41

Started

Jun 22, 19:41

Completed

Jun 22, 20:42

DevOps handoff

Type

Feature

Shape

ui+db

Worktree Slug

session-resume-on-tasks

Repositories

mcritchie-studio

Release Train

Branch

feat/session-resume-v1

QA URL

Production URL

tooling,ui

Acceptance Criteria

  • Board card shows session last-4 when present
  • Click-to-copy yields the full resume command
  • Status line shows the session last-4
  • bin/task stamps session_id and provider on building

Expected Test Plan

  • unit: model resume helpers
  • component: board renders widget
  • integration: bin/task stamps session
  • e2e: tasks board widget present

Checks Run

  • [unit] bin/rails test test/models/task_test.rb — session_id_last4 / resume_command (claude+codex) / resume_command_display / nil-safe / normalize keeps keys
  • [component] bin/rails test test/controllers/tasks_controller_test.rb — board card shows last-4 + copy control carrying full resume command; none when absent
  • [integration] bin/rails test test/lib/task_cli_test.rb — bin/task stamps session_id+provider on create and on move building (read-merge); none without session. Plus test/lib/statusline_test.rb
  • [e2e] npx playwright test e2e/session_resume.spec.js — /tasks shows the last-4 + resume copy control

Agent Context

V1 of the session-resume feature: store session_id + session_provider in metadata.devops (no migration), captured by bin/task from CLAUDE_CODE_SESSION_ID on create/building. /tasks shows …<last4> + click-to-copy resume command (display truncated, copies full; provider-aware verb). bin/statusline appends …<last4>. Claude path verified; codex resume syntax + env var are best-effort TODO. This is display+copy only — the enforcement/lease gate (instance nonce + heartbeat + double-claim refusal) is a separate V2.

Stage Timeline

Who handled each stage, the time it took (measured), and the model / tokens / cost reported (best-effort) — plus who's on it right now. means the agent didn't report that metric.

  1. Shipped Archived
    Model
    Duration
    Tokens
    Cost
    Completed Jun 23, 17:13 · 4 days ago

Conversation

QA review feedback, agent handoffs, and follow-up notes for this task.

No task feedback has been recorded yet.

Sealed-bid sizing

Edit →

Alex (PM)

Avi (PO)

Dev

Actual