docs: finalize Stage 10B docs — tracker merged status, brief updated with validation state and next branch

This commit is contained in:
Mike Kell 2026-07-25 11:02:34 -04:00
parent bb54dfcf59
commit 2a0bf6fa90
2 changed files with 12 additions and 9 deletions

View File

@ -2,9 +2,9 @@
## Current status ## Current status
- main baseline updated through: feat/wc-catalog-expansion-ui (Stage 9D complete) - main baseline updated through: feat/square-catalog-sync (Stage 10B complete)
- next branch: feat/square-catalog-sync (Stage 10B — Square catalog and inventory sync) — **in progress on branch** - next branch: feat/square-catalog-sync-repositories (Stage 10B continuation — SquareCatalogRepository + SquareInventoryRepository)
- current stage: Stage 10B in progress`SquareProductMapper`, `SquareInventoryMapper`, `ProductIdMapping` domain model, `ProductIdMappingRepository` contract, `FakeProductIdMappingRepository`; integrations 123/123 tests passing; feature_wordpress product_id_mapping 23/23 tests passing; analyze clean; commit `a6f888c` on `feat/square-catalog-sync` - current stage: Stage 10B complete`SquareProductMapper`, `SquareInventoryMapper`, `ProductIdMapping` domain model, `ProductIdMappingRepository` contract, `FakeProductIdMappingRepository`; integrations 123/123 tests passing; feature_wordpress product_id_mapping 23/23 tests passing; analyze clean; merged to `main`
## Slice tracker ## Slice tracker
@ -591,4 +591,4 @@
- `feature_wordpress/test/product_id_mapping_test.dart` — 23 new tests: `ProductIdMapping` (7: fields, null defaults, copyWith, equality, hashCode, toString) and `FakeProductIdMappingRepository` (16: getAllMappings, getMappingByLocalId, getMappingByWooCommerceId, getMappingBySquareId, seed state, saveMapping insert/replace/count, deleteMapping remove/count/no-op, unmodifiable list) - `feature_wordpress/test/product_id_mapping_test.dart` — 23 new tests: `ProductIdMapping` (7: fields, null defaults, copyWith, equality, hashCode, toString) and `FakeProductIdMappingRepository` (16: getAllMappings, getMappingByLocalId, getMappingByWooCommerceId, getMappingBySquareId, seed state, saveMapping insert/replace/count, deleteMapping remove/count/no-op, unmodifiable list)
- tests: passed (123/123 integrations ← +35 new; 23/23 feature_wordpress product_id_mapping ← +23 new) - tests: passed (123/123 integrations ← +35 new; 23/23 feature_wordpress product_id_mapping ← +23 new)
- analyze: clean (no new issues introduced) - analyze: clean (no new issues introduced)
- brief updated: pending - brief updated: yes

View File

@ -125,6 +125,8 @@ Rules:
- ✅ Integration abstractions activated (Stage 8A complete — merged `feat/integrations-contracts``main`, 2026-07-11). - ✅ Integration abstractions activated (Stage 8A complete — merged `feat/integrations-contracts``main`, 2026-07-11).
- ✅ Shared data layer contracts activated (Stage 8B complete — merged `feat/data-layer-contracts``main`, 2026-07-11). - ✅ Shared data layer contracts activated (Stage 8B complete — merged `feat/data-layer-contracts``main`, 2026-07-11).
- ✅ Authentication foundation activated (Stage 8C complete — merged `feat/auth-foundation``main`, 2026-07-11). Stage 8 complete. - ✅ Authentication foundation activated (Stage 8C complete — merged `feat/auth-foundation``main`, 2026-07-11). Stage 8 complete.
- ✅ Square API client and authentication activated (Stage 10A complete — merged `feat/square-api-client``main`, 2026-07-19).
- ✅ Square catalog and inventory sync mappers + ProductIdMapping domain landed (Stage 10B complete — merged `feat/square-catalog-sync``main`, 2026-07-25).
### Current narrow edit capabilities on `main` ### Current narrow edit capabilities on `main`
@ -149,12 +151,13 @@ Rules:
- latest reported count for `feature_orders`: `198/198 passed` - latest reported count for `feature_orders`: `198/198 passed`
- latest reported count for `feature_wordpress`: `319/319 passed` - latest reported count for `feature_wordpress`: `319/319 passed`
- latest reported count for `kell_web`: `24/24 passed` - latest reported count for `kell_web`: `24/24 passed`
- latest reported count for `integrations`: `38/38 passed` - latest reported count for `integrations`: `123/123 passed` ← +35 new (Stage 10B)
- latest reported count for `feature_wordpress` (product_id_mapping): `23/23 passed` ← +23 new (Stage 10B)
- latest reported count for `data`: `63/63 passed` - latest reported count for `data`: `63/63 passed`
- latest reported count for `auth`: `42/42 passed` - latest reported count for `auth`: `42/42 passed`
- latest reported count for `kell_mobile`: `26/26 passed` - latest reported count for `kell_mobile`: `26/26 passed`
- total: `847/847 passed` - total: `957/957 passed` (pre-Stage-10B baseline) + 58 new Stage 10B tests
- baseline commit: merge of `feat/wc-orders-integration` into `main` (Stage 9A complete, 2026-07-11) - baseline commit: merge of `feat/square-catalog-sync` into `main` (Stage 10B complete, 2026-07-25)
#### Baseline test coverage (established 2026-05-22) #### Baseline test coverage (established 2026-05-22)
@ -170,8 +173,8 @@ No minimum thresholds are enforced — this is visibility-only tracking. Coverag
### Next recommended branch ### Next recommended branch
**`feat/wc-inventory-sync`** — Stage 9B: WooCommerce stock/inventory sync. **`feat/square-catalog-sync-repositories`** — Stage 10B continuation: `SquareCatalogRepository` and `SquareInventoryRepository`.
Branch from latest `main`. Stage 9A (WooCommerce Orders API integration) is complete. Stage 9B adds bidirectional stock quantity synchronization between the app's inventory and WooCommerce product stock levels. Branch from latest `main`. Stage 10B (mappers + `ProductIdMapping` domain) is complete. The next slice adds `SquareCatalogRepository` implementing `ProductPublishingRepository` and `SquareInventoryRepository` implementing `InventoryRepository`, wiring the existing `SquareApiClient` and mappers into full repository contracts.
--- ---