## Thinking Path
> - Paperclip is the open source app people use to manage AI agents for
work.
> - The task detail view renders two monitor surfaces
(`IssueMonitorBanner` and `IssueMonitorComposerStrip`) when a task waits
for a scheduled monitor check or scheduled retry.
> - The composer monitor strip displayed a default helper line ("Sending
a reply wakes the agent now — before the scheduled check.") below the
header row.
> - That helper line added unnecessary copy and pushed the `Check now`
button upward, leaving it off-center inside the card, while
`IssueMonitorBanner` inherited top alignment (`sm:items-start`) from
`InlineBanner`.
> - This pull request removes the default reply-wake copy, computes the
remaining specialized hints in `buildMonitorSurfaceCopy`, places them
inside the left column of the flex row, and vertically centers the
`Check now` button on both monitor surfaces.
> - The benefit is a cleaner monitor card with a vertically centered
primary action across all waiting states.
## Linked Issues or Issue Description
**What existing behavior does this improve?**
The task detail monitor card above the reply composer
(`IssueMonitorComposerStrip`) and the pinned monitor banner
(`IssueMonitorBanner`) in `ui/src/components/IssueMonitorBanner.tsx`.
**Subsystem affected**
ui/ — React + Vite board UI
**Current behavior**
For scheduled monitors and ordinary scheduled retries,
`IssueMonitorComposerStrip` renders `"Sending a reply wakes the agent
now — before the scheduled check."` below the flex row that holds the
`Check now` button. That footer paragraph makes the `Check now` button
sit near the top of the card instead of the vertical center.
`IssueMonitorBanner` also inherits `sm:items-start` from `InlineBanner`,
which top-aligns `Check now`.
**Proposed behavior**
Remove the default `"Sending a reply wakes the agent now — before the
scheduled check."` text completely. Move the remaining specialized hints
(pull request review, workspace wait, active run wait, and AI connection
pool wait) into `buildMonitorSurfaceCopy` (`stripHint`) and render them
inside the left content column so `sm:items-center` vertically centers
`Check now` against the full card content. Override `sm:items-center` on
`IssueMonitorBanner` so `Check now` is also vertically centered in the
pinned banner.
**Reason and benefit**
Operators do not need the generic reply-wake reminder on every scheduled
monitor, and removing it eliminates unnecessary text clutter. Keeping
`Check now` vertically centered improves visual balance on both the
composer strip and the pinned banner.
**Breaking changes**
None. Existing specialized wait hints and button actions remain
unchanged.
## What Changed
- Removed the default `"Sending a reply wakes the agent now — before the
scheduled check."` copy from `IssueMonitorComposerStrip` in
`ui/src/components/IssueMonitorBanner.tsx`.
- Added `stripHint?: string` to `MonitorSurfaceCopy`, computed
state-specific strip hints directly in `buildMonitorSurfaceCopy`,
removed the now-unused write-only flags (`automaticChecksPaused`,
`executionWait`, `usageWait`), and rendered `copy.stripHint` inside the
left column of the `sm:flex-row sm:items-center sm:justify-between` row
so `Check now` / `Check status` stays vertically centered whether a
specialized hint is shown or omitted.
- Replaced per-element `mt-1.5` margin with `flex flex-col gap-1.5`
spacing on `IssueMonitorComposerStrip`.
- Added `sm:items-center` to `IssueMonitorBanner` so `InlineBanner`
vertically centers `Check now` instead of top-aligning it.
- Switched `ui/src/components/IssueMonitorBanner.test.tsx` to `jsdom`
DOM rendering and asserted the structural ancestor relationship:
specialized hint `<p>` nodes (usage wait and PR review requested) live
inside the left column whose parent is the same `sm:flex-row
sm:items-center` row as `Check now` / `Check status`, active-run monitor
states render their relocated `stripHint` copy, default scheduled
monitors and ordinary retries omit the reply-wake copy and render no
`<p>` hint, and `IssueMonitorBanner` overrides `sm:items-start` with
`sm:items-center`.
## Verification
- Ran `pnpm vitest run ui/src/components/IssueMonitorBanner.test.tsx
ui/src/lib/issue-monitor.test.tsx` on the exact tree committed in
`a4f8a78401`: 2 files, 29 tests passed (4 in
`IssueMonitorBanner.test.tsx`, 25 in `issue-monitor.test.tsx`).
- Ran `pnpm --filter @paperclipai/ui typecheck`: exited 0.
- Ran `pnpm check:tokens`: no forbidden tokens found.
- Confirmed all CI gates (including all 16 e2e shards, `ci / verify`,
`ci / Typecheck + Release Registry`, `ci / Build`, `ci / policy`) passed
on `ce42421728`; waiting for fresh CI and reviews on `a4f8a78401`.
## Risks
- Low risk. The change is scoped to layout alignment,
`buildMonitorSurfaceCopy` hint mapping, and unit tests in
`ui/src/components/IssueMonitorBanner.tsx` and
`ui/src/components/IssueMonitorBanner.test.tsx`, with no API, schema, or
behavioral changes to monitor scheduling or wakeup logic.
## Model Used
- Google Gemini (Antigravity coding agent with tool use and code
execution)
## Checklist
- [x] I have included a thinking path that traces from project context
to this change
- [x] I have specified the model used (with version and capability
details)
- [x] I have checked ROADMAP.md and confirmed this PR does not duplicate
planned core work
- [x] I have searched GitHub for duplicate or related PRs and linked
them above
- [x] I have either (a) linked existing issues with `Fixes: #` / `Closes
#` / `Refs #` OR (b) described the issue in-PR following the relevant
issue template
- [x] I have not referenced internal/instance-local Paperclip issues or
links (only public GitHub `#NNN` / `github.com/paperclipai/paperclip`
URLs)
- [x] My branch name describes the change (e.g. `docs/...`, `fix/...`)
and contains no internal Paperclip ticket id or instance-derived details
- [x] I have run tests locally and they pass
- [x] I have added or updated tests where applicable
- [x] I have updated relevant documentation to reflect my changes
- [x] I have considered and documented any risks above
- [ ] All Paperclip CI gates are green
- [ ] Greptile is 5/5 with no open P2s, recommendations, or follow-ups
- [x] I will address all Greptile and reviewer comments before
requesting merge
---------
Co-authored-by: Paperclip <noreply@paperclip.ing>
@paperclipai/ui
Published static assets for the Paperclip board UI.
What gets published
The npm package contains the production build under dist/. It does not ship the UI source tree or workspace-only dependencies.
Storybook
Storybook config, stories, and fixtures live under ui/storybook/.
pnpm --filter @paperclipai/ui storybook
pnpm --filter @paperclipai/ui build-storybook
Typical use
Install the package, then serve or copy the built files from node_modules/@paperclipai/ui/dist.
Editor dependency identity
Keep the root and workspace overrides for @codemirror/state,
@codemirror/view, and @lezer/common aligned. CodeMirror requires shared
extension identity, while Lezer parsers and syntax highlighters require shared
NodeProp IDs. Multiple Lezer copies can crash code-block highlighting with
tags is not iterable. src/lib/codemirror-single-instance.test.ts checks the
installed dependency graph and highlights sample code through the editor's real
language dependencies. GitHub Actions owns regeneration of pnpm-lock.yaml.