- 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 indocs/flowcharts/use ALL CAPS.
- After changing
root, run:npm run typecheck && npm run lint:check && npm run test(npm run lintauto-fixes but does NOT fail on warnings;lint:checkis 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
- 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.jsonversion or editCHANGELOG.mdin PRs; semantic-release handles both. Dependency changes inpackage.jsonandpackage-lock.jsonare allowed when the task requires them.
- Template: Always use
.github/pull_request_template.md. - Copilot: Ignore
package.json,package-lock.json, andCHANGELOG.mdchanges in staging PRs if they matchmain(these are semantic-release artifacts).