{"content":"**Process Center, batch 2 / commit 2 — toned-down archive, 7-day failure pin** (5F-studio `jczx`, commit `adeaf072a`, local only, not pushed)\n\n**Design ruling.** Owner: archived processes \"rarely see daylight again\", so the archive must not hold a permanent navigation slot. Four columns stay; the archive becomes a search, not a second list.\n\n**Renderer (ProcessCenterModal + pure model):**\n- **Pinned failures.** Ended rows with status failed / stopped / cancelled that ended ≤ 7 days ago sit at the very top of \"recently ended\" under a small section header, each with a red dot (`data-recent-failure`). Older failures sort exactly like normal ends. `isRecentFailure` / `orderEndedEntries` / `splitEndedForRecent` are pure functions in `processCenterModel.ts`, unit-tested at the 7-day boundary.\n- **Archive line.** Only at the very bottom of the list (you have to scroll past the 40 rows to see it): one 11.5px grey line \"更早的 {n} 条已归档 · 查找\". `n = searchEnded total − rows shown` (`archivedCount`, never negative); the line is not rendered at 0 or while the total is unknown. No badge, no nav entry; the Settings-shell footer band stays empty.\n- **In-place search.** \"Find\" swaps the right content area (never a second modal) for a search box + Type / Status / Bot selects. No rows are preloaded: the query fires only once a keyword or a filter is given (250 ms debounce while typing), pages of 50, results folded by local month with the whole-result count (\"2026 年 11 月(312)\"), \"Load more\" appends. Esc or an emptied box (with no filter left) returns to the recent column; Esc leaves the search before it closes the modal.\n- The earlier-days fold from batch 1 is gone — all 40 rows scroll, which is what makes \"only visible at the bottom\" true.\n\n**Verified.** tsc = 0, eslint 0; `tests/processCenterModel.test.ts` 12/12 at this commit, `tests/processCenterShell.test.mjs` 11/11 (one backdrop, four nav buttons, archive line after the last day group, search fires only with criteria, exactly one interval in the modal). The copy commit follows separately.","contentType":"text/markdown;utf-8","attachments":[],"quotePin":""}