Drop the icon sample row; give tool panes a working PATH and a reason to stay open; answer the open questions
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
---
|
||||
type: session
|
||||
id: session.paperclip-harness.paperclip-harness-tui-repair-session-border-overflow-review-
|
||||
title: paperclip-harness TUI repair session: border overflow, review tab, tool panes
|
||||
status: active
|
||||
source_of_truth: false
|
||||
freshness: current
|
||||
last_reviewed: 2026-11-10
|
||||
tags:
|
||||
- pack/paperclip-harness
|
||||
- agent-memory/session
|
||||
- paperclip-harness
|
||||
- session
|
||||
- tui
|
||||
- repair
|
||||
---
|
||||
|
||||
# paperclip-harness TUI repair session: border overflow, review tab, tool panes
|
||||
|
||||
Sanitized snapshot of a paperclip-harness TUI work session.
|
||||
|
||||
Repos/paths: /home/sam/paseo/projects/paperclip-harness (bin/harness, docs/WORKSPACES.md, bin/review). Sandbox folder used: /tmp/pc-sandbox-2026-11-10. Screenshots in /tmp/mockups/.
|
||||
|
||||
Issues and root causes:
|
||||
- Pane border overflow: a pane created at 177 cols was re-tiled by TUIOS to 88 but never received the resize, so it kept drawing 177-wide lines; top border scrolled off. Root cause was stale size, not drawing code. Fix: all panes re-query terminal size on every refresh; all 7 borders re-verified.
|
||||
- Work pane not following Board: workModel.load() resolved watchedTask and then set it as an explicit choice, pinning the pane. Fix: distinguish `explicit` (task named on CLI) from resolved watched task, so non-explicit follows the board file again.
|
||||
|
||||
Features added:
|
||||
- Work>review tab showing verdicts as comments; verified showing a real merge-refusal verdict on AUD-165 (cleanup.sh $HOME guard critical bug).
|
||||
- Tool chooser (`t`) for shell/Lazygit/Hunk/Yazi/Neovim/fzf/ocr, opens in same workspace, closes with tool's own quit key; esc closes chooser.
|
||||
|
||||
Final state: 8 workspaces, 23 panels, matching docs/WORKSPACES.md; tool panes in 2/8 workspaces; commit 4a23f05. Review command convention: `bin/review <ID> --post` writes verdicts as comments.
|
||||
|
||||
## Evidence
|
||||
|
||||
- Confidence: 85%
|
||||
- Reason: Rich sanitized discovery snapshot tying together root causes, fixes, and final state.
|
||||
|
||||
## Related
|
||||
|
||||
- [[packs/paperclip-harness/00-system/pi-agent/memory-manifest|Memory Manifest]]
|
||||
|
||||
## Related learned memories <!-- same-turn-2026-11-10 07:06:26 -->
|
||||
|
||||
- context: [[packs/paperclip-harness/20-context/tmp|paperclip-harness TUI workspace layout]]
|
||||
- action: [[packs/paperclip-harness/40-actions/2026-11-10-wrote-docs-ui-layout-md-and-three-live-layout-mockups|paperclip-harness: Work review tab, tool panes, size/latch fixes (commit 4a23f05)]]
|
||||
- session: [[packs/paperclip-harness/80-sessions/paperclip-harness-tui-repair-session-border-overflow-review-|paperclip-harness TUI repair session: border overflow, review tab, tool panes]]
|
||||
- session: [[packs/paperclip-harness/80-sessions/rich-discovery-using-workspace-pane-from-here-on-2026-11-10-|Rich discovery: using-workspace-pane-from-here-on 2026-11-10 07:06:26]]
|
||||
- observation: [[packs/paperclip-harness/60-observations/tmp-repository-structure-and-configuration-patterns|using-workspace-pane-from-here-on repository structure and configuration patterns]]
|
||||
@@ -0,0 +1,88 @@
|
||||
---
|
||||
type: session
|
||||
id: session.paperclip-harness.rich-discovery-using-workspace-pane-from-here-on-2026-11-10-
|
||||
title: Rich discovery: using-workspace-pane-from-here-on 2026-11-10 07:06:26
|
||||
status: active
|
||||
source_of_truth: false
|
||||
freshness: current
|
||||
last_reviewed: 2026-11-10
|
||||
tags:
|
||||
- pack/paperclip-harness
|
||||
- agent-memory/session
|
||||
- autolearn
|
||||
- rich-discovery
|
||||
- repo/using-workspace-pane-from-here-on
|
||||
---
|
||||
|
||||
# Rich discovery: using-workspace-pane-from-here-on 2026-11-10 07:06:26
|
||||
|
||||
Sanitized rich discovery snapshot captured automatically from the completed turn.
|
||||
|
||||
|
||||
## Source paths observed
|
||||
|
||||
- `dev/pts/97`
|
||||
- `home/sam/paseo/projects/paperclip-harness/bin/harness`
|
||||
|
||||
## Final answer snapshot
|
||||
|
||||
Using Workspace>pane from here on.
|
||||
|
||||
## Repair>repair border
|
||||
|
||||
The cause was a stale size, not the drawing. That pane had been created when the layout gave it 177 columns; TUIOS later re-tiled it to 88 and the program never heard about it, so it kept drawing 177-wide lines into an 88-wide pane — the top border scrolled away and every row overflowed.
|
||||
|
||||
Fixed properly: **every pane now re-asks the terminal for its size on each refresh**, instead of trusting the one message it got at startup. All seven borders were checked afterwards:
|
||||
|
||||
```
|
||||
Board>board ╭─ tasks ────────────────·focus· ╮ ╭─ th...
|
||||
Work>work ╭─ the work runs change facts ────
|
||||
Agents>agents ╭─ agents · 6 agent(s), 0 run(s) roste
|
||||
Reply>reply ╭─ the task ────────────────────────────
|
||||
New task>new ╭─ new task form guidance preview
|
||||
Project>project ╭─ the project facts costs setting
|
||||
Repair>repair ╭─ checks health layout rebuild lo
|
||||
```
|
||||
|
||||
## The final two items
|
||||
|
||||
**Work>review** — fourth tab beside runs, change and facts. It shows the verdicts recorded on the chosen task, because our reviews and merges are written as comments, so the record lives with the work. On `AUD-165` it shows the real refusal:
|
||||
|
||||
```
|
||||
## Merge refused: the review found 1 blocking item(s)
|
||||
`cleanup.sh:2` critical/bug — If $HOME is unset or empty, "$HOME/tmp" expands to /tmp,
|
||||
so this would recursively delete the system temp directory…
|
||||
```
|
||||
|
||||
When there is no verdict it says so and names the command that would produce one.
|
||||
|
||||
**Tool panes** — `t` in `Board>board` or `Work>work` opens a chooser: shell, Lazygit, Hunk, Yazi, Neovim, fzf, ocr. The tool opens as a pane beside the one you are in, in the same workspace, and its own quit key closes it. Tested end to end: Lazygit opened in `Work` (workspace 3, next to `Work>work`) and closed with `q`, leaving the eight workspaces exactly as they were. The chooser closes with `esc`.
|
||||
|
||||
## One more bug found on the way
|
||||
|
||||
`Work>work` was pinned to whatever task it resolved at startup, so changing the task on `Board>board` no longer moved it. The program was resolving the watched task itself and then treating the result as an explicit choice. It now follows the board again within a second — verified by switching to `AUD-165` and watching the header change.
|
||||
|
||||
## Where the list stands
|
||||
|
||||
- 8 workspaces, 23 panels, **nothing missing** from `docs/WORKSPACES.md`.
|
||||
- Tool panes wired in 2 of the 8 workspaces; the other six can gain `t` whenever you want it.
|
||||
- Committed as `4a23f05`. Screenshots refreshed in `/tmp/mockups/`.
|
||||
|
||||
Ready to discuss modifications whenever you are.
|
||||
|
||||
## Evidence
|
||||
|
||||
- Confidence: 86%
|
||||
- Reason: Preserve full sanitized discovery detail from a rich investigation turn
|
||||
|
||||
## Related
|
||||
|
||||
- [[packs/paperclip-harness/00-system/pi-agent/memory-manifest|Memory Manifest]]
|
||||
|
||||
## Related learned memories <!-- same-turn-2026-11-10 07:06:26 -->
|
||||
|
||||
- context: [[packs/paperclip-harness/20-context/tmp|paperclip-harness TUI workspace layout]]
|
||||
- action: [[packs/paperclip-harness/40-actions/2026-11-10-wrote-docs-ui-layout-md-and-three-live-layout-mockups|paperclip-harness: Work review tab, tool panes, size/latch fixes (commit 4a23f05)]]
|
||||
- session: [[packs/paperclip-harness/80-sessions/paperclip-harness-tui-repair-session-border-overflow-review-|paperclip-harness TUI repair session: border overflow, review tab, tool panes]]
|
||||
- session: [[packs/paperclip-harness/80-sessions/rich-discovery-using-workspace-pane-from-here-on-2026-11-10-|Rich discovery: using-workspace-pane-from-here-on 2026-11-10 07:06:26]]
|
||||
- observation: [[packs/paperclip-harness/60-observations/tmp-repository-structure-and-configuration-patterns|using-workspace-pane-from-here-on repository structure and configuration patterns]]
|
||||
Reference in New Issue
Block a user