Skip to content

Add Neon project config for the production branch - #7

Open
pschmeln wants to merge 1 commit into
mainfrom
cursor/neon-connection-aac5
Open

pschmeln wants to merge 1 commit into
mainfrom
cursor/neon-connection-aac5

Conversation

@pschmeln

Copy link
Copy Markdown
Owner

Summary

neon init linked this repo to the existing Neon project and production branch and wrote the starter neon.ts policy plus the @neon/config and @neon/env packages. .neon and node_modules/ are gitignored. No connection string is in this diff.

Deploy and app wiring are still blocked. The Neon CLI is waiting on a browser sign-in on this agent's desktop. After that sign-in, the next step is neon deploy (which writes .env.local) and using those variables in the app from the Neon agent skills. .env.local must stay untracked.

Acceptance criteria

  • The task's acceptance criteria are met, or each gap is listed here
  • The diff stays inside this task

Gaps:

  • Browser sign-in is still open, so neon deploy has not written .env.local.
  • The app does not read the Neon connection variables yet.

How to review

Read neon.ts, package.json, and the .gitignore additions. Confirm the diff has no .env, .env.local, or .neon file and no connection string.

Ran python3 scripts/check_workflow.py (Workflow scaffolding OK).

Isolation

  • Branch: cursor/neon-connection-aac5
  • This work used its own branch. Local simultaneous work used its own worktree.

Secrets

  • The diff contains no passwords, tokens, keys, or private environment files
  • Repository access, branch protection, billing, and deployments are unchanged

Handoff

Branch: cursor/neon-connection-aac5. Done: Neon CLI setup, project link, and starter neon.ts. Remains: finish the Neon browser sign-in, run neon deploy, then use the pulled variables in app code. A human starts the next session. Paste: finish the Neon sign-in already open on the agent desktop, then continue neon deploy and wire the app without printing connection strings.

Merge

A human merges. Agent instructions and this checklist leave the merge button available until an admin enables branch protection or a ruleset.

Open in Web Open in Cursor 

Link the production branch in a gitignored .neon file and declare the starter neon.ts policy. Connection strings stay out of the repo until a signed-in deploy writes .env.local.

Co-authored-by: pschmeln <pschmeln@users.noreply.github.com>

This branch has not been deployed

No deployments
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