Repository navigation
Description
Split out of #43. Decision (maintainer, 2026-09-23): move LocalThought setup and sync onto the reflector path described in atomic-server's planning/api-plugins.md ("Reflector supersedes the browser/WASM path"), rather than restoring the browser/WASM methods.
Why this is blocking
The browser/WASM path has been removed from both sides:
- atomic-server #1618 removed the WASM
describeIntegration/fetchIntegrationexports. - This repo's
3640748removeddescribe(),fetchRecords(),validateConnection()and the engine parameter fromBrowserIntegrations(integrations/localthought/browser.ts). What remains iscatalog,start,cancel,finishandrequest.
atomic-server's data-browser still calls the removed pieces (all under browser/data-browser/src/chunks/PluginRuns/, checked on feat/plugin-debug at 927d6cf10):
| Call site | Needs |
|---|---|
ConnectLocalThought.tsx:99 |
describe(platform): builds the setup form |
localThought.ts proxyRequest, the 'fetch' action |
fetchRecords(...) |
localThoughtSync.ts:114 |
validateConnection(...) |
localThoughtSync.ts:172–174 |
fetchRecords(...): the import/sync step itself |
localThought.ts engine() |
the WASM fetchIntegration export; throws "Rebuild the WASM bundle and reload Atomic" |
helpers/pluginCatalogUrl.ts:3 |
isLoopbackHost from integrations/localthought/browser, no longer exported here |
These call sites already fit the remaining API: catalog (LocalThoughtCatalog.tsx), start/finish (proxyRequest), cancel (localThoughtCallback.tsx:207), and request (LocalThoughtSyncPanel.tsx:124, ConnectLocalThought.tsx:154).
Consequences:
- The
petse2e lane can't pass at the pinned atomic-server (057e2b67, which already includes #1618), whatever this repo's CI does. The setup dialog can't describe the platform. The two earlier blockers are handled separately: the missing browser WASM bundle (CI gate, mock-proxy fixture registry and lane topology fixes (#43) #48) and the catalog-card remount (Keep integration catalog cards through a remount atomic-server#1637). - atomic-server's data-browser doesn't typecheck against this repo's
integrations/(7 errors, listed above). So atomic-server can't take this repo'sintegrations/until this is resolved.
Work
Per planning/api-plugins.md, a plugin consumes a (self-hosted) reflector instance for discovery, pagination and records, and reflector keeps its OAuth/PKCE handshake. Concretely:
- Decide what replaces
describe,fetchRecordsandvalidateConnectionfor the data-browser: reflector endpoints, orsyncables/devonianin-browser behind reflector's fetch wrapper. - Rewrite the call sites above in atomic-server (PR against
feat/plugin-debug), and drop the WASMengine()loader inlocalThought.ts. - Resolve
isLoopbackHost: re-export it here, or define it in the data-browser. - Update
integrations/pets/e2e/pets.spec.tsfor the new setup flow, and bump.atomic-server-refin its own PR.
Scope note: this is the reflector work kept separate from #43's CI/repo-setup follow-ups. It is also unrelated to the connection-code redesign (#40).
🤖 Generated with Claude Code
Activity
timesheets: note the Clockify e2e spec is blocked on #52 at the curre…
docs: nothing left to move for Clockify e2e; list the e2e quarantines (…
docs: nothing left to move for Clockify e2e; list the e2e quarantines (…
michielbdejong commentedon Sep 23, 2026
Direction changed (maintainer, 2026-09-23). The data-browser's LocalThought setup/sync code is removed in ontola/atomic-server#1549 instead of being rewired, so ontola/atomic-server#1647 and #76 are closed. New plan:
integrations/<plugin>/folder.syncablesthrough a new browser-safe npm entry point, published from this repo; if publishing isn't possible, it bundles fromsyncables/at build time..atomic-server-refthat includes the #1549 removal.notion e2e: drive the drive plugin through the host relay (still quar…
Bump .atomic-server-ref to feat/plugin-debug c707ca4ed (LocalThought …
pets e2e: call enableIntegrationDiscovery with one argument (c707ca4ed)
pets: a drive app in its own iframe, on syncables/browser and the hos…
lanes: un-quarantine the pets e2e tier (#52)
Merge pull request #85 from ontola/claude/issue-52-pets-iframe