feat: glow-terminal-rendering#79
Merged
Merged
Conversation
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
devloop | 9cbdc63 | Commit Preview URL Branch Preview URL |
Jun 29 2026, 05:40 AM |
Owner
Author
Devloop Review Round 1
Review 1Verdict: REJECT Acceptance matrix
Engineering quality matrix
Review flags
Findings
Missing tests
Fix instructions
Notes
|
Owner
Author
Devloop Review Round 2
Review 2Verdict: ACCEPT Acceptance matrix
Engineering quality matrix
Review flags
FindingsNone. Missing tests
Fix instructionsNone. Notes
|
Owner
Author
Devloop Final Report
Acceptance Matrix SummaryAcceptance matrix
Engineering Quality SummaryEngineering quality matrix
Implementation Summary
Commit References
Tests Run
Residual Risk
|
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.
Glow-rendered specs and reports in the terminal
Problem
Reading the two artifacts devloop produces pulls you out of the terminal into two other tools. The fzf picker preview shows unstyled raw text:
ui_pick_from_fileruns--preview 'sed -n "1,80p" {}'(devloop:1069), so selecting a spec shows flat Markdown, which is why a second tool (Obsidian) stays open just to read specs. Reports are worse: the default report format ishtml(devloop:1451,:1895,:1966), andview_fileopens*.htmlwithopen/xdg-open(devloop:1711-1716), so finishing a run and reading its report yanks you into Chrome. The moment it hurts: picking a spec fromdevloopshows raw markdown in the preview pane, and opening its report launches a browser tab, fragmenting one loop across three surfaces.Outcome
glowrenders Markdown in every fzf preview pane (specs, reports, tracks) and inview_filefor*.mdreports, so reading happens in the terminal. The default report format ismarkdown, making the default reading path terminal-native and removing the browser from the loop.--report-format htmlstill writes and opens an HTML report via the browser, unchanged.devloop doctorchecks forglow. Whenglowis absent every path falls back to today's behavior, so runs never break.Acceptance Criteria
AC1: With
glowonPATH, the fzf preview command for a.mdselection invokesglowwith-w "$FZF_PREVIEW_COLUMNS"against the selected file, notsed.AC2:
view_fileon a.mdargument renders it throughglowin a pager when TUI and a TTY are present andglowexists, and falls back togum pager/$PAGER/catwhenglowis absent.AC3: A run invoked with no
--report-formatwrites.devloop/reports/<slug>.mdand writes no.htmlreport.AC4: A run invoked with
--report-format htmlwrites.devloop/reports/<slug>.html, andview_fileopens it viaopen/xdg-open.AC5: A non-Markdown file passed to the preview or to
view_fileis never piped throughglow(a.htmlopens in the browser; a.loguses the raw fallback).AC6:
devloop doctorprints aglowstatus line and returns non-zero whenglowis not installed.AC7:
bash scripts/devloop_test.shpasses, including the new glow-present, glow-absent, md-vs-non-md, and markdown-default-report assertions.Review Trail
Review rounds and the final report are posted as PR comments below.
Spec: .devloop/specs/2026-06-19-glow-tui-rendering.md
Generated by devloop.sh