Skip to content

feat(spawn): pass Codex startup prompts as developer instructions - #914

Merged
laynepenney merged 1 commit into
devfrom
feat/codex-developer-startup
Aug 25, 2026
Merged

feat(spawn): pass Codex startup prompts as developer instructions#914
laynepenney merged 1 commit into
devfrom
feat/codex-developer-startup

Conversation

@laynepenney

Copy link
Copy Markdown
Member

Summary

  • load each configured Codex startup_prompt and pass it through native developer_instructions
  • keep recall continuity separate as the optional first user payload
  • fail closed when a configured Codex prompt cannot be read
  • submit pasted Codex payloads with the current three-Enter TUI sequence
  • atomically replace generated launch scripts as owner-only files so elevated prompts are never written to a readable inode
  • document runtime-specific startup prompt semantics

Verification

  • cargo fmt --check
  • cargo test --lib (739 passed)
  • cargo check --all-targets
  • installed Codex prompt-input probe with the 54,543-byte Stromus prompt, confirming identity at developer role and the actual turn at user role
  • Sentinel R4 independent gate: RATIFY, no remaining findings

Linked continuity rollout

@laynepenney
laynepenney merged commit c095d5d into dev Aug 25, 2026
1 check passed
@laynepenney
laynepenney deleted the feat/codex-developer-startup branch August 25, 2026 19:55
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