src/tty.ts (~43, 116) calls db.listBoards() (unfiltered SELECT * FROM board), so any ssh session can enumerate and open every guest board. The MCP's list_boards is already scoped per caller (src/mcp.ts ~37–40); the terminal must be the same: a guest sees only a board it opens by id, a signed-in person sees their own boards. Read FORGE_APP_USER_ID/FORGE_APP_USER_ROLE from the environment. Test that a guest terminal session cannot list boards.
src/tty.ts(~43, 116) callsdb.listBoards()(unfilteredSELECT * FROM board), so any ssh session can enumerate and open every guest board. The MCP'slist_boardsis already scoped per caller (src/mcp.ts~37–40); the terminal must be the same: a guest sees only a board it opens by id, a signed-in person sees their own boards. ReadFORGE_APP_USER_ID/FORGE_APP_USER_ROLEfrom the environment. Test that a guest terminal session cannot list boards.