Skip to content

Set up development environment (AGENTS.md + startup deps)#5

Draft
ebyron357 wants to merge 1 commit into
mainfrom
cursor/dev-environment-setup-2fd2
Draft

Set up development environment (AGENTS.md + startup deps)#5
ebyron357 wants to merge 1 commit into
mainfrom
cursor/dev-environment-setup-2fd2

Conversation

@ebyron357

Copy link
Copy Markdown
Owner

Summary

Sets up the development environment for ALT-Label-System and documents it for future cloud agents. No application code is modified.

  • Adds AGENTS.md with a ## Cursor Cloud specific instructions section covering repo layout (code lives on feature branches; main is README-only), Python/deps, the optional Ghostscript dependency, and how to run/build/validate.
  • Configures a minimal, guarded startup update script: if [ -f requirements.txt ]; then python3 -m pip install -r requirements.txt; fi (safe on the empty main branch, idempotent, installs to user site).

Environment verified

Validated against the most complete feature branch (cursor/manufacturing-readiness-971b) via a worktree, since main has no code.

  • pip install -r requirements.txt — reportlab, PyYAML, jsonschema, qrcode, Pillow installed cleanly
  • python3 scripts/export_production.py — generated 8 can-label PDFs
  • python3 scripts/export_syrup_production.py — generated 4 syrup-label PDFs
  • python3 scripts/validate_spec.py — Score 51/51, retail readiness 10.0/10
  • python3 scripts/validate_syrup_spec.py — Score 25/25
  • python3 -m compileall -q src scripts — syntax check passed (no linter configured in repo)

Sample rendered output

Reserve 100mg Lychee can label
Original syrup label

To show artifacts inline, enable in settings.

Open in Web Open in Cursor 

Co-authored-by: ebyron357 <ebyron357@users.noreply.github.com>
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