Repository navigation
fix(lastcode): align background-wait guidance and flag results lost on restart - #884
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: e7dc699f92
ℹ️ 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".
e7dc699 to
d21ef72
Compare
|
@codex review |
|
Codex Review: Didn't find any major issues. Bravo. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
|
@codex review |
|
Codex Review: Didn't find any major issues. Breezy! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
Make lc-run report failed steps as failures and align agent instructions with the wait and Action tools each session has. Exercise the shipped default and current wrapper wording in the evals. Retain owed results until delivery or release. Recover undelivered results on server restart and ask agents to verify the recorded outcome before repeating work. Report incomplete upstream drift checks in checkpoint output. Carry-Group: incubator Carry-Fix: #824 Carry-Upstream: https://redirect.github.com/pingdotgg/t3code/pull/37572 at bfcb55d Carry-Observation: The wrapper, background-wait port and checkpoint drift hook already replay together in Incubator. Implemented-with: GPT-6.2 Sol in T3 Code with the Codex harness
Keep provider release handling on its existing path so an owed result remains available to server recovery. Replay the captured Claude sessions with wrapper-registered waits disabled to match their recorded query options. Carry-Group: incubator Carry-Fix: #824 Carry-Upstream: https://redirect.github.com/pingdotgg/t3code/pull/37572 at bfcb55d Carry-Observation: The changes cover the existing Incubator background-wait behavior and its replay fixtures. Implemented-with: GPT-6.2 Sol in T3 Code with the Codex harness
Keep the shared PR-watch instructions that Muse replays expect. Refresh the default context budget with that wording in place. Carry-Group: incubator Carry-Fix: #824 Carry-Upstream: https://redirect.github.com/pingdotgg/t3code/pull/37572 at bfcb55d Carry-Observation: This preserves the shared watch instructions used by the existing Incubator providers. Implemented-with: GPT-6.2 Sol in T3 Code with the Codex harness
Shorten repeated PR-watch instructions and put the registered-wake exception first. All three default context measurements are below the current CI base. Carry-Group: incubator Carry-Fix: #824 Carry-Upstream: https://redirect.github.com/pingdotgg/t3code/pull/37572 at bfcb55d Carry-Observation: Keep the watch ownership checks and trim their repeated wording. Implemented-with: GPT-6.2 Sol in T3 Code with the Codex harness
84b5232 to
6c2443d
Compare
|
@codex review |
|
Codex Review: Didn't find any major issues. 👍 Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
Agent-launched Project Actions are being retired in favor of
./scripts/lc-runand background waits. The retirement changes left conflicting instructions, and some completed commands could lose the wake that delivers their result.Refs #824.
🧭 A. Agent guidance and docs
resume_interrupted_actionto continue, or ask the user to choose Resume agent or Discard in the composer.⚙️ B. Wrapper and session behavior
attentionorblocked.lastcodeBackgroundWaitEnabledsetting until it closes. Active sessions can continue without reopening.🧪 C. Evals and context budget
Both eval harnesses now use the shipped default and allow per-case overrides. Registered-wake cases take their wording from the wrapper. Context is measured against the default configuration. Compared with base
85bc79cb3ca, the Claude append is 265 bytes smaller, Codex context is 35 bytes smaller, and the MCP tool list is 4,960 bytes smaller.📬 D. Background result delivery
Deferred follow-ups
Every captured Claude Bash start carried a tool-use ID, so the claimed gap for a missing ID remains unproven.
🔎 E. Checkpoint drift check
The drift check now accepts null GitHub comment bodies. If it can't complete, it logs a prominent warning and the checkpoint continues.
Upstream PR 37572 remains pinned at
bfcb55dc7fc10958e4386473a16a16b6a03f6ca2. Codex now retains the owning native turn while a LastCode result is owed, counts it in pending-work checks, and retires it on Stop, archive, or native unload. These changes apply to LastCode's owed-result lifecycle and preserve the upstream wire protocol. Convergence remains tracked in #823.Local review: 3 rounds with GPT-6.1 Terra and Gemini 4 Neon (xhigh) at e7dc699, not clean. The final round requested changes. A follow-up design review narrowed the recovery scope to the tested server-restart path. The GitHub review follow-up removed the provider-exit cleanup so a stored owed result can reach server recovery.
Implemented with GPT-6.2 Sol in T3 Code with the Codex harness.