DEVELOPMENT LOG · 2–4 DEC 2026

How I built
Pouch & Shelf

With three salmon pouches left, adding two tasting sets and one single should stop shoppers from adding more of either. I designed the stock rules around that constraint. Just before release, I found the cart still let shoppers exceed it.

Chicken, tuna and salmon pouches in the tasting trio
01v0.1.0 – v0.3.0

Six listings and a working stock model

I imagined an overseas cat food brand entering Japan. On 2 December, after recording six listings from a Japanese retailer, I tried the first order and shipment with placeholder stock of 12 chicken, eight tuna and three salmon pouches.

A three-pack listed at ¥514.80 cost ¥171.60 per pouch. That was cheaper per pouch than a ¥184.80 single, but the shopper had to spend more up front. I separated cost per pouch, cost per 100 g and the first payment. Where delivery costs were unknown, I left the delivered total blank.

The sample grew to 30 products and 31 listings in v0.2.0, then 36 products and 47 listings in v0.2.1. Separating products from offers let me track the same 55 g tuna pouch at ¥128, ¥129 and ¥180 across three stores. I paused weekly tracking after ten initial observations across four products.

For v0.3.0, I chose three of the six recipes for the trio. Chicken in gravy, tuna in jelly and salmon loaf each weigh 55 g and cost ¥158. The trio costs ¥450, saving ¥24. These fictional prices draw on the retail sample. The study did not measure willingness to pay.

Explore the 36 productsRead the pricing decisions

02v0.4.0 – v0.5.0

Why shipping an order leaves availability unchanged

Each trio draws one pouch from each flavour. Checkout reserves those pouches. Shipment reduces both the physical stock and the reservation by the same amount, so the shop only deducts availability once.

One salmon single, from cart to shipment
ActionOn handHeldTrios available
Start303
Add to cart303
Place order312
Receive two514
Ship one404

In v0.4.0, I placed an order in a second tab that left just one salmon pouch. The original tab still requested a trio and a single. Checkout rejected both lines together and kept the cart intact. Removing the single let me order the trio for ¥630 including ¥180 delivery.

In v0.5.0, the store began reserving the earliest eligible lots first. I moved a reserved lot’s expiry to yesterday in the test database. Shipment stopped. The store replaced only the expired reservation when possible and preserved the original allocation and price when replacements ran short.

03v0.6.0 – v0.6.1

An offline stocktaking prototype

I built an Android prototype so staff could count stock without a network connection. On 3 December 2026, I tested v0.6.0 on a Pixel 7 emulator running Android 15. The public web demo uses a separate store where visitors save and apply counts in the same browser tab.

Prototype test results and eight stock observations

QA-07 · Restart and retry I counted four salmon pouches in lot C-02 offline. The pending count survived a restart. The first sync updated the store record from two to four. A second sync left the quantity and revision unchanged.

QA-08 · Shipment before sync I saved a second count of four. Before sync, the store shipped one pouch each from C-01 and C-02. The late count left three on record in C-02 and paused reservations for that lot. With C-01 empty, no trios were available until I confirmed three in a recount.

Salmon lot C-02 and trios available across all lots
EventOn handTriosRevision
Initial stock231
Offline after restart231
First sync452
Repeat sync452
Before shipment452
After shipment334
Late count held305
Recount accepted336

Nine checks passed. Three remain unverified, covering manual entry after camera permission was denied, scanning a printed QR code and enlarged text on a physical device. The log cannot distinguish automatic sync from a manual retry.

View eight stock observations in Google Sheets

04v0.7.0 – v0.10.0

From a texture guide to a cancelled order

In v0.7.0, I paired six fictional products with AI-generated packaging and checked names and weights in both languages. In v0.8.0, I separated the shop, cart, orders and store desk. Product dialogs sometimes timed out in parallel tests. All 24 checks passed twice in isolation, so I ran subsequent suites sequentially. The cause remains open.

For v0.9.0, I made bilingual texture guides, four social images and four email drafts. The guide returned shoppers to their chosen texture while keeping the language and cart. I checked the email layouts without sending a campaign.

In v0.10.0, I followed the English email link through the guide and ordered one chicken pouch. Checkout showed ¥338. Analytics counted ¥158 in merchandise, excluding shipping. Dropping the response and retrying recorded the order once. Cancelling brought it back to zero. A separate sample of 1,200 visits is simulated.

Texture guideStore insights

05v0.11.0 – v0.12.0

Why the cart still let me add another pouch

At checkout, the database already counted the salmon in the sets and singles together. In v0.10.0, the shop and cart still allowed both quantities to increase after I selected two trios and one salmon single.

For v0.11.0, I made the interface expand each trio into its components before adding the singles. Both controls now stop at three salmon pouches and become available again when the single is removed. I also fixed Japanese tab titles on English pages and checked recovery from a failed initial request.

Cart using all three available salmon pouches
Two trios and one salmon single cost ¥1,058 in merchandise, or ¥1,238 with delivery.

For v0.12.0, I documented the checks and ran a local production build. It passed alongside 26 Node tests and eight Chromium suites. Regenerating the comparison table and web content produced no changes. Browser coverage was limited to Chromium.

063 DEC 2026

Trying a stock count in the browser

I used Next.js and PostgreSQL for the local build. The public web app keeps orders and inventory changes in the current browser tab. No payment or delivery takes place.

In Store desk, save a draft count of two for salmon lot C-02, then receive two more. Applying the earlier count leaves four on record and flags the lot for review. A fresh count of four clears the hold.

On 3 December, I published the store and research, then added the Japanese case study, English research and shared navigation. The public commit history begins with the browser edition. The earlier milestones here come from the original plan, archived builds and test logs.

Try the store deskView the case studyPublic commit history

074 DEC 2026

Checking shared stock in two browsers

I ran eight inventory cases against the static store files, covering reservations, cancellation, shipment, stock counts and expiry. All eight passed in Chromium and Firefox at both 390 and 1280 pixels wide.

The recount test records two quantities. The store has five salmon pouches in total, four of them in lot C-02. Only the pouch in C-01 is available during review. Confirming the four in C-02 makes all five available again.

Inventory QA reportTest scripts and results