noCV
CSEARCH-107 · Handle changing results

Keep zero-count directory facets removable

Practice briefBugAdvanced

Selected filters disappear when counts reach zero, trapping the query. Separate selection from availability.

Focused work estimate
3h + prerequisites
Priority in the scenario
Medium
Engineering practice
State management · Resilience

Estimated field mix

  • Frontend100%

Field percentages are editorial estimates of the ticket's engineering focus. They total 100%; they are not measured time, proficiency scores, or ownership evidence.

Your next step

Review it, then add it to your workspace.

The board opens an editable draft; nothing is saved until you confirm it. Sign-in and workspace permissions apply, and Demo boards remain ephemeral.

Project context

Fictional workshop directory Cedar lists tools and spare parts using a local search adapter.

Setup prerequisites

  • Create synthetic items with stable identifiers.
  • Stub cursor pages, facets, delayed responses and missing items.

Preceding work

Complete these dependencies, or supply their agreed outputs before taking this ticket.

Acceptance criteria

  • Selected zero-count facets remain
  • Stale counts are labeled
  • Count failure preserves selection

Implementation constraints

  • Count refresh cannot rewrite selections.

Verification to include

  • Select zero-result facet
  • Reject facet-count refresh

Deliverables

  • Facet reconciliation and cases

Rollout and recovery

Freeze counts while preserving removal.

Value of the work

For the engineer: Practice URL contracts and request ownership.

For the team: Inspect whether discovery intent survives changing results.

Evidence boundaries

Outcome Evidence: Tests, patches, and runbooks are requested deliverables. They become Outcome Evidence only through a qualified Mission and immutable Evidence IDs.

Ownership Evidence: Independent adaptation must be observed under a declared verification policy and cite immutable Evidence IDs. Completing a planning ticket establishes no Ownership Evidence.