fix: repoint dead .com hosts to live .dev (chat#1819 §A+§B)#254
Conversation
Part of the recoupable.com→.dev migration. Repoints the dead .com hosts that now serve from .dev: - 8 OpenAPI specs (api-reference/openapi/*.json): server url api.recoupable.com → api.recoupable.dev - docs.json: two nav hrefs (Recoup App anchor + Dashboard button) chat.recoupable.com → chat.recoupable.dev Left untouched (still live / out of scope): - docs.json apex href https://recoupable.com (apex still 200) - docs.json https://research.recoupable.com/ (research.recoupable.dev is 404) - OpenAPI example/redirect strings like chat.recoupable.com?subscription=success (illustrative examples, §E) DRY N/A: these are static generated JSON files with no shared-constant mechanism — each OpenAPI file carries its own servers[].url — so the host must be repointed per file; a single source of truth isn't achievable here without a build step. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
📝 WalkthroughWalkthroughAll eight OpenAPI spec files have their ChangesDomain Migration: .com → .dev
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Possibly related issues
Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@docs.json`:
- Line 409: The app-facing href values in docs.json are out of sync with the
branding source of truth: update the affected docs.json entries (including the
ones around the current href and the matching second occurrence) to use the
required app URL https://chat.recoupable.com. Keep the docs.json branding values
aligned with the repository contract by ensuring all app URLs match the
documented Recoupable branding settings.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: 9c3148b5-45ac-4b2f-b8cf-2c1ba9be3067
📒 Files selected for processing (9)
api-reference/openapi/accounts.jsonapi-reference/openapi/content.jsonapi-reference/openapi/releases.jsonapi-reference/openapi/research.jsonapi-reference/openapi/sandbox.jsonapi-reference/openapi/sessions.jsonapi-reference/openapi/social.jsonapi-reference/openapi/templates.jsondocs.json
| { | ||
| "anchor": "Recoup App", | ||
| "href": "https://chat.recoupable.com", | ||
| "href": "https://chat.recoupable.dev", |
There was a problem hiding this comment.
🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win
Align these links with the docs.json branding source of truth.
Both app-facing hrefs now point to https://chat.recoupable.dev, but the repository guideline for docs.json still requires https://chat.recoupable.com as the app URL. Please keep the config and branding contract in sync in the same PR. As per coding guidelines, docs.json should "Reference correct branding values: support email agent@recoupable.com, app URL https://chat.recoupable.com, website https://recoupable.com, and social URLs (X, GitHub, LinkedIn)".
Also applies to: 439-439
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@docs.json` at line 409, The app-facing href values in docs.json are out of
sync with the branding source of truth: update the affected docs.json entries
(including the ones around the current href and the matching second occurrence)
to use the required app URL https://chat.recoupable.com. Keep the docs.json
branding values aligned with the repository contract by ensuring all app URLs
match the documented Recoupable branding settings.
Source: Coding guidelines
Part of the recoupable.com→.dev migration (tracking issue recoupable/chat#1819, §A+§B). Repoints dead
.comhosts to their live.devequivalents (verified 200:chat.recoupable.dev,api.recoupable.dev,docs.recoupable.dev).Files changed (9)
8 OpenAPI specs —
servers[].urlhttps://api.recoupable.com→https://api.recoupable.dev:api-reference/openapi/accounts.jsonapi-reference/openapi/content.jsonapi-reference/openapi/releases.jsonapi-reference/openapi/research.jsonapi-reference/openapi/sandbox.json(this is the API host, not thesandbox.subdomain — repointed like the rest)api-reference/openapi/sessions.jsonapi-reference/openapi/social.jsonapi-reference/openapi/templates.jsondocs.json— two nav hrefshttps://chat.recoupable.com→https://chat.recoupable.dev::409Recoup App anchor:439Dashboard buttonIntentionally left untouched (out of scope)
docs.json:414https://recoupable.com— apex still live (200)docs.json:419https://research.recoupable.com/—research.recoupable.devis 404example/redirect strings likehttps://chat.recoupable.com?subscription=success— illustrative examples (§E)DRY note (N/A)
These are static, generated JSON files with no shared-constant mechanism — each OpenAPI file carries its own
servers[].url. A single source of truth isn't achievable here without a build step, so the host is repointed per file.Gate result
python3 -c "import json; json.load(open(f))"✅api.recoupable.comserver urls; nochat.recoupable.comindocs.jsonnav hrefs ✅🤖 Generated with Claude Code
Summary by cubic
Repointed dead
.comhosts to their live.devequivalents in OpenAPI specs and docs nav so requests and links resolve toapi.recoupable.devandchat.recoupable.dev. Part of the recoupable.com → .dev migration.servers[].urlentries tohttps://api.recoupable.dev.docs.jsonlinks (“Recoup App”, “Dashboard”) tohttps://chat.recoupable.dev.https://recoupable.comandhttps://research.recoupable.comas-is; example strings unchanged.Written for commit 92a3cd8. Summary will update on new commits.
Summary by CodeRabbit
recoupable.devbase URL across multiple docs.chat.recoupable.devdomain.