Skip to content

Standardize resumable Action results, inspection, and progress #144

Closed

Description

@lastobelus

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:

  1. 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.
  2. 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.
  3. 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.

Activity

  1. added 6 commits that reference this issue on Aug 30, 2026
    a9862b3
    4c3cdf6
    f99c2f8
    115bd24
    b36f113
    3cb89e9
  2. 6 remaining items

  3. added 15 commits that reference this issue on Sep 2, 2026
    77dca56
    90a3600
    1e41159
    1787b99
    005b1f7
    5e0f77f
    a1efb97
    b862f93
    0cac1fc
    9e52f19
    9bb2468
    d1cd781
    537ec39
    3f1443e
    fca3acb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions