diff --git a/docs/oss/upstream-fixes.md b/docs/oss/upstream-fixes.md index 1e93f64..20d7af5 100644 --- a/docs/oss/upstream-fixes.md +++ b/docs/oss/upstream-fixes.md @@ -98,6 +98,7 @@ Baseline: commit `b20b138` of the main Waggle repository. | UF-067 | The status bar names a default model that chats cannot use | Fixed | Sidecar, Web UI | | UF-068 | Marketplace skills and plugins ignore the configured data directory | Open | Marketplace, sidecar | | UF-069 | The Apache-2.0 LICENSE of `hive-mind-core` is abridged | Fixed | Licensing | +| UF-070 | "View / save logs" in Settings opens the logs without the session token | Open | Web UI, sidecar | ## Entries @@ -695,3 +696,12 @@ Entries UF-010 to UF-019 come from the UI audit `anti-slop/audit-001-2026-10-14. - Cause: the license files were shortened by hand. - What we did: the files copied from `hive-mind-core` into `@waggle/core` keep Apache-2.0 with an SPDX header and the original copyright line, and `packages/core/LICENSE-APACHE` carries the full, unmodified Apache-2.0 text. `packages/core/LICENSE.md` lists the files. - Recommendation: replace each abridged LICENSE with the full text from https://www.apache.org/licenses/LICENSE-2.0.txt, keeping the copyright line. + +### UF-070. "View / save logs" in Settings opens the logs without the session token +- Status: Open +- Found: 2026-11-04 +- Where: at commit `b20b138`, `apps/web/src/components/os/apps/SettingsApp.tsx:1270` (the "View / save logs" link) and `packages/server/src/local/index.ts:2739` (`GET /api/debug/logs`) +- Symptom: expected from the code, not reproduced yet: Settings > Advanced > "View / save logs" opens a tab that answers 401 instead of the log snapshot. +- Cause: the link is a plain `` to `/api/debug/logs`, so the browser sends no `Authorization` header. The route is not in `AUTH_EXEMPT_PATHS` or `SSE_QUERY_TOKEN_PATHS` in `security-middleware.ts`, so the bearer check rejects it whenever a session token is set, which is the default. +- What we did: nothing yet. +- Recommendation: fetch the snapshot through the adapter with the token and save it as a file from the page, instead of linking to the route.