docs(10-05): complete tenders controller plan

This commit is contained in:
2026-07-21 11:21:52 +02:00
parent eaff1d86bb
commit 6d6302294e
3 changed files with 206 additions and 7 deletions
+8 -4
View File
@@ -6,14 +6,14 @@ current_phase: 10
current_phase_name: ausschreibungs-radar-foundation-d-e-ingestion
status: executing
stopped_at: Completed 10-02-PLAN.md
last_updated: "2026-07-21T09:13:27.792Z"
last_updated: "2026-07-21T09:21:24.069Z"
last_activity: 2026-07-21
last_activity_desc: Phase 10 execution started
progress:
total_phases: 14
completed_phases: 8
total_plans: 46
completed_plans: 43
completed_plans: 44
percent: 57
---
@@ -29,7 +29,7 @@ See: .planning/PROJECT.md (updated 2026-07-17)
## Current Position
Phase: 10 (ausschreibungs-radar-foundation-d-e-ingestion) — EXECUTING
Plan: 5 of 6
Plan: 6 of 6
Status: Ready to execute
Last activity: 2026-07-21 — Phase 10 execution started
@@ -75,6 +75,7 @@ Progress: [░░░░░░░░░░] 0%
| Phase 10 P02 | 20min | 3 tasks | 6 files |
| Phase 10 P03 | 35min | 3 tasks | 9 files |
| Phase 10 P04 | 25min | 3 tasks | 5 files |
| Phase 10 P05 | 20min | 3 tasks | 5 files |
## Accumulated Context
@@ -153,6 +154,9 @@ Recent decisions affecting current work:
- [Phase ?]: Poll-once-fan-out-many scheduler: single named cron job, no tenant parameter — deliberately drops DKV's activeTenantId/findFirst per-tenant framing (Pitfall D)
- [Phase ?]: SCHEMA-02 change detection implemented via prisma.tender.upsert({ where: { dedupKey } }) — identical notice never duplicates, changed contentHash updates in place
- [Phase ?]: D-05 retention as two-phase updateMany/deleteMany with deadlineAt:{lt} filters — null-deadline rows structurally excluded, never auto-expired
- [Phase ?]: TendersController talks to PrismaService directly (no intermediate service layer) — source-config upsert and global read are simple enough for this plan's scope
- [Phase ?]: Comment wording avoids the literal tenantId token in tenders.controller.ts to prevent false-positive grep-gate failures (same pattern as Plan 10-04)
- [Phase ?]: TenderQueryDto.status defaults to active at the controller call site, not baked into the DTO, mirroring DkvController's page/limit default-at-usage pattern
### Pending Todos
@@ -190,7 +194,7 @@ Items acknowledged and carried forward from previous milestone close:
## Session Continuity
Last session: 2026-07-21T09:12:58.508Z
Last session: 2026-07-21T09:20:45.659Z
Stopped at: Completed 10-02-PLAN.md
Resume file: None
Last activity: 2026-07-14 - Built LDAP per-user exclude/denylist filter (9d1323f), migration applied on live DB, verified via Playwright: sync deactivated 4 excluded service accounts (administrator/krbtgt/guest/dns-ldap), 2 real LDAP users stay active, 0 wrongly created