Skip to content

fix: improve Codex, course refresh, and study/planner reliability - #8

Open
Lreddell wants to merge 8 commits into
jerynv:mainfrom
Lreddell:fix/codex-cli-compatibility
Open

Lreddell wants to merge 8 commits into
jerynv:mainfrom
Lreddell:fix/codex-cli-compatibility

Conversation

@Lreddell

@Lreddell Lreddell commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

This fixes Codex startup failures, misleading course-refresh dates, and several bugs exposed by keeping app pages open in tabs.

Codex startup and Windows file access

  • Use version-tolerant feature settings so older CLIs can start instead of rejecting unknown --disable flags. Include the alternate hook and multi-agent feature names.
  • Show the actual startup error when the CLI closes its connection early.
  • Prefer Codex's native MXC sandbox for restricted Windows turns on compatible devices. Read-only folder boundaries and disabled networking remain in place; other platforms and full-access turns keep their existing selection.

Course imports and current data

  • Advance the visible import and grade-check dates after a successful refresh, even when the data is unchanged. Previously, old Markdown dates led the assistant to incorrectly say that a reimport had failed.
  • Keep the previous grade data and date if the grade read fails. A grade-only refresh leaves the content-import date alone.
  • Reuse unchanged attachments without duplicate downloads.
  • Reload the local course records when returning to Grades or Plan, while preserving the tab's UI state. Updated grades, deadlines, and changes to course access now appear without closing and reopening the tab.

Study, planner, and chat behavior

  • Refresh Study's overview and course sources when returning to its tab, so decks and quizzes saved in the meantime appear.
  • Hidden flashcard and quiz tabs no longer respond to keys pressed on another page.
  • Clicking Study again in one space no longer resets a study session in another space.
  • Calendar arrow keys move focus to the selected date, including across months. Changing months keeps a date reachable with Tab and handles shorter months.
  • Render numeric formulas such as $17 + 23 = 40$ instead of mistaking their opening dollar sign for currency. Ordinary prices and inline code remain text.
  • Back, Escape, and the Settings shortcut return to the page that opened Settings. Closing that page uses the normal neighbouring-tab fallback.

Verification

  • No new test cases or test fixtures are included. One existing Codex argument assertion is updated for the revised feature settings.
  • The existing Windows unit suite passed 862 tests with 47 platform/capability skips. All 34 existing UI tests, type checking, the application build, and the Windows installer passed.
  • All six Windows/macOS/Ubuntu jobs on Node 22 and 24 passed on head 3b81e4f, using the project's existing tests.
  • Installed all production fixes and verified the installed application archive matches the packaged build. Removing the added tests changed no production code.
  • Native checks confirmed a Claude reply, file import and grounded reading, a working cited-file viewer, manual flashcard saving/review, and correct math rendering in an existing reply after updating the desktop.
  • Final checks in the installed app confirmed Settings Back returns to its opening chat with other tabs beside it. Study picked up a deck title changed while its tab was hidden, then picked up the restored title when reopened.
  • The real Claude study pipeline generated two cards and a two-question quiz from synthetic notes; submitting its answer key received full credit. The installed desktop also completed a Codex file read and returned the correct codes. Earlier checks confirmed enforced read/write boundaries with Codex 0.169.0; 0.128.0 also starts with the revised arguments.

The local Codex setup also needed a current CLI: 0.128.0 could not parse the current model catalog and fell back to an unavailable model. The app's connection uses a dedicated 0.169.0 installation with its existing CLI-managed sign-in.

@Lreddell
Lreddell marked this pull request as ready for review November 16, 2026 02:34
@Lreddell Lreddell changed the title fix: restore Codex startup and restricted Windows file access fix: Codex compatibility and reliable course refresh timestamps Nov 16, 2026
@Lreddell Lreddell changed the title fix: Codex compatibility and reliable course refresh timestamps fix: improve Codex, course refresh, and study/planner reliability Nov 16, 2026
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