Skip to content

Trace ambiguous workflow-to-CHASM ownership - #45

Open
chaptersix wants to merge 1 commit into
migration-handoff/protocolfrom
migration-handoff/forward
Open

Trace ambiguous workflow-to-CHASM ownership#45
chaptersix wants to merge 1 commit into
migration-handoff/protocolfrom
migration-handoff/forward

Conversation

@chaptersix

@chaptersix chaptersix commented Sep 5, 2026

Copy link
Copy Markdown
Owner

Problem

A committed CHASM create can lose its response. V1 treats the error as permission to execute the
copied work, then accepts any later AlreadyExists as successful migration without verifying
destination ownership or snapshot freshness.

Minimal reproduction

One fixed-time V1 scheduler holds one manual ALLOW_ALL start. The test commits its migration
snapshot and returns Unavailable. V1 starts the same action using a different request ID. With
the rollout flag enabled, retry closes V1 after an unverified collision; with it disabled, V1
continues while CHASM remains present. All four version 12/13 and flag combinations fail.

The causal trace and operational disposition are commit-pinned in
the forward handoff note.

Committed create response-loss sequence

Deterministic response-loss regression

Disposition

No scheduler-only production fix is submitted. Freezing V1 after an ambiguous create is necessary
but cannot safely complete migration while History can still acknowledge source signals. The
required ingress-fenced staged protocol is documented in #44. Migration must remain disabled until
that prerequisite exists.

Validation

TEMPORAL_RUN_MIGRATION_COUNTEREXAMPLES=1 go test -tags test_dep \
  ./service/worker/scheduler \
  -run 'TestMigrationCounterexample_(LostCreateResponse|ForwardDestinationCollision)' -count=1

Stack

Committed create response-loss sequence

Deterministic response-loss regression

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 5, 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-05T01:02:45.304515Z 7d2d91b Draft marked ready
ℹ️ 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.

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.

1 participant