Repository navigation
fix(content): move the agent's waiting page while it works - #1523
Conversation
…adings' answers and what the last rewrite came to, and offer a Length it can reach Co-Authored-By: Claude Opus 5.5 <[email protected]>
… for, keep its numbers on the row (00285), and read the floor's sections closer (pre-push review) Co-Authored-By: Claude Opus 5.5 <[email protected]>
…and count the last rewrite only within its Length's band and the same kept text (pre-push review) Co-Authored-By: Claude Opus 5.5 <[email protected]>
… one more pass Co-Authored-By: Claude Opus 5.5 <[email protected]>
…er to rewrite the cited passages too when they hold the Length out of reach Co-Authored-By: Claude Opus 5.5 <[email protected]>
…e back, release an unused hold, keep a cited-too miss as evidence, and offer it only when cited passages hold the Length (pre-push review) Co-Authored-By: Claude Opus 5.5 <[email protected]>
…he agent and Next step move on, and count open rules as the Rules tab does Co-Authored-By: Claude Opus 5.5 <[email protected]>
…es read the page, keep the Length's own words, and wait for the passages before dropping skips (pre-push review) Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ion, not the next step, and say how many placeholders it leaves to fill Co-Authored-By: Claude Opus 5.5 <[email protected]>
…aphs, and read a rewrite's once, not on every key (pre-push review) Co-Authored-By: Claude Opus 5.5 <[email protected]>
…y why a run left nothing, and show a failed last run on the card Co-Authored-By: Claude Opus 5.5 <[email protected]>
… id and kind, not by clocks, and clear a failed last run once another starts (pre-push review) Co-Authored-By: Claude Opus 5.5 <[email protected]>
…e rules before they're accepted, and say which rule met now one would break Co-Authored-By: Claude Opus 5.5 <[email protected]>
…age as it is now, and count a rewrite's Length as its own line reads it (pre-push review) Co-Authored-By: Claude Opus 5.5 <[email protected]>
…wasn't given or drops a name a passage has Co-Authored-By: Claude Opus 5.5 <[email protected]>
…give claims only to sources the page or its input names, and put a rewrite's as a placeholder (pre-push review) Co-Authored-By: Claude Opus 5.5 <[email protected]>
…editor shows them, and hold the rules chip until its count stands Co-Authored-By: Claude Opus 5.5 <[email protected]>
…aracters as the toolbar counts them, and the run's rule count Co-Authored-By: Claude Opus 5.5 <[email protected]>
…for the brief and catalog before the rules' count, hold the panel's counts with it, and read the shown rewrite's Length by the editor's count (pre-push review) Co-Authored-By: Claude Opus 5.5 <[email protected]>
…s open suggestions for the page before, and drop a batch's card once the page no longer has it Co-Authored-By: Claude Opus 5.5 <[email protected]>
…e left open never holds the next run out of sight Co-Authored-By: Claude Opus 5.5 <[email protected]>
…estions when they can't be set aside, and hold History while the agent works or a decision saves (pre-push review) Co-Authored-By: Claude Opus 5.5 <[email protected]>
… a sweep on the step under way, a line on what it does, and the page drawn in Co-Authored-By: Claude Opus 5.5 <[email protected]>
…, true without an outline, and silent on rules or sources read none of; even step spacing; steadier tests (pre-push review) Co-Authored-By: Claude Opus 5.5 <[email protected]>
gkhngyk
left a comment
There was a problem hiding this comment.
Looks good.
What I checked:
-
Stack. The PR's own change is two commits on #1522's head (3f50c86): c511970 and 9bb59a1. There are no merge commits, and it merges cleanly with its stack. It's web only, with no migration of its own.
-
Reduced motion. Every new moving part has a
motion-reduce:class:- the tile's breathing and sweep;
- the chip's
StepSweepand its dots; - the line's
animate-in; - the sketch's
animate-agent-fill.
With
animate-none, the keyframes'bothfill no longer applies, so the sketch stands whole. There's no rotating ring (animate-spin). The test checks everyanimate-agent*andanimate-inelement. -
Screen readers. The line on what the agent does is
aria-hiddeninside therole="status"region, as the clock is. The dots and the sweep arearia-hiddentoo, so the status isn't read out every 4 s. -
The lines match the prompts:
- a new page: Answer first, the outline, placeholders (
WRITE_SYSTEM_PROMPT); - a live page: questions it misses, LOCKED passages (
SUGGEST_SYSTEM_PROMPT); - a rewrite: the Length, which with Length off is the page's own length, kept blocks, facts and voice (
REWRITE_SYSTEM_PROMPT).
- a new page: Answer first, the outline, placeholders (
-
The counts. They come from the run's
read_rulesandgather_sourcessteps.- A count of 0 is dropped, as its chip is.
- With no count yet (no run, or the fixed list), the line says "the rules" or "your sources".
- A page's lines never run out, since three of them carry no count.
- The line rotates on the seconds the clock already uses, so no new timer is added.
-
The card.
RunStepsmoves only withmoving(default false), so the card and Next step are unchanged.AgentTileis the ink tile, so no new colour comes in. -
Strings are in
en.jsonunderagentWriting.doing. -
Before the API deploy. It's web only and reads only the run rows the API already writes. Nothing changes with an older API.
No findings.
…ead "per" only as an attribution, "claims" and "states" only before "that", and "göre" not as a comparison; keep a change that keeps every name worded or cased another way, or as bullets; know a source by its possessive, never its last word alone; let the prompts name Your input as a source (review) Co-Authored-By: Claude Opus 5.5 <[email protected]>
…e Doe", "Recently Gartner"), keep a sentence's first word out of a placeholder, read "per" on English pages only, read "U.S." as one name, and start a name only at a word's start (pre-push review) Co-Authored-By: Claude Opus 5.5 <[email protected]>
…nows it Co-Authored-By: Claude Opus 5.5 <[email protected]>
# Conflicts: # server/src/lib/content-writer.js
|
Merged the PR below it forward (5588e42), which brings in Checks after the merge:
|
gkhngyk
left a comment
There was a problem hiding this comment.
Looks good.
The new head, 5588e42, only merges #1522's new head (f8ecc22), and through it main. Re-merging its parents (80cb3e4 and f8ecc22) is clean and gives the commit's tree (5a0c0628), so the merge hides nothing. Its own change against #1522 is the same as in round 31, line for line. With its stack, it merges cleanly on main. The verdict stands.
Summary
Stacked on #1522. The PR's own changes are its commits after #1522's branch.
In the live editor test (2026-10-25), nothing moved on the Content Agent's waiting page while it rewrote the page, except the timer. It read as stuck ("daha agentic … daha hareketli"). The page now moves while the agent works (CE-026's motion, on the waiting page). It uses the agent card's motion and its rules: subtle, never a rotating ring, and still with reduced motion.
The agent's tile: the card's working tile (
AgentTile, exported) replaces the static robot. It breathes, a light sweeps over it, its eyes look around and its spark blinks.The step under way: its chip gets a faint sweep (
StepSweep) and the agent's dots (RunSteps moving). The fixed list shown before the run's first step reads gets the same sweep on its writing row. Only the waiting page passesmoving. The card and Next step already show dots after their titles.What it does now: one line at a time, every 4 s, under the steps, beside the clock. The lines are what the agent's prompt asks of it (content-writer.js, content-rewrite.js), with the counts its run read. For a rewrite:
New pages and live pages have their own lines. A count the run read none of (0 rules, 0 sources) isn't said, as its chip isn't shown. The lines are short enough for one line at the card's width. The line is derived from the seconds that already drive the clock, so it needs no new timer. It is hidden from screen readers like the clock, so the status isn't read out every few seconds.
The page drawn in: a faint page sketch under it, whose lines are drawn in one after another and start again (
agent-fill, a new keyframe beside the card's). With reduced motion it stands whole and still.Related issue
Editor test findings 2026-10-25 (group F).
Type of change
feat— New featurefix— Bug fixchore— Maintenance / dependenciesdocs— Documentation onlyrefactor— Code change that neither fixes a bug nor adds a featuretest— Adding or updating testsHow to test
Checked in the browser at 1024 px, light and dark, on a demo draft set to "writing" with a run row for a moment (both restored after).
Checklist
feature/,fix/,chore/,docs/) — see CONTRIBUTING.mdyarn lintpasses (run fromweb/): 0 errors; the 6 warnings are in files this PR doesn't touchyarn typecheckpasses (run fromweb/)yarn format:checkpasses (run fromweb/)Web:
yarn testandyarn build. A pre-push review ran; its findings are the last commit.🤖 Generated with Claude Code