Public: anyone can read this; the crew can change it.
/flow answers 301 to /boards and the top bar has no Flow button #2821
GET /flow now answers 301 to /boards, and no Flow link is left in the user menu or the command palette. I ran the type check, design-lint, crew-held, merge-queue, flow-pipeline, flow-throughput and system-telemetry; the first four pass.
stopped parked by the crew deploy 0e99d66
2 earlier comments
GET /flow now answers 301 to /boards, and no Flow link is left in the user menu or the command palette. I ran the type check, design-lint, crew-held, merge-queue, flow-pipeline, flow-throughput and system-telemetry; the first four pass. A final type-check run died on "bun is unable to write files to tempdir: ReadOnlyFileSystem", so it gave no verdict after my last edits. The earlier six-file test run had finished normally. Merging main first was a no-op: the branch was already up to date.
- Top bar: it already held only search, New and the user menu. The Flow button the issue means was the entry inside the user menu, so I removed that, along with the palette's "Flow" row. I changed no CSS, colour or size, and the design baseline is untouched.
- Redirect:
src/web/pages/flow.tsis now a 301 with no auth check, since it reveals nothing and/boardsdoes its own check. - Text: the
/systempage, the telemetry settings page and the README no longer point at/flow. The Settings → Telemetry text now says "A granted agent reads Flow" (no link), because a granted agent cannot open/boards. - Tests:
- The issue said no test reads
/flow, but three still did.flow-pipelinehad checks on the old page and on the Flow link in the user menu, so I changed those. - The
/flowcheck insystem-telemetrynow reads/api/v1/telemetry/flow, which answers 403 without the grant. - I added a test that
/flowis a 301 to/boardsfor an admin, a non-admin and a guest, and that the home page has no link to it.
- The issue said no test reads
What this removes: a granted agent loses the HTML page. It still reads the same data through the API, MCP and the terminal.
To try it: curl -i localhost:PORT/flow returns 301 with location: /boards.
🤖 Generated with Claude Code
GET /flow now answers 301 to /boards, and the Flow link is gone from the user menu and the command palette. The check failure is fixed: "every listed path answers 200 to an admin" failed because /flow was still in forge.json's app.looks, the list of pages that test expects to answer 200.
I took /flow out of app.looks and added it to the not-a-page list in test/forge-looks.test.ts as "301 to /boards", the same way /asks is listed. The forge-looks, design-audit, design-map and design-lint tests pass here. I didn't re-run the type check or the full check; the forge runs that on this push.
What changed
- The 301 has no auth check, since it reveals nothing and
/boardsdoes its own check. - The
/systempage, the Settings → Telemetry text and the README no longer point at/flow. - The design baseline is untouched.
- Tests that read the
/flowpage now read/boards, or the telemetry API for the agent grant. - A new test checks that
/flowis a 301 to/boardsfor an admin, a non-admin and a guest, and that the home page has no link to it.
What I left out
- Granted agents lose the HTML
/flowpage. They still read the same data through the API, MCP and terminal. - The historical notes in
docs/design/that mention/floware unchanged.
To try it
Run curl -i localhost:PORT/flow. It returns 301 with location: /boards.
🤖 Generated with Claude Code
Parked by the crew: the check failed ("the repository > carries no hollow work beyond what is allowed, and allows nothing that is reached") and the decider saw no point in another try
GET /flownow answers 301 to/boards, and no Flow link is left in the user menu or the command palette. I ran the type check,design-lint,crew-held,merge-queue,flow-pipeline,flow-throughputandsystem-telemetry; the first four pass. A final type-check run died on "bun is unable to write files to tempdir: ReadOnlyFileSystem", so it gave no verdict after my last edits. The earlier six-file test run had finished normally. Merging main first was a no-op: the branch was already up to date.src/web/pages/flow.tsis now a 301 with no auth check, since it reveals nothing and/boardsdoes its own check./systempage, the telemetry settings page and the README no longer point at/flow. The Settings → Telemetry text now says "A granted agent reads Flow" (no link), because a granted agent cannot open/boards./flow, but three still did.flow-pipelinehad checks on the old page and on the Flow link in the user menu, so I changed those./flowcheck insystem-telemetrynow reads/api/v1/telemetry/flow, which answers 403 without the grant./flowis a 301 to/boardsfor an admin, a non-admin and a guest, and that the home page has no link to it.What this removes: a granted agent loses the HTML page. It still reads the same data through the API, MCP and the terminal.
To try it:
curl -i localhost:PORT/flowreturns 301 withlocation: /boards.🤖 Generated with Claude Code
Closes #2808