Repository navigation
feat(cli)!: expose durable goals in TUI and headless commands - #331
Conversation
Codex Review SummaryThis 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. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: e72a82cc70
ℹ️ 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".
e72a82c to
07aab1d
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 07aab1d15b
ℹ️ 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".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f0fff5aa68
ℹ️ 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".
f0fff5a to
27bdd77
Compare
G4/#331 finding 4. Built-in run help distinguishes goal outcomes.
G4/#331 finding 7. Stale snapshots release the retained form without rebinding its goal identity.
G4/#331 finding 8. Rejected check arguments cannot pause active work.
G4/#331 finding 1. Exercise final ownership close after the foreground goal returns.
G4/#331 finding 1. Goal exit waits for natural settlement instead of globally cancelling recovered work.
G4/#331 finding 2. Determine ownership from run origin, not the captured paid goal snapshot.
G4/#331 finding 3. Durable terminal outcomes win over a late Ctrl-C.
G4/#331 finding 5. Retain the accepted identity and sink across failure cleanup; use fresh durable state when readable, otherwise the last observed snapshot.
G4/#331 finding 6. Match direct work by goal ID; derive goal_run identity from the durable run snapshot. Focused adoption regression is green.
|
@codex review Please review current head27bdd77f2c6b2e5a13e186e4d285645a4f7ba931, based on #330 e86fb41. All nine prior findings have published fixes, regressions and per-thread evidence. Final full workspace2759/2759+15intentional skips, minimal-provider211/211, doctests/Clippy, smoke8/8 and website550links pass. Final-head goal-less request parity is8/8 against main3e34eea2. Hosted Linux/Windows/wasm and website checks pass. The separate G5 evidence PR remains explicitly unqualified. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 27bdd77f2c
ℹ️ 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".
c22de4d to
4851fc2
Compare
|
@codex review Please review published head 4851fc2. The three latest findings have tested published fixes and per-thread evidence; all three threads are resolved. Final-head full workspace gates, real-binary smoke and8/8 ordinary-request byte parity pass, with independent source review approved. PR body carries current evidence. No merge requested. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 4851fc2e75
ℹ️ 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".
|
@codex review Please review published f04d9e7. The sole latest finding is repaired with a red/green event-write failure regression, independent approval, full2774/2774+minimal211, smoke8/8 and goal-less request byte parity8/8. Its thread is resolved with evidence. #330 remains clean at725dabe8; no new changes there. No merge requested. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f04d9e71be
ℹ️ 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".
QQ users can create, inspect and control durable goals through TUI forms, the authenticated server CLI and foreground
qq run --goal, with ordered direct-run and final JSONL records. G4 targets #330. Linear: ENG-1064. Spec: docs/plans/goals.md.Behavior
qq goaluses the existing server; semantic argument errors exit2. Replacement requires an existing goal. Forbidden or policy-refused explicit check consent is setup error2, grants no authority and leaves a new goal approval-paused. New invocations validate before session creation; existing-session preflight precedes persisted model/profile/approval changes.Verification
cargo xtask check
Head
e84e3552ad56vsorigin/main; 0 changed file(s); scope: full workspace.cargo fmt --all -- --checkcargo xtask lintcargo clippy --color never --workspace --all-targets --all-features -- -D warningscargo nextest run --color never --profile default --workspacecargo test --color never --workspace --doccargo clippy --color never -p qq-provider --no-default-features --features test-support --all-targets -- -D warningscargo nextest run --color never --profile default -p qq-provider --no-default-features --features test-supportAll gates passed in 60.1s.
Final source e84e355: 2775/2775 workspace tests,15 deliberate skips, minimal-provider211/211, focused foreground/close27/27, real-binary smoke8/8 and ordinary-request byte parity8/8 against main3e34eea2. Independent source review approves. The new edit-event writer regression reproduces exit4 with a still-active revision2 on the old code, then verifies the repaired owner pauses and fully drains that goal.
The smoke harness ran from the stacked documentation worktree with identical Rust source, against the binary built from this G4 head, preserving the live G5 trial's pinned executable. Private receipts/logs remain under
/tmp/qq-goal-delivery-20261015/. The guide/site exported from this head passes15pages/550links/0diagnostics; hosted checks remain separate.Compatibility and qualification
Protocol34→35; schema58 and descriptor15 unchanged relative to #330. Upgrade protocol clients/servers together. Current main auth/fixture changes remain; removed PR319 provenance is absent. No final-head H0/tail performance qualification or native macOS execution claimed.
G5 is qualified on final runtime
e84e3552in #332: the ninth subscription-only trial settles after 8,744.546 durable goal-event seconds, with four compactions, all 14 checklist identities retained and exact terminal usage reconciled. All 25 checked-in audit checks pass. Earlier trials remain historical; they do not supply final-runtime acceptance. Separate ENG-1058/resource/performance/H0 work remains unqualified. No paid API fallback. Do not merge this stack.New red/green rows reproduce the same-revision authentication pause losing to Ctrl-C (130 rather than6) and forbidden/managed consent returning4. Authentication/configuration/achievement race rows now preserve the exact durable status and revision; both consent refusal sources return2 with pending authority and zero model/check execution. No new wire/schema/API surface.