Skip to content

feat: add truthful native goal integration evidence - #10

Merged
SetraTheXX merged 4 commits into
mainfrom
phase-8-reliability-goal-compatibility
Jul 21, 2026
Merged

feat: add truthful native goal integration evidence#10
SetraTheXX merged 4 commits into
mainfrom
phase-8-reliability-goal-compatibility

Conversation

@SetraTheXX

Copy link
Copy Markdown
Owner

Summary

  • persist native host, goal, thread, turn, subagent, and worktree references outside the provider-neutral workflow schema
  • normalize host observations without converting unknown or account-level data into per-run usage claims
  • preserve interrupted workflow state and explicit resume behavior
  • map versioned native goal lifecycle and host-limit events without treating host completion as CEWP success

Safety boundaries

  • managed execution never attaches to a private ChatGPT desktop session
  • unknown, stale, malformed, and unavailable host data remain explicit
  • native completion cannot bypass verification evidence or reviewer PASS
  • no credentials or real model turns are required by the tests

Validation

  • npm run check
  • npm run pack:dry-run
  • git diff --check
  • private planning and local runtime files are absent from the Git tree

Validation was run against exact PR head 1972ee1.

Copilot AI review requested due to automatic review settings July 21, 2026 19:22

Copilot AI 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.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@SetraTheXX
SetraTheXX merged commit 1918a10 into main Jul 21, 2026
6 checks passed

@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: 1972ee152f

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

Comment thread src/workflow/state.js
const previousStatus = found.run.status;
let nextStatus = transitionRun(previousStatus, options.event);
if (options.event === "add-budget") {
if (options.event === "interrupt") {

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Block result intake while interrupted

When this path records an interrupt, it only changes the run status and leaves the active task/checkpoint in running; existing recordWorkflowResult only checks the task/checkpoint state, so if the interrupted checkpoint later submits a task result, CEWP accepts it and can promote the run back to active without the explicit resume action while retaining a stale interruption marker. That bypasses the host-resume gate and lets verification evidence mutate core state during an interrupted workflow.

AGENTS.md reference: AGENTS.md:L5-L5

Useful? React with 👍 / 👎.

Comment on lines +278 to +280
if (event.source.path === "explicit-intake" && binding.mode !== "explicit-intake") {
throw new Error("Explicit native goal events require an explicit-intake binding.");
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Require app-server events to match managed bindings

These binding checks reject mismatched plugin and explicit-intake events, but leave app-server unchecked; with a graduated app-server capability, an app-server native-goal event is accepted against a native explicit-intake binding as long as the goal id matches, and can pause/resume/cancel that native run. That mixes a managed app-server source into a native checkpoint instead of enforcing the binding's single execution owner/source.

AGENTS.md reference: AGENTS.md:L6-L6

Useful? React with 👍 / 👎.

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.

2 participants