Atlas Docs — Bug-Fix Batch (2026-07-16)
A round of fixes triggered by a screenshot of the Knowledge Pipeline panel showing three failed research jobs, plus a batch of UI papercuts on mobile. Everything below shipped and was rebuilt/redeployed to atlas.binary.ovh the same day.
Why knowledge jobs were failing (the big one)
Root-caused by testing directly against the Grok CLI rather than guessing: asking it to open a specific page on sites like GitHub reliably got the request silently cancelled (stopReason: "Cancelled", empty response) — those sites appear to block or challenge direct fetches. Asking it to search for the same topic instead worked every time, with full reasoning and no restrictions. The knowledge pipeline now runs research (search-based, full tool access) and JSON formatting as two separate calls instead of one combined call that implicitly pushed toward a direct page fetch. Full writeup, including the exact reproduction steps: see the SuperGrok architecture doc alongside this one.
UI fixes
- Approve & Publish no longer force-opens a new tab. It used to
window.openthe vault
URL the instant you approved a draft; now it just marks the job published and you open it when you want to, via the existing "Open doc" button.
- Tooltips wait before showing, and only on real hover. They used to appear after 0.25s on
both hover and tap — meaning on mobile, tapping any icon button in the toolbar could flash a tooltip as an unwanted side effect of the tap. Tooltips now wait ~1.1s and are gated to (hover: hover) and (pointer: fine) devices, so touchscreens never trigger one.
- Failed knowledge jobs can be retried — a Retry button now sits right on the failed job
card in the Atlas UI, and /retry works from Telegram too (retries the most recent failed job). Failure messages are also clearer now instead of a raw JSON-parser exception.
- **The right-side panel (Chat / Knowledge / Comments / Outline) no longer disappears when you
delete a document.** That was never supposed to happen automatically — the fix scopes the auto-close behavior specifically to a user tapping a document row on a small screen, where the panel would otherwise cover the newly-opened document. Deleting a doc, opening a Knowledge Pipeline draft, and Telegram deep links all leave open panels alone.
- **Folder actions (new doc, new subfolder, delete folder) are now reachable on touch
devices.** They were only ever shown on :hover, which doesn't exist on a phone — so the delete-folder option (which already worked correctly, moving contents up a level) was effectively invisible on mobile. The same fix applies to the document row's "⋯" menu.
- Chat and Knowledge Pipeline panels are now mutually exclusive. Opening one now closes
the other, instead of letting both cover the screen at once.
- **The mobile text-selection toolbar no longer collides with the phone's native
copy/cut/paste popup.** It now sits with roughly a line's worth of extra gap on small screens.
- Chat with this document can now edit the document, not just answer questions about it —
toggle "edit mode" (the wand icon), describe the change you want, and review a proposed full-document rewrite before applying it. Every applied edit snapshots the prior version first (reusing the existing version-history system), so there's always an Undo right there in the same chat message, plus the usual Version History modal.
Verified
- The exact previously-failing knowledge job source (
github.com/dolthub/dolt) now reaches
review status with a real multi-card document, tested directly against the running production container.
- Frontend type-checks and builds clean; container rebuilt and redeployed
(docker compose build atlas && docker compose up -d atlas); /api/health confirms green.