The ultimate harness for coding agents and beyond. All your agents. All your machines. One command center. Start with code, then follow your curiosity and build across disciplines: CAD, circuits, robots, games and music.
TypeScript 3d-modelingagent-frameworkagent-harnessai-agentscadclaude-codecodexcoding-agentsdeveloper-toolsesp32game-developmentmcp-servermulti-agentopen-hardwareopencodeopenharnesspcbroboticsterminaltmux
feat(pro): a Working card on Home — every working agent, three pets a page (#1430)
0xdiego25227cfb3d573c
diff --git a/devices/harness-pro/firmware/main/app/pod_glue.c b/devices/harness-pro/firmware/main/app/pod_glue.cindex bf992c8dd..71c1a2428 100644--- a/devices/harness-pro/firmware/main/app/pod_glue.c+++ b/devices/harness-pro/firmware/main/app/pod_glue.c@@ -450,12 +450,20 @@ pod_out_t pod_ui_touch(pod_ui_t *u, bool down, int x, int y, uint32_t now_ms, boif (iabs(dx) >= POD_SW_MIN_PX && wide(dx, dy) && fast) {u->sw_ok = u->sw_on = false;*changed = true;- if (top(u)->view == POD_V_TABS) { // Home: a page a swipe, clamped. A page is the scroll (the tab index) + 1 while the Notices card exists (scroll -1), else the scroll- const int lead = pod_tabs_pages_of(&u->nav, &u->model) - u->model.tab_count; // 1 with the Notices card, else 0- int last = pod_tabs_pages_of(&u->nav, &u->model) - 1, at = top(u)->scroll + lead;- at = at < 0 ? 0 : at > last ? last : at;- int want = at + (dx < 0 ? 1 : -1);- if (want >= 0 && want <= last) pod_nav_act(&u->nav, &u->model, POD_A_SCROLL, want - lead - top(u)->scroll, now_ms); // to the page itself, whatever the frame's scroll holds+ if (top(u)->view == POD_V_TABS) { // Home: a page a swipe, clamped, in the order of the page list+ // A swipe that starts on the Working card's pet band (more than 3 working) pages the pets, never the cards, even at either end.+ const int wp = (pod_home_working(&u->model) + 2) / 3;+ if (u->nav.depth == 1 && top(u)->scroll == POD_HOME_WORKING && wp > 1 && u->start_y >= 256 && u->start_y <= 536) {+ const int to = (int)u->nav.work_page + (dx < 0 ? 1 : -1);+ if (to >= 0 && to < wp) u->nav.work_page = (uint8_t)to;+ return none;+ }+ int16_t pg[POD_TABS_MAX + 2];+ const int n = pod_home_pages(&u->model, pg, POD_TABS_MAX + 2), cur = pod_home_clamp(&u->model, top(u)->scroll);+ int at = 0;+ while (at < n - 1 && pg[at] < cur) at++;+ const int want = at + (dx < 0 ? 1 : -1);+ if (want >= 0 && want < n) pod_nav_act(&u->nav, &u->model, POD_A_SCROLL, pg[want] - top(u)->scroll, now_ms); // to the page itself, whatever the frame's scroll holdsreturn none;}if (top(u)->view == POD_V_INBOX) // the Inbox: either way goes back to where it was openeddiff --git a/devices/harness-pro/firmware/main/pod/home/ph.h b/devices/harness-pro/firmware/main/pod/home/ph.hindex 6ba3eb365..d83487703 100644--- a/devices/harness-pro/firmware/main/pod/home/ph.h+++ b/devices/harness-pro/firmware/main/pod/home/ph.h@@ -54,8 +54,13 @@ pod_scene_t ph_card_scene(const pod_model_t *, const pod_agent_t *);// side x side square, else its 72 px logo, else a ">_" outline on `fill`.// An engine's logo at exactly `size` (a baked one: 44 or 72) at (x, y), else a ">_" outline box of that size on `fill` (0xRRGGBB).void ph_engine_logo(ht_scene_t *, int x, int y, int size, const char *engine, unsigned fill);-// Home's Notices card (ph_overview.c header): while pod_notice_count > 0 it is the page before tab 0; the TABS frame's scroll is the tab index, -1 the Notices card.+// Home's Notices card (ph_overview.c header): while pod_notice_count > 0 it is the page before tab 0; the TABS frame's scroll is the tab index, POD_HOME_NOTICES (-2) the Notices card.// A tap on it is one POD_A_INBOX hit.+// Home's Working card: the working agents newest turn first (the least pod_agent_secs, ties in model order); returns how many are listed (at most cap).+int ph_working_list(const pod_model_t *, const pod_agent_t **out, int cap, uint32_t now_ms);+// The card colours of an engine (the tab cards' mapping; NULL or an unknown engine: the grey pair), and the Working card's: Codex's blue.+void ph_engine_tint(const char *engine, unsigned *c1, unsigned *c2);+void ph_working_tint(const pod_model_t *, unsigned *c1, unsigned *c2);void ph_card_art(ht_scene_t *, int cx, int cy, int side, const pod_model_t *, const pod_agent_t *, unsigned fill, uint32_t now_ms);// ---- Agent, Recap, Talk, Notices, Update (ph_agent.c, ph_recap.c, ph_talk.c, ph_inbox.c, ph_ota.c) ----diff --git a/devices/harness-pro/firmware/main/pod/home/ph_overview.c b/devices/harness-pro/firmware/main/pod/home/ph_overview.cindex 1347d4e9f..76666bfa5 100644--- a/devices/harness-pro/firmware/main/pod/home/ph_overview.c+++ b/devices/harness-pro/firmware/main/pod/home/ph_overview.c@@ -7,9 +7,12 @@// Notices card (the owner's mockup, option B): while there are notices (pod_notice_count: the list the Notices screen shows) one more card comes FIRST,// before every tab card, in the orange gradient #FF9A52 -> #9C3F10: "Notices", the count in ph_num_230 with "new" beside it and up to three rows (a 44 px engine// logo and the notice's text, one line cut with an ellipsis). One POD_A_INBOX hit over it. It peeks beside the first tab card like any neighbour.-// Paging: the TABS frame's scroll is the tab index, and -1 is the Notices card (valid only while notices exist). Page = scroll + 1 with notices, scroll-// without, so a notice coming or going never moves the person to another tab: it only adds or drops the page before tab 0 (and when the Notices card is-// what is shown and the last notice goes, Home settles on tab 0).+// Working card (the owner's mockup, option D): while an agent works one more card comes after Notices, before tab 0, in Codex's blue+// (the owner's pick): "Working" and the count in ph_bd_84, then up to three pets (their work scene, ink at most 128 px, feet on y 384) with the name and the+// elapsed time under each; the working agents newest first, three to a page (nav->work_page). One POD_A_FOLLOW hit over each pet.+// Paging: the TABS frame's scroll is the tab index, POD_HOME_NOTICES the Notices card (only while notices exist) and POD_HOME_WORKING the Working card (only+// while an agent works): the page list is pod_home_pages, so a card coming or going never moves the person to another tab: it only adds or drops a page before+// tab 0 (and when the card shown goes, Home settles on the next page to its right).// Also here: the small helpers the other Pets screens share (the pet / logo art).#include <stdio.h>#include <string.h>@@ -48,16 +51,14 @@ void ph_card_art(ht_scene_t *s, int cx, int cy, int side, const pod_model_t *m,}-// What Home shows: the top frame's scroll (a TAB frame, which Pets never reaches, shows its own tab), clamped to the tabs: the tab index, HOME_NOTICES-// for the Notices card (only while there are notices), HOME_NONE with neither a tab nor a notice.-enum { HOME_NONE = -2, HOME_NOTICES = -1 };+// What Home shows: the top frame's scroll (a TAB frame, which Pets never reaches, shows its own tab), clamped to the page list (pod_home_pages): the tab+// index, POD_HOME_NOTICES / POD_HOME_WORKING for those cards, HOME_NONE with no page at all.+enum { HOME_NONE = -3 };static int home_at(const pod_nav_t *nav, const pod_model_t *m){- const bool notices = pod_notice_count(m) > 0;- if (m->tab_count < 1) return notices ? HOME_NOTICES : HOME_NONE;+ if (pod_home_pages(m, NULL, 0) < 1) return HOME_NONE;const pod_frame_t *f = nav->depth ? &nav->stack[nav->depth - 1] : NULL;- int at = !f ? 0 : f->view == POD_V_TAB ? f->tab : f->scroll;- return at < (notices ? HOME_NOTICES : 0) ? (notices ? HOME_NOTICES : 0) : at > m->tab_count - 1 ? m->tab_count - 1 : at;+ return pod_home_clamp(m, !f ? 0 : f->view == POD_V_TAB ? f->tab : f->scroll);}// The agents of tab t (panes that name a rostered agent) and how many of them work.@@ -91,6 +92,7 @@ bool ph_home_moves(const pod_nav_t *nav, const pod_model_t *m){int t = home_at(nav, m), working = 0;if (t == HOME_NONE) return true; // the first screen's shimmer and bar+ if (t == POD_HOME_WORKING) return true; // the petsif (t < 0) return false; // the Notices card is stilltab_agents(m, t, &working);return working > 0 || tab_asking(m, t) > 0;@@ -101,6 +103,35 @@ uint32_t ph_home_next_ms(const pod_nav_t *nav, const pod_model_t *m, uint32_t noreturn ph_home_moves(nav, m) ? POD_PH_ANIM_MS - now_ms % POD_PH_ANIM_MS : 1000;}+// An engine's card colours.+void ph_engine_tint(const char *best, unsigned *c1, unsigned *c2)+{+ if (best && !strcmp(best, "codex")) { *c1 = PH_TINT_CODEX1; *c2 = PH_TINT_CODEX2; }+ else if (best && !strcmp(best, "claude")) { *c1 = PH_TINT_CLAUDE1; *c2 = PH_TINT_CLAUDE2; }+ else if (best && !strcmp(best, "muse")) { *c1 = PH_TINT_MUSE1; *c2 = PH_TINT_MUSE2; }+ else if (best && !strcmp(best, "kilo")) { *c1 = PH_TINT_KILO1; *c2 = PH_TINT_KILO2; }+ else { *c1 = PH_TINT_OTHER1; *c2 = PH_TINT_OTHER2; }+}++int ph_working_list(const pod_model_t *m, const pod_agent_t **out, int cap, uint32_t now_ms)+{+ int n = 0;+ for (int i = 0; i < m->agent_count && n < cap; i++) {+ const pod_agent_t *a = &m->agents[i];+ if (pod_model_eff(m, a) != POD_WORKING) continue;+ int k = n++;+ while (k > 0 && pod_agent_secs(a, now_ms) < pod_agent_secs(out[k - 1], now_ms)) { out[k] = out[k - 1]; k--; } // insertion: newest turn (the least elapsed) first, a tie stays after (model order)+ out[k] = a;+ }+ return n;+}++void ph_working_tint(const pod_model_t *m, unsigned *c1, unsigned *c2)+{+ (void)m; // the owner's pick: Codex's blue, whoever works+ ph_engine_tint("codex", c1, c2);+}+// The card's two colours by its main engine (the one with the most agents in the tab, a tie to the first in pane order).static void tint(const pod_model_t *m, int t, unsigned *c1, unsigned *c2){@@ -133,13 +164,13 @@ static bool name_fits_48(const char *t)return true;}-// The name on one line: control characters as spaces, "Untitled" when empty, cut with an ellipsis to fit `w`. Returns the face (small: always ph_sb_34).-static const ht_pro_font_t *shown_name(char *out, size_t n, const char *name, int w, bool small)+// The name on one line: control characters as spaces, "Untitled" when empty, cut with an ellipsis to fit `w`. Returns the face (`face`, else ph_sb_48 or ph_sb_34).+static const ht_pro_font_t *shown_name(char *out, size_t n, const char *name, int w, const ht_pro_font_t *face){snprintf(out, n, "%s", name);for (char *p = out; *p; p++) if (*p == '\n' || *p == '\r' || *p == '\t') *p = ' ';if (!out[strspn(out, " ")]) snprintf(out, n, "Untitled");- const ht_pro_font_t *font = !small && name_fits_48(out) ? &ph_sb_48 : &ph_sb_34;+ const ht_pro_font_t *font = face ? face : name_fits_48(out) ? &ph_sb_48 : &ph_sb_34;if (ht_pro_width(font, out) > w) {size_t len = strlen(out);do {@@ -261,7 +292,7 @@ static void notices_card(pod_out_frame_t *f, const pod_model_t *m, int x, int y,paper = ph_mix(paper, PH_HOME_BG, (unsigned)fade);ht_pro_rect_aa(s, x, y, w, h, r, C(paper));char name[CABLE_NAME_MAX + 4];- const ht_pro_font_t *nf = shown_name(name, sizeof name, "Notices", NAME_W * PEEK_PCT / 100, true);+ const ht_pro_font_t *nf = shown_name(name, sizeof name, "Notices", NAME_W * PEEK_PCT / 100, &ph_sb_34);const int nx = x + NAME_X * PEEK_PCT / 100, nw = ht_pro_width(nf, name);if (nx < POD_W && nx + nw > 0) ht_pro_text(s, nx, y + 40 * PEEK_PCT / 100, nw + 2, nf, C(ph_mix(PH_LETTER_INK, paper, 70)), name);return;@@ -312,7 +343,7 @@ static void card(pod_out_frame_t *f, const pod_model_t *m, int t, int x, int y,if (fade) { c1 = ph_mix(c1, PH_HOME_BG, (unsigned)fade); c2 = ph_mix(c2, PH_HOME_BG, (unsigned)fade); }pod_grad_aa_dither(s, x, y, w, h, r, C(c1), C(c2)); // Pets only: no banding on the cardchar name[CABLE_NAME_MAX + 4];- const ht_pro_font_t *nf = shown_name(name, sizeof name, m->tabs[t].name, full ? NAME_W : NAME_W * PEEK_PCT / 100, !full);+ const ht_pro_font_t *nf = shown_name(name, sizeof name, m->tabs[t].name, full ? NAME_W : NAME_W * PEEK_PCT / 100, full ? NULL : &ph_sb_34);const int nx = x + (full ? NAME_X : NAME_X * PEEK_PCT / 100), nw = ht_pro_width(nf, name);if (!full) { // a neighbour: the name only, faded (most of it is off the glass)if (nx < POD_W && nx + nw > 0) ht_pro_text(s, nx, y + 40 * PEEK_PCT / 100, nw + 2, nf, C(ph_mix(PH_CARD_INK, c1, 80)), name);@@ -364,6 +395,57 @@ static void card(pod_out_frame_t *f, const pod_model_t *m, int t, int x, int y,}}+// The Working card (see the header). A neighbour (full false) is the faded gradient and "Working", like a tab's.+enum { WK_TITLE_Y = 80, WK_SLOT_PITCH = 165, WK_FEET = 384, WK_INK = 128, WK_SIDE = WK_INK + 6, WK_NAME_Y = 422 - 7, WK_TIME_Y = 456 - 7, // the mockup's tops are the glyphs' ink; a text run starts 7 px above that+ WK_NAME_W = 158, WK_PER_PAGE = 3, WK_SHADOW_H = 14, WK_HIT_Y = 200, WK_HIT_W = 150, WK_HIT_H = 280 };+static void working_card(pod_out_frame_t *f, const pod_nav_t *nav, const pod_model_t *m, int x, int y, int w, int h, int r, int fade, bool full, uint32_t now_ms)+{+ ht_scene_t *s = f->scene;+ unsigned c1, c2;+ ph_working_tint(m, &c1, &c2);+ if (fade) { c1 = ph_mix(c1, PH_HOME_BG, (unsigned)fade); c2 = ph_mix(c2, PH_HOME_BG, (unsigned)fade); }+ pod_grad_aa_dither(s, x, y, w, h, r, C(c1), C(c2));+ if (!full) {+ const int nx = x + NAME_X * PEEK_PCT / 100, nw = ht_pro_width(&ph_sb_34, "Working");+ if (nx < POD_W && nx + nw > 0) ht_pro_text(s, nx, y + 40 * PEEK_PCT / 100, nw + 2, &ph_sb_34, C(ph_mix(PH_CARD_INK, c1, 80)), "Working");+ return;+ }+ const pod_agent_t *list[POD_AGENTS_MAX];+ const int n = ph_working_list(m, list, POD_AGENTS_MAX, now_ms), pages = (n + WK_PER_PAGE - 1) / WK_PER_PAGE;+ const int page = nav->work_page < pages ? nav->work_page : pages > 0 ? pages - 1 : 0; // the working set may have shrunk since the person swiped+ char txt[CABLE_NAME_MAX + 4];+ ph_text(s, x + NAME_X, y + WK_TITLE_Y, 260, &ph_sb_48, PH_CARD_INK, "Working");+ snprintf(txt, sizeof txt, "%d", n);+ ph_text(s, x + 496 - ht_pro_width(&ph_bd_84, txt), y + WK_TITLE_Y, ht_pro_width(&ph_bd_84, txt) + 2, &ph_bd_84, PH_CARD_INK, txt); // the count in the bold face (its digits are baked)+ for (int k = 0; k < WK_PER_PAGE && page * WK_PER_PAGE + k < n; k++) {+ const pod_agent_t *a = list[page * WK_PER_PAGE + k];+ // The page's pets centred on the card (one or two sit in the middle, not in the first slots); Claude's work scenes are wide and draw+ // small in a WK_SIDE square, so its square is twice as big (the owner's pick)+ const int shown = n - page * WK_PER_PAGE < WK_PER_PAGE ? n - page * WK_PER_PAGE : WK_PER_PAGE;+ const int side = !strcmp(a->engine, "claude") ? 2 * WK_SIDE : WK_SIDE;+ const int cx = x + w / 2 + (2 * k - (shown - 1)) * WK_SLOT_PITCH / 2, ink = pod_pet_ink_h(a->engine, ph_card_scene(m, a), side, 8);+ const int sw = (ink ? ink : LOGO) * 4 / 5; // ponytail: the shadow follows the ink's height (the pets are about as wide as tall); a measured width if one ever looks off+ ht_pro_rect_aa(s, cx - sw / 2, y + WK_FEET - 6, sw, WK_SHADOW_H, WK_SHADOW_H / 2, C(ph_mix(0x000000, c2, 35)));+ const int cy = y + WK_FEET - (ink ? ink : LOGO) / 2; // a pet-less engine: its logo, feet on the same line+ if (pod_pet_for(a->engine)) // the gradient is slow: its colour at the pet's centre is the ground, so each frame is resampled once (baked) and then copied+ pod_pet_draw_flat(s, cx - side / 2, cy - side / 2, side, a->engine, ph_card_scene(m, a), now_ms, 0, ph_mix(c1, c2, (unsigned)((cy - y) * 100 / h)), 8);+ else ph_card_art(s, cx, cy, WK_SIDE, m, a, ph_mix(c1, c2, 60), now_ms);+ shown_name(txt, sizeof txt, a->name, WK_NAME_W, &ph_sb_22);+ ht_pro_text(s, cx - ht_pro_width(&ph_sb_22, txt) / 2, y + WK_NAME_Y, ht_pro_width(&ph_sb_22, txt) + 2, &ph_sb_22, C(PH_CARD_INK), txt);+ pod_fmt_elapsed(txt, sizeof txt, pod_agent_secs(a, now_ms));+ ht_pro_text(s, cx - ht_pro_width(&ph_sb_22, txt) / 2, y + WK_TIME_Y, ht_pro_width(&ph_sb_22, txt) + 2, &ph_sb_22, C(PH_PILL_WORK), txt);+ pod_hit_add_id(f, cx - WK_HIT_W / 2, y + WK_HIT_Y, WK_HIT_W, WK_HIT_H, POD_A_FOLLOW, (int)(a - m->agents), a->id);+ }+}++// A neighbour page of Home: the faded card of page p.+static void peek(pod_out_frame_t *f, const pod_nav_t *nav, const pod_model_t *m, int p, int x, int y, int w, int h, int r, uint32_t now_ms)+{+ if (p == POD_HOME_NOTICES) notices_card(f, m, x, y, w, h, r, PEEK_FADE, false);+ else if (p == POD_HOME_WORKING) working_card(f, nav, m, x, y, w, h, r, PEEK_FADE, false, now_ms);+ else if (p >= 0) card(f, m, p, x, y, w, h, r, PEEK_FADE, false, now_ms);+}+void ph_view_home(pod_out_frame_t *f, const pod_nav_t *nav, pod_model_t *m, uint32_t now_ms){ht_scene_t *s = f->scene;@@ -372,13 +454,19 @@ void ph_view_home(pod_out_frame_t *f, const pod_nav_t *nav, pod_model_t *m, uintif (t == HOME_NONE) { wordmark(s, now_ms); return; }const int pw = CARD_W * PEEK_PCT / 100, ph = CARD_H * PEEK_PCT / 100, py = CARD_Y + CARD_H / 2 - ph / 2;const int lx = CARD_X + CARD_W / 2 - PEEK_DX - pw / 2, rx = CARD_X + CARD_W / 2 + PEEK_DX - pw / 2, pr = CARD_R * PEEK_PCT / 100;- // The tab t's neighbours in the page order: the Notices card (HOME_NOTICES) comes before tab 0.- const int prev = t == HOME_NOTICES ? HOME_NONE : t > 0 ? t - 1 : pod_notice_count(m) > 0 ? HOME_NOTICES : HOME_NONE;- const int next = t + 1 < m->tab_count ? t + 1 : HOME_NONE;- if (prev == HOME_NOTICES) notices_card(f, m, lx, py, pw, ph, pr, PEEK_FADE, false);- else if (prev >= 0) card(f, m, prev, lx, py, pw, ph, pr, PEEK_FADE, false, now_ms);- if (next >= 0) card(f, m, next, rx, py, pw, ph, pr, PEEK_FADE, false, now_ms);- if (t == HOME_NOTICES) {+ // The page t's neighbours are the adjacent entries of the page list.+ int16_t pg[POD_TABS_MAX + 2];+ const int n = pod_home_pages(m, pg, POD_TABS_MAX + 2);+ int at = 0;+ while (at < n - 1 && pg[at] < t) at++;+ const int prev = at > 0 ? pg[at - 1] : HOME_NONE, next = at + 1 < n ? pg[at + 1] : HOME_NONE;+ peek(f, nav, m, prev, lx, py, pw, ph, pr, now_ms);+ peek(f, nav, m, next, rx, py, pw, ph, pr, now_ms);+ if (t == POD_HOME_WORKING) {+ working_card(f, nav, m, CARD_X, CARD_Y, CARD_W, CARD_H, CARD_R, 0, true, now_ms);+ return;+ }+ if (t == POD_HOME_NOTICES) {notices_card(f, m, CARD_X, CARD_Y, CARD_W, CARD_H, CARD_R, 0, true);pod_hit_add(f, CARD_X, CARD_Y, CARD_W, CARD_H, POD_A_INBOX, 0);return;diff --git a/devices/harness-pro/firmware/main/pod/pod_draw.c b/devices/harness-pro/firmware/main/pod/pod_draw.cindex c6b9d7508..5d8055644 100644--- a/devices/harness-pro/firmware/main/pod/pod_draw.c+++ b/devices/harness-pro/firmware/main/pod/pod_draw.c@@ -286,8 +286,8 @@ static void cell_raster_core(const ht_run_t *r, ht_rect_t clip, uint16_t *out)// recap's small pet) is resampled again every frame. When the caller knows what is under the frame is one colour (pod_cell_flat), the first raster// resamples it once onto that colour into the arena and every later one is a row copy. The result is the very pixels the resampler writes onto// that ground: the golden screens do not change. Keyed by the frame's identity (its pointers and shape), zoom and ground, so another engine, another-// frame or another ground is another entry; entries are never evicted (a scene still waiting to be drawn may name one), and when the table or the-// arena is full the frame is simply resampled each time as before. Render task only.+// frame or another ground is another entry. When the table or the arena is full it starts over; a raster looks its entry up (and bakes it) when it+// runs, so nothing holds an entry across rasters. Render task only.// 360 K pixels (720 KB of PSRAM): every frame the Notices faces and the recap's RELAX and REST scenes can show for all four pets at once come to 353 K.enum { BAKE_SLOTS = 64, BAKE_ARENA_PX = 360 * 1024 };typedef struct { const ht_cell_frame_t *f; const uint8_t *cells; const uint16_t *palette; uint16_t ground, w, h, cols, rows; uint8_t z, s16; uint32_t off; } bake_t;@@ -320,7 +320,11 @@ static const bake_t *bake_of(const ht_run_t *r)b->cols == f->cols && b->rows == f->rows && b->w == r->w && b->h == r->pro_height) return b;}size_t px = (size_t)r->w * (size_t)r->pro_height;- if (s_nbake >= BAKE_SLOTS || px > BAKE_ARENA_PX - s_arena_used) return NULL;+ if (px > BAKE_ARENA_PX) return NULL;+ // Full: start the arena over (the arena never evicts one entry). The screen shown re-bakes what it draws, which fits: no+ // screen needs more than the arena (the Working card about 126 K px), while a session that visits every Notices, Recap and+ // Working pet adds up to more.+ if (s_nbake >= BAKE_SLOTS || px > BAKE_ARENA_PX - s_arena_used) { s_nbake = 0; s_arena_used = 0; }ht_run_t plain = *r; // the same run at the origin, an ordinary cell run: resampled over the ground into the arenaplain.x = 0; plain.y = 0; plain.text[0] = 0;uint16_t *dst = s_arena + s_arena_used;@@ -339,8 +343,13 @@ static void cell_raster(const ht_run_t *r, ht_rect_t clip, uint16_t *out)if (!b) { cell_raster_core(r, clip, out); return; }int left = imax(clip.x, r->x), right = imin(clip.x + clip.w, r->x + r->w);int top = imax(clip.y, r->y), bottom = imin(clip.y + clip.h, r->y + r->pro_height);- for (int y = top; y < bottom; y++)- memcpy(out + (y - clip.y) * clip.w + left - clip.x, s_arena + b->off + (size_t)(y - r->y) * b->w + (left - r->x), (size_t)(right - left) * sizeof *out);+ // Only the frame's own pixels: what the resampler left as the ground is skipped, so a frame baked over one colour also sits on a ground that+ // only nearly is (the Working card's gradient) without showing its box.+ for (int y = top; y < bottom; y++) {+ uint16_t *d = out + (y - clip.y) * clip.w + left - clip.x;+ const uint16_t *src = s_arena + b->off + (size_t)(y - r->y) * b->w + (left - r->x);+ for (int x = 0; x < right - left; x++) if (src[x] != b->ground) d[x] = src[x];+ }}// ---- ring arc -------------------------------------------------------------------------------------------diff --git a/devices/harness-pro/firmware/main/pod/pod_nav.c b/devices/harness-pro/firmware/main/pod/pod_nav.cindex d4bb6f2dc..e840bdb5e 100644--- a/devices/harness-pro/firmware/main/pod/pod_nav.c+++ b/devices/harness-pro/firmware/main/pod/pod_nav.c@@ -24,19 +24,13 @@ static int tab_list(const pod_model_t *m, int tab, const pod_agent_t *out[], intreturn n;}-// Home pages: the TABS frame's scroll is the tab index, or -1 for the Notices card, which exists only while there are notices (so it-// is a position that does not move when notices come or go: the tab under the person stays the tab under the person). Lowest valid scroll.-static int home_lo(const pod_model_t *m) { return pod_notice_count(m) > 0 ? -1 : 0; }-// The valid range of Home's scroll: lo (-1 with notices, else 0) .. the last tab (or lo with no tabs).-static int16_t home_clamp(const pod_model_t *m, int s)-{- const int lo = home_lo(m), hi = m->tab_count - 1 > lo ? m->tab_count - 1 : lo;- return (int16_t)(s < lo ? lo : s > hi ? hi : s);-}-// Leaving a room for Home lands on that room's tab card, never on the Notices card.+// Home pages: the TABS frame's scroll is a page of pod_home_pages: the tab index, or POD_HOME_NOTICES / POD_HOME_WORKING, which exist only while there+// are notices / working agents, so they are positions that do not move when they come or go: the tab under the person stays the tab under the person.+// Leaving a room for Home lands on that room's tab card, never on the Notices or Working card.static void land_on_tab(pod_nav_t *n, const pod_model_t *m, const pod_frame_t *from){if (n->depth != 1 || n->stack[0].view != POD_V_TABS) return;+ if (n->stack[0].scroll == POD_HOME_WORKING) return; // a room opened from the Working card: Home stays on that cardint idx = -1;if (from->tab_id[0]) {for (int t = 0; t < m->tab_count; t++) if (!strcmp(m->tabs[t].id, from->tab_id)) { idx = t; break; }@@ -160,7 +154,8 @@ static pod_out_t nav_act(pod_nav_t *n, pod_model_t *m, pod_action_t a, int arg,pod_frame_t t; memset(&t, 0, sizeof t);t.view = POD_V_INBOX;t.tab = POD_TAB_RECENT; // the agents opened from here step through Recent- push(n, &t);+ if (n->depth >= 4) { n->stack[1] = t; n->depth = 2; } // the stack is full: the Inbox sits right over Home, as OPEN_NOTIF does+ else push(n, &t);break;}case POD_A_OPEN_NOTIF: {@@ -190,8 +185,12 @@ static pod_out_t nav_act(pod_nav_t *n, pod_model_t *m, pod_action_t a, int arg,if (is_agent_view(f->view)) return step(n, m, a == POD_A_NEXT ? 1 : -1);break;case POD_A_FOLLOW:- if (arg >= 0 && arg < m->agent_count && pod_nav_follow(n, m, m->agents[arg].id, now_ms))+ if (arg >= 0 && arg < m->agent_count) {+ const bool card = n->depth == 1 && f->view == POD_V_TABS && f->scroll == POD_HOME_WORKING;+ if (!pod_nav_follow(n, m, m->agents[arg].id, now_ms)) break;+ if (card) { n->stack[1] = n->stack[2]; n->depth = 2; } // a pet on the Working card: the room sits right over Home, so Back lands on the card, not a tabreturn out_fx(POD_FX_AGENT_OPEN, m->agents[arg].id);+ }break;case POD_A_TALK:if (f->view == POD_V_AGENT || f->view == POD_V_RECAP) {@@ -242,8 +241,8 @@ static pod_out_t nav_act(pod_nav_t *n, pod_model_t *m, pod_action_t a, int arg,break;case POD_A_SCROLL: {long s = (long)f->scroll + arg;- const long lo = f->view == POD_V_TABS ? home_lo(m) : 0; // Home: -1 is the Notices card- f->scroll = (int16_t)(s < lo ? lo : s > 32767 ? 32767 : s);+ if (f->view == POD_V_TABS) { f->scroll = (int16_t)pod_home_clamp(m, s < -32768 ? -32768 : s > 32767 ? 32767 : (int)s); n->work_page = 0; break; }+ f->scroll = (int16_t)(s < 0 ? 0 : s > 32767 ? 32767 : s);break;}case POD_A_NONE:@@ -311,7 +310,10 @@ void pod_nav_flip_recaps(pod_nav_t *n, pod_model_t *m) {pod_out_t pod_nav_sync(pod_nav_t *n, pod_model_t *m) {if (!n->depth) { pod_nav_init(n); return out_none(); }if (n->stack[0].view == POD_V_TABS) { // tabs that went away take their pages with them- n->stack[0].scroll = home_clamp(m, n->stack[0].scroll); // Home: the scroll is the tab index (-1: the Notices card, while there are notices)+ n->stack[0].scroll = (int16_t)pod_home_clamp(m, n->stack[0].scroll); // Home: the scroll is a page of the list+ const int pages = (pod_home_working(m) + 2) / 3; // the Working card's pet pages: the stored page follows the working set down+ if (n->depth != 1 || n->stack[0].scroll != POD_HOME_WORKING) n->work_page = 0;+ else if (n->work_page >= pages) n->work_page = (uint8_t)(pages > 0 ? pages - 1 : 0);}uint8_t keep = n->depth;for (uint8_t i = 1; i < n->depth; i++) {@@ -381,6 +383,7 @@ bool pod_nav_follow(pod_nav_t *n, pod_model_t *m, const char *agent_id, uint32_tn->stack[0] = tabs; n->stack[1] = tf; n->stack[2] = af;n->depth = 3;n->sending = false;+ n->work_page = 0;opened(n, m, a->id);pod_nav_flip_recaps(n, m);return true;@@ -397,10 +400,11 @@ bool pod_nav_follow_tab(pod_nav_t *n, pod_model_t *m) {if (cur->view == POD_V_TABS && n->depth == 1) {if (cur->scroll == sel) return false;cur->scroll = (int16_t)sel;+ n->work_page = 0;return true;}if (cur->view != POD_V_AGENT && cur->view != POD_V_RECAP) return false;- if (cur->tab < 0 || n->depth < 3) return false; // Recent (an agent no tab holds): its own list+ if (cur->tab < 0 || n->depth < 2) return false; // Recent (an agent no tab holds): its own listif (!strcmp(cur->tab_id, m->tabs[sel].id)) return false;if (index_in(m, sel, cur->agent) >= 0) {for (int i = 1; i < n->depth; i++) {@@ -408,7 +412,7 @@ bool pod_nav_follow_tab(pod_nav_t *n, pod_model_t *m) {n->stack[i].tab = (int8_t)sel;set_id(n->stack[i].tab_id, m->tabs[sel].id);}- n->stack[0].scroll = (int16_t)sel;+ if (n->stack[0].scroll != POD_HOME_WORKING) n->stack[0].scroll = (int16_t)sel; // a room opened from the Working card keeps Home on itreturn true;}const pod_agent_t *l[POD_AGENTS_MAX];diff --git a/devices/harness-pro/firmware/main/pod/pod_nav.h b/devices/harness-pro/firmware/main/pod/pod_nav.hindex ac4c6f0f2..e04c9ef94 100644--- a/devices/harness-pro/firmware/main/pod/pod_nav.h+++ b/devices/harness-pro/firmware/main/pod/pod_nav.h@@ -24,6 +24,7 @@ typedef struct {uint8_t depth;uint32_t talk_started_ms, send_started_ms;char sent_agent[ID_MAX];+ uint8_t work_page; // Home's Working card: the page of three pets shown (0-based; reset when the card is not shown)pod_view_t talk_prev; // AGENT or RECAP: the screen TALK was opened from (talk_over goes back to it)bool sending; // TALK after the stop tap: the voice screen shows SEND until the agent's real turn begins (or POD_SENT_WAIT_MS)bool sent_seen; // the model has marked sent_agent's optimistic Working (pod_model_sent) since the stop tapdiff --git a/devices/harness-pro/firmware/main/pod/pod_view.c b/devices/harness-pro/firmware/main/pod/pod_view.cindex 092629c76..feffe885f 100644--- a/devices/harness-pro/firmware/main/pod/pod_view.c+++ b/devices/harness-pro/firmware/main/pod/pod_view.c@@ -22,10 +22,35 @@ uint32_t pod_view_next_ms(const pod_nav_t *nav, const pod_model_t *m, uint32_t n}}+int pod_home_working(const pod_model_t *m)+{+ int n = 0;+ for (int i = 0; i < m->agent_count; i++) n += pod_model_eff(m, &m->agents[i]) == POD_WORKING;+ return n;+}+bool pod_home_has(const pod_model_t *m, int page)+{+ return page == POD_HOME_NOTICES ? pod_notice_count(m) > 0+ : page == POD_HOME_WORKING ? pod_home_working(m) > 0+ : page >= 0 && page < m->tab_count;+}+int pod_home_pages(const pod_model_t *m, int16_t *out, int cap)+{+ int n = 0;+ for (int p = POD_HOME_NOTICES; p < m->tab_count; p++)+ if (pod_home_has(m, p)) { if (out && n < cap) out[n] = (int16_t)p; n++; }+ return n;+}+int pod_home_clamp(const pod_model_t *m, int s)+{+ for (int p = s < POD_HOME_NOTICES ? POD_HOME_NOTICES : s; p < m->tab_count; p++) if (pod_home_has(m, p)) return p;+ for (int p = s < m->tab_count ? s : m->tab_count - 1; p >= POD_HOME_NOTICES; p--) if (pod_home_has(m, p)) return p;+ return 0;+}int pod_tabs_pages_of(const pod_nav_t *nav, const pod_model_t *m){(void)nav;- return m->tab_count + (pod_notice_count(m) > 0); // Home: one page a tab, and the Notices card first while there are notices+ return pod_home_pages(m, NULL, 0);}int pod_scroll_pitch(const pod_nav_t *nav)diff --git a/devices/harness-pro/firmware/main/pod/pod_view.h b/devices/harness-pro/firmware/main/pod/pod_view.hindex 148f9948f..d93d02a1f 100644--- a/devices/harness-pro/firmware/main/pod/pod_view.h+++ b/devices/harness-pro/firmware/main/pod/pod_view.h@@ -37,8 +37,14 @@ int pod_scroll_max(const pod_nav_t *, const pod_model_t *);// ---- shared helpers (pod_shared.c) ------------------------------------------------------------------------bool pod_hit_add(pod_out_frame_t *, int x, int y, int w, int h, pod_action_t action, int arg);bool pod_hit_add_id(pod_out_frame_t *, int x, int y, int w, int h, pod_action_t action, int arg, const char *id);-// Home's pages: one a tab, and the Notices card first while there are notices.-int pod_tabs_pages_of(const pod_nav_t *, const pod_model_t *);+// Home's pages in order: the Notices card (POD_HOME_NOTICES) while there are notices, the Working card (POD_HOME_WORKING) while an agent works,+// then the tabs 0..n-1. The TABS frame's scroll is one of these values.+enum { POD_HOME_NOTICES = -2, POD_HOME_WORKING = -1 };+int pod_home_working(const pod_model_t *); // agents working now (pod_model_eff)+bool pod_home_has(const pod_model_t *, int page); // is `page` in the list+int pod_home_pages(const pod_model_t *, int16_t *out, int cap); // the pages in order (out may be NULL); returns how many+int pod_home_clamp(const pod_model_t *, int scroll); // a present page is kept, else the nearest to its right, else the nearest to its left; 0 with none+int pod_tabs_pages_of(const pod_nav_t *, const pod_model_t *); // the list's lengthuint32_t pod_agent_secs(const pod_agent_t *, uint32_t now_ms); // elapsed while working, else the last// Milliseconds until the agent's shown elapsed text next changes (pod_elapsed_next_ms, from where it is in its second);// UINT32_MAX when it is not working: its clock does not run, nothing to redraw.diff --git a/devices/harness-pro/firmware/test/golden-liberation.txt b/devices/harness-pro/firmware/test/golden-liberation.txtindex 23f63330a..ee8deb0af 100644--- a/devices/harness-pro/firmware/test/golden-liberation.txt+++ b/devices/harness-pro/firmware/test/golden-liberation.txt@@ -12,32 +12,23 @@0cd4cf539f2f3f8dcc17f28478d50ea641f5a0f6f1a3aa27674ba268e2705e0b recap:desk@5000102064b2c387ab5cd1e0f274a8beaef812acc0db7e93ddaef06ed8d06811398f recap:desk:short@250011ce48c998ea730350c5fa0430d78275a62dff6d2f19e32343040e9ec47ba28f agent:be:offline@2500-1b09e7c2b71db751f55d88dc52102a9cade817d7a44a320877fe8c935d4f3375 recap:docs:unreadfail@0-1b09e7c2b71db751f55d88dc52102a9cade817d7a44a320877fe8c935d4f3375 recap:docs:unreadfail@5000+1467a0558ff261ee1580e2ab811f1d59ed1418cf0566b084ba6697eb487a9618 tabs:0+2@5000+1467a0558ff261ee1580e2ab811f1d59ed1418cf0566b084ba6697eb487a9618 tabs:9@5000+1467a0558ff261ee1580e2ab811f1d59ed1418cf0566b084ba6697eb487a9618 tabs:banner@5000+1467a0558ff261ee1580e2ab811f1d59ed1418cf0566b084ba6697eb487a9618 tabs:bell@5000+1467a0558ff261ee1580e2ab811f1d59ed1418cf0566b084ba6697eb487a9618 tabs:linkdown@5000+1467a0558ff261ee1580e2ab811f1d59ed1418cf0566b084ba6697eb487a9618 tabs@5000205286ce60f1fdf5c5b6cefee707eaf71a3384cda456415cdac103fc574c4ebf agent:fw:banner@1234205286ce60f1fdf5c5b6cefee707eaf71a3384cda456415cdac103fc574c4ebf agent:fw:unread@1234205286ce60f1fdf5c5b6cefee707eaf71a3384cda456415cdac103fc574c4ebf agent:fw@1234-208e551dcd2362bd5412fd537b2825334b9044bb2af8c4ab2a46fdd1381abbcc tabs:0+2@5000-208e551dcd2362bd5412fd537b2825334b9044bb2af8c4ab2a46fdd1381abbcc tabs:9@5000-208e551dcd2362bd5412fd537b2825334b9044bb2af8c4ab2a46fdd1381abbcc tabs:banner@5000-208e551dcd2362bd5412fd537b2825334b9044bb2af8c4ab2a46fdd1381abbcc tabs:bell@5000-208e551dcd2362bd5412fd537b2825334b9044bb2af8c4ab2a46fdd1381abbcc tabs:linkdown@5000-208e551dcd2362bd5412fd537b2825334b9044bb2af8c4ab2a46fdd1381abbcc tabs@500022083bf5827695add306905a71f6e07a70ec12872d2d4ed3cc043e47de7205cd talk:fw:quiet@60022083bf5827695add306905a71f6e07a70ec12872d2d4ed3cc043e47de7205cd talk:fw@600-23cdae374c99dec42be143d13ab00458f2509bea21bcd7b72a7e97b7e614ab3c tabs:0+2@2500-23cdae374c99dec42be143d13ab00458f2509bea21bcd7b72a7e97b7e614ab3c tabs:9@2500-23cdae374c99dec42be143d13ab00458f2509bea21bcd7b72a7e97b7e614ab3c tabs:banner@2500-23cdae374c99dec42be143d13ab00458f2509bea21bcd7b72a7e97b7e614ab3c tabs:bell@2500-23cdae374c99dec42be143d13ab00458f2509bea21bcd7b72a7e97b7e614ab3c tabs:linkdown@2500-23cdae374c99dec42be143d13ab00458f2509bea21bcd7b72a7e97b7e614ab3c tabs@250024e4b487e56cee7639400ebd1ed0d473a12cf553c31c0f3029edf019e1f36bc0 tabs:5@5000-25b36b44553a38c935a40d7d4032ada1c685feb4d51523a49b388eaa16faf92c tabs:long@5000+26a207f8ff8046c6711fdb779b28735365e90b65907cc41f6222b30541d9e5dd tabs:working@027df000c5f60d8eb8663a8fe6959384eace8ac0e418f05c3ac719ef84feacf4b agent:cli:banner@500027df000c5f60d8eb8663a8fe6959384eace8ac0e418f05c3ac719ef84feacf4b agent:cli@50002871cd9a6077527eec0e37e0ea6dac9fc07218063c319054184c0f2fecc9cfe2 talk:fw:quiet@12342871cd9a6077527eec0e37e0ea6dac9fc07218063c319054184c0f2fecc9cfe2 talk:fw@1234-2907b4bdb70a44a8bad5649795f7fd50a41d33efdf7bb1eba6442a1a9864640c tabs:mock@50002b58a3fbaae6798538256d06e3d7366fdeeb0fb8edc661cdee2dd2ce521769a0 talk:cur@6002d9d5c7353bd2d8870657970c411ca4b0a275f2ebb6272cd196429a9b6753642 agent:desk@6002d9d5c7353bd2d8870657970c411ca4b0a275f2ebb6272cd196429a9b6753642 recap:desk:banner@600@@ -81,19 +72,21 @@3875141c2c78b0f4f41992d51b0f5553007643479df81003fe6311e638262c31 tabs:single@25003875141c2c78b0f4f41992d51b0f5553007643479df81003fe6311e638262c31 tabs:single@50003875141c2c78b0f4f41992d51b0f5553007643479df81003fe6311e638262c31 tabs:single@600+39a58e689432dc89a8be25610811046ee961c08f5ad108029bf8f68c32505edb recap:docs:unreadfail@12343a47de3edda62ff8d064071fa8d17377d9c0c19e44aef0c28fa0043ec86cce51 tabs:seven@25003baf2cd488eeeb310783ef08303bbb235772ade7303feedc65e2adaa7b565565 recap:desk:short@12343c50228ed125d5138821ae678ebc8267734a5e79c8878b4e4813ebbcb80b3164 agent:fw:long@12343d43bb7cb2ab0102944745f80af971677a75bec05d5dbc01baaf9003fa4111f9 tabs:5@1234-4350a4f6dbf69724a1d97cb7766df9ae3dd3acb385bd76a9b5b2dc65786e9207 tabs:mock@250044c082278989b9844c91c372d51a9f2b29430bf083fcb2794698e189fe8f2e3d tabs:none@600+45de9aa8132e2d8f8e14853abb8ee563e660be15078bc812aa6d4795c95c7cfb tabs:long@500046469853ff6e0388f14b379f37728428c7c4e2a7e4d0df8e5f35fd6af10cc416 recap:desk:viet@123447b0c7abe1a3482cf5e154191e2742cf9ee76dd5d0af8455c4746f98568c72b1 agent:be@250047b0c7abe1a3482cf5e154191e2742cf9ee76dd5d0af8455c4746f98568c72b1 agent:be@500047b0c7abe1a3482cf5e154191e2742cf9ee76dd5d0af8455c4746f98568c72b1 agent:be@600480d9b19c0aef0f2dcaa1dfb1aba46db93108f3912d6e2c1aed86cd420846d3f tabs:5@0-499a105b9c7f4845c4a55dc12776d6b6b6642ee8d0ff9a94d165a7f4b1d67c6c tabs:long@2500+48d13463b2d93a8b84012dba5dbc3346c10fea89fb2f5d7e107252e8cd17c199 recap:docs:unreadfail@250049df1c4eafa42a0e150e8b9c77cbdfca70a9f8ba1e16d863435a24091c935336 tabs:none@1234+4c575da9f9c644d41a714b210cb66c11e141a9e945d9771097a05ace169de6c7 tabs:long@6004e1055e7920922bf2c1ba0212b5860b7cdcc162784a16e1d9abd6c586d38cec0 recap:docs:toast@4900@04e1055e7920922bf2c1ba0212b5860b7cdcc162784a16e1d9abd6c586d38cec0 recap:docs:toast@4900@12344e1055e7920922bf2c1ba0212b5860b7cdcc162784a16e1d9abd6c586d38cec0 recap:docs:toast@4900@2500@@ -105,6 +98,7 @@5647a2a762bd817469bff3189b4e1162fb3b11acbbc72ad9aee9139e0446a010 recap:docs:long@25005ce5a5aebccdcd1e858832bd35d7de3235502512ef08f0b337da4fb16ee30791 talk:fw:quiet@05ce5a5aebccdcd1e858832bd35d7de3235502512ef08f0b337da4fb16ee30791 talk:fw@0+6138d6c974e4bab23a707281fa6fa85203220141424ab54f216b7b6d65f03eab tabs:working@250061f95986c2394dfd1175e703e8e5b8c011065d8704e8404984b9ddae1473a29c talk:be@066c0d32cef1ff955274fa76dcf012efa2b6fd0306205cfefebfca9d1e5f1a0f3 agent:be@123467b7fd29c369b0f8bbc30460233d7f3a8b5777e2729e4fcb2abbc6396f8e7f67 agent:fw:long@0@@ -117,7 +111,6 @@72ba008ee35e9d149fd6952d48cf85ea5898d0875786251d4199b69d53ab2d49 agent:fw:toast@4900@250072ba008ee35e9d149fd6952d48cf85ea5898d0875786251d4199b69d53ab2d49 agent:fw:toast@4900@500072ba008ee35e9d149fd6952d48cf85ea5898d0875786251d4199b69d53ab2d49 agent:fw:toast@4900@600-730fd46b1a1568f57dcad69f09241c4b58d06596d1a9825d409c5b7f2178c972 tabs:long@074fd46d2c91ba0e31715219c3e358637180dac95150fe52e63627643e073b3f3 tabs:1@6007593d8806d372da0c991d91edb4cd8236a21aebb65e3df5748be49bba89fdf55 recap:desk:toast@2500@07593d8806d372da0c991d91edb4cd8236a21aebb65e3df5748be49bba89fdf55 recap:desk:toast@2500@1234@@ -138,28 +131,33 @@79f3f79188af491ef39c661e619e1e641864dc3b33a325f60b3c7712b7c7726b talk:be:send@6007ccddd2c39c5bec4ebcf4fa0e5bfb3421e0d200aeb091e014636296e2e8ec850 talk:fw:quiet@25007ccddd2c39c5bec4ebcf4fa0e5bfb3421e0d200aeb091e014636296e2e8ec850 talk:fw@2500-7cd83ed6557b10d0939206275c23112631f414dc1efa44da9bf24179818f7919 recap:docs:unreadfail@12347dfd56f51d9b85c6cf8396f7f4169ffcabe7c2bb436a8096a2c0275dc339e617 agent:cli:long@600-7e1ff6ba7fa9073310839f032ae727fa814ea976132a8d3184970ea431b20fdc tabs:mock@123481312fbd4dee9803a32e5d3aa5fb3b317eafb965fa337f4fadaec149959bc0fc tabs:seven@0+84ee291923ce9c24df7ca48fc9b93db7af552d3f47114aa5613729433fd23c58 tabs:working@5000+85d5961e036ad3cb1e31997577984c6775353f05f155155b41b89d3cf8c09dda tabs:mock@0894cea19f4e9888e3b6fa994544f2dd08b3fd88e14bc03b613e84ddb6d31e534 recap:desk:medium@5000+8b5e65b69b80e00dec34d7c2e0caa4c181ca30221566d7485d4af4f38f309326 tabs:mock@50008dfdc413fea168894bad4005522823945c21865d6b04adbef6c9b9c1627a5483 talk:be@12348e9c92f81c14203f374a24ece15172a3c59af781fced1472bbf236f424dc46fa recap:desk:short@600-906dff9f9a421f642d71455130d3043bac3b143d751785ccebeae48318e61df7 tabs:0+2@600-906dff9f9a421f642d71455130d3043bac3b143d751785ccebeae48318e61df7 tabs:9@600-906dff9f9a421f642d71455130d3043bac3b143d751785ccebeae48318e61df7 tabs:banner@600-906dff9f9a421f642d71455130d3043bac3b143d751785ccebeae48318e61df7 tabs:bell@600-906dff9f9a421f642d71455130d3043bac3b143d751785ccebeae48318e61df7 tabs:linkdown@600-906dff9f9a421f642d71455130d3043bac3b143d751785ccebeae48318e61df7 tabs@60093e7bcb91efa077da089ea4f1d44175de44fb3ee52517906c394b47b8de54f86 talk:cur:send@093e7bcb91efa077da089ea4f1d44175de44fb3ee52517906c394b47b8de54f86 talk:cur:send@123493e7bcb91efa077da089ea4f1d44175de44fb3ee52517906c394b47b8de54f86 talk:cur:send@250093e7bcb91efa077da089ea4f1d44175de44fb3ee52517906c394b47b8de54f86 talk:cur:send@6009428a6db126502d9784de07caf2ff22e89781f756dda888f3caac770e226c639 talk:fw:quiet@50009428a6db126502d9784de07caf2ff22e89781f756dda888f3caac770e226c639 talk:fw@5000+94533f69245b3a81a0375c6ed48303bd2d01a06be10394a2a9553d51e69d4ec9 tabs:0+2@1234+94533f69245b3a81a0375c6ed48303bd2d01a06be10394a2a9553d51e69d4ec9 tabs:9@1234+94533f69245b3a81a0375c6ed48303bd2d01a06be10394a2a9553d51e69d4ec9 tabs:banner@1234+94533f69245b3a81a0375c6ed48303bd2d01a06be10394a2a9553d51e69d4ec9 tabs:bell@1234+94533f69245b3a81a0375c6ed48303bd2d01a06be10394a2a9553d51e69d4ec9 tabs:linkdown@1234+94533f69245b3a81a0375c6ed48303bd2d01a06be10394a2a9553d51e69d4ec9 tabs@12349458bb380715e722ca98243f2ab9fc5f2422c9385c2593efc1f779b7af3d725a agent:cli:long@2500-967c36e3ca99fb20fe8cc0186c2b7e39dc54e3128c94b339f93b84684c1cf815 recap:docs:unreadfail@2500-9757ed126320e64a766d58bbd80745deba44cdeab19e861f879c8e77f2936fad tabs:long@1234+94eb6bf3635f7305ed492c7cba44478c3d5e25121297436cefd0e37d95bec843 tabs:0+2@0+94eb6bf3635f7305ed492c7cba44478c3d5e25121297436cefd0e37d95bec843 tabs:9@0+94eb6bf3635f7305ed492c7cba44478c3d5e25121297436cefd0e37d95bec843 tabs:banner@0+94eb6bf3635f7305ed492c7cba44478c3d5e25121297436cefd0e37d95bec843 tabs:bell@0+94eb6bf3635f7305ed492c7cba44478c3d5e25121297436cefd0e37d95bec843 tabs:linkdown@0+94eb6bf3635f7305ed492c7cba44478c3d5e25121297436cefd0e37d95bec843 tabs@0977bddb50cbd047bb41ea02dc9d04f75518bfefe9e25944de93d0fce40b7e51a talk:cur:send@500097cf9dd9e3d5e04d7b553aa767fc765a3bd47cc1160f327538f227b2fd0fcd5b recap:desk:short@50009d7bd2ae8f98c5cb55f9d571084fd299b57d613a4a8fb76618bf96e81dfce21e agent:desk@0@@ -171,6 +169,8 @@9e2ae90cba78e828d5560210179ded383efbfe4b64fa0b8ba23c2e9a8f6dca8c recap:desk:medium@6009e9aaedfd8ea9334d7870cb61ff687471f9010ab67b2c01eb495c8cfadb0df98 agent:be@09ee999f0e3a879d4e829e9c3bb6d108656da0989636bbdad39b5d75412b95d4b recap:docs:long@5000+9fefe96b64cdacc429b9eb8e70a17becc9553dad897b43892871bc0a83bcc3a2 recap:docs:unreadfail@0+9fefe96b64cdacc429b9eb8e70a17becc9553dad897b43892871bc0a83bcc3a2 recap:docs:unreadfail@5000a03c5151d6b49434a1ddf862f9c4c9a4631b4e1c4068ff6ccc1dee164a9f4e3a agent:desk@1234a03c5151d6b49434a1ddf862f9c4c9a4631b4e1c4068ff6ccc1dee164a9f4e3a recap:desk:banner@1234a03c5151d6b49434a1ddf862f9c4c9a4631b4e1c4068ff6ccc1dee164a9f4e3a recap:desk:extreme@1234@@ -182,6 +182,7 @@ a06283fd15df5fd37792b2657fb797aed4d084b8d9d654f2ccbb6c1e998b946c ota:restart@12a06283fd15df5fd37792b2657fb797aed4d084b8d9d654f2ccbb6c1e998b946c ota:restart@2500a06283fd15df5fd37792b2657fb797aed4d084b8d9d654f2ccbb6c1e998b946c ota:restart@5000a06283fd15df5fd37792b2657fb797aed4d084b8d9d654f2ccbb6c1e998b946c ota:restart@600+a1e3940d58d67287e25827d39eb9a5c7a75c295bf58de28b7b6793caa748cb30 tabs:mock@2500a6712f0052fbad9b33cf4511c4fbf0e4731c42df8c5533fa33b21a3439caddf2 agent:desk@2500a6712f0052fbad9b33cf4511c4fbf0e4731c42df8c5533fa33b21a3439caddf2 recap:desk:banner@2500a6712f0052fbad9b33cf4511c4fbf0e4731c42df8c5533fa33b21a3439caddf2 recap:desk:extreme@2500@@ -193,19 +194,15 @@ aa7d385e2f538e370781e40d71d58313259312909691e844e8ef8e0758f38b6d ota:100@1234aa7d385e2f538e370781e40d71d58313259312909691e844e8ef8e0758f38b6d ota:100@2500aa7d385e2f538e370781e40d71d58313259312909691e844e8ef8e0758f38b6d ota:100@5000aa7d385e2f538e370781e40d71d58313259312909691e844e8ef8e0758f38b6d ota:100@600+ac53464a1d840500d54ddfceb2360ebe43552e456b85807c997b22a9aa2f622b tabs:mock@600ad007cd4fdc4676271ee900e07647d470675012997b1e9d6c1cfb625ee25df2b recap:docs@0ad007cd4fdc4676271ee900e07647d470675012997b1e9d6c1cfb625ee25df2b recap:docs@2500+ae9a89417055592a7468dfc3a7ea64b58cd85df877f197f8948e2b47a9124eb3 tabs:long@1234b13776fc7d712241ba716efb51747a1cd43cd0d009b8f2a20fbf1c8e36153be7 talk:be@5000b2987fbea14e51cc7b4ddfcc7bc767ee6e7d4a09857ddabb9d0a5a680be6a714 recap:docs@5000+b31f451d884e5af7e9120f0456f994e049d8fafda4b014a76af3cf751cd96705 recap:docs:unreadfail@600b69db76ef91afb9968df7483b44448dbcdd78cf2bfa449dcbe3ee0df3f17ae25 recap:desk:viet@5000b6e4fb3070cc13683d734e9bc6e1f104b71f8aaf949478c8e1d1b4c60c1f3d66 tabs:1@0-b8cdeadaddf01fef7e7446bbcc9029cd1c38cfee158c2b6b81c9c199d2d9023b tabs:0+2@0-b8cdeadaddf01fef7e7446bbcc9029cd1c38cfee158c2b6b81c9c199d2d9023b tabs:9@0-b8cdeadaddf01fef7e7446bbcc9029cd1c38cfee158c2b6b81c9c199d2d9023b tabs:banner@0-b8cdeadaddf01fef7e7446bbcc9029cd1c38cfee158c2b6b81c9c199d2d9023b tabs:bell@0-b8cdeadaddf01fef7e7446bbcc9029cd1c38cfee158c2b6b81c9c199d2d9023b tabs:linkdown@0-b8cdeadaddf01fef7e7446bbcc9029cd1c38cfee158c2b6b81c9c199d2d9023b tabs@0-baba7fed180e82537742be4277715b436fc59ccb3430dddf6e9b1b58adbb83bb tabs:mock@0bb3500cd77cfe1b2bf6148f2f61814b9b0969bcbd61bf0f6e2dab39d8d40c8ab agent:be:offline@1234bc53b18da4d7ea38f8dd56e0b4470d4e0c4e2cadde1c06ffea5153c907b15fc2 talk:fw:send@0bc53b18da4d7ea38f8dd56e0b4470d4e0c4e2cadde1c06ffea5153c907b15fc2 talk:fw:send@1234@@ -216,13 +213,9 @@ bc92dbc7694b741e98f74a47554b9e40581c98efc715b713b1feaa73d90e390b recap:desk:medbea341256b62baa2f37ad783b5921ce770c2a3342e9d5a999322be7c60c5f9ff talk:cur@2500beea941441c90a67801395000a40ac5ae7b3bf55377c95e70b4fa0751b973d95 agent:be:offline@600c158dad57e29a9df5ca9b0169c6f1367dac791a7126326aeca42ee6cfc67e090 tabs:1@2500+c443af989eb93dc9f11d473e90a91bf613767f903f194bea8b0079d707a631dd tabs:working@600+c4af0eaee2c62b423f4d3bcb3a8539098c4ffb95f64dd94b1665ea8112fb1e51 tabs:long@2500c535233a8ccffe6e34bd2767b32fc79e8cfd0929967fcb3b6a515479700804d9 recap:desk:viet@0-c7c85ef2fd4c88bc382514185d13358ee517f112809279e58c755c4a5421d3b4 tabs:0+2@1234-c7c85ef2fd4c88bc382514185d13358ee517f112809279e58c755c4a5421d3b4 tabs:9@1234-c7c85ef2fd4c88bc382514185d13358ee517f112809279e58c755c4a5421d3b4 tabs:banner@1234-c7c85ef2fd4c88bc382514185d13358ee517f112809279e58c755c4a5421d3b4 tabs:bell@1234-c7c85ef2fd4c88bc382514185d13358ee517f112809279e58c755c4a5421d3b4 tabs:linkdown@1234-c7c85ef2fd4c88bc382514185d13358ee517f112809279e58c755c4a5421d3b4 tabs@1234c80992f8fc1e4a7c9a2c04b19ae6b33948f455d47c66d08c38f44531e58bdc3d recap:desk:long@600c936f3d986e84d734756ea015c2f389714618914fe53bc6d8f1ac3217589148c agent:fw:toast@0@0c936f3d986e84d734756ea015c2f389714618914fe53bc6d8f1ac3217589148c agent:fw:toast@0@1234@@ -233,7 +226,9 @@ c94fb8ea8955544b06c3b0120dbedac4d295f98a9ac48c8172037531fcca9d69 agent:fw:long@cacbb92aabbda5f6c5f2a3415fe6ee6738d297ad04a965a2d75146def704c6f9 recap:desk:medium@2500cb3173536ee26106bde53894630e1e172f58d7186f8170bb193309b2f1908a1f agent:cli:banner@2500cb3173536ee26106bde53894630e1e172f58d7186f8170bb193309b2f1908a1f agent:cli@2500+cb737bbe219b16e101016fef367cf5301af9955f9830a0607304e0cf0dd83187 tabs:mock@1234cbd36c0793fbcda1b9b1d265152e864a0b9ca64c76e0f05808b0a3edf7a9a672 tabs:seven@5000+cc493be5ebd9400df8eef0fea1c92270fe2c29e8dc9654acaf812e802136abb6 tabs:long@0ce2c1196b58d9ed5a3e4b0976475ded835cb447ec8f7e8c46b54d427356f4eb1 recap:desk:viet@2500ce89ce6b7c64cb11f77919520d579d4ed011230cc7fd3a802e1c568aa54ea5cd ota:0@0ce89ce6b7c64cb11f77919520d579d4ed011230cc7fd3a802e1c568aa54ea5cd ota:0@1234@@ -247,20 +242,30 @@ d0d1825a2e3100dc03362657abb086bc64a9d5bde8b8f66a17f60d7cce000d39 ota:62@2500d0d1825a2e3100dc03362657abb086bc64a9d5bde8b8f66a17f60d7cce000d39 ota:62@5000d0d1825a2e3100dc03362657abb086bc64a9d5bde8b8f66a17f60d7cce000d39 ota:62@600d2b83012c7ff21064242af7e49c377b19f8314f6cb2458b37904cdcbc9b41eae talk:be@600+d46cf19e2e6fac11b823004de27d2351d01870f5cfecb1486187161754f59d45 tabs:0+2@600+d46cf19e2e6fac11b823004de27d2351d01870f5cfecb1486187161754f59d45 tabs:9@600+d46cf19e2e6fac11b823004de27d2351d01870f5cfecb1486187161754f59d45 tabs:banner@600+d46cf19e2e6fac11b823004de27d2351d01870f5cfecb1486187161754f59d45 tabs:bell@600+d46cf19e2e6fac11b823004de27d2351d01870f5cfecb1486187161754f59d45 tabs:linkdown@600+d46cf19e2e6fac11b823004de27d2351d01870f5cfecb1486187161754f59d45 tabs@600d6591213f2e6735084c2d4ba74350a14ef40e0e4b008b32d86d3bf0c11f9e49f inbox:viet@0d6591213f2e6735084c2d4ba74350a14ef40e0e4b008b32d86d3bf0c11f9e49f inbox:viet@1234d6591213f2e6735084c2d4ba74350a14ef40e0e4b008b32d86d3bf0c11f9e49f inbox:viet@2500d6591213f2e6735084c2d4ba74350a14ef40e0e4b008b32d86d3bf0c11f9e49f inbox:viet@5000d6591213f2e6735084c2d4ba74350a14ef40e0e4b008b32d86d3bf0c11f9e49f inbox:viet@600-d8a89bf906778ecadf9a081108b94d92a604b814b9fa4b50b507b5347e591dda recap:docs:unreadfail@600+d750a984bfeeb870e18c3291aad2cdd2f6f12b7c4c04c87bdf60f1143ea8ad02 tabs:working@1234d95387eb8f4a5e443d31a5fe2c2a25b5d8cba9b0304b25ed2b63250f6ce3d308 recap:desk:viet@600de7fccfd4d9ed624772a2c8d137e182ca0697f72b421dc21d1bb4ce4bc8bf594 tabs:none@2500e01801d7676609320823ae0c55a805defab02449150ee721b8b774f8e85a7294 recap:desk:medium@0e16e322edb920b4cff7d04ca1cb2c8202987f3734183bea64c59a7086b6ba830 agent:cli:long@5000+e1788054013a3e7d0de30c89a433ced3cb54ecca26683ffbff6693e33ab5df09 tabs:notices@0+e1788054013a3e7d0de30c89a433ced3cb54ecca26683ffbff6693e33ab5df09 tabs:notices@1234+e1788054013a3e7d0de30c89a433ced3cb54ecca26683ffbff6693e33ab5df09 tabs:notices@2500+e1788054013a3e7d0de30c89a433ced3cb54ecca26683ffbff6693e33ab5df09 tabs:notices@5000+e1788054013a3e7d0de30c89a433ced3cb54ecca26683ffbff6693e33ab5df09 tabs:notices@600e1ff6c4a58d744e05300c2a57be4e08d5f29cc531a741a83c649a892ab7de29a recap:desk:long@1234e55b4e490d71c454af6cd36f6778798a187eacfcce2b18ca7579fffc5b386bb0 agent:cli:banner@600e55b4e490d71c454af6cd36f6778798a187eacfcce2b18ca7579fffc5b386bb0 agent:cli@600-e63b32be56790ea5b5e16caf052dd52c574b3ec25d9addb994a1d0065459eea0 tabs:mock@600e652d520e88b1d12b1fe7409e957a1065d69f7683ce6d1e8cd2caaca93c725ad tabs:2+2@0e652d520e88b1d12b1fe7409e957a1065d69f7683ce6d1e8cd2caaca93c725ad tabs:2+2@1234e652d520e88b1d12b1fe7409e957a1065d69f7683ce6d1e8cd2caaca93c725ad tabs:2+2@2500@@ -273,11 +278,12 @@ e8f82832b80bcf61502a843b8ebc9523b41386be13fdafcc1cf2d5f5e00922ad inbox:quiet@25e8f82832b80bcf61502a843b8ebc9523b41386be13fdafcc1cf2d5f5e00922ad inbox:quiet@5000e8f82832b80bcf61502a843b8ebc9523b41386be13fdafcc1cf2d5f5e00922ad inbox:quiet@600eaddfb7fa9e32238e63ccfb4e474bfa87eb7336fb6b7d044050fc8ed4560aeb1 recap:desk:long@0-ed3a6dcee6b63bb4552e02b12f6690de883de2506ef5bb038358d34f27206e0c tabs:notices@0-ed3a6dcee6b63bb4552e02b12f6690de883de2506ef5bb038358d34f27206e0c tabs:notices@1234-ed3a6dcee6b63bb4552e02b12f6690de883de2506ef5bb038358d34f27206e0c tabs:notices@2500-ed3a6dcee6b63bb4552e02b12f6690de883de2506ef5bb038358d34f27206e0c tabs:notices@5000-ed3a6dcee6b63bb4552e02b12f6690de883de2506ef5bb038358d34f27206e0c tabs:notices@600+ec35e5383f8ca65a2fd44da47c5c0c7b750d323a87d2be81bede059ba5136a00 tabs:0+2@2500+ec35e5383f8ca65a2fd44da47c5c0c7b750d323a87d2be81bede059ba5136a00 tabs:9@2500+ec35e5383f8ca65a2fd44da47c5c0c7b750d323a87d2be81bede059ba5136a00 tabs:banner@2500+ec35e5383f8ca65a2fd44da47c5c0c7b750d323a87d2be81bede059ba5136a00 tabs:bell@2500+ec35e5383f8ca65a2fd44da47c5c0c7b750d323a87d2be81bede059ba5136a00 tabs:linkdown@2500+ec35e5383f8ca65a2fd44da47c5c0c7b750d323a87d2be81bede059ba5136a00 tabs@2500ed3b9ffee34222fb5499eda318248770bbf67bcfa6d7e5e7c611a3c00b531683 agent:fw:toast@2500@0ed3b9ffee34222fb5499eda318248770bbf67bcfa6d7e5e7c611a3c00b531683 agent:fw:toast@2500@1234ed3b9ffee34222fb5499eda318248770bbf67bcfa6d7e5e7c611a3c00b531683 agent:fw:toast@2500@2500@@ -288,7 +294,6 @@ ed64d7183a23b8413ca0aefa730b0e0022fbda46883e9c072d0c73f474676073 tabs:3@1234ed64d7183a23b8413ca0aefa730b0e0022fbda46883e9c072d0c73f474676073 tabs:3@2500ed64d7183a23b8413ca0aefa730b0e0022fbda46883e9c072d0c73f474676073 tabs:3@5000ed64d7183a23b8413ca0aefa730b0e0022fbda46883e9c072d0c73f474676073 tabs:3@600-ee01445baf7e0727dda1405aec7b803cbe918bbb44088580632a974dc668f951 tabs:long@600f3cfa611694ec63ff33c63932078abb9cf5abde24fe2c79c9cb252164b954675 agent:kilo@0f3cfa611694ec63ff33c63932078abb9cf5abde24fe2c79c9cb252164b954675 agent:kilo@1234f3cfa611694ec63ff33c63932078abb9cf5abde24fe2c79c9cb252164b954675 agent:kilo@2500diff --git a/devices/harness-pro/firmware/test/golden.sh b/devices/harness-pro/firmware/test/golden.shindex 027c8b38f..88e8a2ff3 100644--- a/devices/harness-pro/firmware/test/golden.sh+++ b/devices/harness-pro/firmware/test/golden.sh@@ -30,7 +30,7 @@ python3 "$fw/scripts/gen_fonts.py" ${font_args[@]+"${font_args[@]}"} --out "$outcc -std=c11 -D_DEFAULT_SOURCE -Wall -Wextra -Werror -O1 -g -DHT_FACE_PX=720 -I"$disp" -I"$fw/main" \-o "$out/pod_render" "$here/pod_render.c" "$fw"/main/pod/*.c "$fw"/main/pod/home/*.c "$disp/pro_canvas.c" "$disp/terminal.c" "$out/pro_fonts.c"-screens=(tabs tabs:bell tabs:mock tabs:0+2 tabs:2+2 tabs:long tabs:9 tabs:linkdown tabs:1 tabs:3 tabs:5 tabs:seven tabs:single tabs:notices tabs:none+screens=(tabs tabs:bell tabs:mock tabs:0+2 tabs:2+2 tabs:long tabs:9 tabs:linkdown tabs:1 tabs:3 tabs:5 tabs:seven tabs:single tabs:notices tabs:working tabs:noneagent:fw agent:cli agent:be agent:desk agent:kilo agent:fw:long agent:cli:long agent:be:offline agent:fw:banner agent:cli:banner tabs:banner agent:fw:toast@0 agent:fw:toast@200 agent:fw:toast@2500 agent:fw:toast@4900recap:desk:toast@200 recap:desk:toast@2500 recap:docs:toast@4900recap:desk recap:desk:unread recap:desk:long recap:desk:viet recap:desk:short recap:desk:medium recap:docs:long recap:docs:unreadfail agent:fw:unread recap:docs recap:kilo recap:desk:testfail recap:desk:extreme recap:desk:bannerdiff --git a/devices/harness-pro/firmware/test/golden.txt b/devices/harness-pro/firmware/test/golden.txtindex 23f63330a..ee8deb0af 100644--- a/devices/harness-pro/firmware/test/golden.txt+++ b/devices/harness-pro/firmware/test/golden.txt@@ -12,32 +12,23 @@0cd4cf539f2f3f8dcc17f28478d50ea641f5a0f6f1a3aa27674ba268e2705e0b recap:desk@5000102064b2c387ab5cd1e0f274a8beaef812acc0db7e93ddaef06ed8d06811398f recap:desk:short@250011ce48c998ea730350c5fa0430d78275a62dff6d2f19e32343040e9ec47ba28f agent:be:offline@2500-1b09e7c2b71db751f55d88dc52102a9cade817d7a44a320877fe8c935d4f3375 recap:docs:unreadfail@0-1b09e7c2b71db751f55d88dc52102a9cade817d7a44a320877fe8c935d4f3375 recap:docs:unreadfail@5000+1467a0558ff261ee1580e2ab811f1d59ed1418cf0566b084ba6697eb487a9618 tabs:0+2@5000+1467a0558ff261ee1580e2ab811f1d59ed1418cf0566b084ba6697eb487a9618 tabs:9@5000+1467a0558ff261ee1580e2ab811f1d59ed1418cf0566b084ba6697eb487a9618 tabs:banner@5000+1467a0558ff261ee1580e2ab811f1d59ed1418cf0566b084ba6697eb487a9618 tabs:bell@5000+1467a0558ff261ee1580e2ab811f1d59ed1418cf0566b084ba6697eb487a9618 tabs:linkdown@5000+1467a0558ff261ee1580e2ab811f1d59ed1418cf0566b084ba6697eb487a9618 tabs@5000205286ce60f1fdf5c5b6cefee707eaf71a3384cda456415cdac103fc574c4ebf agent:fw:banner@1234205286ce60f1fdf5c5b6cefee707eaf71a3384cda456415cdac103fc574c4ebf agent:fw:unread@1234205286ce60f1fdf5c5b6cefee707eaf71a3384cda456415cdac103fc574c4ebf agent:fw@1234-208e551dcd2362bd5412fd537b2825334b9044bb2af8c4ab2a46fdd1381abbcc tabs:0+2@5000-208e551dcd2362bd5412fd537b2825334b9044bb2af8c4ab2a46fdd1381abbcc tabs:9@5000-208e551dcd2362bd5412fd537b2825334b9044bb2af8c4ab2a46fdd1381abbcc tabs:banner@5000-208e551dcd2362bd5412fd537b2825334b9044bb2af8c4ab2a46fdd1381abbcc tabs:bell@5000-208e551dcd2362bd5412fd537b2825334b9044bb2af8c4ab2a46fdd1381abbcc tabs:linkdown@5000-208e551dcd2362bd5412fd537b2825334b9044bb2af8c4ab2a46fdd1381abbcc tabs@500022083bf5827695add306905a71f6e07a70ec12872d2d4ed3cc043e47de7205cd talk:fw:quiet@60022083bf5827695add306905a71f6e07a70ec12872d2d4ed3cc043e47de7205cd talk:fw@600-23cdae374c99dec42be143d13ab00458f2509bea21bcd7b72a7e97b7e614ab3c tabs:0+2@2500-23cdae374c99dec42be143d13ab00458f2509bea21bcd7b72a7e97b7e614ab3c tabs:9@2500-23cdae374c99dec42be143d13ab00458f2509bea21bcd7b72a7e97b7e614ab3c tabs:banner@2500-23cdae374c99dec42be143d13ab00458f2509bea21bcd7b72a7e97b7e614ab3c tabs:bell@2500-23cdae374c99dec42be143d13ab00458f2509bea21bcd7b72a7e97b7e614ab3c tabs:linkdown@2500-23cdae374c99dec42be143d13ab00458f2509bea21bcd7b72a7e97b7e614ab3c tabs@250024e4b487e56cee7639400ebd1ed0d473a12cf553c31c0f3029edf019e1f36bc0 tabs:5@5000-25b36b44553a38c935a40d7d4032ada1c685feb4d51523a49b388eaa16faf92c tabs:long@5000+26a207f8ff8046c6711fdb779b28735365e90b65907cc41f6222b30541d9e5dd tabs:working@027df000c5f60d8eb8663a8fe6959384eace8ac0e418f05c3ac719ef84feacf4b agent:cli:banner@500027df000c5f60d8eb8663a8fe6959384eace8ac0e418f05c3ac719ef84feacf4b agent:cli@50002871cd9a6077527eec0e37e0ea6dac9fc07218063c319054184c0f2fecc9cfe2 talk:fw:quiet@12342871cd9a6077527eec0e37e0ea6dac9fc07218063c319054184c0f2fecc9cfe2 talk:fw@1234-2907b4bdb70a44a8bad5649795f7fd50a41d33efdf7bb1eba6442a1a9864640c tabs:mock@50002b58a3fbaae6798538256d06e3d7366fdeeb0fb8edc661cdee2dd2ce521769a0 talk:cur@6002d9d5c7353bd2d8870657970c411ca4b0a275f2ebb6272cd196429a9b6753642 agent:desk@6002d9d5c7353bd2d8870657970c411ca4b0a275f2ebb6272cd196429a9b6753642 recap:desk:banner@600@@ -81,19 +72,21 @@3875141c2c78b0f4f41992d51b0f5553007643479df81003fe6311e638262c31 tabs:single@25003875141c2c78b0f4f41992d51b0f5553007643479df81003fe6311e638262c31 tabs:single@50003875141c2c78b0f4f41992d51b0f5553007643479df81003fe6311e638262c31 tabs:single@600+39a58e689432dc89a8be25610811046ee961c08f5ad108029bf8f68c32505edb recap:docs:unreadfail@12343a47de3edda62ff8d064071fa8d17377d9c0c19e44aef0c28fa0043ec86cce51 tabs:seven@25003baf2cd488eeeb310783ef08303bbb235772ade7303feedc65e2adaa7b565565 recap:desk:short@12343c50228ed125d5138821ae678ebc8267734a5e79c8878b4e4813ebbcb80b3164 agent:fw:long@12343d43bb7cb2ab0102944745f80af971677a75bec05d5dbc01baaf9003fa4111f9 tabs:5@1234-4350a4f6dbf69724a1d97cb7766df9ae3dd3acb385bd76a9b5b2dc65786e9207 tabs:mock@250044c082278989b9844c91c372d51a9f2b29430bf083fcb2794698e189fe8f2e3d tabs:none@600+45de9aa8132e2d8f8e14853abb8ee563e660be15078bc812aa6d4795c95c7cfb tabs:long@500046469853ff6e0388f14b379f37728428c7c4e2a7e4d0df8e5f35fd6af10cc416 recap:desk:viet@123447b0c7abe1a3482cf5e154191e2742cf9ee76dd5d0af8455c4746f98568c72b1 agent:be@250047b0c7abe1a3482cf5e154191e2742cf9ee76dd5d0af8455c4746f98568c72b1 agent:be@500047b0c7abe1a3482cf5e154191e2742cf9ee76dd5d0af8455c4746f98568c72b1 agent:be@600480d9b19c0aef0f2dcaa1dfb1aba46db93108f3912d6e2c1aed86cd420846d3f tabs:5@0-499a105b9c7f4845c4a55dc12776d6b6b6642ee8d0ff9a94d165a7f4b1d67c6c tabs:long@2500+48d13463b2d93a8b84012dba5dbc3346c10fea89fb2f5d7e107252e8cd17c199 recap:docs:unreadfail@250049df1c4eafa42a0e150e8b9c77cbdfca70a9f8ba1e16d863435a24091c935336 tabs:none@1234+4c575da9f9c644d41a714b210cb66c11e141a9e945d9771097a05ace169de6c7 tabs:long@6004e1055e7920922bf2c1ba0212b5860b7cdcc162784a16e1d9abd6c586d38cec0 recap:docs:toast@4900@04e1055e7920922bf2c1ba0212b5860b7cdcc162784a16e1d9abd6c586d38cec0 recap:docs:toast@4900@12344e1055e7920922bf2c1ba0212b5860b7cdcc162784a16e1d9abd6c586d38cec0 recap:docs:toast@4900@2500@@ -105,6 +98,7 @@5647a2a762bd817469bff3189b4e1162fb3b11acbbc72ad9aee9139e0446a010 recap:docs:long@25005ce5a5aebccdcd1e858832bd35d7de3235502512ef08f0b337da4fb16ee30791 talk:fw:quiet@05ce5a5aebccdcd1e858832bd35d7de3235502512ef08f0b337da4fb16ee30791 talk:fw@0+6138d6c974e4bab23a707281fa6fa85203220141424ab54f216b7b6d65f03eab tabs:working@250061f95986c2394dfd1175e703e8e5b8c011065d8704e8404984b9ddae1473a29c talk:be@066c0d32cef1ff955274fa76dcf012efa2b6fd0306205cfefebfca9d1e5f1a0f3 agent:be@123467b7fd29c369b0f8bbc30460233d7f3a8b5777e2729e4fcb2abbc6396f8e7f67 agent:fw:long@0@@ -117,7 +111,6 @@72ba008ee35e9d149fd6952d48cf85ea5898d0875786251d4199b69d53ab2d49 agent:fw:toast@4900@250072ba008ee35e9d149fd6952d48cf85ea5898d0875786251d4199b69d53ab2d49 agent:fw:toast@4900@500072ba008ee35e9d149fd6952d48cf85ea5898d0875786251d4199b69d53ab2d49 agent:fw:toast@4900@600-730fd46b1a1568f57dcad69f09241c4b58d06596d1a9825d409c5b7f2178c972 tabs:long@074fd46d2c91ba0e31715219c3e358637180dac95150fe52e63627643e073b3f3 tabs:1@6007593d8806d372da0c991d91edb4cd8236a21aebb65e3df5748be49bba89fdf55 recap:desk:toast@2500@07593d8806d372da0c991d91edb4cd8236a21aebb65e3df5748be49bba89fdf55 recap:desk:toast@2500@1234@@ -138,28 +131,33 @@79f3f79188af491ef39c661e619e1e641864dc3b33a325f60b3c7712b7c7726b talk:be:send@6007ccddd2c39c5bec4ebcf4fa0e5bfb3421e0d200aeb091e014636296e2e8ec850 talk:fw:quiet@25007ccddd2c39c5bec4ebcf4fa0e5bfb3421e0d200aeb091e014636296e2e8ec850 talk:fw@2500-7cd83ed6557b10d0939206275c23112631f414dc1efa44da9bf24179818f7919 recap:docs:unreadfail@12347dfd56f51d9b85c6cf8396f7f4169ffcabe7c2bb436a8096a2c0275dc339e617 agent:cli:long@600-7e1ff6ba7fa9073310839f032ae727fa814ea976132a8d3184970ea431b20fdc tabs:mock@123481312fbd4dee9803a32e5d3aa5fb3b317eafb965fa337f4fadaec149959bc0fc tabs:seven@0+84ee291923ce9c24df7ca48fc9b93db7af552d3f47114aa5613729433fd23c58 tabs:working@5000+85d5961e036ad3cb1e31997577984c6775353f05f155155b41b89d3cf8c09dda tabs:mock@0894cea19f4e9888e3b6fa994544f2dd08b3fd88e14bc03b613e84ddb6d31e534 recap:desk:medium@5000+8b5e65b69b80e00dec34d7c2e0caa4c181ca30221566d7485d4af4f38f309326 tabs:mock@50008dfdc413fea168894bad4005522823945c21865d6b04adbef6c9b9c1627a5483 talk:be@12348e9c92f81c14203f374a24ece15172a3c59af781fced1472bbf236f424dc46fa recap:desk:short@600-906dff9f9a421f642d71455130d3043bac3b143d751785ccebeae48318e61df7 tabs:0+2@600-906dff9f9a421f642d71455130d3043bac3b143d751785ccebeae48318e61df7 tabs:9@600-906dff9f9a421f642d71455130d3043bac3b143d751785ccebeae48318e61df7 tabs:banner@600-906dff9f9a421f642d71455130d3043bac3b143d751785ccebeae48318e61df7 tabs:bell@600-906dff9f9a421f642d71455130d3043bac3b143d751785ccebeae48318e61df7 tabs:linkdown@600-906dff9f9a421f642d71455130d3043bac3b143d751785ccebeae48318e61df7 tabs@60093e7bcb91efa077da089ea4f1d44175de44fb3ee52517906c394b47b8de54f86 talk:cur:send@093e7bcb91efa077da089ea4f1d44175de44fb3ee52517906c394b47b8de54f86 talk:cur:send@123493e7bcb91efa077da089ea4f1d44175de44fb3ee52517906c394b47b8de54f86 talk:cur:send@250093e7bcb91efa077da089ea4f1d44175de44fb3ee52517906c394b47b8de54f86 talk:cur:send@6009428a6db126502d9784de07caf2ff22e89781f756dda888f3caac770e226c639 talk:fw:quiet@50009428a6db126502d9784de07caf2ff22e89781f756dda888f3caac770e226c639 talk:fw@5000+94533f69245b3a81a0375c6ed48303bd2d01a06be10394a2a9553d51e69d4ec9 tabs:0+2@1234+94533f69245b3a81a0375c6ed48303bd2d01a06be10394a2a9553d51e69d4ec9 tabs:9@1234+94533f69245b3a81a0375c6ed48303bd2d01a06be10394a2a9553d51e69d4ec9 tabs:banner@1234+94533f69245b3a81a0375c6ed48303bd2d01a06be10394a2a9553d51e69d4ec9 tabs:bell@1234+94533f69245b3a81a0375c6ed48303bd2d01a06be10394a2a9553d51e69d4ec9 tabs:linkdown@1234+94533f69245b3a81a0375c6ed48303bd2d01a06be10394a2a9553d51e69d4ec9 tabs@12349458bb380715e722ca98243f2ab9fc5f2422c9385c2593efc1f779b7af3d725a agent:cli:long@2500-967c36e3ca99fb20fe8cc0186c2b7e39dc54e3128c94b339f93b84684c1cf815 recap:docs:unreadfail@2500-9757ed126320e64a766d58bbd80745deba44cdeab19e861f879c8e77f2936fad tabs:long@1234+94eb6bf3635f7305ed492c7cba44478c3d5e25121297436cefd0e37d95bec843 tabs:0+2@0+94eb6bf3635f7305ed492c7cba44478c3d5e25121297436cefd0e37d95bec843 tabs:9@0+94eb6bf3635f7305ed492c7cba44478c3d5e25121297436cefd0e37d95bec843 tabs:banner@0+94eb6bf3635f7305ed492c7cba44478c3d5e25121297436cefd0e37d95bec843 tabs:bell@0+94eb6bf3635f7305ed492c7cba44478c3d5e25121297436cefd0e37d95bec843 tabs:linkdown@0+94eb6bf3635f7305ed492c7cba44478c3d5e25121297436cefd0e37d95bec843 tabs@0977bddb50cbd047bb41ea02dc9d04f75518bfefe9e25944de93d0fce40b7e51a talk:cur:send@500097cf9dd9e3d5e04d7b553aa767fc765a3bd47cc1160f327538f227b2fd0fcd5b recap:desk:short@50009d7bd2ae8f98c5cb55f9d571084fd299b57d613a4a8fb76618bf96e81dfce21e agent:desk@0@@ -171,6 +169,8 @@9e2ae90cba78e828d5560210179ded383efbfe4b64fa0b8ba23c2e9a8f6dca8c recap:desk:medium@6009e9aaedfd8ea9334d7870cb61ff687471f9010ab67b2c01eb495c8cfadb0df98 agent:be@09ee999f0e3a879d4e829e9c3bb6d108656da0989636bbdad39b5d75412b95d4b recap:docs:long@5000+9fefe96b64cdacc429b9eb8e70a17becc9553dad897b43892871bc0a83bcc3a2 recap:docs:unreadfail@0+9fefe96b64cdacc429b9eb8e70a17becc9553dad897b43892871bc0a83bcc3a2 recap:docs:unreadfail@5000a03c5151d6b49434a1ddf862f9c4c9a4631b4e1c4068ff6ccc1dee164a9f4e3a agent:desk@1234a03c5151d6b49434a1ddf862f9c4c9a4631b4e1c4068ff6ccc1dee164a9f4e3a recap:desk:banner@1234a03c5151d6b49434a1ddf862f9c4c9a4631b4e1c4068ff6ccc1dee164a9f4e3a recap:desk:extreme@1234@@ -182,6 +182,7 @@ a06283fd15df5fd37792b2657fb797aed4d084b8d9d654f2ccbb6c1e998b946c ota:restart@12a06283fd15df5fd37792b2657fb797aed4d084b8d9d654f2ccbb6c1e998b946c ota:restart@2500a06283fd15df5fd37792b2657fb797aed4d084b8d9d654f2ccbb6c1e998b946c ota:restart@5000a06283fd15df5fd37792b2657fb797aed4d084b8d9d654f2ccbb6c1e998b946c ota:restart@600+a1e3940d58d67287e25827d39eb9a5c7a75c295bf58de28b7b6793caa748cb30 tabs:mock@2500a6712f0052fbad9b33cf4511c4fbf0e4731c42df8c5533fa33b21a3439caddf2 agent:desk@2500a6712f0052fbad9b33cf4511c4fbf0e4731c42df8c5533fa33b21a3439caddf2 recap:desk:banner@2500a6712f0052fbad9b33cf4511c4fbf0e4731c42df8c5533fa33b21a3439caddf2 recap:desk:extreme@2500@@ -193,19 +194,15 @@ aa7d385e2f538e370781e40d71d58313259312909691e844e8ef8e0758f38b6d ota:100@1234aa7d385e2f538e370781e40d71d58313259312909691e844e8ef8e0758f38b6d ota:100@2500aa7d385e2f538e370781e40d71d58313259312909691e844e8ef8e0758f38b6d ota:100@5000aa7d385e2f538e370781e40d71d58313259312909691e844e8ef8e0758f38b6d ota:100@600+ac53464a1d840500d54ddfceb2360ebe43552e456b85807c997b22a9aa2f622b tabs:mock@600ad007cd4fdc4676271ee900e07647d470675012997b1e9d6c1cfb625ee25df2b recap:docs@0ad007cd4fdc4676271ee900e07647d470675012997b1e9d6c1cfb625ee25df2b recap:docs@2500+ae9a89417055592a7468dfc3a7ea64b58cd85df877f197f8948e2b47a9124eb3 tabs:long@1234b13776fc7d712241ba716efb51747a1cd43cd0d009b8f2a20fbf1c8e36153be7 talk:be@5000b2987fbea14e51cc7b4ddfcc7bc767ee6e7d4a09857ddabb9d0a5a680be6a714 recap:docs@5000+b31f451d884e5af7e9120f0456f994e049d8fafda4b014a76af3cf751cd96705 recap:docs:unreadfail@600b69db76ef91afb9968df7483b44448dbcdd78cf2bfa449dcbe3ee0df3f17ae25 recap:desk:viet@5000b6e4fb3070cc13683d734e9bc6e1f104b71f8aaf949478c8e1d1b4c60c1f3d66 tabs:1@0-b8cdeadaddf01fef7e7446bbcc9029cd1c38cfee158c2b6b81c9c199d2d9023b tabs:0+2@0-b8cdeadaddf01fef7e7446bbcc9029cd1c38cfee158c2b6b81c9c199d2d9023b tabs:9@0-b8cdeadaddf01fef7e7446bbcc9029cd1c38cfee158c2b6b81c9c199d2d9023b tabs:banner@0-b8cdeadaddf01fef7e7446bbcc9029cd1c38cfee158c2b6b81c9c199d2d9023b tabs:bell@0-b8cdeadaddf01fef7e7446bbcc9029cd1c38cfee158c2b6b81c9c199d2d9023b tabs:linkdown@0-b8cdeadaddf01fef7e7446bbcc9029cd1c38cfee158c2b6b81c9c199d2d9023b tabs@0-baba7fed180e82537742be4277715b436fc59ccb3430dddf6e9b1b58adbb83bb tabs:mock@0bb3500cd77cfe1b2bf6148f2f61814b9b0969bcbd61bf0f6e2dab39d8d40c8ab agent:be:offline@1234bc53b18da4d7ea38f8dd56e0b4470d4e0c4e2cadde1c06ffea5153c907b15fc2 talk:fw:send@0bc53b18da4d7ea38f8dd56e0b4470d4e0c4e2cadde1c06ffea5153c907b15fc2 talk:fw:send@1234@@ -216,13 +213,9 @@ bc92dbc7694b741e98f74a47554b9e40581c98efc715b713b1feaa73d90e390b recap:desk:medbea341256b62baa2f37ad783b5921ce770c2a3342e9d5a999322be7c60c5f9ff talk:cur@2500beea941441c90a67801395000a40ac5ae7b3bf55377c95e70b4fa0751b973d95 agent:be:offline@600c158dad57e29a9df5ca9b0169c6f1367dac791a7126326aeca42ee6cfc67e090 tabs:1@2500+c443af989eb93dc9f11d473e90a91bf613767f903f194bea8b0079d707a631dd tabs:working@600+c4af0eaee2c62b423f4d3bcb3a8539098c4ffb95f64dd94b1665ea8112fb1e51 tabs:long@2500c535233a8ccffe6e34bd2767b32fc79e8cfd0929967fcb3b6a515479700804d9 recap:desk:viet@0-c7c85ef2fd4c88bc382514185d13358ee517f112809279e58c755c4a5421d3b4 tabs:0+2@1234-c7c85ef2fd4c88bc382514185d13358ee517f112809279e58c755c4a5421d3b4 tabs:9@1234-c7c85ef2fd4c88bc382514185d13358ee517f112809279e58c755c4a5421d3b4 tabs:banner@1234-c7c85ef2fd4c88bc382514185d13358ee517f112809279e58c755c4a5421d3b4 tabs:bell@1234-c7c85ef2fd4c88bc382514185d13358ee517f112809279e58c755c4a5421d3b4 tabs:linkdown@1234-c7c85ef2fd4c88bc382514185d13358ee517f112809279e58c755c4a5421d3b4 tabs@1234c80992f8fc1e4a7c9a2c04b19ae6b33948f455d47c66d08c38f44531e58bdc3d recap:desk:long@600c936f3d986e84d734756ea015c2f389714618914fe53bc6d8f1ac3217589148c agent:fw:toast@0@0c936f3d986e84d734756ea015c2f389714618914fe53bc6d8f1ac3217589148c agent:fw:toast@0@1234@@ -233,7 +226,9 @@ c94fb8ea8955544b06c3b0120dbedac4d295f98a9ac48c8172037531fcca9d69 agent:fw:long@cacbb92aabbda5f6c5f2a3415fe6ee6738d297ad04a965a2d75146def704c6f9 recap:desk:medium@2500cb3173536ee26106bde53894630e1e172f58d7186f8170bb193309b2f1908a1f agent:cli:banner@2500cb3173536ee26106bde53894630e1e172f58d7186f8170bb193309b2f1908a1f agent:cli@2500+cb737bbe219b16e101016fef367cf5301af9955f9830a0607304e0cf0dd83187 tabs:mock@1234cbd36c0793fbcda1b9b1d265152e864a0b9ca64c76e0f05808b0a3edf7a9a672 tabs:seven@5000+cc493be5ebd9400df8eef0fea1c92270fe2c29e8dc9654acaf812e802136abb6 tabs:long@0ce2c1196b58d9ed5a3e4b0976475ded835cb447ec8f7e8c46b54d427356f4eb1 recap:desk:viet@2500ce89ce6b7c64cb11f77919520d579d4ed011230cc7fd3a802e1c568aa54ea5cd ota:0@0ce89ce6b7c64cb11f77919520d579d4ed011230cc7fd3a802e1c568aa54ea5cd ota:0@1234@@ -247,20 +242,30 @@ d0d1825a2e3100dc03362657abb086bc64a9d5bde8b8f66a17f60d7cce000d39 ota:62@2500d0d1825a2e3100dc03362657abb086bc64a9d5bde8b8f66a17f60d7cce000d39 ota:62@5000d0d1825a2e3100dc03362657abb086bc64a9d5bde8b8f66a17f60d7cce000d39 ota:62@600d2b83012c7ff21064242af7e49c377b19f8314f6cb2458b37904cdcbc9b41eae talk:be@600+d46cf19e2e6fac11b823004de27d2351d01870f5cfecb1486187161754f59d45 tabs:0+2@600+d46cf19e2e6fac11b823004de27d2351d01870f5cfecb1486187161754f59d45 tabs:9@600+d46cf19e2e6fac11b823004de27d2351d01870f5cfecb1486187161754f59d45 tabs:banner@600+d46cf19e2e6fac11b823004de27d2351d01870f5cfecb1486187161754f59d45 tabs:bell@600+d46cf19e2e6fac11b823004de27d2351d01870f5cfecb1486187161754f59d45 tabs:linkdown@600+d46cf19e2e6fac11b823004de27d2351d01870f5cfecb1486187161754f59d45 tabs@600d6591213f2e6735084c2d4ba74350a14ef40e0e4b008b32d86d3bf0c11f9e49f inbox:viet@0d6591213f2e6735084c2d4ba74350a14ef40e0e4b008b32d86d3bf0c11f9e49f inbox:viet@1234d6591213f2e6735084c2d4ba74350a14ef40e0e4b008b32d86d3bf0c11f9e49f inbox:viet@2500d6591213f2e6735084c2d4ba74350a14ef40e0e4b008b32d86d3bf0c11f9e49f inbox:viet@5000d6591213f2e6735084c2d4ba74350a14ef40e0e4b008b32d86d3bf0c11f9e49f inbox:viet@600-d8a89bf906778ecadf9a081108b94d92a604b814b9fa4b50b507b5347e591dda recap:docs:unreadfail@600+d750a984bfeeb870e18c3291aad2cdd2f6f12b7c4c04c87bdf60f1143ea8ad02 tabs:working@1234d95387eb8f4a5e443d31a5fe2c2a25b5d8cba9b0304b25ed2b63250f6ce3d308 recap:desk:viet@600de7fccfd4d9ed624772a2c8d137e182ca0697f72b421dc21d1bb4ce4bc8bf594 tabs:none@2500e01801d7676609320823ae0c55a805defab02449150ee721b8b774f8e85a7294 recap:desk:medium@0e16e322edb920b4cff7d04ca1cb2c8202987f3734183bea64c59a7086b6ba830 agent:cli:long@5000+e1788054013a3e7d0de30c89a433ced3cb54ecca26683ffbff6693e33ab5df09 tabs:notices@0+e1788054013a3e7d0de30c89a433ced3cb54ecca26683ffbff6693e33ab5df09 tabs:notices@1234+e1788054013a3e7d0de30c89a433ced3cb54ecca26683ffbff6693e33ab5df09 tabs:notices@2500+e1788054013a3e7d0de30c89a433ced3cb54ecca26683ffbff6693e33ab5df09 tabs:notices@5000+e1788054013a3e7d0de30c89a433ced3cb54ecca26683ffbff6693e33ab5df09 tabs:notices@600e1ff6c4a58d744e05300c2a57be4e08d5f29cc531a741a83c649a892ab7de29a recap:desk:long@1234e55b4e490d71c454af6cd36f6778798a187eacfcce2b18ca7579fffc5b386bb0 agent:cli:banner@600e55b4e490d71c454af6cd36f6778798a187eacfcce2b18ca7579fffc5b386bb0 agent:cli@600-e63b32be56790ea5b5e16caf052dd52c574b3ec25d9addb994a1d0065459eea0 tabs:mock@600e652d520e88b1d12b1fe7409e957a1065d69f7683ce6d1e8cd2caaca93c725ad tabs:2+2@0e652d520e88b1d12b1fe7409e957a1065d69f7683ce6d1e8cd2caaca93c725ad tabs:2+2@1234e652d520e88b1d12b1fe7409e957a1065d69f7683ce6d1e8cd2caaca93c725ad tabs:2+2@2500@@ -273,11 +278,12 @@ e8f82832b80bcf61502a843b8ebc9523b41386be13fdafcc1cf2d5f5e00922ad inbox:quiet@25e8f82832b80bcf61502a843b8ebc9523b41386be13fdafcc1cf2d5f5e00922ad inbox:quiet@5000e8f82832b80bcf61502a843b8ebc9523b41386be13fdafcc1cf2d5f5e00922ad inbox:quiet@600eaddfb7fa9e32238e63ccfb4e474bfa87eb7336fb6b7d044050fc8ed4560aeb1 recap:desk:long@0-ed3a6dcee6b63bb4552e02b12f6690de883de2506ef5bb038358d34f27206e0c tabs:notices@0-ed3a6dcee6b63bb4552e02b12f6690de883de2506ef5bb038358d34f27206e0c tabs:notices@1234-ed3a6dcee6b63bb4552e02b12f6690de883de2506ef5bb038358d34f27206e0c tabs:notices@2500-ed3a6dcee6b63bb4552e02b12f6690de883de2506ef5bb038358d34f27206e0c tabs:notices@5000-ed3a6dcee6b63bb4552e02b12f6690de883de2506ef5bb038358d34f27206e0c tabs:notices@600+ec35e5383f8ca65a2fd44da47c5c0c7b750d323a87d2be81bede059ba5136a00 tabs:0+2@2500+ec35e5383f8ca65a2fd44da47c5c0c7b750d323a87d2be81bede059ba5136a00 tabs:9@2500+ec35e5383f8ca65a2fd44da47c5c0c7b750d323a87d2be81bede059ba5136a00 tabs:banner@2500+ec35e5383f8ca65a2fd44da47c5c0c7b750d323a87d2be81bede059ba5136a00 tabs:bell@2500+ec35e5383f8ca65a2fd44da47c5c0c7b750d323a87d2be81bede059ba5136a00 tabs:linkdown@2500+ec35e5383f8ca65a2fd44da47c5c0c7b750d323a87d2be81bede059ba5136a00 tabs@2500ed3b9ffee34222fb5499eda318248770bbf67bcfa6d7e5e7c611a3c00b531683 agent:fw:toast@2500@0ed3b9ffee34222fb5499eda318248770bbf67bcfa6d7e5e7c611a3c00b531683 agent:fw:toast@2500@1234ed3b9ffee34222fb5499eda318248770bbf67bcfa6d7e5e7c611a3c00b531683 agent:fw:toast@2500@2500@@ -288,7 +294,6 @@ ed64d7183a23b8413ca0aefa730b0e0022fbda46883e9c072d0c73f474676073 tabs:3@1234ed64d7183a23b8413ca0aefa730b0e0022fbda46883e9c072d0c73f474676073 tabs:3@2500ed64d7183a23b8413ca0aefa730b0e0022fbda46883e9c072d0c73f474676073 tabs:3@5000ed64d7183a23b8413ca0aefa730b0e0022fbda46883e9c072d0c73f474676073 tabs:3@600-ee01445baf7e0727dda1405aec7b803cbe918bbb44088580632a974dc668f951 tabs:long@600f3cfa611694ec63ff33c63932078abb9cf5abde24fe2c79c9cb252164b954675 agent:kilo@0f3cfa611694ec63ff33c63932078abb9cf5abde24fe2c79c9cb252164b954675 agent:kilo@1234f3cfa611694ec63ff33c63932078abb9cf5abde24fe2c79c9cb252164b954675 agent:kilo@2500diff --git a/devices/harness-pro/firmware/test/ph_perf_baseline.txt b/devices/harness-pro/firmware/test/ph_perf_baseline.txtindex 26741f597..4efbb0a2c 100644--- a/devices/harness-pro/firmware/test/ph_perf_baseline.txt+++ b/devices/harness-pro/firmware/test/ph_perf_baseline.txt@@ -23,3 +23,8 @@ recap:desk:toast@2500 237agent:be 551talk:be 523talk:be:send 450+# 2026-10-19 Working card (three pets in their work scene, WK_SIDE 134): drawn through the bake path over the gradient's colour at the pet's centre (one resample per frame, then row copies).+# Measured 125 and 119 host us (tabs:working has a Claude, a Codex and a Muse, :codex a Codex, a Muse and a Codex), down from 798 with the pets resampled every frame; each number is 1.25 x that, as above.+# 2026-10-19 baked frames copy only their own pixels (no box on the gradient) and Claude draws at 2x on the card: measured 138 and 140.+tabs:working 173+tabs:working:codex 175diff --git a/devices/harness-pro/firmware/test/pod_render.c b/devices/harness-pro/firmware/test/pod_render.cindex 98ebe44f1..4294c86c7 100644--- a/devices/harness-pro/firmware/test/pod_render.c+++ b/devices/harness-pro/firmware/test/pod_render.c@@ -326,10 +326,17 @@ int main(int argc, char **argv)}if (inbox) pod_nav_act(&N, &M, POD_A_INBOX, 0, T0);else if (!strcmp(screen, "tabs:notices")) { // Home on the Notices card (the entries are added above; the asking agent counts too)- pod_nav_act(&N, &M, POD_A_SCROLL, -1, T0);+ pod_nav_act(&N, &M, POD_A_SCROLL, POD_HOME_NOTICES, T0);+ } else if (!strncmp(screen, "tabs:working", 12)) { // Home on the Working card (fw, be, web, cur work: three pets on page 0); :codex has be, web (Muse), site (Codex) work+ if (strstr(screen, ":codex")) {+ static const char *const off[] = {"fw", "ota", "cur"};+ for (int i = 0; i < 3; i++) pod_model_turn(&M, off[i], "done", NULL, 0, T0);+ pod_model_turn(&M, "site", "activity", "Building the landing page", 20, T0);+ }+ pod_nav_act(&N, &M, POD_A_SCROLL, POD_HOME_WORKING, T0);} else if (!strcmp(screen, "tabs:9")) more_tabs(3); // nine tabs: more than one pageelse if (!strcmp(screen, "tabs:seven") || !strcmp(screen, "tabs:single")) cover_tabs(!strcmp(screen, "tabs:seven"));- else if (!strcmp(screen, "tabs:none")) { static const char *const *no_ids[1]; static const uint8_t no_n[1]; pod_model_swarms(&M, NULL, no_ids, no_n, 0, "", NULL, 0); pod_model_question_close(&M, "cli"); } // the first screen: no tabs+ else if (!strcmp(screen, "tabs:none")) { static const char *const *no_ids[1]; static const uint8_t no_n[1]; pod_model_swarms(&M, NULL, no_ids, no_n, 0, "", NULL, 0); pod_model_question_close(&M, "cli"); for (unsigned i = 0; i < sizeof AGENTS / sizeof AGENTS[0]; i++) pod_model_turn(&M, AGENTS[i].id, "done", NULL, 0, T0); } // the first screen: no tabs, nobody working (else the Working card)else if (!strcmp(screen, "tabs:long")) snprintf(M.tabs[0].name, CABLE_NAME_MAX, "%.*s", CABLE_NAME_MAX - 1, "marketing-site-redesign-with-a-long-name"); // Home: a name as long as the model keeps oneelse if (!strncmp(screen, "tabs", 4)) { // tabs, or tabs:<n>: Home on tab nif (screen[4] == ':' && !strcmp(screen + 5, "mock")) mock_tabs();diff --git a/devices/harness-pro/firmware/test/test_ph_glue.c b/devices/harness-pro/firmware/test/test_ph_glue.cindex ef2a8e922..0ad986ffc 100644--- a/devices/harness-pro/firmware/test/test_ph_glue.c+++ b/devices/harness-pro/firmware/test/test_ph_glue.c@@ -439,6 +439,7 @@ static void recent_swipe_steps_tabs(void) {static void overview_pages(void) { // Home pages by tab: the frame's scroll is the tab indexfresh6();pod_model_question_close(&U.model, "a4"); // no notice, so no Notices card: the pages are the tabs (home_notices_pages has the card)+ calm(); pod_model_turn(&U.model, "a4", "done", NULL, 0, 31); // and nobody works: no Working card eitherrender(1000);CHECK(top()->view == POD_V_TABS && U.nav.depth == 1 && pod_tabs_pages_of(&U.nav, &U.model) == 6 && top()->scroll == 0);swipe(600, 300, 200, 310, 1000);@@ -461,6 +462,7 @@ static void overview_pages(void) { // Home pages by tab: the frame's scroll isstatic void home_pages(void) {fresh();pod_model_question_close(&U.model, "a4"); // no notice: no Notices card+ calm(); pod_model_turn(&U.model, "a4", "done", NULL, 0, 31); // and nobody works: no Working card eitherstatic const char *x[] = {"a1", "a2", "a3"};const char *const *ids[3] = {x, x, x};uint8_t cnt[3] = {3, 3, 3};@@ -1113,15 +1115,15 @@ static void toast_not_here(void) {// ---- Home's Notices card: paging, tap, and a position that survives notices coming and going ----static void home_notices_pages(void) {- fresh(); // a4 asks: one notice, so the card exists: Notices, Build, Docs+ fresh(); calm(); // a4 asks: one notice, so the card exists: Notices, Build, Docsrender(1000);CHECK(pod_tabs_pages_of(&U.nav, &U.model) == 3 && top()->scroll == 0);swipe(200, 300, 600, 310, 1000); // right: the page before tab 0- CHECK(top()->scroll == -1);+ CHECK(top()->scroll == -2);render(1200);CHECK(find(POD_A_INBOX) && !find(POD_A_ENTER_TAB));swipe(200, 300, 600, 310, 2000); // the first page: stays- CHECK(top()->scroll == -1);+ CHECK(top()->scroll == -2);swipe(600, 300, 200, 310, 3000);CHECK(top()->scroll == 0);swipe(600, 300, 200, 310, 4000);@@ -1130,12 +1132,12 @@ static void home_notices_pages(void) {CHECK(top()->scroll == 1 && U.nav.depth == 1);// a tap on the Notices card opens Notices, and Back returns to the cardswipe(200, 300, 600, 310, 6000); swipe(200, 300, 600, 310, 7000);- CHECK(top()->scroll == -1);+ CHECK(top()->scroll == -2);render(8000);pod_out_t o = tap_(360, 300, 8100);CHECK(o.fx == POD_FX_NONE && U.nav.depth == 2 && top()->view == POD_V_INBOX);act(POD_A_BACK, 1);- CHECK(U.nav.depth == 1 && top()->scroll == -1);+ CHECK(U.nav.depth == 1 && top()->scroll == -2);// a tap on a tab card still enters the tabswipe(600, 300, 200, 310, 9000);render(9500);@@ -1144,11 +1146,11 @@ static void home_notices_pages(void) {}static void home_notices_come_and_go(void) {// on tab 1 with a notice: the notice goes, the page under the person is still tab 1; a notice comes, still tab 1- fresh();+ fresh(); calm();act(POD_A_SCROLL, 1);render(1000);CHECK(top()->scroll == 1 && pod_tabs_pages_of(&U.nav, &U.model) == 3);- pod_ui_question_close(&U, "a4");+ pod_ui_question_close(&U, "a4"); pod_model_turn(&U.model, "a4", "done", NULL, 0, 31); // back to work, then done: no Working cardCHECK(top()->scroll == 1 && pod_tabs_pages_of(&U.nav, &U.model) == 2);render(1100);CHECK(find(POD_A_ENTER_TAB) && !strcmp(find(POD_A_ENTER_TAB)->id, "s2"));@@ -1157,10 +1159,11 @@ static void home_notices_come_and_go(void) {render(1300);CHECK(find(POD_A_ENTER_TAB) && !strcmp(find(POD_A_ENTER_TAB)->id, "s2"));// on the Notices card the last notice goes: Home settles on tab 0- fresh();- act(POD_A_SCROLL, -1);- CHECK(top()->scroll == -1);- pod_ui_question_close(&U, "a4");+ fresh(); calm();+ act(POD_A_SCROLL, -2);+ CHECK(top()->scroll == -2);+ pod_ui_question_close(&U, "a4"); pod_model_turn(&U.model, "a4", "done", NULL, 0, 31); // back to work, then done: no Working card+ pod_nav_sync(&U.nav, &U.model);CHECK(top()->scroll == 0 && U.nav.depth == 1);render(1000);CHECK(find(POD_A_ENTER_TAB) && !strcmp(find(POD_A_ENTER_TAB)->id, "s1") && !find(POD_A_INBOX));@@ -1169,10 +1172,10 @@ static void home_notices_come_and_go(void) {CHECK(top()->scroll == 0);}static void home_swipe_up_lands_on_room_tab(void) {- fresh();- act(POD_A_SCROLL, -1); // Home was left on the Notices card+ fresh(); calm();+ act(POD_A_SCROLL, -2); // Home was left on the Notices cardto_agent(1, 0); // a room of Docs, opened another way- CHECK(U.nav.depth == 3 && U.nav.stack[0].scroll == -1);+ CHECK(U.nav.depth == 3 && U.nav.stack[0].scroll == -2);render(1000);swipe(360, 660, 360, 520, 1000); // up from the bottom zoneCHECK(U.nav.depth == 1 && top()->scroll == 1);@@ -1226,6 +1229,7 @@ static void overview_down_opens_inbox(void) {static void fresh8(void) {fresh();pod_model_question_close(&U.model, "a4"); // no notice, so no Notices card: the pages are the tabs+ calm(); pod_model_turn(&U.model, "a4", "done", NULL, 0, 31); // and nobody works: no Working card eitherstatic const char *x[] = {"a1", "a2", "a3"};const char *const *ids[8] = {x, x, x, x, x, x, x, x};uint8_t cnt[8] = {3, 3, 3, 3, 3, 3, 3, 3};@@ -1377,6 +1381,7 @@ static void wake_rates(void) {fresh();calm();pod_model_question_close(&U.model, "a4");+ calm(); pod_model_turn(&U.model, "a4", "done", NULL, 0, 31); // and nobody works: no Working card eitherpod_model_turn(&U.model, "a4", "done", NULL, 0, 30);if (k == 1) act(POD_A_INBOX, 0);render(1000);@@ -1454,6 +1459,111 @@ static void notify_while_looking(void) {CHECK(pod_model_unread_find(&U.model, "a3") != NULL);}+// One swipe is one page, in the list's order: Notices, Working, Build, Docs.+static void home_pages_one_swipe_each(void) {+ fresh(); // a1 works, a4 asks+ render(1000);+ CHECK(pod_tabs_pages_of(&U.nav, &U.model) == 4);+ swipe(200, 300, 600, 310, 1000); CHECK(top()->scroll == -1);+ swipe(200, 300, 600, 310, 2000); CHECK(top()->scroll == -2);+ swipe(200, 300, 600, 310, 3000); CHECK(top()->scroll == -2);+ for (int i = 0; i < 4; i++) swipe(600, 300, 200, 310, 4000 + i * 1000);+ CHECK(top()->scroll == 1);+ swipe(200, 300, 600, 310, 9000); swipe(200, 300, 600, 310, 10000);+ CHECK(top()->scroll == -1);+ pod_ui_question_close(&U, "a4"); // Notices goes: Working is still the page shown+ CHECK(top()->scroll == -1);+ swipe(200, 300, 600, 310, 11000); // the first page now+ CHECK(top()->scroll == -1);+}++// Home's Working card: a swipe starting on the pet band pages the pets, any other swipe pages cards, a tap opens a pet, Back returns to the card.+static void working_card(int n) {+ fresh();+ static const char *const id[6] = {"w1", "w2", "w3", "w4", "w5", "w6"};+ static const uint32_t since[6] = {10000, 50000, 30000, 40000, 20000, 5000}; // turn starts, ms: the newest (w2) first+ static const char *x[] = {"w1", "w2", "w3", "w4", "w5", "w6"};+ pod_model_reset(&U.model);+ pod_model_agents_begin(&U.model);+ for (int i = 0; i < n; i++) pod_model_agent(&U.model, id[i], id[i], "claude", "mac");+ pod_model_agents_end(&U.model);+ const char *const *ids[1] = {x};+ uint8_t cnt[1] = {(uint8_t)n};+ cable_swarm_t it[1] = {{"s1", "Build", (uint8_t)n, (uint8_t)n}};+ pod_model_swarms(&U.model, it, ids, cnt, 1, "s1", NULL, 0);+ for (int i = 0; i < n; i++) pod_model_turn(&U.model, id[i], "started", NULL, 0, since[i]);+ pod_model_clock(&U.model, 100000u);+ U.model.linked = true;+ U.nav.stack[0].scroll = POD_HOME_WORKING;+ render(100000);+}+static void working_card_swipes(void) {+ working_card(5);+ CHECK(top()->scroll == POD_HOME_WORKING && U.nav.work_page == 0);+ swipe(600, 430, 200, 440, 1000);+ CHECK(U.nav.work_page == 1 && top()->scroll == POD_HOME_WORKING);+ swipe(600, 256, 200, 440, 1300); // the band's first row (where the pet hits start): still the pets; already the last page+ CHECK(U.nav.work_page == 1 && top()->scroll == POD_HOME_WORKING);+ swipe(200, 536, 600, 440, 1600);+ CHECK(U.nav.work_page == 0 && top()->scroll == POD_HOME_WORKING);+ swipe(200, 430, 600, 440, 1900); // before the first pet page: stays, and the cards do not page+ CHECK(U.nav.work_page == 0 && top()->scroll == POD_HOME_WORKING);+ swipe(600, 430, 200, 440, 2200);+ swipe(600, 150, 200, 160, 2500); // the title area: the next card, and the pets go back to page 0+ CHECK(top()->scroll == 0 && U.nav.work_page == 0);+ swipe(200, 150, 600, 160, 2800);+ CHECK(top()->scroll == POD_HOME_WORKING);+ swipe(600, 255, 200, 160, 3100); // just above the band: cards+ CHECK(top()->scroll == 0);+ swipe(200, 150, 600, 160, 3400);+ swipe(600, 537, 200, 440, 3700); // just below the band: cards+ CHECK(top()->scroll == 0 && U.nav.work_page == 0);+ working_card(6); // a multiple of 3: two pages, no empty third+ swipe(600, 430, 200, 440, 1000);+ swipe(600, 430, 200, 440, 1300);+ CHECK(U.nav.work_page == 1 && top()->scroll == POD_HOME_WORKING);+ working_card(3); // exactly 3: nothing to page, so the band swipe pages cards like any other (work_page stays 0)+ swipe(600, 430, 200, 440, 1000);+ CHECK(U.nav.work_page == 0 && top()->scroll == 0);+}+static void working_card_shrinks(void) {+ working_card(5);+ swipe(600, 430, 200, 440, 1000);+ CHECK(U.nav.work_page == 1);+ pod_model_turn(&U.model, "w1", "done", NULL, 0, 60000); // 4 left: still 2 pages+ pod_nav_sync(&U.nav, &U.model);+ CHECK(U.nav.work_page == 1);+ pod_model_turn(&U.model, "w5", "done", NULL, 0, 61000); // 3 left: one page+ pod_nav_sync(&U.nav, &U.model);+ CHECK(U.nav.work_page == 0 && top()->scroll == POD_HOME_WORKING);+}+static void working_card_tap_and_back(void) {+ working_card(5);+ const pod_hit_t *h = &U.frame.hits[0];+ int x = h->x + h->w / 2, y = h->y + h->h / 2;+ pod_out_t o = tap_(x, y, 2000); // slot 0: the newest, w2+ CHECK(o.fx == POD_FX_AGENT_OPEN && !strcmp(o.agent, "w2") && top()->view != POD_V_TABS && !strcmp(top()->agent, "w2"));+ act(POD_A_BACK, 1);+ CHECK(U.nav.depth == 1 && top()->view == POD_V_TABS && top()->scroll == POD_HOME_WORKING);+ render(103000);+ o = tap_(x, y, 4000);+ CHECK(o.fx == POD_FX_AGENT_OPEN);+ swipe(360, 690, 360, 500, 5000); // the swipe up home+ CHECK(U.nav.depth == 1 && top()->scroll == POD_HOME_WORKING);+ // the agent leaves the model between draw and tap: nothing opens, and the screen is redrawn+ render(106000);+ pod_model_agents_begin(&U.model);+ pod_model_agent(&U.model, "w1", "w1", "claude", "mac");+ pod_model_agent(&U.model, "w3", "w3", "claude", "mac");+ pod_model_agent(&U.model, "w4", "w4", "claude", "mac");+ pod_model_agent(&U.model, "w5", "w5", "claude", "mac");+ pod_model_agents_end(&U.model);+ bool changed = false;+ t_(true, x, y, 7000);+ o = pod_ui_touch(&U, false, x, y, 7050, &changed);+ CHECK(o.fx == POD_FX_NONE && changed && U.nav.depth == 1);+}+int main(void) {notify_while_looking();overview_pages();@@ -1472,6 +1582,7 @@ int main(void) {home_notices_pages();home_notices_come_and_go();home_swipe_up_lands_on_room_tab();+ home_pages_one_swipe_each();selected_tab_follows();start_enters_first_tab();start_then_focus();@@ -1509,6 +1620,9 @@ int main(void) {asking_agents_do_not_talk();talk_stays_with_its_target();refused_talk_stays_on_the_agent();+ working_card_swipes();+ working_card_shrinks();+ working_card_tap_and_back();printf("test_ph_glue: %d checks ok\n", checks);return 0;}diff --git a/devices/harness-pro/firmware/test/test_ph_perf.sh b/devices/harness-pro/firmware/test/test_ph_perf.shindex 18515e039..ad6ef0fd2 100755--- a/devices/harness-pro/firmware/test/test_ph_perf.sh+++ b/devices/harness-pro/firmware/test/test_ph_perf.sh@@ -22,7 +22,7 @@ cc -std=c11 -D_DEFAULT_SOURCE -Wall -Wextra -Werror -O2 -DHT_FACE_PX=720 -I"$dis-o "$out/pod_render" "$here/pod_render.c" "$fw"/main/pod/*.c "$fw"/main/pod/home/*.c \"$disp/pro_canvas.c" "$disp/terminal.c" "$out/pro_fonts.c"-screens=(tabs tabs:2 tabs:notices agent:fw agent:cli recap:desk talk:fw talk:fw:send inbox agent:fw:toast@2500 recap:desk:toast@2500 agent:be talk:be talk:be:send)+screens=(tabs:working tabs:working:codex tabs tabs:2 tabs:notices agent:fw agent:cli recap:desk talk:fw talk:fw:send inbox agent:fw:toast@2500 recap:desk:toast@2500 agent:be talk:be talk:be:send)runs="${PH_PERF_RUNS:-7}"measure() { # measure <screen>: the best strips24 time over $runs runslocal best=999999999 i usdiff --git a/devices/harness-pro/firmware/test/test_ph_views.c b/devices/harness-pro/firmware/test/test_ph_views.cindex d575a4ea6..d525b6a3b 100644--- a/devices/harness-pro/firmware/test/test_ph_views.c+++ b/devices/harness-pro/firmware/test/test_ph_views.c@@ -106,7 +106,7 @@ int main(void) {pod_model_question(&M, "x8", "ok?"); // x8 askspod_model_clock(&M, now);pod_nav_init(&N);- CHECK(pod_tabs_pages_of(&N, &M) == 8); // seven tabs, and the Notices card first: x8 asks+ CHECK(pod_tabs_pages_of(&N, &M) == 9); // seven tabs, the Notices card (x8 asks) and the Working card (x1, x2)static const unsigned want[7][2] = {{PH_TINT_CODEX1, PH_TINT_CODEX2}, {PH_TINT_CLAUDE1, PH_TINT_CLAUDE2}, {PH_TINT_MUSE1, PH_TINT_MUSE2},{PH_TINT_OTHER1, PH_TINT_OTHER2}, {PH_TINT_CODEX1, PH_TINT_CODEX2}, {PH_TINT_OTHER1, PH_TINT_OTHER2},{PH_TINT_KILO1, PH_TINT_KILO2}};@@ -134,7 +134,7 @@ int main(void) {icons += r->pro_kind == K_IMAGE;dots11 += r->pro_kind == K_RECT_AA && r->pro_height == 11 && r->y >= 660;}- CHECK(cards == 1 && grads == 1 + (t > 0) + (t < 6)); // the tab neighbours peek when they exist (tab 0's left one is the Notices letter, no gradient)+ CHECK(cards == 1 && grads == 2 + (t < 6)); // the neighbours peek: a tab's left one is always a gradient card (tab 0's is the Working card, behind the Notices letter)CHECK(dots11 == 0 && dot_runs() == 0); // no page dotsCHECK(hits_of(POD_A_ENTER_TAB) == 1 && F.hit_count == 1);const pod_hit_t *h = nth_hit(POD_A_ENTER_TAB, 0);@@ -233,9 +233,11 @@ int main(void) {}// no tabs at all: with a notice (x8 asks) the Notices card alone, else the "Harness" wordmarkpod_model_swarms(&M, sw, lists, counts, 0, "", NULL, 0);+ pod_model_turn(&M, "x1", "done", NULL, 0, now); pod_model_turn(&M, "x2", "done", NULL, 0, now); // nobody works: no Working cardN.stack[0].scroll = 0; fresh(); ph_view_home(&F, &N, &M, now);CHECK(text_run("Notices") && text_run("1") && text_run("Tap to read") && hits_of(POD_A_INBOX) == 1 && F.hit_count == 1 && pod_tabs_pages_of(&N, &M) == 1);pod_model_question_close(&M, "x8");+ pod_model_turn(&M, "x8", "done", NULL, 0, now);fresh(); ph_view_home(&F, &N, &M, now);{ // the first screen: "Harness" as seven letter runs in Inter Bold 84 (the only text), centred on x 360 within 2 px, baseline 373,// on the navy ground, a 200x6 track at (260, 430) with a clipped pill, no hits; the light sweeps left to right@@ -316,7 +318,7 @@ int main(void) {// one entry: the card first, 1 new, one rowpod_model_unread_add(&M, "c", "claude-one", "Fixed the cable resync. Tests pass on the host.", 40, now - 5000);CHECK(pod_notice_count(&M) == 1 && pod_tabs_pages_of(&N, &M) == 3);- N.stack[0].scroll = -1; fresh(); ph_view_home(&F, &N, &M, now);+ N.stack[0].scroll = -2; fresh(); ph_view_home(&F, &N, &M, now);{int paper = 0, mid = 0, back = 0, grads = 0, logos = 0, badge = 0;for (int i = 0; i < S.count; i++) {@@ -353,7 +355,7 @@ int main(void) {pod_model_unread_add(&M, "g", "mystery", "Bumped the SDK and regenerated the client. Nothing else changed in this run.", 41, now - 3000);pod_model_unread_add(&M, "m", "muse-one", "Done!", 7, now - 2000);CHECK(pod_notice_count(&M) == 5 && pod_tabs_pages_of(&N, &M) == 3);- N.stack[0].scroll = -1; fresh(); ph_view_home(&F, &N, &M, now);+ N.stack[0].scroll = -2; fresh(); ph_view_home(&F, &N, &M, now);{CHECK(text_run("5") && text_run("+2 more \xc2\xb7 tap to read") && text_run("asker"));int rows = 0, logos = 0, outlines = 0, rules = 0;@@ -397,7 +399,7 @@ int main(void) {// a long count and a notice with no text read "Done" / "Failed"pod_model_unread_add(&M, "c", "claude-one", "", 1, now);((pod_unread_t *)pod_model_unread_find(&M, "c"))->kind = POD_UNREAD_FAILED;- N.stack[0].scroll = -1; fresh(); ph_view_home(&F, &N, &M, now);+ N.stack[0].scroll = -2; fresh(); ph_view_home(&F, &N, &M, now);CHECK(text_run("Failed") && text_run("Failed")->x == 90 + 44 + 44 + 18);// an unknown engine in the first row (an entry of an agent that left the roster): the outlinepod_model_unread_add(&M, "gone", "ghost", "Left the roster.", 1, now + 1);@@ -411,7 +413,7 @@ int main(void) {}// the card is a still page: the beat does not run while it shows, even with a working agent on tab 0pod_model_turn(&M, "c", "started", NULL, 0, now);- N.stack[0].scroll = -1;+ N.stack[0].scroll = -2;CHECK(!ph_home_moves(&N, &M));N.stack[0].scroll = 0;CHECK(ph_home_moves(&N, &M));@@ -1194,6 +1196,93 @@ int main(void) {CHECK(!strcmp(o, "A. B C."));}}+ { // Home's Working card (option D): the working agents newest first, three to a page, a tap on a pet, the colour of one engine+ static pod_model_t M;+ static pod_nav_t N;+ static cable_swarm_t sw[1];+ static const char *const *lists[1];+ static uint8_t counts[1] = {1};+ static const char *const w0[] = {"w1"};+ static const char *const eng[5] = {"claude", "codex", "muse", "kilo", "cursor"}, *const id[5] = {"w1", "w2", "w3", "w4", "w5"};+ static const uint32_t since[5] = {10000, 50000, 30000, 40000, 20000}; // turn starts, ms: the elapsed times are 90, 50, 70, 60, 80 s+ pod_model_reset(&M);+ pod_model_agents_begin(&M);+ for (int i = 0; i < 5; i++) pod_model_agent(&M, id[i], id[i], eng[i], "Mac");+ pod_model_agents_end(&M);+ snprintf(sw[0].id, SWARM_ID_MAX, "w"); snprintf(sw[0].name, CABLE_NAME_MAX, "Solo"); sw[0].panes = sw[0].agents = 1; lists[0] = w0;+ pod_model_swarms(&M, sw, lists, counts, 1, "w", NULL, 0);+ pod_model_link(&M, true);+ const uint32_t now = 100000u;+ for (int i = 0; i < 5; i++) pod_model_turn(&M, id[i], "started", NULL, 0, since[i]);+ pod_model_clock(&M, now);+ pod_nav_init(&N);+ N.stack[0].scroll = POD_HOME_WORKING;+ CHECK(pod_home_working(&M) == 5 && pod_tabs_pages_of(&N, &M) == 2 && ph_home_moves(&N, &M));+ const pod_agent_t *list[8];+ CHECK(ph_working_list(&M, list, 8, now) == 5);+ static const char *const order[5] = {"w2", "w4", "w3", "w5", "w1"};+ for (int i = 0; i < 5; i++) CHECK(!strcmp(list[i]->id, order[i]));+ for (int i = 0; i < 5; i++) CHECK(pod_pet_ink_h(eng[i], POD_SCENE_WORK, 134, 8) <= 128); // the card's square keeps every pet within 128 px+ N.work_page = 0; fresh(); ph_view_home(&F, &N, &M, now);+ CHECK(text_run("Working") && text_run("5") && text_run("w2") && text_run("w4") && text_run("w3") && !text_run("w5"));+ CHECK(text_run("Working")->x == 90 + 44 && text_run("5")->x + text_run("5")->w == 90 + 496);+ CHECK(hits_of(POD_A_FOLLOW) == 3 && F.hit_count == 3);+ for (int k = 0; k < 3; k++) {+ const pod_hit_t *h = nth_hit(POD_A_FOLLOW, k);+ CHECK(h->x == 90 + 105 + k * 165 - 75 && h->y == 56 + 200 && h->w == 150 && h->h == 280);+ CHECK(!strcmp(h->id, order[k]) && !strcmp(M.agents[h->arg].id, order[k]));+ }+ unsigned c1, c2, e1, e2;+ ph_working_tint(&M, &c1, &c2);+ ph_engine_tint("codex", &e1, &e2);+ CHECK(c1 == e1 && c2 == e2); // Codex's blue+ { // the card's gradient is that colour, and the same on every frame+ unsigned d1 = 0, d2 = 0;+ for (uint32_t t = 0; t < 3000; t += 700) {+ fresh(); ph_view_home(&F, &N, &M, now + t);+ for (int i = 0; i < S.count; i++)+ if (S.runs[i].pro_kind == POD_GRAD && S.runs[i].w == 540) {+ uint16_t g[2]; memcpy(g, S.runs[i].text, sizeof g);+ CHECK(!d1 || (d1 == g[0] && d2 == g[1]));+ d1 = g[0]; d2 = g[1];+ }+ unsigned t1, t2; ph_working_tint(&M, &t1, &t2);+ CHECK(t1 == c1 && t2 == c2);+ }+ CHECK(d1 == ht_rgb(c1) && d2 == ht_rgb(c2));+ }+ N.work_page = 1; fresh(); ph_view_home(&F, &N, &M, now); // w5 (Cursor: no pet, its logo) and w1+ CHECK(text_run("w5") && text_run("w1") && !text_run("w2") && hits_of(POD_A_FOLLOW) == 2 && F.hit_count == 2);+ CHECK(!strcmp(nth_hit(POD_A_FOLLOW, 0)->id, "w5") && nth_hit(POD_A_FOLLOW, 0)->arg == 4 && !strcmp(nth_hit(POD_A_FOLLOW, 1)->id, "w1") && nth_hit(POD_A_FOLLOW, 1)->arg == 0);+ CHECK(nth_hit(POD_A_FOLLOW, 0)->x == 90 + 188 - 75 && nth_hit(POD_A_FOLLOW, 1)->x == 90 + 352 - 75); // two on a page sit in the middle+ {+ int logos = 0;+ for (int i = 0; i < S.count; i++)+ if (S.runs[i].pro_kind == K_IMAGE && S.runs[i].x >= 90 + 188 - 75 && S.runs[i].x + S.runs[i].w <= 90 + 188 + 75 && S.runs[i].y > 256 && S.runs[i].y < 456) logos++; // two pets: centred, the first at 270 - 82+ CHECK(logos >= 1);+ }+ { // the worst case, two Codex pets and a Muse on page 0: every frame of a 2 s loop is baked once and the next loop bakes nothing, inside the arena+ static uint16_t shot[540 * 560];+ snprintf(M.agents[3].engine, sizeof M.agents[3].engine, "codex"); // w4+ N.work_page = 0; pod_cell_bake_reset();+ unsigned made = 0;+ for (int lap = 0; lap < 3; lap++) {+ for (uint32_t d = 0; d < 2000; d += 66) { fresh(); ph_view_home(&F, &N, &M, now + d); ht_raster(&S, (ht_rect_t){90, 56, 540, 560}, shot); }+ if (lap == 1) made = pod_cell_bakes();+ }+ printf("working card: %u baked frames, %u px of the %u arena\n", made, pod_cell_bake_px(), 360u * 1024u);+ CHECK(made > 0 && pod_cell_bakes() == made && pod_cell_bake_px() <= 360u * 1024u);+ }+ N.work_page = 9; fresh(); ph_view_home(&F, &N, &M, now); // past the last page: the last+ CHECK(text_run("w5") && hits_of(POD_A_FOLLOW) == 2);+ N.work_page = 0; N.stack[0].scroll = 0; fresh(); ph_view_home(&F, &N, &M, now); // tab 0 with Working as its left neighbour: no hits of its own+ CHECK(!text_run("w2") && hits_of(POD_A_FOLLOW) == 0 && ph_home_moves(&N, &M));+ for (int i = 0; i < 5; i++) pod_model_turn(&M, id[i], "done", NULL, 0, 200000); // nobody works: no Working page, scroll -1 is tab 0+ N.stack[0].scroll = POD_HOME_WORKING;+ CHECK(pod_home_working(&M) == 0 && !pod_home_has(&M, POD_HOME_WORKING) && pod_tabs_pages_of(&N, &M) == 1);+ fresh(); ph_view_home(&F, &N, &M, now);+ CHECK(!text_run("Working") && text_run("Solo") && hits_of(POD_A_FOLLOW) == 0);+ }printf("test_ph_views: %d checks ok\n", checks);return 0;}diff --git a/devices/harness-pro/firmware/test/test_pod_draw.c b/devices/harness-pro/firmware/test/test_pod_draw.cindex 1acbaf469..2b65fb160 100644--- a/devices/harness-pro/firmware/test/test_pod_draw.c+++ b/devices/harness-pro/firmware/test/test_pod_draw.c@@ -792,7 +792,7 @@ static void draw_test_cell_flat_equals_resample(void)for (int j = 0; j < W * H; j++) a[j] = 0;ht_pro_raster(&s.runs[s.count - 1], clip, a);CHECK(pod_cell_bakes() == expect_bakes + 3);- // A full table is not an error: the frame is resampled each time as before, the picture the same. (64 entries; the 65th and later are not kept.)+ // A full table starts over: the 65th entry clears the 64 and is baked in their place, the picture the same either way. (A screen re-bakes what it draws.)pod_cell_bake_reset();for (int n = 0; n < 70; n++) {const uint16_t ground = (uint16_t)(0x0100 + n);@@ -803,7 +803,7 @@ static void draw_test_cell_flat_equals_resample(void)ht_pro_raster(&plain.runs[0], clip, b);CHECK(!memcmp(a, b, sizeof a));}- CHECK(pod_cell_bakes() == 64);+ CHECK(pod_cell_bakes() == 70 && pod_cell_bake_px() == 6u * 16u); // all 70 baked; the 6 since the restart hold 4 x 4 px each (6 x 6 at 5/8)pod_cell_bake_reset();CHECK(pod_cell_bakes() == 0 && pod_cell_bake_px() == 0);}diff --git a/devices/harness-pro/firmware/test/test_pod_nav.c b/devices/harness-pro/firmware/test/test_pod_nav.cindex 11134fba6..e20cbd989 100644--- a/devices/harness-pro/firmware/test/test_pod_nav.c+++ b/devices/harness-pro/firmware/test/test_pod_nav.c@@ -38,6 +38,12 @@ static void fresh(void) {pod_nav_init(&N);}+// fresh() with nobody working: Home's pages are then the Notices card and the tabs only.+static void fresh_still(void) {+ fresh();+ pod_model_turn(&M, "a1", "done", NULL, 0, 11);+}+static void to_agent(int tab, int idx) {act(POD_A_OPEN_TAB, tab, 0);act(POD_A_OPEN_AGENT, idx, 0);@@ -510,11 +516,11 @@ static void nav_test_stale_leaves_working(void) {// The Tabs grid scrolls by rows in the root frame: SCROLL adds (never below 0), a model change or sync leaves it, and the// root frame holds no tab (the chosen cover is the model's selected tab).static void nav_test_grid_scroll(void) {- fresh();+ fresh_still();act(POD_A_SCROLL, 1, 0);CHECK(top()->scroll == 1 && N.depth == 1 && top()->tab_id[0] == 0);act(POD_A_SCROLL, -5, 0);- CHECK(top()->scroll == -1); // the Notices card (a4 asks)+ CHECK(top()->scroll == -2); // the Notices card (a4 asks)act(POD_A_SCROLL, 3, 0);pod_nav_sync(&N, &M);CHECK(top()->scroll == 1 && top()->view == POD_V_TABS && N.depth == 1); // clamped to the last tab@@ -843,24 +849,25 @@ static void nav_test_enter_tab_not_from_room(void) {}-// ---- Pets Home's Notices card: the TABS frame's scroll is the tab index, -1 the Notices card (only while there are notices) ----+// ---- Pets Home's Notices card: the TABS frame's scroll is the tab index, -2 the Notices card (only while there are notices) ----static void nav_test_home_notices_scroll(void) {- fresh(); // a4 asks: one notice+ fresh_still(); // a4 asks: one noticeCHECK(pod_notice_count(&M) == 1 && pod_tabs_pages_of(&N, &M) == 3); // two tabs and the Notices card- act(POD_A_SCROLL, -1, 0);- CHECK(top()->scroll == -1);- act(POD_A_SCROLL, -1, 0);- CHECK(top()->scroll == -1); // the card is the first page- act(POD_A_SCROLL, 2, 0);+ act(POD_A_SCROLL, -2, 0);+ CHECK(top()->scroll == -2);+ act(POD_A_SCROLL, -2, 0);+ CHECK(top()->scroll == -2); // the card is the first page+ act(POD_A_SCROLL, 3, 0);CHECK(top()->scroll == 1);// the notices go: Home never rests on a page that does not exist- act(POD_A_SCROLL, -2, 0);- CHECK(top()->scroll == -1);+ act(POD_A_SCROLL, -3, 0);+ CHECK(top()->scroll == -2);pod_model_question_close(&M, "a4");+ pod_model_turn(&M, "a4", "done", NULL, 0, 12); // it went back to work: finish it, so no Working cardCHECK(pod_notice_count(&M) == 0 && pod_tabs_pages_of(&N, &M) == 2);pod_nav_sync(&N, &M);CHECK(top()->scroll == 0); // the Notices card went: tab 0- act(POD_A_SCROLL, -1, 0);+ act(POD_A_SCROLL, -2, 0);CHECK(top()->scroll == 0); // and there is no card to scroll to// a notice arriving does not move the person: the tab they are on staysact(POD_A_SCROLL, 1, 0);@@ -879,29 +886,29 @@ static void nav_test_home_notices_scroll(void) {CHECK(top()->scroll == 0);// no tabs, a notice: the Notices card alonepod_model_swarms(&M, NULL, NULL, NULL, 0, "", NULL, 0);- act(POD_A_SCROLL, -1, 0);+ act(POD_A_SCROLL, -2, 0);pod_nav_sync(&N, &M);- CHECK(pod_tabs_pages_of(&N, &M) == 1 && top()->scroll == -1);+ CHECK(pod_tabs_pages_of(&N, &M) == 1 && top()->scroll == -2);// a Pets TAB frame (never drawn) keeps the ordinary clamp- fresh();+ fresh_still();act(POD_A_OPEN_TAB, 0, 0);- act(POD_A_SCROLL, -1, 0);+ act(POD_A_SCROLL, -2, 0);CHECK(top()->scroll == 0);}// Leaving a room for Home lands on that room's tab card, never on the Notices card (or whichever page the person left Home on).static void nav_test_home_lands_on_room_tab(void) {- fresh();- act(POD_A_SCROLL, -1, 0); // Home on the Notices card+ fresh_still();+ act(POD_A_SCROLL, -2, 0); // Home on the Notices cardto_agent(1, 0); // a room of tab "Docs" (a4, asks) opened another way (a focus, a notice)- CHECK(N.depth == 3 && N.stack[0].scroll == -1);+ CHECK(N.depth == 3 && N.stack[0].scroll == -2);act(POD_A_TABS, 0, 1); // swipe up from the bottom zoneCHECK(N.depth == 1 && top()->scroll == 1);act(POD_A_SCROLL, -3, 0);to_agent(0, 0);act(POD_A_BACK, 0, 2); // the side buttonCHECK(N.depth == 1 && top()->scroll == 0);- act(POD_A_SCROLL, -1, 0);+ act(POD_A_SCROLL, -2, 0);to_agent(1, 0);act(POD_A_TALK, 0, 3);act(POD_A_BACK, 0, 4); // abort the recording@@ -915,8 +922,82 @@ static void nav_test_home_lands_on_room_tab(void) {CHECK(N.depth == 1 && top()->scroll >= 0);}+// ---- Home's page list: Notices (-2) while there are notices, Working (-1) while an agent works, then the tabs ----+static const char *pages(void) {+ static char b[96];+ int16_t p[POD_TABS_MAX + 2];+ int n = pod_home_pages(&M, p, POD_TABS_MAX + 2), k = 0;+ b[k++] = '{';+ for (int i = 0; i < n; i++) k += snprintf(b + k, sizeof b - k, "%s%d", i ? "," : "", p[i]);+ b[k++] = '}'; b[k] = 0;+ return b;+}+static void nav_test_home_pages(void) {+ fresh(); // a1 works, a4 asks+ CHECK(pod_home_working(&M) == 1 && !strcmp(pages(), "{-2,-1,0,1}") && pod_tabs_pages_of(&N, &M) == 4);+ pod_model_question_close(&M, "a4"); // a4 goes back to work+ CHECK(!strcmp(pages(), "{-1,0,1}"));+ pod_model_turn(&M, "a1", "done", NULL, 0, 30);+ pod_model_turn(&M, "a4", "done", NULL, 0, 31);+ CHECK(pod_home_working(&M) == 0 && !strcmp(pages(), "{0,1}"));+ pod_model_question(&M, "a4", "Proceed?");+ CHECK(!strcmp(pages(), "{-2,0,1}"));+ pod_model_swarms(&M, NULL, NULL, NULL, 0, "", NULL, 0); // no tabs+ CHECK(!strcmp(pages(), "{-2}"));+ pod_model_turn(&M, "a1", "started", NULL, 0, 40);+ CHECK(!strcmp(pages(), "{-2,-1}"));+ pod_model_question_close(&M, "a4");+ pod_model_turn(&M, "a1", "done", NULL, 0, 50);+ pod_model_turn(&M, "a4", "done", NULL, 0, 51);+ CHECK(!strcmp(pages(), "{}") && pod_tabs_pages_of(&N, &M) == 0);+}+static void nav_test_home_clamp(void) {+ fresh(); // {-2,-1,0,1}+ N.stack[0].scroll = -1; // Working vanishes while shown: tab 0, the page to its right+ pod_model_turn(&M, "a1", "done", NULL, 0, 30);+ pod_nav_sync(&N, &M);+ CHECK(top()->scroll == 0);+ pod_model_turn(&M, "a1", "started", NULL, 0, 40); // Notices vanishes while shown: Working, the page to its right+ N.stack[0].scroll = -2;+ pod_model_question_close(&M, "a4");+ pod_nav_sync(&N, &M);+ CHECK(top()->scroll == -1);+ pod_model_swarms(&M, NULL, NULL, NULL, 0, "", NULL, 0); // nothing to the right: the nearest to the left+ pod_model_question(&M, "a4", "Proceed?");+ N.stack[0].scroll = 5;+ pod_nav_sync(&N, &M);+ CHECK(top()->scroll == -1);+ N.stack[0].scroll = -2; // a present page is kept+ pod_nav_sync(&N, &M);+ CHECK(top()->scroll == -2);+}++// A room opened from the Working card sits at depth 2: the Inbox still opens at the full stack, and the room follows the app's tab like any other.+static void nav_test_working_card_room(void) {+ fresh(); // a1 works+ N.stack[0].scroll = POD_HOME_WORKING;+ CHECK(act(POD_A_FOLLOW, pod_model_find(&M, "a1") - M.agents, 0).fx == POD_FX_AGENT_OPEN && N.depth == 2);+ pod_model_unread_add(&M, "a3", "Gamma", "It works.", 20, 21);+ act(POD_A_INBOX, 0, 1);+ CHECK(N.depth == 3 && top()->view == POD_V_INBOX);+ act(POD_A_OPEN_NOTIF, 0, 2); // TABS, AGENT, INBOX, room: full+ CHECK(N.depth == 4 && top()->view != POD_V_INBOX);+ act(POD_A_INBOX, 0, 3);+ CHECK(N.depth == 2 && top()->view == POD_V_INBOX && N.stack[0].scroll == POD_HOME_WORKING);+ act(POD_A_BACK, 0, 4);+ CHECK(N.depth == 1 && N.stack[0].scroll == POD_HOME_WORKING);+ fresh();+ N.stack[0].scroll = POD_HOME_WORKING;+ act(POD_A_FOLLOW, pod_model_find(&M, "a1") - M.agents, 0);+ M.selected = 1; // the app moved to Docs, which does not hold a1: the room follows to Docs' first agent+ CHECK(pod_nav_follow_tab(&N, &M) && N.depth == 3 && !strcmp(top()->agent, "a4") && N.stack[0].scroll == 1);+}+int main(void) {nav_test_home_notices_scroll();+ nav_test_home_pages();+ nav_test_home_clamp();+ nav_test_working_card_room();nav_test_home_lands_on_room_tab();nav_test_enter_tab_pushes();nav_test_enter_tab_empty_noop();diff --git a/devices/harness-pro/firmware/test/test_pro_app.py b/devices/harness-pro/firmware/test/test_pro_app.pyindex 4a270c138..d8185d3d3 100644--- a/devices/harness-pro/firmware/test/test_pro_app.py+++ b/devices/harness-pro/firmware/test/test_pro_app.py@@ -1948,7 +1948,7 @@ static void notify_replace_seen_and_read(void) {pro_app_notif_replace(rows, 3);// Notices: Home's card before the first tab opens it; a row opens the agent. A recap on screen reads its entry and sends// notif.read with the token; a working agent's room has no recap to show, so its entry waits.- pod_nav_act(&U.nav, &U.model, POD_A_SCROLL, -1, now);+ pod_nav_act(&U.nav, &U.model, POD_A_SCROLL, POD_HOME_NOTICES, now);render();expect(tap(POD_A_INBOX, 0), POD_FX_NONE, NULL);CHECK(top() == POD_V_INBOX);diff --git a/docs/superpowers/plans/2026-10-19-pro-working-card.md b/docs/superpowers/plans/2026-10-19-pro-working-card.mdnew file mode 100644index 000000000..2483dfe08--- /dev/null+++ b/docs/superpowers/plans/2026-10-19-pro-working-card.md@@ -0,0 +1,184 @@+# Harness Pro "Working" Card Implementation Plan++> **For agentic workers:** REQUIRED SUB-SKILL: Use superpowers:subagent-driven-development (recommended) or superpowers:executing-plans to implement this plan task-by-task. Steps use checkbox (`- [ ]`) syntax for tracking.++**Goal:** A card on Pro Home, after Notices and before the tab cards, that gathers every working agent. It shows three working pets a page; swiping the pet row shows more, and tapping a pet opens that agent. The card is gone when nothing works.++**Architecture:**+- **Pages.** Home's page order becomes Notices, Working, then the tabs. The TABS frame's `scroll` holds a fixed sentinel per special card (Notices −2, Working −1), so a card coming or going never moves the person to another tab. Every page computation goes through one ordered page list.+- **Card.** `ph_overview.c` draws the card. Each pet slot is a `POD_A_FOLLOW` hit.+- **Gestures.** `pod_glue.c` routes a horizontal swipe that starts inside the pet row to a new `pod_nav_t.work_page`; swipes elsewhere still page cards.++**Tech Stack:** C11 firmware (ESP32-P4), host tests with cc, golden screens.++**Spec:** the owner-approved mockup, option D: `devices/harness-pro/mockup/pro-home-working/layout.html` (`layout_d.*`, built by `mock_layout.py opt_d`). The decisions are restated here:+- **Title and count:** "Working" at the top left, and the count of working agents plain at the top right (no badge, no subtitle).+- **Pets:** three a page, compact (ink about 128 px high), each with its agent name and elapsed time only (no task line, no "+N", no page dots).+- **Colour:** a pseudo-random pick among the working agents' engines, using that engine's tab-card gradient. It is stable while the set of working agents stays the same.+- **Swipe:** a horizontal swipe on the pet row pages the pets.+- **Tap:** tapping a pet opens its agent.+- **Order:** the most recently started turn first.+- **Visibility:** the card exists only while at least one agent works.++All paths are relative to `devices/harness-pro/firmware/`.++## Global Constraints++**Layout** (all in card coordinates; the card is 540×560 at (90, 56) with radius 48, `CARD_*` in `ph_overview.c`)+- **Title:** "Working" in `ph_sb_48`, vertical centre at y 80, x 44.+- **Count:** working agents in `ph_bd_84` (closer to the mockup's bold count than `ph_sb_48`; its digits are baked), right-aligned at x 496, centre y 80.+- **Pet slots:** 3 slots with centres at x 105, 270 and 435.+- **Pets:** feet at y 384, ink no taller than 128 px, drawn in the agent's work scene (`ph_work_scene(a)`).+- **Name:** `ph_sb_22` in `PH_CARD_INK`, centred, top at y 422, cut with "…" to 158 px (`ph_sb_26` cut "firmware-pro").+- **Time:** `ph_sb_22` in `PH_PILL_WORK`, from `pod_fmt_elapsed(…, pod_agent_secs(a, now))`, top at y 456.++**Colour**+- The card uses the engine gradient through the same mapping as tab cards. `tint()` is split into `engine_tint(const char *engine, unsigned *c1, unsigned *c2)` and its tab use.+- The pick is `fnv1a32` over the working agents' ids in model order, mod the number of working agents. The chosen agent's engine sets the colour.++**Data and gestures**+- The working set is `pod_model_eff(m, a) == POD_WORKING`, over every agent in the model.+- Order is the newest turn first: `pod_agent_secs(a, now)` ascending; ties keep model order (`since_ms` is only when the device first saw the agent working, so it ties after a relink).+- **The pet band** is screen y 256–536 (card y 200–480), the same rows as the pet hits.+ - A horizontal swipe that starts in the band on the Working card with more than 3 working agents changes `work_page` by ±1, clamped to `0..pages-1`, and never pages cards.+ - Any other swipe pages cards as today.+- `work_page` resets to 0 whenever the Working card is not the shown page.++**Process**+- No new fonts, heap or PSRAM.+- Render-task stack frames stay at 4 KB or less (`run.sh` caps).+- Every other Home screen must not change.++## Review Focus++1. **The working set changes while the card shows.**+ - An agent finishes on page 2 so that page 2 becomes empty. Expected: `work_page` clamps to the last page.+ - All agents finish. Expected: Home settles on tab 0, or on Notices when there are no tabs; never on a blank page.+ - Tests in Tasks 1 and 3.+2. **The working count is exactly 3, or a multiple of 3.** Expected: no empty trailing page, so a swipe past the last page does nothing. Test in Task 3.+3. **A tapped pet whose agent left the model between draw and tap.** Expected: nothing opens; `FOLLOW`'s id resolution returns −1, and the screen redraws. Test in Task 3.+4. **Notices, Working and tabs appearing and disappearing in every combination** (none, only Notices, only Working, both, no tabs). Expected: paging moves one page per swipe, in order, and the person's tab never jumps. Test in Task 1.+5. **A working agent whose engine has no pet** (for example Cursor). Expected: its 72 px logo, via `ph_card_art`'s fallback, in the slot with name and time. Test in Task 2.++---++### Task 1: The Home page list (Notices −2, Working −1, tabs 0..n−1)++**Files:**+- Modify:+ - `main/pod/pod_view.h` and `.c`: `pod_tabs_pages_of`, `pod_scroll_max`, and a new `pod_home_pages`.+ - `main/pod/pod_nav.c:27-35` (`home_lo`, `home_clamp`), `:245` (the `POD_A_SCROLL` lower bound) and `:313` (the `sync` clamp).+ - `main/pod/home/ph_overview.c`: the `HOME_*` enum, `home_at` and the neighbour logic in `ph_view_home`.+ - `main/app/pod_glue.c:453-460`: Home paging uses the page list.+- Test: `test/test_pod_nav.c`.++**Interfaces:**+- Produces:+ - `int pod_home_pages(const pod_model_t *m, int16_t *out, int cap)`: the present pages in order (−2 if `pod_notice_count > 0`, −1 if any agent works, then 0..tab_count−1), and returns how many.+ - `int pod_home_working(const pod_model_t *m)`: the number of working agents.+ - `enum { POD_HOME_NOTICES = -2, POD_HOME_WORKING = -1 }` in `pod_view.h`.+ - `home_clamp(m, s)`: if `s` is a present page it is kept. Otherwise it moves to the nearest present page to its right (so a vanished Working or Notices lands on tab 0). If nothing is to the right, it takes the nearest to the left.++- [ ] **Step 1: Write failing tests in `test/test_pod_nav.c`**++```c+// pages: with notices and working agents -> {-2,-1,0,1}; working only -> {-1,0,1}; notices only -> {-2,0,1}; neither -> {0,1}+CHECK(pages(m_both) == "{-2,-1,0,1}"); ...+// clamp: scroll -1 when nobody works -> 0; scroll -2 when no notices -> -1 if working else 0+// paging: from -2 one swipe left -> -1, again -> 0 (helper drives pod_ui_touch or POD_A_SCROLL through the glue's page step)+// a Working page whose agents all finish while shown: after pod_nav_sync, scroll == 0+```++(Write these with the file's existing model-building helpers. `pages()` formats the out array.)++- [ ] **Step 2: Run** `bash test/run.sh`. Expected: compile failure (`pod_home_pages` undefined).+- [ ] **Step 3: Implement** the page list. Every place that assumed "−1 is Notices", or computed `lead = pages − tab_count`, now walks the `pod_home_pages` array; find each with `grep -n "notice_count\|HOME_NOTICES\|lead" main`.+- [ ] **Step 4: Run** `bash test/run.sh && bash test/golden.sh --check`. Expected: pass, with golden unchanged, because no fixture has a Working card yet.+- [ ] **Step 5: Commit**: `feat(pro): Home page list with a slot for a Working card`++---++### Task 2: Draw the Working card++**Files:**+- Modify:+ - `main/pod/home/ph_overview.c`: the new `working_card()`, `engine_tint()` split out of `tint()`, and `ph_view_home` drawing the card and its neighbour peeks.+ - `main/pod/home/ph.h`: declare the helpers tests need.+ - `main/pod/pod_nav.h`: `uint8_t work_page;` in `pod_nav_t`.+- Test: `test/test_ph_views.c`; `test/pod_render.c` gains a `tabs:working` screen (Home with scroll −1); golden is re-recorded.++**Interfaces:**+- Consumes: `pod_home_pages`, `pod_home_working`, `POD_HOME_WORKING` (Task 1).+- Produces:+ - `int ph_working_list(const pod_model_t *m, const pod_agent_t **out, int cap)`: working agents ordered by `since_ms` descending.+ - `void ph_working_tint(const pod_model_t *m, unsigned *c1, unsigned *c2)`.+ - `static void working_card(pod_out_frame_t *f, const pod_nav_t *nav, const pod_model_t *m, int x, int y, int w, int h, int r, int fade, bool full, uint32_t now_ms)`: as a neighbour (`full` false) it draws only the faded gradient and "Working", like a tab peek.+ - Hits: for each shown pet, `pod_hit_add_id(f, slot_x, card_y+200, 150, 280, POD_A_FOLLOW, agent_index, agent_id)`.+ - `ph_home_moves()` returns true on the Working page.++- [ ] **Step 1: Write failing tests in `test/test_ph_views.c`**++```c+// 5 working agents (since_ms 10,50,30,40,20) -> order ids by since desc: 50,40,30 on page 0; 20,10 on page 1+// hits on page 0: exactly 3 POD_A_FOLLOW hits, args = those agents' indices, ids set; on page 1: 2+// tint: same working set -> same colour across calls and frames; c1/c2 equal engine_tint(chosen agent's engine)+// a working Cursor agent (no pet) draws its logo in its slot (a POD_CELL/logo run inside the slot rect)+// no working agent -> pod_home_pages has no -1 and ph_view_home at scroll -1 draws tab 0+// ph_home_moves true on the Working page+```++- [ ] **Step 2: Run** `bash test/run.sh`. Expected: FAIL.+- [ ] **Step 3: Implement** the card to the Global Constraints layout.+ - Draw pets with `ph_card_art()`, sizing the square so the ink is no taller than 128 px; use `pod_pet_ink_h` to put the feet at y 384.+ - Under each pet draw a shadow ellipse 0.8 × ink width wide and 14 px tall, in `ph_mix(0x000000, c2, 60)`.+- [ ] **Step 4: Render and compare** with the mockup: `python3 test/pod_render.py tabs:working`, then open `test/out/pod/tabs-working.png` beside `../mockup/pro-home-working/layout_d.png`. Positions should be within a few px.+- [ ] **Step 5: Re-record golden** with `test/golden.sh`, then `PRO_FONT=fonts/LiberationSans-Regular.ttf test/golden.sh`. The only new or changed screens are `tabs:working` and the screens whose fixture now has the card as a neighbour peek; list them in the commit message. Then run `bash test/run.sh`.+- [ ] **Step 6: Commit**: `feat(pro): the Working card on Home`++---++### Task 3: Swipe the pet row, tap a pet++**Files:**+- Modify: `main/app/pod_glue.c`: the swipe branch near `:453` and the band test.+- Test: `test/test_ph_glue.c`.++**Interfaces:**+- Consumes: `pod_nav_t.work_page`, `ph_working_list`, `POD_HOME_WORKING`.+- Produces: no new API.++- [ ] **Step 1: Write failing tests in `test/test_ph_glue.c`**++```c+// Home on Working, 5 working: swipe left starting at (360, 430) -> work_page 1, Home scroll unchanged (-1)+// again -> stays 1 (no page 2); swipe right -> 0+// swipe left starting at (360, 150) (title area) -> Home scroll moves to 0 (the next card), work_page reset 0+// exactly 3 working: swipe left in the band -> work_page stays 0 and cards do not page+// tap at slot 0's centre -> POD_FX_AGENT_OPEN for that agent; the nav top is that agent's frame+// tap after that agent was removed from the model (pod_model_agents_begin/end without it) -> nothing opens, changed=true+// on page 1, an agent finishes so 3 remain -> after the next draw work_page == 0+// after opening an agent from the card, POD_A_BACK (or the swipe up home) returns to Home on scroll -1 (the Working card), not a tab;+// if pod_nav_follow rebuilds the stack onto the agent's tab today, make FOLLOW from Home push over the TABS frame instead+```++- [ ] **Step 2: Run** `bash test/run.sh`. Expected: FAIL.+- [ ] **Step 3: Implement it.**+ - In the Home swipe branch: if the top frame is TABS at `POD_HOME_WORKING`, `pod_home_working(m) > 3` and `start_y` is within 316..536, step `work_page`.+ - Clamp `work_page` against `ceil(n/3)−1` both where it is stepped and before drawing.+ - Reset it whenever the shown page is not Working.+ - `POD_A_FOLLOW` hits already resolve by id (`pod_glue.c:481`). Verify the vanished-agent path returns −1 and draws.+- [ ] **Step 4: Run** `bash test/run.sh`. Expected: pass.+- [ ] **Step 5: Commit**: `feat(pro): swipe the Working card's pets, tap one to open it`++---++### Task 4: Device check++- [ ] **Step 1:** `idf.py -B build-pod -DPROJECT_VER=0.0.99-pod build`, then report the `harness_pro.bin` size.+- [ ] **Step 2:** Flash with `FLASH_PORT=<port> bash scripts/flash.sh --build-dir build-pod`. Then on the device:+ - With two or more agents working, Home shows the card after Notices.+ - Swipe the pets.+ - Tap one; its room opens.+ - Back returns to the Working card.+ - When all agents finish, the card disappears.+- [ ] **Step 3:** The owner checks it on the device, then offer the commit, PR and merge per `AGENTS.md`.