Technical Debt — Product Catalog Admin-to-Mobile Gaps

By Engineering Team•September 25, 2026•5 min read
Metadata Details
System Product Catalog — Admin Creation to Mobile Presentation
Document ID TD-2026-CAT-004
Author Engineering Team
Status Open

This document tracks known implementation and documentation gaps in the product catalog admin-to-mobile flow as first-class, ongoing debt items. SR-004 and the architecture doc link here rather than restating gap detail, so the requirement/architecture text itself doesn’t quietly read as an already-met guarantee.


TD-01 — No general “browse all products” screen on mobile

  • Status: Open
  • Severity: Medium — limits shopper discovery to curated storefront sections and search only; a shopper cannot open an unfiltered category/catalog browse view.
  • Affected component: ui-application (Flutter)
  • Evidence: No general catalog-browse route/controller exists in ui-application’s product/shop feature directories — only curated storefront sections (via shop-service’s getShopSections) and search are wired to a real screen.
  • Impact: A shopper who wants to explore a tenant’s full catalog outside of curated sections or a specific search term has no entry point to do so.
  • Remediation direction: Add a general browse screen (category-filtered product listing) backed by a new or existing product-catalog/search-service listing endpoint.
  • Related requirement: SR-004 FR-13

TD-02 — ui-admin-application’s product-wizard CLAUDE.md is stale on step count and falsely claims a synchronous publish-time gRPC validation

  • Status: Open
  • Severity: Medium — not a runtime defect, but a source of active misdirection for anyone (human or AI-assisted) reading this file before touching the wizard or the publish flow.
  • Affected component: ui-admin-application/src/features/product/CLAUDE.md
  • Evidence: The file states WizardStep = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 (eight steps), omitting the Stock & Threshold (Opening Entry) step entirely and mislabeling later steps’ numbers — the real wizard, per ProductAddPage.tsx’s STEP_LABELS, has nine steps. The same file also claims publish performs “a cross-service orchestration on the backend: product-catalog validates/creates SKU Master + SKU Package Mapping in inventory-service (gRPC, synchronous)” — ProductCrudService.Publish performs only a local ValidatePublishReadiness check of its own previously-received sync markers (see ADR-00005, Option 2); no synchronous gRPC call to inventory-service exists in the real implementation.
  • Impact: A future change made by trusting this file’s step model or its publish-orchestration claim would misjudge both the wizard’s real structure and the actual coupling (or lack of it) between product-catalog and inventory-service at publish time.
  • Remediation direction: Update the file’s WizardStep type and step-order narrative to the real nine-step sequence, and correct the publish description to the local sync-marker-check reality.
  • Related requirement: SR-004 FR-01, SR-004 FR-08

TD-03 — inventory-service’s CLAUDE.md claims a ValidateAndCreateSkus RPC that does not exist

  • Status: Open
  • Severity: Medium — same class of issue as TD-02, on the inventory-service side of the same false synchronous-coupling claim.
  • Affected component: inventory-service/CLAUDE.md
  • Evidence: The file describes a ValidateAndCreateSkus gRPC endpoint as part of the publish flow; no such RPC exists in inventory-service’s real gRPC surface — this is the twin of TD-02’s fictional publish-time orchestration claim, on the callee side instead of the caller side.
  • Impact: Same as TD-02 — a reader trusting this claim would assume a synchronous cross-service publish dependency that was never built.
  • Remediation direction: Remove the ValidateAndCreateSkus claim from inventory-service/CLAUDE.md and replace it with the real event-driven sync-marker description, matching TD-02’s fix on the product-catalog/admin side.
  • Related requirement: SR-004 FR-08

TD-04 — Publish readiness is checked against locally-cached sync markers, not inventory-service’s live state

  • Status: Open
  • Severity: Low-Medium — an accepted architectural trade-off (see ADR-00005), tracked here as the concrete staleness risk it carries rather than as a design flaw.
  • Affected component: product-catalog — ProductCrudService.Publish / ValidatePublishReadiness
  • Evidence: Sync markers are set only on receipt of one of inventory-service’s five completion events; no re-verification against inventory-service’s current state happens at the moment of publish.
  • Impact: If a completion event is ever lost, delayed, or a marker is set and the underlying inventory-service data is later changed by a path that doesn’t re-publish the event, a product can appear “ready to publish” while its true SKU data is incomplete or out of date.
  • Remediation direction: Add delivery monitoring/alerting on the five sync-event subscriptions (delivery lag, dead-letter counts) so a stuck or lost event is caught operationally, without introducing the synchronous coupling ADR-00005 deliberately avoided.
  • Related requirement: SR-004 FR-08, SR-004 NFR-01