8000 fix(effects): preserve uncertainty after adapter errors by dominicnunez · Pull Request #208 · dominicnunez/agentos · GitHub
[go: up one dir, main page]

Skip to content

fix(effects): preserve uncertainty after adapter errors - #208

Merged
dominicnunez merged 1 commit into
mainfrom
fix/effect-error-uncertainty
Sep 12, 2026
Merged

dominicnunez merged 1 commit into
mainfrom
fix/effect-error-uncertainty

Conversation

@dominicnunez
Copy link
Copy Markdown
Owner

An effect adapter can apply an action and then lose its response. The coordinator previously recorded FAILED for that error, causing restart reconciliation to skip an outcome that was still unknown.

Keep the durable and returned obligation ATTEMPTED and return explicit uncertainty with the original error. Read-only reconciliation can establish success or failure using destination evidence, without resending. Update the operations guide and threat model to describe this behavior and the preservation of historical terminal records.

Validation: four regressions exercise real coordinator admission and SQLite close/reopen for transport errors, partial evidence with an error, caller cancellation, and an adapter deadline. Each fails against the original implementation and passes with the fix. They cover discovery, unavailable reconciliation, evidence-based terminal outcomes, and one dispatch only. Build, vet, lint, module consistency, the full unit suite, architecture boundaries, AIMS document checks, affected-package race tests, and vulnerability scanning passed in a canonical Linux checkout. A separate bounded source audit found no additional findings.

Production effect-writing adapters remain unavailable. This fixes the composable coordinator contract; it does not complete the broader containment work in #178.

Closes #207.

@chatgpt-codex-connector
chatgpt-codex-connector Bot commented Sep 12, 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-09-12T21:23:14.156352Z acfb41a PR opened
🔒 Security Review ✅ Completed 2026-09-12T21:23:11.685099Z acfb41a PR opened
ℹ️ 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.

@dominicnunez
dominicnunez merged commit 7da6f4b into main Sep 12, 2026
5 checks passed
@dominicnunez
dominicnunez deleted the fix/effect-error-uncertainty branch September 27, 2026 05:58
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.

Preserve uncertain effects after adapter errors

1 participant

0