fix(smithy): preserve Codex interactive resume IDs#118
Open
furquanuddin94 wants to merge 4 commits into
Open
Conversation
Extract the Codex interactive argument construction into buildCodexInteractiveArgs so the unit test exercises the same production arg-building logic used by spawn instead of duplicating that logic in the test. The helper preserves the existing working-directory, resume, and model behavior. Codex now documents --sandbox workspace-write as the replacement for the deprecated --full-auto shortcut, so use the documented sandbox flag for fresh and resumed interactive sessions. Refs stoneforge-ai#114.
…-flag fix(smithy): update codex interactive sandbox flag
d5f034e to
f745d57
Compare
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes #117.
This PR depends on #116, which updates Codex interactive sessions to use the documented
--sandbox workspace-writeflag. This branch is stacked on top of that change.Changes
codex resume <uuid>continuation footer./exitwhen stopping an interactive session so Codex emits its continuation footer before session history is saved.Test plan
bun test packages/smithy/src/providers/codex/provider.bun.test.tsbun test packages/smithy/src/runtime/spawner.bun.test.tscorepack pnpm --filter @stoneforge/smithy typecheckcorepack pnpm --filter @stoneforge/smithy-web typecheckcorepack pnpm --filter @stoneforge/smithy-server typecheckgit diff --checkChecklist