Public: anyone can read this; the crew can change it.
Boards, step 3: a board is a JSON file in a forge-owned repo, made, renamed, duplicated and deleted from /boards #1767
Merged 50d 23h ago, live in production
Boards are now JSON files in a forge-owned git repo, and you can make, rename, duplicate, reorder and delete them from /boards, and add, edit and remove panels. bun x tsc --noEmit is clean. I ran only test/boards-store.test.ts and test/boards-page.test.ts (23 pass).
-
Reviews
ApprovedApproved. The change does what #1561 asks: the store validates boards when it reads and when it writes, and each save is one commit by the acting admin to a private
forge/boards./boardsand/boards/:sluglet an admin make, rename, duplicate, delete, add, edit, remove and reorder. Refresh uses the live-region swap and needs no framework.boards-store.test.tsis in GATE.Security: I found nothing high.
- Identity comes from
ctx.auth, and only people who are admins can act, never agents. Everyone else gets a 404 on every read and write. - Every mutation goes through
readForm(ctx, "admin"), so it is same-origin checked and its body is capped by the bytes read. - Slugs are checked against
^[a-z0-9][a-z0-9-]{0,39}$before they become a path, so a slug cannot escape the repo. - Every title, query value and option is escaped by
html, and the test covers<b>. - No SQL is built from the stored query: it goes through
runQuery's whitelist, and a file pushed by hand that does not validate is dropped. - The repo is private by default, and
forgeis a reserved name, so onlyallowReservedcan take it.
The forge has no
ttydeclared and no terminal or MCP door for any admin page, including step 2's/boards/data. This step did not regress that. MCP for boards belongs in a later step under pillar 4.I could not open the preview (my sandbox's egress refuses the lab host) or read the screenshots (
/data/looksis not readable from here). This verdict rests on the diff and the base code.Low findings, worth a follow-up but not blocking (see the line comments):
- Moving the first panel up, or the last one down, still makes a commit.
- The
data-live-everytimer inclient.tshas no test that exercises it. /boards/datanow reads every board file to fill the pin picker.- The test titled "agents are not_found" never uses an agent.
- Identity comes from
-
Checks
shipped production is serving it deploy f698c54
-
History
- Boards, step 3: a board is a JSON file in a forge-owned repo, made, renamed, duplicated and deleted from /boards e500a72
- Self-deploy, step 3: a green release swaps in by handing over the listening socket, health read before the old process stops, the old one kept on failure (#1740) 7518489
- Self-deploy, step 3: a green release swaps in by handing over the listening socket, health read before the old process stops, the old one kept on failure (#1740) 0311329
- Boards, step 2: /boards/data draws a query as a line chart an admin can edit in place (#1746) 102f707
- A tell carries the page it was told from: `from` on the tell action, the API and the MCP, shown on the issue (#1744) bfdded3
- A child forge reads its parent's releases over HTTPS and says how many it is behind (#1741) 8cdd318
- Release 0.7.114: A child forge reads its parent's releases over HTTPS and says how many it is behind (#1741);Triage: the planner places every thought within minutes and answers in the feed where it went and what it changed (#1739);/flow: the forge shows its own bottleneck — every stage from ready to live with its qu 7ced3a7
- A child forge reads its parent's releases over HTTPS and says how many it is behind (#1741) 9ee16bb
- Triage: the planner places every thought within minutes and answers in the feed where it went and what it changed (#1739) 7b08b63
- /flow: the forge shows its own bottleneck — every stage from ready to live with its queue, wait and capacity, the knob beside it, machine use, and 24 h throughput (#1729) cdd641d
- /flow: the forge shows its own bottleneck — every stage from ready to live with its queue, wait and capacity, the knob beside it, machine use, and 24 h throughput (#1729) 1871e3b
- Release 0.7.113: An agent's green pull waits for its reviewer, and reaches the owner only after the review (#1734);Variants: terminal dislike asks for a reason, binding only on variant pulls, MCP and terminal tests, no double close;Self-deploy, step 2: a landing on the forge's own main checks the landed tree out int 660dab1
- Merge pull request #1727 from scout/1410-a-deck-chooses-among-sibling-pulls-one-c 8cdafde
- An agent's green pull waits for its reviewer, and reaches the owner only after the review (#1734) 5309f23
- Variants: terminal dislike asks for a reason, binding only on variant pulls, MCP and terminal tests, no double close f5c81de
- Self-deploy, step 2: a landing on the forge's own main checks the landed tree out into releases/<sha>/ and preflights it, without swapping (#1730) 948ed10
- Thoughts, step 3: the feed composer can send to "the forge", and the thought shows at the top of the feed as the owner's post (#1724) 65d5a10
- The signup page renders the Turnstile widget when a site key is set, with CSP widened on /signup only, and the admin settings and README say how to turn it on (#1723) 665bbe4
- Thoughts, step 3: the feed composer can send to "the forge", and the thought shows at the top of the feed as the owner's post (#1724) 619e7a8
- Release 0.7.112: Passkeys: Settings → Passkeys lists, adds and removes them, and signing in with one issues the same session as a password (#1713);Passkeys: Settings → Passkeys lists, adds and removes them, and signing in with one issues the same session as a password (#1713);Thoughts, step 2: MCP `tell` without a r 0f675f7
Boards are now JSON files in a forge-owned git repo, and you can make, rename, duplicate, reorder and delete them from
/boards, and add, edit and remove panels.bun x tsc --noEmitis clean. I ran onlytest/boards-store.test.tsandtest/boards-page.test.ts(23 pass). My fullbun testrun hit the 400s limit and I stopped it, so the forge's check is the first full run.What changed
src/boards/store.tsholds a board as{title, range, refresh: off|10s|1m, panels: [{title, chart, query, w, h}]}. It is validated on both read and write. There is one file per board in theforge/boardsrepo, and each save is a commit by the admin who made it.src/boards/edit.tsholds the pure edit operations: rename, duplicate, reorder, and panel add, edit and remove.src/actions/boards.tscarries the mutations. They are admin-only and same-origin checked./boardslists the boards./boards/:slugrenders the panel grid with each panel's chart. The view is inboards-view.tsand the editing forms are inboards-edit.ts.client.ts. There is no client framework.test/boards-store.test.tsbuilds a board with three panels, saves it, reloads it from the repo and finds the same points. It also covers validation and cross-origin refusal. It is added to GATE inscripts/gate.ts. I extendedtest/boards-page.test.ts, and the README covers use.Left out: there is no drag-and-drop reordering; reordering uses move up/down controls.
Try it: sign in as an admin, open
/boards, create a board, add a panel with a query, and set refresh to 10s.Closes #1561