Skip to content

core+app: agent headline for board rows + resizable preview rail#34

Merged
alejandro-nexcade merged 1 commit into
mainfrom
alejandro/board-tweaks
Jul 3, 2026
Merged

core+app: agent headline for board rows + resizable preview rail#34
alejandro-nexcade merged 1 commit into
mainfrom
alejandro/board-tweaks

Conversation

@alejandro-nexcade

Copy link
Copy Markdown
Collaborator

What

Board tweaks from live triage feedback (stacked on #33):

  • Agent headline: the review output contract gains a headline field — one plain sentence (≤80 chars) the pre-review agent writes alongside the intent. Parsed (whitespace-flattened, capped 120), stored as Review.distilled_headline: string | null, cleared when the head moves like the other head-anchored annotations. The table's AGENT'S READ column now shows this single scannable line instead of a mid-sentence two-line paragraph cut; reviews analyzed before the contract change fall back to the intent's first sentence. Full read stays in the rail + Briefing.
  • Resizable preview rail: drag the divider on the rail's left edge (pointer-captured), arrow keys when focused (role="separator" with value semantics), double-click to reset. Width persists, clamped 300–720px.

Prompt goldens regenerated deliberately — the output-contract line gained "headline" (all three review goldens; the diff is exactly the two contract sentences).

Verified

cargo fmt --check · clippy -D warnings · cargo test (569; new headline parse tests) · tsc · vitest 391 (+6: headline fallback matrix, rail clamp/persistence) · vite build ok.

🤖 Generated with Claude Code

@alejandro-nexcade
alejandro-nexcade changed the base branch from alejandro/board-density-live to main July 3, 2026 10:38
The table's agent's-read column showed a mid-sentence 2-line cut of the
intent paragraph — dense, not scannable. The pre-review contract now
asks for a dedicated one-line HEADLINE (<=80 chars) alongside the
intent; parse caps it at 120 and flattens whitespace; ingest stores it
on Review.distilled_headline (cleared with the other head-anchored
annotations). The table renders the headline (or the intent's first
sentence for pre-headline data) on a single line. Goldens regenerated
DELIBERATELY: the review output contract gained the headline field.

The preview rail is now resizable: drag its left divider (or arrow keys
when focused; double-click resets), width persisted and clamped to
300-720px.
@LifeLex
LifeLex force-pushed the alejandro/board-tweaks branch from b291f94 to e83d195 Compare July 3, 2026 10:38
@alejandro-nexcade
alejandro-nexcade merged commit 4a53fb0 into main Jul 3, 2026
2 checks passed
@alejandro-nexcade
alejandro-nexcade deleted the alejandro/board-tweaks branch July 3, 2026 10:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants