Repository navigation
Conversation
All @earendil-works packages from 1.6.1 to 1.8.0 (pi 1.7.0 and 1.8.0). pi-durable 1.8.0 stores indexed strings (task kinds, submission request IDs, document kinds and keys) as plain text instead of JSON string literals, and migrates bot.sqlite to its schema version 3 when it opens it: a test's query of the child-end wake's request ID drops the quotes. Pots' own queries of pi's tables read none of these columns. The migration is one way: an earlier Pots refuses a bot.sqlite of version 3. pi-durable's bash on Windows hands the command to Git Bash in an environment variable (pi's getShellConfig commandTransport "env"), so long commands no longer run only in part; Pots runs its bash through pi-durable's NodeExecutionEnv and `pots admin` already passes its words in variables. Pots does not use SessionManager, openrouter-images or a FileSystem of its own. The pi modules Pots loads by path are all still there with the same exports.
Codex Review Summary: ✅ CompletedThis 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. |
pi-durable 1.8.0 moves bot.sqlite to a schema an earlier Pots cannot read when it opens it. A bot whose model pi no longer knows, such as opencode/kimi-k2.7-code, failed to start only after that, so going back to the earlier Pots was no way out. The model is now checked first.
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.
All
@earendil-workspackages from 1.6.1 to 1.8.0 (pi 1.7.0 and 1.8.0), for Pots 0.9.0.What changes for Pots
bot.sqliteto its schema version 3 when the gateway opens it. Tried on a copy of a 990 MB bot database: 0.8 s. The migration is one way: Pots 0.8.x refuses abot.sqliteof version 3 ("SQLite schema version 3 is newer than supported version 2"). Pots' own SQL on pi's tables (memory forks) reads none of these columns; one test's query of the child-end wake's request ID drops the quotes.NodeExecutionEnvhands a command to Git Bash in an environment variable (getShellConfig()commandTransport: "env"), so commands over about 8 KB, or made of newline-separated words, no longer run only in part with exit code 0. Pots runs bash throughNodeExecutionEnv;pots adminalready passes its words in variables. Windows CI is the test.@earendil-works/pi-images(WebAssembly), which pi-durable 1.8.0 brings; Pots keeps Photon for images.cross-spawn7.1.2 andminimatch11.0.9 come with pi (security fixes). On Windows, an MCPcommandwith arguments in it ("npx -y foo") now fails, as on Linux; Pots' docs show none.Checked, nothing to change
pi mcp's CLI) are all there with the same exports; no "is off" line in a gateway's output.SessionManager.open(),openrouter-images, aFileSystemof Pots' own (flushDir): Pots uses none.modelsfunctions did not change (the{ aspectRatio, size }of 1.7.0 is pi CLI's codemode), so the prompt, README and skills state nothing that 1.7.0 or 1.8.0 made wrong.@pots/pi-agy): type check and its tests pass against pi 1.8.0, and a gateway of this branch answered throughagy/gemini-4-hydrogenwith Pots' real prompt.