toga-ai 1.0.246 → 1.0.247

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -70,20 +70,20 @@ This mirrors the toga2.5 / toga25-supply "named rule" / config-driven cart patte
70
70
  behavior is expressed in config, not in code branches.
71
71
 
72
72
  ## Gotchas
73
- - **Compass MacBook catalog categorization is INCONSISTENT, and it breaks the computer-kit
74
- assumption.** Verified in prod `Client_Compass.Items`: MacBooks are spread across at least
75
- **four** categories — `"APPLE LAPTOP"` (e.g. 14" MacBook Pro M5, partNumber `MDE54LL/A-S`),
76
- `"COMPUTERS"` (14"/16" MacBook Pro M4, `MW2W3LLA-S` / `MX2X3LLA-S`), `"MAC & ACCESSORIES"`
77
- (~18 older M1/M2 MacBook Air/Pro models), and `"PDC NEW HIRE - APPLE"`. The gate matches
78
- `itemCategory.name === "COMPUTERS"` **only**, so MacBooks tagged `APPLE LAPTOP` /
79
- `MAC & ACCESSORIES` do **not** qualify for expedited shipping (and would not trigger the
80
- one-per-order limit either). Confirmed live on beta and prod: the "Compass 14\" Macbook"
81
- kit's primary item resolves to `APPLE LAPTOP`. The backend assumption (Alex) was that all
82
- MacBooks were already `COMPUTERS`; the data shows otherwise. **Team decision this session:**
83
- keep the rule keyed to `COMPUTERS` only (intended). The fix is **catalog data
84
- normalization** (or extending the config `value` list to
85
- `["COMPUTERS","APPLE LAPTOP"]`) — it is *not* a code gap. Hand the categorization to the
86
- catalog/data team.
73
+ - **Computer-kit eligibility depends on consistent `COMPUTERS` categorization (was a data gap,
74
+ now resolved).** The gate matches the primary item's `itemCategory.name === "COMPUTERS"`
75
+ **only**. MacBook kits were initially mis-categorized: during this session
76
+ `Client_Compass.Items` showed MacBooks spread across **four** categories — `"COMPUTERS"`
77
+ (14"/16" MacBook Pro M4, `MW2W3LLA-S` / `MX2X3LLA-S`), `"APPLE LAPTOP"` (14" MacBook Pro M5,
78
+ `MDE54LL/A-S`), `"MAC & ACCESSORIES"` (~18 older M1/M2 models), and `"PDC NEW HIRE - APPLE"`.
79
+ A MacBook tagged anything other than `COMPUTERS` did **not** qualify for expedited (nor
80
+ trigger the one-per-order limit). **Resolved 2026-06-30:** the catalog/data team
81
+ re-categorized the computer/laptop kits (incl. MacBooks) to `COMPUTERS`; the tested
82
+ "Compass 14\" Macbook" was confirmed updated and now shows expedited. **Lesson:** the rule is
83
+ only as correct as the catalog — new computer/laptop kits must be filed under `COMPUTERS`
84
+ (the same category the bundle-page one-per-order limit keys off). If a future kit
85
+ legitimately needs a different category, extend the config `value` to a list (e.g.
86
+ `["COMPUTERS","APPLE LAPTOP"]`) rather than adding code.
87
87
  - **The gate is UI-only, not server-enforced.** Shipping methods come from `/shipping-methods`
88
88
  (UPS carrier, fetched in `useCartViewModel`) and are filtered client-side. The gate is a
89
89
  selection restriction, not order validation. Follow-up recommended: enforce
@@ -104,5 +104,8 @@ behavior is expressed in config, not in code branches.
104
104
  base-name compare via `getBaseShippingOptionName`; edit-order silent-downgrade/load race →
105
105
  reset guarded on dirty + loaded options. Documented the Compass MacBook category
106
106
  inconsistency as a known gotcha (data-normalization item, not a code gap). (tcox)
107
- </content>
108
- </invoke>
107
+ - 2026-06-30 — Catalog data normalized: the computer/laptop kits (incl. MacBooks) were
108
+ re-categorized to `COMPUTERS`, so MacBook kits now qualify for expedited; the tested
109
+ "Compass 14\" Macbook" was confirmed updated. Updated the MacBook-categorization gotcha to
110
+ reflect the resolution, and removed stray closing tags accidentally written into the doc.
111
+ (tcox)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "toga-ai",
3
- "version": "1.0.246",
3
+ "version": "1.0.247",
4
4
  "description": "TOGA Technology Team Claude Knowledge System — shared AI coding harness with skills, knowledge base CLI, and project installer for Claude Code.",
5
5
  "keywords": [
6
6
  "claude",