Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 1.5 KB

AGENTS.md

File metadata and controls

29 lines (22 loc) · 1.5 KB

Docs

  • Read README links for implementation details.
  • Read exact Expo docs at https://docs.expo.dev/versions/v56.0.0/ before writing code.
  • Hand-written docs in docs/ use kebab-case filenames (e.g. edge-agent.md). Auto-generated flowcharts in docs/flowcharts/ use ALL CAPS.

Checks

  • After changing root, run: npm run typecheck && npm run lint:check && npm run test (npm run lint auto-fixes but does NOT fail on warnings; lint:check is the CI gate)
  • After changing functions/, run: cd functions && npm run typecheck && npm run lint && npm test
  • After changing cloud-agent/, run: cd cloud-agent && npm run typecheck && npm test
  • After changing extension/, run: cd extension && npm run typecheck && npm test

Git & Commits

  • Flow: feature → staging → main (via PRs only).
  • Commits: Use Conventional Commits.
    • feat: Minor bump (OTA)
    • fix: Patch bump (OTA)
    • BREAKING CHANGE: Major bump (Native build required)
  • Length: Max 100 characters per line (header, body, and footer).
  • Release artifacts: Do not manually bump the root package.json version or edit CHANGELOG.md in PRs; semantic-release handles both. Dependency changes in package.json and package-lock.json are allowed when the task requires them.

PRs & Reviews

  • Template: Always use .github/pull_request_template.md.
  • Copilot: Ignore package.json, package-lock.json, and CHANGELOG.md changes in staging PRs if they match main (these are semantic-release artifacts).