Repository navigation
Fix/typeahead paste guard - #111
Open
quantum-osiris wants to merge 2 commits into
Open
quantum-osiris wants to merge 2 commits into
quantum-osiris wants to merge 2 commits into
Conversation
…trained on
2026-12-05: a PowerShell transcript was pasted while OSIRIS was
answering. No bracketed-paste markers arrived, so Osiris._hold split it into
one "typed" held message per line; each was sent to the mentor and 28 were
trained into the core ("the core trains on this exchange"), including
llama3.2:3b replies; the core's reported step went from 72 to 153. This contradicts
L0 (pasted text is never promoted to training without /learn confirm).
- living.Held gains `transport`: "bracketed_paste" (pasted=True), "typed",
or "unknown". Unknown transport is not a paste claim; it is "not known".
- Osiris._hold: two or more finished lines in one reply's capture, with no
paste markers, are held with transport "unknown" and a visible note. One
finished line stays "typed". The held list itself is unchanged, so typed-
ahead commands still run.
- osiris_repl.dispatch_held carries the held message's transport through
the command router (which strips a Held to a plain str) for that one
dispatch; _resolve_input_transport reads it before the console's
last-input flag, which the REPL loop always sets to "typed" here.
converse() already treats "unknown" as not learnable.
- The REPL labels such lines "arrived unmarked with other lines".
Not addressed: each line is still its own turn (one model call per line),
and a held unmarked line starting with "/" or "!" still reaches the command
router, as before.
Tests: tests/test_console_paste.py (3 new). Removing either half of the fix
makes one of them fail.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FYXiwQpjjWVfi7MNQgjVHJ
? where is copilot
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
quantum-osiris
enabled auto-merge
December 5, 2026 22:31
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.
No description provided.