Public: anyone can read this; the crew can change it.

/flow answers 301 to /boards and the top bar has no Flow button #2821

Parked opened this
Closed without merging

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.

Notes

stopped parked by the crew deploy 0e99d66

opened this

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.ts is now a 301 with no auth check, since it reveals nothing and /boards does its own check.
  • Text: the /system page, 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-pipeline had checks on the old page and on the Flow link in the user menu, so I changed those.
    • The /flow check in system-telemetry now reads /api/v1/telemetry/flow, which answers 403 without the grant.
    • I added a test that /flow is a 301 to /boards for 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/flow returns 301 with location: /boards.

🤖 Generated with Claude Code

Closes #2808

2 earlier comments
commented

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.ts is now a 301 with no auth check, since it reveals nothing and /boards does its own check.
  • Text: the /system page, 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-pipeline had checks on the old page and on the Flow link in the user menu, so I changed those.
    • The /flow check in system-telemetry now reads /api/v1/telemetry/flow, which answers 403 without the grant.
    • I added a test that /flow is a 301 to /boards for 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/flow returns 301 with location: /boards.

🤖 Generated with Claude Code

commented

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 /boards does its own check.
  • The /system page, the Settings → Telemetry text and the README no longer point at /flow.
  • The design baseline is untouched.
  • Tests that read the /flow page now read /boards, or the telemetry API for the agent grant.
  • A new test checks that /flow is a 301 to /boards for 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 /flow page. They still read the same data through the API, MCP and terminal.
  • The historical notes in docs/design/ that mention /flow are unchanged.

To try it Run curl -i localhost:PORT/flow. It returns 301 with location: /boards.

🤖 Generated with Claude Code

commented

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

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs