Skip to content

feat(lastcode): standardize resumable Action reporting - #168

Merged
lastobelus merged 3 commits into
lastcode/mainfrom
lastcode/resumable-actions-kit
Aug 30, 2026
Merged

lastobelus merged 3 commits into
lastcode/mainfrom
lastcode/resumable-actions-kit

Conversation

@lastobelus

Copy link
Copy Markdown
Owner

Resumable Project Actions previously had to summarize their own terminal tail, which made resume context noisy, left structured outcomes implicit, and gave clients no durable live progress to present.

This umbrella adds the complete first reporting slice:

  • define versioned, bounded result and progress contracts plus a thin Action developer kit
  • resume callers with compact validated reports while retaining verbose output for read-only inspection
  • present coarse progress and canonical completed outcomes across web/desktop and mobile
  • deduplicate and bound progress persistence while preserving unstructured Action compatibility
  • migrate Wait for PR, Run Quick CI, and Build Intel package to the structured path

Stacked implementation PRs: #145, #146, and #147. Exact-head web/iOS evidence is attached in #147: #147 (comment)

Validation: Quick CI passed for 3f840893fb0e1187f864e80f14c06b2af9ce1be2 against ec892230127238e390b79d84636b622ac1f1af02. Each slice also received exact-head Codex review before merge.

Closes #144.

Generated by GPT-5.6-Sol through the T3 Code Codex harness.

Michael Johnston added 3 commits August 30, 2026 13:45
## What Changed

Introduces the first slice of #144: a versioned resumable Action
reporting protocol, nonce-bound terminal framing, bounded schemas for
canonical outcomes and progress, and a small reporter kit used by Wait
for PR, Quick CI, and Build Intel package.

The server validates the first terminal result, keeps protocol control
frames out of retained logs, preserves legacy unstructured Action
behavior, and continues to own execution failure and cancellation
separately from Action-authored outcomes.

## Why

Resumable Actions currently rely on bespoke final-line conventions. A
shared contract gives later stacked changes a safe, bounded result to
resume with and a common progress model to present in the UI.

## Stack

- This PR: result/progress contracts, launch wrapper framing, and
reporter kit.
- Next: compact resume payloads and read-only output inspection.
- Then: live progress and canonical outcome presentation.
- Umbrella issue: #144.

## Validation

- 127 focused contract, protocol, server, terminal, and workflow tests
pass.
- Targeted lint passes.
- Contracts, shared, server, and scripts typechecks pass.
- Quick CI passed for `5cb53eac278e73f7b6ec93a4dd4b9e8ca29e2df9` against
`b88b77e431978fdd920decaf2ca0c2cb3c3c443f`.

Created with gpt-5.6-sol via the Codex harness.
Closes the context-cost portion of #144.

Resumable Actions now resume the agent with a compact, schema-validated
report or legacy final-line summary instead of copying the bounded
terminal tail into every turn. A read-only `inspect_action_run` tool
retrieves the retained same-thread output only when more detail is
needed, and terminal history reads first flush pending persistence. Web
and mobile distinguish these compact cards from legacy expandable
output.

Validation: 121 focused tests, targeted lint,
contracts/shared/server/web/mobile typechecks, and LastCode Quick CI.

Implemented with GPT-5.6-sol through the Codex harness in T3 Code.
Completes the first milestone in #144.

Protocol-aware Actions now publish bounded Working or Waiting summaries
into revisioned lifecycle state. The server deduplicates and throttles
progress, caps each run, and preserves deterministic restart hydration.
Web/desktop and mobile share canonical presentation for live state and
completed success, attention, blocked, execution-error, interruption,
and cancellation outcomes. LastCode Quick CI, Wait for PR, and Build
Intel package now exercise the progress contract.

Validation: 551 focused tests, targeted lint,
contracts/shared/client/server/web/mobile/desktop/scripts typechecks,
and LastCode Quick CI. Visual QA evidence will be attached before merge.

Implemented with GPT-5.6-sol through the Codex harness in T3 Code.
@lastobelus

ghost commented Aug 30, 2026

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

ghost commented Aug 30, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-08-30T20:51:36.885378Z 3f84089 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

ghost commented Aug 30, 2026

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 👍

Reviewed commit: 3f840893fb

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@lastobelus
lastobelus merged commit a9862b3 into lastcode/main Aug 30, 2026
@lastobelus
lastobelus deleted the lastcode/resumable-actions-kit branch August 30, 2026 20:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Standardize resumable Action results, inspection, and progress

1 participant