noCV
CGRID-107 · Protect edits

Undo only an uncontested stock change

Practice briefStoryExpert

A blind Undo would erase a colleague's newer stock value. Add one guarded inverse update.

Focused work estimate
4h + prerequisites
Priority in the scenario
Medium
Engineering practice
Concurrency · Recovery

Estimated field mix

  • Frontend50%
  • API design50%

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 supplier Reedworks uses a browser inventory table. Quantities are planning records, not live warehouse instructions.

Setup prerequisites

  • Create synthetic SKUs with revisions and nullable quantities.
  • Implement a local paginated adapter with conditional updates.

Preceding work

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

Acceptance criteria

  • Undo uses resulting revision
  • Newer revisions reject undo
  • Failure preserves current row

Implementation constraints

  • Undo must be a conditional write.

Verification to include

  • Undo an uncontested save
  • Advance revision before undo

Deliverables

  • Guarded undo and race case

Rollout and recovery

Hide Undo while retaining ordinary edits.

Value of the work

For the engineer: Practice grid interaction and concurrent edit recovery.

For the team: Inspect how changes protect operator intent during partial failures.

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.