Repository navigation
Closed
Description
Goal
Give resumable Project Actions a small, versioned reporting contract so the calling agent receives only the information needed to continue, users get scannable outcomes and live status, and verbose logs remain available on demand.
First milestone
Deliver one complete vertical slice through an umbrella PR composed of three focused stacked PRs:
- Define structured result/progress contracts and a thin wrapper/developer kit. Preserve ordinary terminal output and gracefully support Actions that do not emit structured events.
- Resume the calling thread with a compact validated result, retain verbose output outside provider context, and provide read-only on-demand inspection by run ID.
- Surface coarse working/waiting progress and canonical outcomes in the expandable composer eyebrow and completed Action presentation across applicable clients. Deduplicate and bound progress updates.
The contract should keep host lifecycle status separate from an Action domain outcome, treat all Action-authored fields as untrusted output, make stable target identity easy to report, and keep Actions useful when run outside LastCode.
Acceptance
- Structured Actions no longer depend on their final stdout line for the compact result.
- A normal resume receives a bounded structured summary rather than the terminal tail.
- An agent or user can inspect retained verbose output when needed.
- Running Actions can report a useful current phase without noisy repainting or persisted poll spam.
- Existing unstructured Actions continue to work during adoption.
- Wait for PR, Run Quick CI, and Build Intel package exercise the new path.
- Web/desktop and mobile behavior are considered explicitly; contracts remain remote-safe.
Deferred follow-ups
- Structured/logical output groups and lazily loaded per-group inspection.
- First-class multi-step Actions and decision events. Continue using the current one-shot wake, agent decision, and relaunch loop until repeated workflows justify durable continuation tokens and declared choice schemas.
These are intentionally outside the first umbrella so the initial issue ends with a complete reporting and progress system rather than the start of a general workflow engine.
Metadata
Metadata
Assignees
Labels
No labels
Activity
feat(lastcode): define resumable Action reports (#145)
feat(lastcode): define resumable Action reports (#145)
feat(lastcode): keep Action resume context compact (#146)
feat(lastcode): define resumable Action reports (#145)
feat(lastcode): keep Action resume context compact (#146)
feat(lastcode): show resumable Action progress (#147)
feat(lastcode): standardize resumable Action reporting (#168)
feat(lastcode): standardize resumable Action reporting (#168)
feat(lastcode): standardize resumable Action reporting (#168)
feat(lastcode): standardize resumable Action reporting (#168)
feat(lastcode): standardize resumable Action reporting (#168)
feat(lastcode): standardize resumable Action reporting (#168)
6 remaining items
feat(lastcode): standardize resumable Action reporting (#168)
feat(lastcode): standardize resumable Action reporting (#168)
feat(lastcode): standardize resumable Action reporting (#168)
feat(lastcode): standardize resumable Action reporting (#168)
feat(lastcode): standardize resumable Action reporting (#168)
feat(lastcode): standardize resumable Action reporting (#168)
feat(lastcode): standardize resumable Action reporting (#168)
feat(lastcode): standardize resumable Action reporting (#168)
feat(lastcode): standardize resumable Action reporting (#168)
feat(lastcode): standardize resumable Action reporting (#168)
feat(lastcode): standardize resumable Action reporting (#168)
feat(lastcode): standardize resumable Action reporting (#168)
feat(lastcode): standardize resumable Action reporting (#168)
feat(lastcode): standardize resumable Action reporting (#168)
feat(lastcode): standardize resumable Action reporting (#168)