Skip to content

docs: add AGENTS.md with Cursor Cloud dev environment notes#3

Draft
wangjk9527 wants to merge 2 commits into
cursor/native-one-click-deployment-v2-f252from
cursor/setup-dev-environment-2b19
Draft

docs: add AGENTS.md with Cursor Cloud dev environment notes#3
wangjk9527 wants to merge 2 commits into
cursor/native-one-click-deployment-v2-f252from
cursor/setup-dev-environment-2b19

Conversation

@wangjk9527

Copy link
Copy Markdown
Owner

Summary

Sets up and verifies the DataFoundry development environment for Cursor Cloud agents, and captures durable, non-obvious setup caveats in a new AGENTS.md.

The only committed change is AGENTS.md (env files, node_modules, storage/, .venv are gitignored). The dependency-refresh step is handled by the environment update script (npm install under nvm Node 22.22.2).

Key finding

.npmrc sets engine-strict=true and a transitive dep (posthog-node) requires Node >= 22.22.0, but the VM default node is v22.14.0npm install fails with EBADENGINE. The fix is to use the nvm-managed Node 22.22.2 (documented in AGENTS.md and used by the update script).

Verified in this environment

Area Command Result
Install + build npm install (postinstall tsc -b)
Typecheck/build npm run build
Web unit tests npm run test:web ✅ 586/586
Data Gateway smoke npm run smoke:data-gateway ✅ 5 sources
Config API smoke npm run smoke:config-api
Auth smoke npm run smoke:auth
Run (dev) npm run dev → API :8787 + Web :3000 ✅ healthz/ready 200

Hello-world (core functionality)

Loaded the Web workbench (dev auth auto-login), opened the built-in DTC Growth Review SQLite datasource, and browsed its schema (5 tables + columns) via the Data Gateway — connection test, schema introspection, and read-only schema browsing all succeed without an LLM key.

datafoundry_workbench_schema_browse.mp4

Workbench home
DTC datasource schema (orders table)

To show artifacts inline, enable in settings.

Open in Web Open in Cursor 

wangjk9527 and others added 2 commits July 25, 2026 10:32
提供 deploy.sh 原生部署链路(configure/install/build/start/stop/doctor/tui),
仅托管 Web + API;补齐无内置 DataLink 的 npm start / stack-runner。
语义 Data Link 改为外置 MCP 对接,deploy 不安装、不启动、不作健康门槛。

基于 main reset 后重提原 datagallery-lab#82。

Co-authored-by: wing <wangjk9527@users.noreply.github.com>
Co-authored-by: wing <wangjk9527@users.noreply.github.com>
@wangjk9527
wangjk9527 force-pushed the cursor/native-one-click-deployment-v2-f252 branch from 7e2da5b to 1694cc7 Compare July 26, 2026 07:16
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