The ultimate harness for coding agents and beyond. All your agents. All your machines. One command center. Start with code, then follow your curiosity and build across disciplines: CAD, circuits, robots, games and music.
Feature reach for the Store and model lists, counted when a person opens them
Status: approved in conversation on 2026-10-14 (approach A).
Why
#1313 stopped counting feature reach (*_installation_days, *_first_installations,
*_repeat_installation_days) for the four reads the apps make on their own: history
(agent_recent), history_page (session_tail), store_list (dsh_list) and model_list
(models_list, grid_models_list). Their reliability counts stay. Since then the report cannot say how
many installations open the Store or a model list.
What starts each request:
| Action | Started by a person? |
|---|---|
history |
No. Search previews, task routing and the change-agent handoff read it. |
history_page |
No. Session activity labels and Community publishing read it. |
store_list |
Sometimes. Opening the Store does, but so do the Store's one-minute refresh, reconnects and the New Harness probes. |
model_list |
Sometimes. Opening the Models panel (desktop) or a model sheet (phone) does, but so does every surface that shows models. |
history and history_page stay reliability-only: no person's action stands behind them, and
search and resume already measure finding and reopening a conversation.
Design
- Contract (
cli/src/lib/productUsageContract.ts=backend/src/types/productUsage.ts):PRODUCT_USAGE_USER_OPENED_ACTIONS = ['store_list', 'model_list']. The new metrics are<action>_user_requests,<action>_user_installation_days,<action>_user_first_installationsand<action>_user_repeat_installation_days. They are new names because clients released before #1313 still sendstore_list_installation_daysfor every automatic read. - App: the request that opening the screen sends carries
userAction: truein its payload.- Desktop:
AppNotifier.openStoreleaves a one-shot mark. The Store tab's first ask takes it (takeStoreOpened), so a Store tab restored at launch is not counted and no extra request is sent. Opening the Models panel asks this computer'sgrid_models_list(markModelsOpened), and the panel's own refresh joins that read. - Phone: a model sheet opening (new agent, change model, and Find's
:models mode, which shares the change-model controller) asks the machine'sgrid_models_list. Desktop's ⌘P models mode and pane pickers are not marked, so desktop and phone reach are not directly comparable. - The Store's periodic refresh, reconnect probes, pickers and previews send no flag.
- Desktop:
- Daemon:
productUsageRequestemits<action>_user_requestsbeside<action>_requestswhen the payload carriesuserAction: trueand the action is user-opened. The gateway counts reach from that metric, once per installation per UTC day. It keeps its ownfirstandrepeatstate, apart from the old automatic reach. - Report:
review.featuresreads reach forstore_listandmodel_listfrom the_user_metrics and addsuserRequests. A count is a lower bound. Older apps and daemons send no flag. A flagged request that joins one already in flight loses its flag.
Rollout
The backend schema is strict and rejects a report that holds a metric it does not know. So release the backend before the CLI. The CLI and the apps can then ship in any order. An old daemon ignores the payload field, and an app without the flag simply contributes no reach.
Tests
- CLI
productUsageSignals.spec.ts: a flaggeddsh_list/grid_models_listemits_user_requests; an unflagged one and a flaggedagent_recentorsession_taildo not. - CLI
gateway/productUsage.spec.ts:_user_requestscounts reach once a day with first/repeat; plainstore_list_requestsstill counts none. - Backend
dailyProductReview.test.ts: reach forstore_listcomes only from the_user_metrics;historystays null. - Desktop: after
openStore, the Store tab's firstdsh_listis flagged and its later asks are not. A restored tab takes no mark. Opening the Models panel sends a flaggedgrid_models_list. - Phone: opening the model sheet sends a flagged
grid_models_list.