chore: stop tracking local SDD scratch files
This commit is contained in:
@@ -1,38 +0,0 @@
|
||||
# Task 3 Report: Wire API call-sites + auth cutoff + stop auto-stamp
|
||||
|
||||
## Status
|
||||
|
||||
DONE_WITH_CONCERNS
|
||||
|
||||
## Summary
|
||||
|
||||
- Updated all API call sites in scope to use `dealPriorWhere(lens, cutoff)` and `activityPriorWhere(lens, cutoff)`.
|
||||
- Removed person/company prior-lens filtering from contacts, reports, and AI count paths.
|
||||
- Exposed `priorArchive.cutoffAt` from auth DTO generation and kept JWT `priorCutoff` null unless both grant and organization cutoff exist.
|
||||
- Added `promotedFromPriorAt` mapping to Deal and Activity DTOs.
|
||||
- Stopped billing module enable from auto-writing `priorArchiveEnabledAt`; existing cutoff values are preserved.
|
||||
|
||||
## Files Changed
|
||||
|
||||
- `apps/api/src/auth/jwt.strategy.ts`
|
||||
- `apps/api/src/auth/auth.service.ts`
|
||||
- `apps/api/src/billing/billing.service.ts`
|
||||
- `apps/api/src/pipelines/pipelines.service.ts`
|
||||
- `apps/api/src/pipelines/deals-excel.service.ts`
|
||||
- `apps/api/src/activities/activities.service.ts`
|
||||
- `apps/api/src/reports/reports.service.ts`
|
||||
- `apps/api/src/ai/ai-ask.service.ts`
|
||||
- `apps/api/src/contacts/people.service.ts`
|
||||
- `apps/api/src/contacts/companies.service.ts`
|
||||
|
||||
## Verification
|
||||
|
||||
- `npx prisma generate` from `apps/api`: passed.
|
||||
- `npm run typecheck -w @mento/api`: passed.
|
||||
- IDE lint diagnostics for edited files: no errors found.
|
||||
- `graphify update .`: attempted after edits, crashed with exit code `3221225477` and no output; treated as non-blocking per task instructions.
|
||||
|
||||
## Concerns
|
||||
|
||||
- No focused tests were added; verification is the requested API typecheck plus lint diagnostics.
|
||||
- `billing.service.ts` still runs the existing prior-activity backfill only when an organization already has a cutoff. It no longer creates a cutoff when enabling the module.
|
||||
@@ -1,17 +0,0 @@
|
||||
# Task 5 report
|
||||
Status: DONE
|
||||
- shared build: OK
|
||||
- pipeline-merge.test.ts: 5/5 pass
|
||||
- api typecheck: OK
|
||||
- vue-tsc: see VUE_EXIT in controller log
|
||||
- graphify: attempted (may crash)
|
||||
No commit required for verification-only task.
|
||||
|
||||
## Follow-up fix: final review important findings
|
||||
Status: DONE
|
||||
- I-1: Added in-transaction unmoved-deal count guard before deleting the source pipeline.
|
||||
- I-3: Added 30000ms timeout to the interactive merge transaction.
|
||||
- M-1: Added `@IsIn(['retarget_all'])` validation to `MergePipelineDto.leadFormMode`.
|
||||
- graphify update: OK
|
||||
- `cd apps/api; npx tsx --test test/pipeline-merge.test.ts`: OK, 5/5 pass
|
||||
- `npm run typecheck -w @mento/api`: OK
|
||||
Reference in New Issue
Block a user