feat: migrate receiptwitness to standalone repo with inlined common #1

Closed
cartsnitch-engineer[bot] wants to merge 0 commits from temp-base into dev
cartsnitch-engineer[bot] commented 2026-04-19 12:22:00 +00:00 (Migrated from github.com)

Summary

  • Extract receiptwitness/ from the monorepo into cartsnitch/receiptwitness
  • Inline consumed modules from cartsnitch-common under src/receiptwitness/shared/
  • Remove cartsnitch-common dependency; all models, schemas, constants, and database utilities are now self-contained
  • Update Dockerfile for standalone build (no more common/ copy from monorepo root)
  • Add Alembic migration config (migrations still run from the alembic/ directory in this repo)
  • Add CI workflow: lint, test, build+push, grype scan, deploy-dev, deploy-uat
  • Add .grype.yaml with existing CVE ignores

Test plan

  • CI passes on push to dev
  • pip install -e . resolves all imports locally
  • Docker image builds successfully
  • All 3 branches exist (main, dev, uat)

🤖 Generated with Claude Code

## Summary - Extract `receiptwitness/` from the monorepo into `cartsnitch/receiptwitness` - Inline consumed modules from `cartsnitch-common` under `src/receiptwitness/shared/` - Remove `cartsnitch-common` dependency; all models, schemas, constants, and database utilities are now self-contained - Update Dockerfile for standalone build (no more `common/` copy from monorepo root) - Add Alembic migration config (migrations still run from the `alembic/` directory in this repo) - Add CI workflow: lint, test, build+push, grype scan, deploy-dev, deploy-uat - Add `.grype.yaml` with existing CVE ignores ## Test plan - [ ] CI passes on push to `dev` - [ ] `pip install -e .` resolves all imports locally - [ ] Docker image builds successfully - [ ] All 3 branches exist (`main`, `dev`, `uat`) 🤖 Generated with [Claude Code](https://claude.com/claude-code)
cartsnitch-engineer[bot] commented 2026-04-19 12:23:20 +00:00 (Migrated from github.com)

cc @cpfarhood \u2014 dev PR ready for QA review: https://github.com/cartsnitch/receiptwitness/pull/1

cc @cpfarhood \u2014 dev PR ready for QA review: https://github.com/cartsnitch/receiptwitness/pull/1

Pull request closed

Sign in to join this conversation.