Repository navigation
7.188.10: a copy of a session rebuilds its async asks, and answers its original's - #270
Merged
Merged
Conversation
…s original's A copy (the engine's fork: --fork-session, a --bg --resume while another process holds the session, /branch) starts under a new id with its transcript unwritten, so reading that transcript rebuilt no asks. The ask mod now rebuilds a copy's asks from the conversation the engine holds: calls and results from $.session.messages(), and context-delivered answers from the model's form, where alone they appear. On the log side, a copy's answer to a question its original asked goes under the original's writer (the hub counts a question open by the session whose writer asked it), and a copy's export leaves out the records the engine copied into its transcript, which keep their own times: before, its first Stop exported the original's messages and questions again under the copy. Sminos-Session: doperpowers-79#d88ef4c3 (doperpowers on macbook)
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. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
…er's writer (bridge export) Sminos-Session: doperpowers-79#d88ef4c3 (doperpowers on macbook)
… whole; the 4096-message cap logged (review of #270) Sminos-Session: doperpowers-79#d88ef4c3 (doperpowers on macbook)
SSFSKIM
added a commit
that referenced
this pull request
Oct 19, 2026
…tays at 7.189.0 Conflicts only in the version manifests (kept 7.189.0, above main's 7.188.10) and CLAUDE.md's hooks/ row, where both sides edited one line: main's ask-copy sentences and this branch's roster clause are both kept. Sminos-Session: smns-erb-71#b4948247 (doperpowers on macbook)
SSFSKIM
added a commit
that referenced
this pull request
Oct 19, 2026
…p to 7.188.11 Main took 7.188.10 with #270, so this branch moves to the next patch above it. No conflicts. Sminos-Session: smns-erb-71#b4948247 (doperpowers on macbook)
SSFSKIM
added a commit
that referenced
this pull request
Oct 19, 2026
The order probe decides by devcloud's marker version moving during next and keeps its verdict across reloads; M0 (prependPlugins, done on the Macs) and the roll's reload path (the reload mod installs new dependencies; the M3 rehearsal on a local marketplace); the permission-prompt leak as a prerequisite; MAWS's plugin-name readers; devcloud hosts without managed settings, their four values an overlay on the received settings.json; the board files and lib.sh through the resolver; the shim sibling-first and pinned; ASK_TOOL kept as the registered name; the drift against main (#270) and the smaller items. Sminos-Session: smns-erb-71#b4948247 (doperpowers on macbook)
SSFSKIM
added a commit
that referenced
this pull request
Oct 19, 2026
The order probe decides by devcloud's marker version moving during next and keeps its verdict across reloads; M0 (prependPlugins, done on the Macs) and the roll's reload path (the reload mod installs new dependencies; the M3 rehearsal on a local marketplace); the permission-prompt leak as a prerequisite; MAWS's plugin-name readers; devcloud hosts without managed settings, their four values an overlay on the received settings.json; the board files and lib.sh through the resolver; the shim sibling-first and pinned; ASK_TOOL kept as the registered name; the drift against main (#270) and the smaller items. Sminos-Session: smns-erb-71#b4948247 (doperpowers on macbook)
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.
Problem
A copy of a session (
--fork-session, a--bg --resumewhile another process holds the session,/branch) starts under a new id, and its SessionStart source isfork. Itstranscript_pathnames a file that does not exist yet, so the ask mod rebuilt no async asks ($.fs.read ... ENOENT, as the desk diagnosis smns-erb-71#b4948247 observed). On the log side, the copy recorded its answers under its own session id, so the hub kept the original's question counted as open. Its first Stop also exported the whole copied conversation again under the copy.Change
$.session.messages().{ as: 'api' }).append_hostwrites an answer to a question another session of this machine asked under that session's writer, with the same src (the call id). The hub's(session, ask)count then clears, and the original's own later export of the same answer is dropped by the(kind, src)dedupe.since, so the copied records, which keep their own timestamps, are not exported again.Tests
tests/mods/ask.test.ts: a fork rebuild covering both answer routes, a quoted delivery that is not an answer, and a failingmessages().tests/sminos/run-sminos-tests.sh: a copy whose transcript holds the copied conversation. It exports none of the copy, its answer goes under the asker's writer, and the original's later answer appends nothing.Sminos-Session: doperpowers-79#d88ef4c3 (doperpowers on macbook)