ICPI Legacy Host Retirement Plan
Superseded by Sprint 55 execution:
- runtime retirement status now lives in ICPI_ROLLBACK_WINDOW_STATUS.md
Resolving locale, route permissions, and workspace projection.
Current scope: Guest
Category: 10_normative | Version: v1.0.0
Owner: DOCUMENT_CUSTODIAN | Review cycle: 90 days
Approval authority: GOVERNANCE_ADMIN
Documentation portal is read-only. Editing and mutation endpoints are disabled.
Kvary platform is originally created in Georgian. Where a Georgian version exists, Georgian is authoritative for platform UI, documentation, and legal interpretation.
Translations into other languages are provided for convenience. Some records may originate in other languages and carry their own source or legal locale for a specific flow, but where a Georgian version is available, the Georgian version prevails for platform-level wording and interpretation.
Metadata incomplete: Document ID, Version, Status, Owner Role, Last Review Date, Next Review Date, Change Log
Superseded by Sprint 55 execution:
This document defines what still remains on the legacy colocated ICPI host inside svc-tenders, what that residue is still doing, and what must happen before the old ICPI hosting path can be deleted safely.
It does not propose removing svc-tenders as a whole.
It only concerns the ICPI-specific slice still mounted there.
| Legacy item | Current location | Current role | Classification | Retirement notes |
| --- | --- | --- | --- | --- |
| Legacy ICPI server registration | services/svc-tenders/src/server.ts | mounts /icpi/* routes inside svc-tenders | needed temporarily for rollback | remove only after rollback window closes |
| Legacy ICPI route module | services/svc-tenders/src/routes/registerIcpiRoutes.ts | serves colocated ICPI reads/writes | needed temporarily for rollback | retire with server registration |
| Legacy ICPI route support | services/svc-tenders/src/routes/support/icpiRouteSupport.ts | adapts shell auth for legacy ICPI route path | needed temporarily for rollback | retire with legacy route module |
| Legacy ICPI persistence copy | services/svc-tenders/src/icpi/repository.ts | serves fallback ICPI reads/writes against icpi_price_points | needed temporarily for rollback | retire after no rollback need remains |
| Legacy ICPI contracts copy | services/svc-tenders/src/icpi/contracts.ts | keeps legacy route/repository path source-compatible | safe to retire soon | remove with legacy route/persistence slice |
| Legacy ICPI validation copy | services/svc-tenders/src/icpi/validation.ts | validates fallback write path | safe to retire soon | remove with legacy route slice |
| Legacy ICPI parser copy | services/svc-tenders/src/icpi/queryParsers.ts | supports fallback route parsing | safe to retire soon | remove with legacy route slice |
| Legacy ICPI migrations still present in svc-tenders | removed after migration invocation was made explicit | historical migration ownership residue | retired | canonical owner is now svc-icpi only |
| Gateway fallback target | services/api/src/routes/icpi.ts using TENDERS_SERVICE_URL | rollback seam | shared on purpose | keep until rollback cutoff is approved |
| Explicit fallback startup script | package.json dev:api:icpi-fallback | fast operational rollback | shared on purpose | keep until fallback is formally retired |
| Old-host references in ICPI docs/runbooks | multiple docs updated over time | explain fallback state | safe to retire soon | prune once old host is removed |
Once the rollback window is intentionally closed, the following ICPI-specific items are the first retirement set:
services/svc-tenders/src/routes/registerIcpiRoutes.tsservices/svc-tenders/src/routes/support/icpiRouteSupport.tsservices/svc-tenders/src/icpi/repository.tsservices/svc-tenders/src/icpi/contracts.tsservices/svc-tenders/src/icpi/validation.tsservices/svc-tenders/src/icpi/queryParsers.tsregisterIcpiRoutes(...) call and related ICPI wiring inside services/svc-tenders/src/server.tsThose are the clearest legacy-host-only artifacts now that svc-icpi is primary.
These must stay during the current stabilization phase:
TENDERS_SERVICE_URL as rollback target for ICPIdev:api:icpi-fallbacksvc-tendersReason:
Before deleting legacy ICPI hosting from svc-tenders, all of the following should be true:
svc-icpi remains the default primary runtime through at least one stabilization window that the team considers sufficientsvc-tendersRollback to legacy colocated ICPI hosting should be considered safe to remove only when:
dev:api:icpi-fallbacksvc-icpiThat fallback posture has now been retired.
svc-tenders continues to exist for non-ICPI domains regardless of this retirement plan.svc-tenders, not removing the entire service.