For agents & developers
A stable local interaction contract for the SleeveCount planner.
Use the same calculation path
The pure domain module exports config, initialState, validateState, and compute(state). It runs without a network request and returns the result tables, metrics, warnings, and limitations used by the browser. There is no hosted calculation API.
Interact through labeled controls
Use the form #planner and its generated field-* IDs. Wait for #input-error to clear before reading #results. Stable actions include [data-preset], [data-add], [data-remove], [data-import], [data-sort], [data-result-page], #export-plan, #print-plan, and the explicit save/delete controls. Results include complete export tables even when the screen is paginated.
Respect evidence and privacy boundaries
Examples are synthetic. Candidate sleeve dimensions, prices, and sources are user-entered and are not a live catalog or purchasing recommendation. Do not treat a nominal fit as a manufacturer guarantee. Imports, saves, shares, and deletes are explicit user actions; JSON exports and share fields can contain private measurements.