leg-02 reproduction
Public source retained with the related article. Generated results, dependency directories, runtime storage, secrets, and oversized binary artifacts are intentionally excluded.
README
# LEG-02 change-pressure reproduction
This synthetic Laravel 13 fixture compares a polymorphic delivery-service
registry with a validated rule table. Both implement one caller-visible
contract and begin with identical standard and express behavior.
Run the current baseline controls with:
```sh
./run.sh
```
The fixture establishes the neutral baseline contract, direct cross-design
parity, stable option ordering, boundary cases, duplicate service-code refusal,
and independently mounted registry and rule-table locker changes with exact
cross-design parity. Capacity-aware same-day variants also retain equal public
results, call guards, and stable provider-failure translation. The table
variant records its transition from scalar definitions to behavior-owning
rules instead of hiding that design change.
The retained runner also applies eighteen isolated defects, emits role-based
source diffs without treating counts as scores, checks source structure and
primary-source observations, and verifies the complete result set.
After committing fixture changes, reproduce the evidence from a clean archive:
```sh
./bin/run-clean-export.sh HEAD
```
The drafting gate remains closed until that archive matches the retained
deterministic results. The clean-export check normalizes only PHPUnit's
elapsed-time field; assertion counts, memory use, matrices, diffs, and verifier
output remain part of the comparison.
Retained files
- .dockerignore
- analyze.php
- bin/locker-matrix.php
- bin/normalize-phpunit-output.sh
- bin/run-clean-export.sh
- bin/same-day-matrix.php
- bin/versions.php
- change-surfaces.json
- composer.json
- composer.lock
- Dockerfile
- mutate.php
- phpunit.xml
- primary-sources.json
- README.md
- run.sh
- source-evidence.php
- source-manifest.php
- src/DeliveryOption.php
- src/DeliveryOptions.php
- src/DeliveryRequest.php
- src/DeliveryRule.php
- src/DeliveryService.php
- src/ExpressDelivery.php
- src/RegistryDeliveryOptions.php
- src/RegistryServices.php
- src/RuleDefinitions.php
- src/RuleTableDeliveryOptions.php
- src/StandardDelivery.php
- tests/BaselineContractTest.php
- tests/DuplicateIdentityTest.php
- tests/Fixture.php
- tests/LockerCases.php
- tests/LockerContractTest.php
- tests/normalize-phpunit-output-test.sh
- tests/ParityTest.php
- tests/SameDayContractTest.php
- tests/ScriptedCapacityGateway.php
- variants/locker-registry/src/LockerDelivery.php
- variants/locker-registry/src/RegistryServices.php
- variants/locker-table/src/RuleDefinitions.php
- variants/same-day-common/src/CapacityGateway.php
- variants/same-day-common/src/CapacityProviderUnavailable.php
- variants/same-day-common/src/DeliveryAvailabilityFailed.php
- variants/same-day-registry/src/RegistryServices.php
- variants/same-day-registry/src/SameDayDelivery.php
- variants/same-day-table/src/DeliveryRule.php
- variants/same-day-table/src/OptionRule.php
- variants/same-day-table/src/RuleDefinitions.php
- variants/same-day-table/src/RuleTableDeliveryOptions.php
- variants/same-day-table/src/SameDayRule.php
- verify-results.php