Route production opportunities into the item-pricing explanation #178

Closed
opened 2026-07-29 06:17:59 +00:00 by coilyco-ops · 0 comments
Member

Context

The existing “Most valuable to craft” board discovers production opportunities, but it is not a replacement for the selected-item pricing job. The item-focused pricing explanation in #177 becomes the destination that lets a player inspect why an opportunity ranks.

What to build

Make the production-opportunity surfaces link each ranked item to the pricing explanation. Preserve the current server-derived sort as discovery, but ensure the follow-through exposes the evidence a player needs before deciding to craft or price an item.

Acceptance criteria

  • Every ranked production opportunity links to the canonical item-pricing explanation for that item.
  • The destination preserves enough context to show the relevant demand/supply signal alongside the price breakdown.
  • The opportunity row plainly distinguishes observed demand, estimated margin, and any incomplete or low-confidence input.
  • Deep links and browser refreshes retain the selected item without server-side user state.
  • Component tests cover the link, context handoff, and degraded/incomplete opportunity cases.
  • docs/FEATURES.md states that the sorter is a discovery surface, not an automatic pricing or crafting command.

Blocked by

State and safety boundary

Read-only server data and URL state only. Do not create recommendations that write to a store, create work orders, or persist player choices.

Non-goals

  • Replacing the existing opportunity-score model wholesale.
  • Recreating Eco Calc’s configurable price calculator.
## Context The existing “Most valuable to craft” board discovers production opportunities, but it is not a replacement for the selected-item pricing job. The item-focused pricing explanation in https://forgejo.coilysiren.me/coilyco-gaming/eco-app/issues/177 becomes the destination that lets a player inspect why an opportunity ranks. ## What to build Make the production-opportunity surfaces link each ranked item to the pricing explanation. Preserve the current server-derived sort as discovery, but ensure the follow-through exposes the evidence a player needs before deciding to craft or price an item. ## Acceptance criteria - [ ] Every ranked production opportunity links to the canonical item-pricing explanation for that item. - [ ] The destination preserves enough context to show the relevant demand/supply signal alongside the price breakdown. - [ ] The opportunity row plainly distinguishes observed demand, estimated margin, and any incomplete or low-confidence input. - [ ] Deep links and browser refreshes retain the selected item without server-side user state. - [ ] Component tests cover the link, context handoff, and degraded/incomplete opportunity cases. - [ ] `docs/FEATURES.md` states that the sorter is a discovery surface, not an automatic pricing or crafting command. ## Blocked by - Blocked by https://forgejo.coilysiren.me/coilyco-gaming/eco-app/issues/177. ## State and safety boundary Read-only server data and URL state only. Do not create recommendations that write to a store, create work orders, or persist player choices. ## Non-goals - Replacing the existing opportunity-score model wholesale. - Recreating Eco Calc’s configurable price calculator.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
coilyco-gaming/eco-app#178
No description provided.