Repository navigation
feat(tui): odek v2.34.0 episode promotion contract - #153
Merged
Merged
Conversation
POST /api/memory/episodes/promote now requires summary_sha256 and returns the promoted summary and taint sources. Bodek sends the hash, decodes the 200 body, and distinguishes 409 (stored text changed — reload and re-review) from other failures via a typed error. Promotion is the security-relevant direction, so p arms a y confirm gate naming the taint sources, summary length and hash prefix; hash-less rows (unreadable episode text) cannot promote. Adds the x → y discard flow and a detail view showing the full summary, sources and hash. Requires odek v2.34.0 or later.
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
bodek | 0dc1525 | Commit Preview URL Branch Preview URL |
Oct 10 2026, 07:53 AM |
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.
Adapts the memory tab to the v2.34.0 promote contract (odek#314):
PromoteEpisode(sessionID, summarySHA256)sends the requiredsummary_sha256, decodes the 200 body ({session_id, summary, sources}), and returns a typed*PromoteErrorso 409 (text changed since listing) is distinguishable from other failuresGET /api/memorypending episodes now carry full summary, hash, turns, created_at, and provenance sourcesparms ayconfirm gate naming taint sources, summary length and hash prefix; hash-less rows cannot promotex→ydiscard flow (POST /api/memory/episodes/discard)Requires odek v2.34.0+. Tests written RED-first (client + TUI); race/vet/lint clean.