Skip to content

Refinement runs keep their hands off the next prompt on pi 1.4.0 - #94

Merged
misabegovic merged 4 commits into
mainfrom
pi-1-4-0
Oct 22, 2026
Merged

misabegovic merged 4 commits into
mainfrom
pi-1-4-0

Conversation

@misabegovic

Copy link
Copy Markdown
Owner

pi-brain, a pi extension that keeps a project's knowledge in a wiki, should run on pi 1.4.0 without its background clean-up pass stealing notes meant for the person typing.

Since pi 1.2.0, pi calls the extension's before-prompt hook for messages the extension sends itself, not only for the person's prompts. So pi-brain's clean-up pass received the session briefing and the reminder of unfinished work, and the person's next prompt never saw them. The hook now skips the extension's own messages, and older pi versions behave as before.

The pi packages move from 0.83 to 1.4.0, with the full check passing.

@misabegovic
misabegovic marked this pull request as ready for review October 22, 2026 11:59
@misabegovic
misabegovic merged commit 7123b05 into main Oct 22, 2026
3 checks passed
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