Repository navigation
FEAT: schedule in-memory session follow-ups - #73
Merged
Merged
Conversation
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
Trigger navigation and several terminal scheduling statuses do not yet match the documented behavior and localization requirements.
Review effort: Balanced
Findings: 4
Open (4)
What changed in this PR
Adds in-memory scheduled follow-ups, active-turn controls, queue management, and richer live session context across terminal and writable web modes.
Changes:
- Introduces guarded scheduling and native follow-up queues.
- Adds streaming task/guidance context, draft retention, and responsive terminal forms.
- Updates localization, tests, embedded web assets, and
source-map-js.
| File | Description |
|---|---|
web/src/state.svelte.ts |
Extends web state and control actions. |
web/src/Sessions.svelte |
Displays triggers and live context. |
web/package-lock.json |
Updates source-map-js. |
intro-post.md |
Documents scheduling behavior. |
internal/web/state.go |
Projects trigger and streaming state. |
internal/web/server.go |
Registers scheduling collection and API. |
internal/web/schedules.go |
Implements web scheduling dispatch. |
internal/web/dist/index.html |
References rebuilt frontend assets. |
internal/web/control.go |
Adds schedule control requests. |
internal/web/control_test.go |
Tests live-context projection. |
internal/ui/view.go |
Initializes render geometry caching. |
internal/ui/monitor.go |
Adds trigger badges and identities. |
internal/ui/monitor_turn_test.go |
Tests active-turn controls. |
internal/ui/monitor_summary.go |
Adds trigger attention and layout caching. |
internal/ui/monitor_stream_test.go |
Tests streaming context behavior. |
internal/ui/monitor_schedule_toggle.go |
Implements scheduler toggle geometry. |
internal/ui/monitor_schedule_toggle_test.go |
Tests toggle interaction. |
internal/ui/monitor_schedule_panel.go |
Implements saved-trigger actions. |
internal/ui/monitor_schedule_pane.go |
Implements responsive schedule pane. |
internal/ui/monitor_schedule_pane_test.go |
Tests pane layout and retention. |
internal/ui/monitor_queue_style_test.go |
Tests queue styling and geometry. |
internal/ui/monitor_prompt_test.go |
Tests composer presentation and drafts. |
internal/ui/monitor_name_test.go |
Tests session identity display. |
internal/ui/monitor_form_controls.go |
Defines form hit-testing helpers. |
internal/ui/monitor_form_controls_test.go |
Tests localized form controls. |
internal/ui/monitor_efficiency_test.go |
Covers copy-on-write and caching. |
internal/ui/monitor_editor.go |
Makes editors copy-on-write and themed. |
internal/ui/monitor_detail.go |
Adds task and guidance sections. |
internal/ui/monitor_detail_activity.go |
Integrates queues and schedule controls. |
internal/ui/monitor_context.go |
Adds streaming titles and detail routing. |
internal/ui/monitor_context_modes.go |
Retains drafts and prioritizes replies. |
internal/ui/monitor_context_modes_test.go |
Updates detail-status expectations. |
internal/ui/model.go |
Integrates scheduling, queues, and caching. |
internal/ui/localisation_test.go |
Exercises localized interaction surfaces. |
internal/schedule/quota.go |
Defines quota dispatch guards. |
internal/schedule/queue.go |
Implements the in-memory schedule queue. |
internal/schedule/queue_test.go |
Tests scheduling safety and concurrency. |
internal/i18n/locales/zh-Hans.json |
Adds Simplified Chinese strings. |
internal/i18n/locales/tr.json |
Adds Turkish strings. |
internal/i18n/locales/sv.json |
Adds Swedish strings. |
internal/i18n/locales/ru.json |
Adds Russian strings. |
internal/i18n/locales/pt-PT.json |
Adds Portuguese strings. |
internal/i18n/locales/pt-BR.json |
Adds Brazilian Portuguese strings. |
internal/i18n/locales/nl.json |
Adds Dutch strings. |
internal/i18n/locales/nb.json |
Adds Norwegian strings. |
internal/i18n/locales/ja.json |
Adds Japanese strings. |
internal/i18n/locales/it.json |
Adds Italian strings. |
internal/i18n/locales/fr.json |
Adds French strings. |
internal/i18n/locales/fi.json |
Adds Finnish strings. |
internal/i18n/locales/et.json |
Adds Estonian strings. |
internal/i18n/locales/es.json |
Adds Spanish strings. |
internal/i18n/locales/en-GB.json |
Defines new localization keys. |
internal/i18n/locales/de.json |
Adds German strings. |
internal/i18n/locales/da.json |
Adds Danish strings. |
internal/codex/session_turn_unix.go |
Implements active-turn mutations. |
internal/codex/session_turn_unix_test.go |
Tests turn protocol safety. |
internal/codex/session_stream_test.go |
Tests streaming event aggregation. |
internal/codex/session_queue.go |
Defines native queue APIs. |
internal/codex/session_queue_unix.go |
Implements native queue operations. |
internal/codex/session_queue_unix_test.go |
Tests queue reads and mutations. |
internal/codex/session_prompt.go |
Exposes active-turn capabilities. |
internal/codex/session_prompt_unix.go |
Tracks active turn lifecycle. |
internal/codex/session_context.go |
Extends session context fields. |
internal/codex/session_context_test.go |
Updates context lifecycle coverage. |
internal/codex/session_context_daemon.go |
Aggregates tasks and streaming deltas. |
internal/codex/live_usage.go |
Retains same-turn task context. |
internal/codex/daemon_status_unix.go |
Tracks native queue revisions. |
Files not reviewed (1)
- web/package-lock.json: Generated file
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
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.

Why
Make Sessions a more useful place to direct Codex work: prepare a follow-up for later or after quota recovery, steer or queue work during an active turn, and retain enough prompt/reply context to understand what is happening. Scheduling is explicit and structured, without natural-language parsing or a durable background service.
This describes the final changes relative to
main, not the sequence of intermediate implementations.1. Scheduled follow-ups — terminal and writable web
2. Active-turn controls and a unified follow-up queue — terminal
3. Clearer live context and retained drafts
4. Responsive, consistent terminal forms
5. Reliability, performance and dependency maintenance
source-map-jsdependency from 1.2.1 to 1.2.2.Scope and limitations
Verification
go test ./internal/ui ./internal/i18n -count=1,go vet ./internal/ui ./internal/i18n, andgit diff --check.