Skip to content

Add Cursor Cloud specific instructions to AGENTS.md#2

Draft
ruby0322 wants to merge 3 commits into
mainfrom
cursor/env-setup-agents-md-4ace
Draft

Add Cursor Cloud specific instructions to AGENTS.md#2
ruby0322 wants to merge 3 commits into
mainfrom
cursor/env-setup-agents-md-4ace

Conversation

@ruby0322
Copy link
Copy Markdown
Owner

@ruby0322 ruby0322 commented May 17, 2026

Summary

Adds a ## Cursor Cloud specific instructions section to AGENTS.md documenting key development environment caveats for future Cloud Agent sessions.

What's included

  • Services overview table (frontend, backend, Postgres, SeaweedFS)
  • Docker infrastructure startup instructions
  • Backend .env configuration notes (localhost vs container hostnames)
  • MODEL_BACKBONE=mobilenet_v3_large for production checkpoint
  • Postgres password sync with existing volumes
  • CPU-only PyTorch installation for non-GPU VMs
  • NEXT_PUBLIC_LIFF_ID=1657724367-uzPg8SgK
  • LIFF endpoint URL documentation (https://pd.lu.im.ntu.edu.tw/patient)
  • Backend env priority (injected secrets vs .env file)

Verification

All services running and verified:

dev_environment_verification.log

LINE Login Status

  • Backend LINE token verification: Working (LINE_CHANNEL_ID=1657724367, LINE's API reachable)
  • Frontend LIFF OAuth flow: Blocked — LIFF endpoint URL in LINE Developers Console is https://pd.lu.im.ntu.edu.tw/patient; LINE rejects redirects from other domains
  • Action needed: Update LIFF endpoint URL in LINE Developers Console to the dev frontend URL

To show artifacts inline, enable in settings.

Open in Web Open in Cursor 

Document key caveats for development environment setup including:
- Docker infrastructure services startup
- Backend .env configuration (localhost vs container hostnames)
- MODEL_BACKBONE=mobilenet_v3_large for production checkpoint
- Postgres password sync with existing volumes
- CPU-only PyTorch installation for non-GPU VMs
- LIFF endpoint is https://pd.lu.im.ntu.edu.tw/patient; LINE OAuth
  rejects redirects from other domains
- Backend .env must not override injected secrets with empty values
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants