Summary
The Notion connector in atomic-server's Integrations UI fails to connect. Root cause: notion is not a registered platform in the LocalThought catalog — there is no OpenAPI source or overlay set for it in localthought/overlays' catalog.json, and integration-proxy therefore has nothing to compose or serve at /catalog/notion.yaml.
Why this isn't an integration-proxy code change
Per AGENTS.md, platform-specific data (OpenAPI documents, CRUD/collection structure, crudResources, pagination, auth, throttling) must not be hand-authored in this repo. It belongs in localthought/overlays, referenced by pinned, immutable URLs from that repo's catalog.json. This repo only ever gets a one-line bump of the pinned CATALOG_PATH default in src/config.rs once the new revision exists.
Hand-off plan
- In
localthought/overlays: author Notion's platform data, following the pattern used for github-issues / google-calendar / moneybird / todoist / spotify / discord:
- An OpenAPI document for the Notion API (pin from
localthought/openapi-directory if a suitable OAD already exists there, otherwise author one).
auth-overlay.yaml — OAuth2 security scheme + flow.
pagination-overlay.yaml — Notion's cursor-based pagination scheme.
crud-causality-overlay.yaml — components.crudResources for the resources the plugin needs (e.g. pages, databases), matching the shape validated by src/catalog.rs's pinned-fixture tests for other platforms.
- Run that repo's own authoring-time validation before publishing pins.
- Add a
notion entry to localthought/overlays' root catalog.json referencing the pinned commit URLs from step 1, and publish/commit it.
- In
integration-proxy: bump the default CATALOG_PATH in src/config.rs to the new catalog.json commit, restart the service, and optionally add a pinned-fixture test (in the style of the existing #[ignore]d tests in src/catalog.rs) asserting the composed Notion document looks right.
References
No implementation changes are proposed here; this issue is a hand-off record only.
Summary
The Notion connector in atomic-server's Integrations UI fails to connect. Root cause:
notionis not a registered platform in the LocalThought catalog — there is no OpenAPI source or overlay set for it inlocalthought/overlays'catalog.json, andintegration-proxytherefore has nothing to compose or serve at/catalog/notion.yaml.Why this isn't an
integration-proxycode changePer AGENTS.md, platform-specific data (OpenAPI documents, CRUD/collection structure,
crudResources, pagination, auth, throttling) must not be hand-authored in this repo. It belongs inlocalthought/overlays, referenced by pinned, immutable URLs from that repo'scatalog.json. This repo only ever gets a one-line bump of the pinnedCATALOG_PATHdefault in src/config.rs once the new revision exists.Hand-off plan
localthought/overlays: author Notion's platform data, following the pattern used forgithub-issues/google-calendar/moneybird/todoist/spotify/discord:localthought/openapi-directoryif a suitable OAD already exists there, otherwise author one).auth-overlay.yaml— OAuth2 security scheme + flow.pagination-overlay.yaml— Notion's cursor-based pagination scheme.crud-causality-overlay.yaml—components.crudResourcesfor the resources the plugin needs (e.g. pages, databases), matching the shape validated bysrc/catalog.rs's pinned-fixture tests for other platforms.notionentry tolocalthought/overlays' rootcatalog.jsonreferencing the pinned commit URLs from step 1, and publish/commit it.integration-proxy: bump the defaultCATALOG_PATHinsrc/config.rsto the newcatalog.jsoncommit, restart the service, and optionally add a pinned-fixture test (in the style of the existing#[ignore]d tests insrc/catalog.rs) asserting the composed Notion document looks right.References
browser/data-browser/src/chunks/PluginRuns/ConnectNotion.tsxnotionentry): https://raw.githubusercontent.com/localthought/overlays/d83c3ce0afd9f8ca0e4c42e142fa89d5fa9d8f70/catalog.jsonNo implementation changes are proposed here; this issue is a hand-off record only.