[WIP] Add read-only Codex CLI history support#150
Draft
Copilot wants to merge 3 commits into
Draft
Conversation
9 tasks
Without changing slice-A scope, fix the issues raised in the PR review: history_loader.rs (Copilot review): * Use SystemTime::UNIX_EPOCH.checked_add(...) so malformed / far-future timestamps fail closed (return None) instead of panicking on overflow. * Range-check timezone offsets HH (0-23) / MM (0-59) so strings like '...+99:99' are rejected instead of silently skewing the timestamp. * Update parse_iso_to_system_time docstring to match behavior (it also supports the +/-HH:MM offset variant, not only Z). agent_hooks_installer.rs (Copilot review): * parse_codex_marketplace_list: trim both ends of each line so the first whitespace-delimited column parses correctly when 'codex plugin marketplace list' emits column-aligned rows with leading spaces. * parse_codex_plugin_list: match the documented behavior by checking for an 'installed*' status prefix instead of just '!= "not"', so statuses like 'available' don't get misreported as installed. * Drop the stale 'Codex placeholders' section header — the functions below are real implementations. Resources.resw: add AIAgents_HooksRemovingCodexSummary to every locale that already had the Copilot/Claude/Gemini variants (16 .resw files total), so Codex doesn't silently fall back to en-US for translators. wt-agent-hooks/codex/.../send-event.ps1: update the bundle header and the CliSource-identification comment to refer to Codex instead of Claude/Copilot — the bundle is Codex-specific. Check-spelling fixes (rewording / renaming, no dictionary changes): * parse_iso_to_systemtime -> parse_iso_to_system_time (snake_case matches the SystemTime type). * parse_iso_accepts_feb_29_leap_year -> parse_iso_accepts_february_29_leap_year. * codex-fanin-test -> codex-fan-in-test (session_registry.rs test key). * superpowers slice-B docs: replace author handle in worktree paths with <user> placeholder; reword "stat'ing" to "running stat on". No behavior change beyond the targeted bug fixes Copilot called out; no new features, no signature changes, no test additions. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.
Thanks for the feedback on #98. I've created this new PR, which merges into #98, to address your comment. I will work on the changes and keep this PR's description up to date as I make progress.
Original PR: #98
Triggering comment (#98 (comment)):