Repository navigation
Open a path from the folder its turn ran in - #98
Conversation
…its turn ran in history_nodes pages carry `workspaces`, each listed turn's folder; the app records them, and the folder an accepted turn reports, and opens a clicked path from the folder of the turn that wrote it. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01L7djWGZLxGzzTF3RkEShDN
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01L7djWGZLxGzzTF3RkEShDN
|
You have reached your Codex usage limits for security reviews. Please try again later. |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 7f79317c87
ℹ️ 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".
history_nodes now reads the folders of a page's turns with one query and lists each folder once with its turns, instead of one point query and one path copy per turn. The app drops a turn's folder when eviction folds the turn out of the window; the page that reloads it brings it back. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01L7djWGZLxGzzTF3RkEShDN
|
You have reached your Codex usage limits for security reviews. Please try again later. |
|
@codex review Generated by Claude Code |
|
You have reached your Codex usage limits for security reviews. Please try again later. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: fdf60a61aa
ℹ️ 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".
history_nodes now requires the `workspaces` field, so the protocol moves to 8 and an app meeting an older running daemon replaces it instead of failing on every history page. A reconnect that rebuilds the cached nodes below its snapshot's head also drops those turns' folders. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01L7djWGZLxGzzTF3RkEShDN
|
@codex review Generated by Claude Code |
|
You have reached your Codex usage limits for security reviews. Please try again later. |
1 similar comment
|
You have reached your Codex usage limits for security reviews. Please try again later. |
|
Codex Review: Didn't find any major issues. Breezy! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
main's one turn view (#95) already moved the protocol to 8, so this branch's required `workspaces` field moves it to 9. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01L7djWGZLxGzzTF3RkEShDN
|
You have reached your Codex usage limits for security reviews. Please try again later. |
Before: clicking a path in a message or a step (
[plan](PLAN.md), a read or write's path) opened it from the agent's folder now. After the agent moved (--workspace), links it wrote earlier opened the wrong file, or none.After: a path opens from the folder of the turn that named it, so a link written before the agent moved still opens what it meant.
How:
history_nodespages now carryworkspaces, the folders the listed turns ran in, each named once with its turns and read in one query, andacceptedalready carries the running turn's. The app records both per transcript, marks each message and step with its turn (data-turn), and resolves a clicked path, and the refresh of an open file after a write, against that turn's folder. A turn's folder is dropped when it folds out of the window and comes back with the page that reloads it, and a reconnect drops the folders of the nodes it rebuilds. The socket protocol moves to 9 (main took 8 for #95), sincehistory_nodesnow requiresworkspaces. A turn the store no longer holds (its rows went with a deleted fork source) uses the agent's folder now. Follow-up to #81, as George chose on 2026-10-09.No screenshots: nothing on screen changes, only which file a click opens. Covered by a store test (two turns in two folders) and app tests (messages, steps, unknown turns, history pages, eviction).
Deferred review findings (cut-and-merge rule) are logged in #97.
cargo test,cargo fmt --check,cargo clippy --all-targets: clean.node --test app/tests/state.test.cjs: 191 of 191.🤖 Generated with Claude Code
Generated by Claude Code