Skip to content

feat(core): run scoped completion checks through the durable command service - #409

Merged
lg2m merged 3 commits into
feat/auto-session-scopefrom
feat/auto-goal-check
Oct 22, 2026
Merged

lg2m merged 3 commits into
feat/auto-session-scopefrom
feat/auto-goal-check

Conversation

@lg2m

@lg2m lg2m commented Oct 22, 2026

Copy link
Copy Markdown
Collaborator

Authorized completion checks in registered task workspaces now execute through the durable command service with the same filesystem, network, resource and deadline limits as shell tools. They persist an invocation and owner before submission, save results before goal settlement, and use typed exit/timeout/cancellation evidence instead of parsing command output. Missing native services still refuse host fallback. Ordinary shell grants do not authorize completion checks.

Verification: 54 focused goal-check, scope, recovery, deadline and shell-result tests passed. New tests contradict display text with typed exit status; the real Linux owner verifies a task write while blocking an outside write. Disabling native routing makes the success regression fail. Existing worker restart and timeout tests now assert typed outcomes. Long multiline output retains a UTF-8-safe diagnostic tail. The common routing test is included in macOS/Windows CI.

The local full gate passed fmt, lint and workspace Clippy; 2,961 of 2,962 tests passed. Its sole failure was the schema documentation from #408, now fixed and verified by its targeted docs test. The gate was not repeated.

Eighth layer after #408 in stack 403. Default Auto setup remains unfinished, as does native macOS/Windows containment. Startup retains interrupted check evidence but still pauses for explicit recovery; automatic reconciliation is subsequent work. The Linux session fixture uses host resource scope; delegated cgroup qualification remains in its separate native fixture. No performance claim.

@lg2m lg2m added the ci:full label Oct 22, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 22, 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-10-22T01:14:54.672129Z 17af85d 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

Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Repo admins can enable using credits for code reviews in their settings.

@lg2m
lg2m added this pull request to stack #403 October 22, 2026 00:25
@lg2m

lg2m commented Oct 22, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 223918c622

ℹ️ 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".

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Repo admins can enable using credits for code reviews in their settings.

@lg2m

lg2m commented Oct 22, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Breezy!

Reviewed commit: 17af85d797

ℹ️ 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".

@lg2m
lg2m merged commit 30369be into main Oct 22, 2026
8 checks passed
@lg2m
lg2m deleted the feat/auto-goal-check branch October 22, 2026 01:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant