feat(cleanup): Phase A — hypothesis cleanup, Studies removal, discovery labels, action result log, loop failure detail#29
Draft
tbitcs wants to merge 1 commit into
Draft
Conversation
…ry labels, action result log, loop failure detail - Delete 6 noise hypotheses via backend/scripts/cleanup_hypotheses.py - Remove Studies tile from dashboard counters grid - Update discovery select label to 'Insight window:', add latest feed subtitle - Add persistent ActionResultLog (localStorage, max 50, collapsible) - Add error SSE event in research loop with failure detail panel - Show cycles_completed, last_experiment, elapsed time on loop failure - Timeout-specific messaging when stall_reason === 'timeout' Co-Authored-By: Oz <oz-agent@warp.dev>
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.
Phase A — Cleanup and User-Visible Fixes
Changes
Delete 6 noise hypotheses — Script at
backend/scripts/cleanup_hypotheses.pyremoves LLM-generated meta-action entries (Plan chain, Create Hypothesis Chain, etc.) fromglossa.db. Script was run successfully against the main DB (6 rows deleted, 8 remaining).Remove Studies tile —
CounterTile label="Studies"removed from dashboard counters grid.n_studiesis still fetched from the API but not displayed.Fix discovery recency wording —
<select>now has a<label htmlFor>reading "Insight window:". Latest feed section shows subtitle with latest fetch date, total items, and unreviewed count. Description paragraph updated to say "Research feed window".Persistent action result log — New
glossa_action_results_v1localStorage store (max 50, FIFO).ActionResultLogcollapsible component shows last 10 results with time, label, outcome chip, and error detail. Only renders when there are stored results.Research loop failure details — Backend
event_stream()now emitstype: errorSSE events withreason,cycles_completed,last_experiment,elapsed_seconds. Frontend displays detailed failure panel with timeout-specific messaging.Build
npx tsc -b: ✅ pass (0 errors)npx vite build: ✅ passConversation: https://app.warp.dev/conversation/5be0517f-0dfe-4386-9ff6-039ae34bc161
Run: https://oz.warp.dev/runs/019e84ec-7a74-746d-9167-3c112b4b4e16
This PR was generated with Oz.