Skip to content

Add source profiles, bounded fallback reads, and an optional Claude pilot - #21

Open
TheBeems wants to merge 4 commits into
codex/sprint-3-history-planningfrom
codex/sprint-4-provider-pilot
Open

Add source profiles, bounded fallback reads, and an optional Claude pilot#21
TheBeems wants to merge 4 commits into
codex/sprint-3-history-planningfrom
codex/sprint-4-provider-pilot

Conversation

@TheBeems

@TheBeems TheBeems commented Sep 9, 2026

Copy link
Copy Markdown
Owner

Codex sources currently require manual path editing, local quota fallback rereads session content, and the dashboard has no independent Claude view. This adds named source presets, bounded incremental fallback reads, text views, and an opt-in Claude pilot.

  • Save and select up to eight local or Windows-accessible WSL source profiles. Invalid paths fail closed; changing a source discards old in-flight results. Credentials and Codex configuration are not copied or changed.
  • Read documented Claude statusline quota fields from an explicit local file, with independent refresh and its own Dock band. Missing, stale, future, and expired windows stay unavailable. Claude percentages are never combined with Codex.
  • Supply a companion capture script with byte-preserving formatter pass-through, optional standalone output, bounded parsing, and atomic aggregate-only snapshots. Setup is manual; the script is not bundled into the MSIX.
  • Cache session read positions with an 8 MiB content budget, 512 tracked files, bounded partial lines, and incomplete-scan reporting. Metadata enumeration still scales with the session inventory.
  • Offer quota/reset/observation/token tables without chart or color dependence, and serialize source-sensitive presentation updates.

Validation: all 360 native ARM64 tests pass. x64 and ARM64 Debug app builds pass with zero warnings; existing test-name analyzer warnings are unchanged. Fixtures cover parser boundaries, capture-script execution, profile persistence, provider independence, source changes, and incremental reads. The final pushed head e07db18 also passed all 360 x64 tests, both architecture builds with zero warnings, and Store-package validation in GitHub Actions run 34388928804.

Both integration preflights pass manifest, COM identity, assets, output freshness, and self-contained-runtime checks. Live verification remains open: the registered ARM64 Store package and running process do not point at these Debug builds, and the x64 architecture differs. No installation, registration, real reset redemption, or Claude configuration change was performed.

Stacked on #20. Merge #18, #19, #20, then this PR, retargeting dependent PRs to main as their bases merge. Version, package identity, and release workflows remain unchanged.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 9, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-09T18:30:46.317695Z 9b507f6 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 9b507f6765

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread CHANGELOG.md Outdated
Comment thread CodexUsageDock/CachedCodexSessionReader.cs
Comment thread CodexUsageDock/CodexUsageService.Claude.cs Outdated
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