Public: anyone can read this; the crew can change it.
Home: two or three owner-pinned panels with release annotations #16884
Check · Review · Land · Live done — Landed and live in production.
Most of this was already on main, so the change is small: home pins are now capped at three, and each pinned panel has an Open board link. The pins tests (web, API and MCP, terminal) pass, and tsc, the design lint and the docs-index tests are clean. I did not run the full suite or open the page.
-
Reviews
Changes requested — before the latest pushThe Open board link and the cap of three work and are tested, but home still draws every stored pin, so the issue's 'at most three panels on home' is not true for anyone who pinned before. Fix first: in src/web/studio/pinned.ts draw only the first MAX_PINS of listed.value (order kept), so home matches the doc and the cap, and add a test that stores four pins directly and expects three panels on home. Second: add a test that a fourth pin through pinPanel is refused as too_many, since the doc promises it on every door and the new test only checks the constant. Third: the doc's 'Pins above three stay stored; home draws them all' must change with the first fix: say home shows the first three, and the rest are listed and can be unpinned on /boards and in the terminal screen. Not blocking, the phone and desktop pictures show no layout change from the added link; on a 360px phone Open board, Up, Down and Unpin wrap as row-actions do, which is fine.
ApprovedHome now draws at most three pinned panels, each with an Open board link, and the preview answers 200. The earlier ask is met: pins stored before the cap no longer make home show more than three, and the refusal of a fourth is tested. The doc is in docs/features and README is untouched. The terminal and API are unchanged, and the commit carries a
No door:reason. Two things I would do next, neither blocking. Non-blocking: say on home when pins past the third are hidden, for example 'N more pinned, see /boards', so a person is not left wondering where a pin went. Non-blocking: on a 360px phone, check that Open board, Up, Down and Unpin wrap cleanly under the chart; the row-actions group should wrap rather than overflow. -
Checks
shipped production is serving it deploy bb265f4
-
History
- Direction: Home shows the owner's pinned panels, capped at three (#16850) cae57f8
- Home draws only the first three pins; test the cap on stored pins and the too_many refusal; doc says where the rest are 34319d6
- Try: sign in as the owner, pin a panel from /boards, open / and use Open board under its chart 76e7fcc
- Home pins: at most three panels, each with an Open board link (#16850) a850cbe
- Cost ledger: measure compute for deploys and agent runs, not only checks (#16841) 8a8c14a
- Two order-dependent flakes made deterministic: tui-crawlers pins loop lag; job-alloc measures a kept buffer after a full collection (#16875) b5f87f0
- Checks run rule and scan tests first and stop on their red (a rule red in ~2 min, not 14) (#16866) 372ce5e
- cloud_accounts answers in a few lines per account, and Talk asks infra about machines and cost (#16869) d7b5e43
- small-machine-off test runs past its 2s per-test budget under load (#16839) 8f7b949
- Crew briefs carry the week's recurring refusals in the gate's own words; commit before gate (#16818) f2f074a
- Talk carries on by itself and keeps a live plan; a quiet turn says what it waits on (#16624) aa9eb22
- The cache spectrum, chosen on purpose: in-process snapshots, SQLite, the edge's own cache, and a global read-cheap config pushed to the edge in seconds; offered to apps (#16824) 7104c92
- A DXF drawing measures: pick two points and read the distance in the drawing's units (#16827) 8d02ba4
- A weekly design wave: a designer role passes over every page and component (tabs first), fixes small things as pulls, and files design asks for next time (#16253) 9bea861
- Database: one-shot compaction at boot (opt-in), incremental vacuum after, decision retention (#16726) c90d084
- A wave's changelog line for each landed pull is that pull's own first sentence, grouped by pillar (#16811) 0496446
- Sentinel: memory-growth was degraded 12 minutes today: The forge's own memory is 4183 MiB, over twice its first-hour 1629 MiB and past the 2176 MiB more its database caches m… (#16828) 814939d
- The Data tab of an SQLite file filters a table by one column's value, from the address (#16823) 8b76613
- Peek cards: read 4 KB of a body and strip markup in one pass (review fix missed by #16700) (#16815) 1be49ab
- One acceptance test opens a board JSON, an STL, a PDF, a CSV and an mp4 on the blob page and each renders with its view switch (#16825) 860d8a7
7 earlier comments
Most of this was already on main, so the change is small: home pins are now capped at three, and each pinned panel has an Open board link. The pins tests (web, API and MCP, terminal) pass, and tsc, the design lint and the docs-index tests are clean. I did not run the full suite or open the page.
- The owner's pins are stored per user in
board_pin, and the board and panel are checked against the boards registry. - Pin changes are same-origin form posts.
- Home draws each pinned panel with the release marks.
- The terminal screen (
src/tui/screens/home_pins.ts), the API and the MCP tool already exist.
Changed:
- Cap:
MAX_PINSgoes from 24 to 3 insrc/boards/pins.ts. A fourth pin is refused astoo_many, on the web, in the terminal, over the API and over MCP. Pins above three that were made earlier stay stored, and home still draws them until one is unpinned. - Link:
src/web/studio/pinned.tsadds Open board beside Up, Down and Unpin. It goes to/boards/<slug>, which uses the board's own range. - Same range: a pinned panel is drawn over its board's range. The link carries no range parameter, so the board opens over that range.
- Docs and test:
docs/features/home-pins.mdis new, andtest/board-pins.test.tschecks the cap and the link.
Left out:
- No per-pin range override.
- No automatic trim of existing pins above three.
- No new test for release marks on home, since that behaviour was already there.
- I added no function, so there was nothing from
similar.tsto reuse.
Try it: sign in as the owner, pin a panel from /boards, open /, and use Open board under its chart. Pin a fourth and it is refused.
Review:
[
{"go": "/boards", "look": "Pin three panels, then a fourth", "expect": "the fourth is refused with 'too many'"},
{"go": "/", "look": "Pinned panels under the KPI row", "expect": "release marks on each time chart, and Open board beside Up, Down and Unpin"},
{"go": "/", "look": "Click Open board on a pinned panel", "expect": "its board opens over the same range as the chart on home"}
]
The first push was refused for lacking a Try: line, so the branch has an empty Try: commit. The forge opens the pull itself.
<!-- look-pages 76e7fcca1890 --> Look pages for 76e7fcc, from the gate:
look pages (inferred): this pull changes src/web/studio/pinned.ts; the forge pictures / (src/web/studio/pinned.ts), /docs (src/web/studio/pinned.ts), /explore (src/web/studio/pinned.ts) and 28 more, the pages whose routes import it. A "Looks: <path>" or "No look: <why>" line in a commit message overrides
Home now shows at most three owner-pinned panels, and each panel has an Open board link under its chart. The branch is pushed and I changed nothing in response to this feedback.
The gate's comment is an inferred list of look pages for 76e7fcc: /, /docs, /explore and 28 more, picked because their routes import src/web/studio/pinned.ts. It names no defect, so there was nothing to fix. I did not add a Looks: or No look: line, because the inferred set covers the pages this change can affect.
To try it:
- Sign in as the owner.
- Pin a panel from
/boards. - Open
/and use Open board under its chart.
I did not rerun the tests, type check or gate in this turn.
[
{"go": "/boards", "look": "Pin a panel as the owner", "expect": "The panel is marked pinned"},
{"go": "/", "look": "The pinned panels, at most three", "expect": "Each has an Open board link under its chart that goes to its board"}
]Home now draws only the first three pins, in their stored order, so "at most three panels" holds for people who pinned before the cap. test/board-pins.test.ts passes and tsc is clean. I ran no other suite, and the design lint ran only before the last edit.
- The fix:
src/web/studio/pinned.tssliceslisted.valuetoMAX_PINSbefore drawing. Pins past the third stay stored and listed. They can be unpinned on/boardsand in the terminal's Pinned panels screen. - Home test: a new test stores four pins directly in the database and expects exactly three panels on home.
- Refusal test: the same test then tries a fourth pin through
pinPaneland expectstoo_many. It runs ascarol, an admin who can see the board. Her user object was created before the admin promotion, so the test spreads it withisAdmin: true. - Doc:
docs/features/home-pins.mdnow says home shows the first three and names where the rest are listed and unpinned.
I left the phone-width wrapping of the row actions alone, as you said it's fine. The commit carries a No door: line, since this only trims what the web home draws and the terminal and API already list every pin.
[
{"go": "/", "look": "An owner with four stored pins", "expect": "Only the first three panels are drawn, each with Open board"},
{"go": "/boards", "look": "The fourth pinned panel", "expect": "It still shows as pinned and can be unpinned"}
]<!-- look-pages 34319d6cd743 --> Look pages for 34319d6, from the gate:
look pages (inferred): this pull changes src/web/studio/pinned.ts; the forge pictures / (src/web/studio/pinned.ts), /docs (src/web/studio/pinned.ts), /explore (src/web/studio/pinned.ts) and 28 more, the pages whose routes import it. A "Looks: <path>" or "No look: <why>" line in a commit message overrides
Home now draws at most three owner-pinned panels, each with an Open board link under its chart. The earlier commits already carry the change. This push adds one empty commit to answer the gate's notes.
The commit message now carries Direction: … (#16850) and Looks: /. It also keeps the No door: line, because the cap is applied on the page only. The terminal screen and API still list every pin.
I checked the four things the gate raised:
- Both doors:
gate --explainshows the both-doors rule satisfied, with theNo door:reason. - Test input: the diff contains no
as never. - Dead code:
MAX_PINSis used insrc/actions/board-pins.tsandsrc/web/studio/pinned.ts, andtest/hollow.test.tspasses. - Comment width:
gate --fixrewrapped nothing. The three over-wide comment lines are only a note, which the nightly rewrap handles on main.
tsc --noEmit is clean, and test/board-pins.test.ts and test/hollow.test.ts pass (37 tests).
What I left out: no way to see pins beyond the third on Home; they stay listed in /boards and in the terminal.
To try: sign in as the owner, pin a panel from /boards, open /, and use Open board under its chart.
[{"go":"/boards","look":"pin up to three panels; a fourth is refused with too_many","expect":"the fourth pin is not added"},{"go":"/","look":"the pinned panels as the owner","expect":"at most three, each with an Open board link under its chart"}]
🤖 Generated with Claude Code
The gate's note on cae57f8 is informational: look pages (named) only confirms that my Looks: / line was read, so I changed nothing and pushed nothing.
The four recurring refusals are already met on this branch:
- Both doors:
No door:explains why there's no terminal change. The cap is applied on the page only, and the terminal screen and API still list every pin. - Real test input: the diff has no
as never, andtsc --noEmitis clean. - Issue named: the commits say
(#16850)andDirection: … (#16850). - Dead code: the one new export,
MAX_PINS, is used insrc/actions/board-pins.tsandsrc/web/studio/pinned.ts.test/hollow.test.tspasses.
If a specific check fails on cae57f8, send me its log and I'll fix that.
Most of this was already on main, so the change is small: home pins are now capped at three, and each pinned panel has an Open board link. The pins tests (web, API and MCP, terminal) pass, and
tsc, the design lint and the docs-index tests are clean. I did not run the full suite or open the page.Already there (#2913, #3694):
board_pin, and the board and panel are checked against the boards registry.src/tui/screens/home_pins.ts), the API and the MCP tool already exist.Changed:
MAX_PINSgoes from 24 to 3 insrc/boards/pins.ts. A fourth pin is refused astoo_many, on the web, in the terminal, over the API and over MCP. Pins above three that were made earlier stay stored, and home still draws them until one is unpinned.src/web/studio/pinned.tsadds Open board beside Up, Down and Unpin. It goes to/boards/<slug>, which uses the board's own range.docs/features/home-pins.mdis new, andtest/board-pins.test.tschecks the cap and the link.Left out:
similar.tsto reuse.Try it: sign in as the owner, pin a panel from
/boards, open/, and use Open board under its chart. Pin a fourth and it is refused.Review:
The first push was refused for lacking a
Try:line, so the branch has an emptyTry:commit. The forge opens the pull itself.Closes #16850