Repository navigation
Conversation
There was a problem hiding this comment.
🟡 Changes recommended
Approval is blocked by two active issues: an unsupported flex tier can bypass model catalogue validation, and passing a Map to the SPA router causes all navigation to fall through to the missing route.
2 open issues
What changed in this PR
This pull request brings common slash-command workflows closer to native Codex CLI behavior across terminal and browser interfaces while preserving confirmation, account-scoping, and read-only safeguards.
Changes:
- Adds native-style
/permissions,/plan,/model,/usage, and/resumeworkflows. - Adds exact saved-session UUID lookup, inline model options, Plan-mode prompt submission, usage period navigation, and permission confirmation metadata.
- Updates documentation, security wording, generated frontend assets, and comprehensive Go and browser tests.
| File | Description |
|---|---|
| web/tests/browser.spec.ts | Adds browser coverage for permissions, usage navigation, and reset safety. |
| web/src/Usage.svelte | Adds route-driven usage modes and weekly aggregation. |
| web/src/state.svelte.ts | Adds reusable resume-picker search state. |
| web/src/SessionNew.svelte | Supports /resume arguments when starting sessions. |
| web/src/SessionCommands.svelte | Adds browser handling for inline commands and confirmation metadata. |
| web/src/SavedSessions.svelte | Supports name-prefilled and exact UUID resume lookup. |
| web/src/contracts.generated.ts | Extends command-choice metadata and usage help. |
| web/src/App.svelte | Adds usage subroutes and updates route matching. |
| SECURITY.md | Documents Full Access as always confirmation-protected. |
| README.md | Updates slash-command and confirmation-policy documentation. |
| main.go | Updates confirmation-policy help text. |
| internal/web/dist/index.html | References the rebuilt frontend bundle. |
| internal/web/control_commands.go | Reports whether goal pause cancelled a scheduled resume. |
| internal/ui/session_start.go | Accepts inline /resume arguments in the terminal. |
| internal/ui/session_finder.go | Adds filtered and exact-ID resume-picker behavior. |
| internal/ui/session_finder_test.go | Tests inline resume name and UUID handling. |
| internal/ui/monitor_suggestions.go | Recognizes inline Plan, usage, resume, model, and goal commands. |
| internal/ui/monitor_local_commands.go | Adds terminal usage navigation and resume filtering. |
| internal/ui/monitor_local_commands_test.go | Tests usage shortcuts and guarded reset navigation. |
| internal/ui/monitor_commands.go | Adds confirmation classification and Plan and goal command routing. |
| internal/ui/monitor_commands_test.go | Tests goal-pause cancellation and permission no-op behavior. |
| internal/ui/monitor_commands_inline.go | Adds inline model, Plan, and usage command handling. |
| internal/ui/monitor_commands_inline_test.go | Updates inline local-command coverage. |
| internal/ui/monitor_auto_review_test.go | Verifies Full Access confirmation requirements. |
| internal/schedule/goal_resume.go | Returns whether a scheduled goal resume was actually disarmed. |
| internal/codex/session_plan_unix.go | Implements native Plan-mode activation and prompt submission. |
| internal/codex/session_plan_unix_test.go | Tests atomic Plan-mode prompt submission. |
| internal/codex/session_permissions_menu_unix.go | Classifies safe narrowing permission changes. |
| internal/codex/session_model_command_unix.go | Parses and validates inline model arguments. |
| internal/codex/session_model_command_unix_test.go | Tests inline reasoning and speed options. |
| internal/codex/session_links_unix.go | Reuses exact account-scoped saved-session lookup. |
| internal/codex/session_goal.go | Adds Plan and goal-pause command path parsing. |
| internal/codex/session_goal_commands_unix.go | Supports the explicit goal-pause activation path. |
| internal/codex/session_finder.go | Recognizes complete UUIDs for exact saved-session searches. |
| internal/codex/session_finder_unix.go | Uses account-verified exact lookup during resume. |
| internal/codex/session_finder_unix_test.go | Tests account-scoped exact UUID lookup. |
| internal/codex/session_finder_index_unix.go | Adds exact-ID saved-session search handling. |
| internal/codex/session_commands.go | Extends command paths, metadata, and success messages. |
| internal/codex/session_commands_unix.go | Routes Plan and model commands and applies confirmation classification. |
| internal/codex/session_auto_review_unix_test.go | Tests native permission presets and narrowing rules. |
| docs/slash-command-support.md | Updates supported slash-command documentation. |
Review effort: Lite
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
Match the native Codex CLI workflows for commonly used commands without removing Codexometer’s existing safeguards.
Changes
Validation
This PR contains only the five slash-command commits, based on main after #123.