Skip to content

test: add controlled booking lifecycle recovery reference - #312

Merged
stringsofthemind-oss merged 1 commit into
mainfrom
test/booking-lifecycle-reference
Oct 10, 2026
Merged

stringsofthemind-oss merged 1 commit into
mainfrom
test/booking-lifecycle-reference

Conversation

@stringsofthemind-oss

Copy link
Copy Markdown
Owner

Existing fake booking examples demonstrate creation but do not exercise lifecycle recovery. This adds a controlled create/modify/cancel reference using the published SDK 0.1.25 wrapTool API, a disposable loopback provider and an independently maintained durable SQLite effect journal. The original examples remain intact.

The host binds action, tenant, resource, start/end instants, timezone, participants, party size, price/currency, terms, expiry, reservation and expected version. Fifty-eight probes cover confirmed replay across fresh protection processes, changed-effect conflict, distinct identical intent, invalid/missing inputs, missing expected authority, inventory expiry/stale-version refusals and all three lifecycle lost-acknowledgement paths. Delayed/NOT_FOUND/mismatched/nonunique lookup truth remains UNKNOWN until exact unique provider journal reconciliation. Twelve concurrent workers produce one effect; a deliberate unprotected negative control creates two duplicate effects.

Local Windows validation against published SDK 0.1.25 passed, with 13 independently counted mutation rows (11 protected effects and two negative-control duplicates). The offline evidence checker passed. Windows/Ubuntu CI installs a clean pinned published consumer, reruns the lab and uploads evidence. Exact-head CI must pass before merging.

This is a working local mock reference contract, not a production booking adapter. No real reservation system, customers or money are contacted. Real inventory/authentication/occupancy policies, whole-provider/application restart, distributed authority, cancellation races and opaque provider retries remain unqualified. The fixture's lost acknowledgement is a throw after response parsing. No universal exactly-once, production-provider or adoption claim.

@stringsofthemind-oss
stringsofthemind-oss merged commit e390714 into main Oct 10, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant