Skip to content

[codex] 增加安全起草模式#18

Draft
xiaojin5222-ui wants to merge 8 commits into
sightflow-dev:mainfrom
xiaojin5222-ui:codex/safe-draft-mode
Draft

[codex] 增加安全起草模式#18
xiaojin5222-ui wants to merge 8 commits into
sightflow-dev:mainfrom
xiaojin5222-ui:codex/safe-draft-mode

Conversation

@xiaojin5222-ui

Copy link
Copy Markdown

Summary

  • add a safe draft mode that fills the chat input without sending and keep auto-send available as an explicit mode
  • split device actions into draft-fill and send paths, and branch session behavior on replyMode
  • add a minimal session behavior harness plus update the home UI and copy for mode switching and draft logs

Why

  • the previous default behavior auto-sent replies immediately after generation, which was too risky for day-to-day use
  • this change makes the safer human-in-the-loop flow the default while preserving the existing automation path for explicit use

Validation

  • npm run test:session
  • npm run typecheck
  • npm run build

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