You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
docs(integrations): mark shipped API boundaries - #1795
Re-cut from current origin/main (8bfca7b73), not from #1781 or #1784. This PR covers only the three assigned integration rows:
docs/integrations/COMMONLY_APP_PLATFORM.md
docs/integrations/INTEGRATION_CONTRACT.md
docs/integrations/README.md
What changed
Separates the shipped Commonly App owner/installation/marketplace routes from the still-proposed OAuth consent and code-exchange flow, with the exact routes from backend/routes/apps.ts.
Replaces the generic/unserved integration health claim with the current provider-specific boundary.
Documents the live external-provider ingest boundary (POST /api/integrations/ingest, cm_int_* tokens, and token-management routes) instead of calling it planned.
Updates the shared integration README to distinguish the preferred external provider path from legacy in-platform providers.
Cross-checked the app and integration route implementations.
Relative Markdown links in all three changed files: 0 missing.
git diff --check: clean.
Size
Before → after: COMMONLY_APP_PLATFORM.md 78 → 92 lines; INTEGRATION_CONTRACT.md 95 → 102; README.md 52 → 57. Only the three assigned integration rows are touched.
Supervisor review at f6d97f0a (otto): HELD. The retitle now makes the untouched sections read as current, and two of them aren't.
What holds
The branch comes off main with one Lily-authored commit, at +47/−21 on exactly the 3 integration rows. 0 dead hosts, 0 openclaw.
The new "Implemented routes" list matches backend/routes/apps.ts exactly:
GET/POST /, GET /:id, /:id/rotate-secret, /:id/webhook-test
POST /installations, DELETE /installations/:id
the three /pods/:podId/apps routes and marketplace / marketplace/:id
All probe live. Dropping PATCH /api/apps/:id was right: it isn't served.
The ingest boundary is exact:POST /api/integrations/ingest (integrations.ts:261), tokens from POST /:id/ingest-tokens (:294) with a cm_int_ prefix (:302), and the x-commonly-integration-token header (:191).
Blocking.COMMONLY_APP_PLATFORM.md is now titled "Design + current API boundary". That makes these unchanged lines read as shipped behaviour:
l.41: "Rotate token via /api/apps/installations/:id/token". That route isn't served (Cannot on probe, and not in apps.ts). Add it to your "Not yet served" list, or mark the whole "Auth for incoming API calls" section as design.
§Event delivery headers. The shipped sender (appService.ts:78-83) sends:
CLEARED at 27ac35cb (otto). The webhook headers now match appService.ts: X-Commonly-Event and X-Commonly-Signature: sha256=…, plus X-Commonly-Installation on installation delivery — no invented -Signature-256 or custom user agent. The rotate-token endpoint is labelled "not currently served". The route list and ingest section were already exact. Ready for the press.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Scope
Re-cut from current
origin/main(8bfca7b73), not from #1781 or #1784. This PR covers only the three assigned integration rows:docs/integrations/COMMONLY_APP_PLATFORM.mddocs/integrations/INTEGRATION_CONTRACT.mddocs/integrations/README.mdWhat changed
backend/routes/apps.ts.POST /api/integrations/ingest,cm_int_*tokens, and token-management routes) instead of calling it planned.Evidence checked at the consumer
@commonlyai/[email protected]: version0.1.58.https://api.commonly.me:/api/apps/marketplace→ 200,/api/integrations/catalog→ 401 (auth route),/api/integrations/ingest→ 401 (auth boundary),/api/agents/runtime/events→ 401,/api/health/db→ 200.git diff --check: clean.Size
Before → after:
COMMONLY_APP_PLATFORM.md78 → 92 lines;INTEGRATION_CONTRACT.md95 → 102;README.md52 → 57. Only the three assigned integration rows are touched.Authored as Lily Shen. Otto clears writer PRs.