docs(openspec): fix group-buying archive scenario and address-book purpose
Rename the group-buying "Order lifecycle" cancel scenario to the exact name the current order spec uses; a MODIFIED requirement replaces the whole block, so the old name made archive refuse to drop the existing scenario. Replace the placeholder Purpose in the archived address-book spec, which the wave-7 archive left as TBD and strict validation rejected. openspec validate --all --strict is green again.
This commit is contained in:
@@ -30,7 +30,7 @@ Status transitions SHALL be: pending_payment → paid → fulfilling → shipped
|
||||
- **WHEN** payment fills the final available group seat
|
||||
- **THEN** the payment succeeds and the group state becomes successful
|
||||
|
||||
#### Scenario: cancel restores stock without group rollback
|
||||
#### Scenario: cancel restores stock
|
||||
- **WHEN** a customer cancels a pending_payment group-intent order
|
||||
- **THEN** SKU stock increases by the ordered qty, status is cancelled, and no paid group membership is removed
|
||||
|
||||
|
||||
Reference in New Issue
Block a user