Skip to content

fix: support live parked decisions#74

Merged
aryeko merged 1 commit into
mainfrom
fix/p09-live-decide
Jul 6, 2026
Merged

fix: support live parked decisions#74
aryeko merged 1 commit into
mainfrom
fix/p09-live-decide

Conversation

@aryeko

@aryeko aryeko commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Fixes F2 from the 2026-07-06 P04-P12 review record: decide() now accepts a live parked routed decision instead of requiring the run to already be stopped.
  • Adds a projected routed-decision surface and consumes durable owner-decision.recorded events at harness safe boundaries using existing authorization event families.
  • Preserves stop-wins ordering, non-routed refusal taxonomy, resume parity, and golden record byte stability.

Verification

  • corepack pnpm vitest run packages/jig-sdk/tests/harness.unit.test.ts packages/jig-sdk/tests/resume.unit.test.ts
  • corepack pnpm vitest run packages/jig-sdk/tests/harness.unit.test.ts packages/jig-sdk/tests/projection.unit.test.ts packages/jig-sdk/tests/resume.unit.test.ts packages/jig-sdk/tests/sdk.unit.test.ts
  • corepack pnpm check
  • Golden fixtures under tests/fixtures/m5b-local-mvp/golden-run-record-*.json compared byte-identical to HEAD blobs.

Review

  • Independent Codex reviewer requested two fixes, then approved the updated patch.

@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: 7a4297c566

ℹ️ 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 packages/jig-sdk/src/harness.ts Outdated
Comment thread packages/jig-sdk/src/harness.ts Outdated
@aryeko aryeko force-pushed the fix/p09-live-decide branch from 7a4297c to 67e7a41 Compare July 6, 2026 12:44
@aryeko aryeko merged commit 81d5664 into main Jul 6, 2026
1 check passed
@aryeko aryeko deleted the fix/p09-live-decide branch July 6, 2026 12:46
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