Cleanup confirms and refreshes; projects switch sessions in place; explain verify.sh, headroom and Mouse-1

This commit is contained in:
Sam
2026-11-11 15:57:42 +11:00
parent 36abdc1f84
commit e02b39943d
13 changed files with 662 additions and 7 deletions

View File

@@ -0,0 +1,55 @@
---
type: session
id: session.paperclip-harness.paperclip-harness-cleanup-column-navigation-fix-cost-bars-of
title: paperclip-harness: cleanup-column navigation fix, cost bars, office scaffold, per-agent memory line
status: active
source_of_truth: false
freshness: current
last_reviewed: 2026-11-11
tags:
- pack/paperclip-harness
- agent-memory/session
- paperclip-harness
- cleanup
- costs
- office-scaffold
- agent-memory
- session
---
# paperclip-harness: cleanup-column navigation fix, cost bars, office scaffold, per-agent memory line
Session snapshot for the paperclip-harness project (git commit 36abdc1, message: 'Cleanup list navigates; spend bars; office writes the missing scaffold; memory read-out per agent').
Completed in this turn:
1. Cleanup-column navigation bug fixed: ↑/↓ previously scrolled the body instead of moving selection. Now they move through the list; selected row shows '▸', ticked row shows '*'. Space ticks a row; x closes ticked sessions after confirmation. Protected or attached sessions are refused with an explanatory line.
2. Project>costs now renders per-task spend as horizontal bars scaled to the largest spender, using already-loaded figures (no extra API calls).
3. bin/office scaffold now writes missing files only, never overwriting: .harness/verify.sh (with comment on how to replace it and consequences of not doing so) and .harness/NOTES.md for the human owner. Adopted folders therefore always have a place to define what 'finished' means.
4. Agents>settings now shows a read-only line at the end derived from the agent's command plus global Pi settings, e.g. 'extensions: the global set · memory: pi-memctx'.
Rebuilt and running: eight workspaces (Reply, New task, Project, Repair, plus existing) on window ids including project 7404ce0b, agents a53f999b, repair 4f1230ff.
Honest remaining items:
- MOUSE-1: key present but software not installed; policy from old project is triage-only, never a gate.
- Switching projects: list exists, but actual switching requires tearing down current panes and building another project's; a project on .27 cannot be opened from .13 — design decision pending for user.
- Memory switches (engram vs headroom choice per agent): awaiting user's definition of what the switch should mean, especially for short-lived (~90s) agents.
All other items in docs/NEXT.md marked done.
## Evidence
- Confidence: 90%
- Reason: Rich sanitized discovery/implementation snapshot with concrete artifacts, commit, and open decisions.
## Related
- [[packs/paperclip-harness/00-system/pi-agent/memory-manifest|Memory Manifest]]
## Related learned memories <!-- same-turn-2026-11-11 04:06:03 -->
- observation: [[packs/paperclip-harness/60-observations/paperclip-harness-cleanup-navigation-and-ui-conventions|paperclip-harness cleanup/navigation and UI conventions]]
- decision: [[packs/paperclip-harness/50-decisions/paperclip-harness-ui-six-workspaces-spec-first-four-panel-li|Deferred agent memory switch (engram vs headroom) pending user definition]]
- action: [[packs/paperclip-harness/40-actions/2026-11-10-wrote-docs-ui-layout-md-and-three-live-layout-mockups|Implemented cleanup navigation, cost bars, office scaffold, and per-agent memory read-out (commit 36abdc1)]]
- session: [[packs/paperclip-harness/80-sessions/paperclip-harness-cleanup-column-navigation-fix-cost-bars-of|paperclip-harness: cleanup-column navigation fix, cost bars, office scaffold, per-agent memory line]]
- session: [[packs/paperclip-harness/80-sessions/rich-discovery-omni-2026-11-11-04-06-03|Rich discovery: omni 2026-11-11 04:06:03]]
- context: [[packs/paperclip-harness/20-context/omni|omni]]
- observation: [[packs/paperclip-harness/60-observations/tmp-repository-structure-and-configuration-patterns|omni repository structure and configuration patterns]]

View File

@@ -0,0 +1,90 @@
---
type: session
id: session.paperclip-harness.rich-discovery-omni-2026-11-11-04-06-03
title: Rich discovery: omni 2026-11-11 04:06:03
status: active
source_of_truth: false
freshness: current
last_reviewed: 2026-11-11
tags:
- pack/paperclip-harness
- agent-memory/session
- autolearn
- rich-discovery
- repo/omni
---
# Rich discovery: omni 2026-11-11 04:06:03
Sanitized rich discovery snapshot captured automatically from the completed turn.
## Source paths observed
- `omni/deepseek/deepseek-v4-flash`
## Final answer snapshot
The cleanup column navigates now, and the remaining list is finished except the one item that needs a decision from you.
## Cleanup navigation
The bug was that `↑`/`↓` scrolled the body, never the selection. They now move through the list, the chosen row shows `▸`, and a ticked row shows `*`:
```
session panes last used state
▸ paperclip-harness 10 11 Nov 15:04 this project's session
tuios coding harness 4 11 Nov 15:03 attached, or on another machine
* office-test-1 26 10 Nov 11:24 ticked for closing
```
`space` ticks, `x` closes the ticked ones after asking, and protected or attached sessions are refused with a line saying why.
## The rest of the list
**7. Costs as a chart** — `Project>costs` now draws each task's spend against the largest, using the figures already loaded, so no extra API calls:
```
task state cents runs share of the largest
AUD-163 done 3 3 ████████████████████████
AUD-164 done 2 2 ████████████████
AUD-159 done 1 1 ████████
```
**5. The `office` scaffold** — `bin/office` now writes what is missing, never overwriting: `.harness/verify.sh` (with a comment explaining how to replace it, and what happens if you do not) and `.harness/NOTES.md` for the person. Adopting a folder no longer leaves it without a place to say what "finished" means.
**8. Memory per agent, read-only** — `Agents>settings` ends with a line read from the agent's command and the global Pi settings:
```
memory and extensions
extensions: the global set · memory: pi-memctx
```
It states only what it has read. When you want to decide which agent uses engram or headroom, that line is where the answer will go — but the switch itself needs your input on what "using headroom" should mean for an agent that runs for ninety seconds.
## What is left, honestly
- **MOUSE-1** — key present, software not installed. Policy from the old project stands: triage only, never a gate. It needs the software before it needs a screen.
- **Switching projects** — the list is there; actually switching means tearing down these panes and building another project's, and a project on `.27` cannot be opened from `.13` at all. That is a design decision for you, not a missing key.
- **Memory switches** — awaiting your call on what they control.
Everything else in `docs/NEXT.md` is now marked done. Committed as `36abdc1`; the eight workspaces were rebuilt and are running on the new build.
## 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-11 04:06:03 -->
- observation: [[packs/paperclip-harness/60-observations/paperclip-harness-cleanup-navigation-and-ui-conventions|paperclip-harness cleanup/navigation and UI conventions]]
- decision: [[packs/paperclip-harness/50-decisions/paperclip-harness-ui-six-workspaces-spec-first-four-panel-li|Deferred agent memory switch (engram vs headroom) pending user definition]]
- action: [[packs/paperclip-harness/40-actions/2026-11-10-wrote-docs-ui-layout-md-and-three-live-layout-mockups|Implemented cleanup navigation, cost bars, office scaffold, and per-agent memory read-out (commit 36abdc1)]]
- session: [[packs/paperclip-harness/80-sessions/paperclip-harness-cleanup-column-navigation-fix-cost-bars-of|paperclip-harness: cleanup-column navigation fix, cost bars, office scaffold, per-agent memory line]]
- session: [[packs/paperclip-harness/80-sessions/rich-discovery-omni-2026-11-11-04-06-03|Rich discovery: omni 2026-11-11 04:06:03]]
- context: [[packs/paperclip-harness/20-context/omni|omni]]
- observation: [[packs/paperclip-harness/60-observations/tmp-repository-structure-and-configuration-patterns|omni repository structure and configuration patterns]]