Skip to content

feat(hydra-gates): ship the values ObjectServiceInterface names, and ObjectFileReaderInterface - #951

Merged
rubenvdlinde merged 1 commit into
mainfrom
cloud/mod-X00-published-contract-values
Nov 21, 2026
Merged

rubenvdlinde merged 1 commit into
mainfrom
cloud/mod-X00-published-contract-values

Conversation

@rubenvdlinde

Copy link
Copy Markdown
Contributor

Ships openregister's published contract after its task 7.2, so gate 67 matches again.

What it adds to hydra-gates/contracts/, each a byte-for-byte copy of openregister's lib/Contract/ on ConductionNL/openregister#10985:

  • The thirteen value classes that ObjectServiceInterface names in its signatures: ObjectSaveOptions, BulkSaveOptions, ObjectFindOptions, ObjectDeletion, ObjectPatch, LockRequest, UnlockRequest, ObjectValidationVerdict, ObjectFindTarget, SaveActor, SavePolicy, BulkBatchDefaults and LockRunStep.
  • The changed ObjectServiceInterface.php, whose signatures now name those published values.
  • ObjectFileReaderInterface.php. It is already in openregister's lib/Contract/ on main but was never shipped here, which is why gate 67 is red on openregister main today.

README: the table of shipped files, a note on how a leaf app's test double stays compatible with both the old and the new contract (type the parameter OldName|PublishedName), the bootstrap guard list and the Psalm stub list.

Checked locally:

  • check_openregister_contract_parity.py against openregister#10985's lib/Contract: checked 19 file(s), exit 0.
  • test_shipped_contracts_documented.py: 4 tests OK.
  • test_gate67_contract_parity_scope.sh: all cases behaved.

Landing order: this PR first, then ConductionNL/integriq#3765, then openregister #10976, #10977 and #10985. The six other fleet test-double PRs have already merged. As the README says, an openregister checkout whose composer.lock pins an older hydra-gates release keeps reporting these files missing locally until a release is cut and the lock moves. CI reads the copy beside the runner.

AI assistance: prepared with Claude Code; the change was drafted in a cloud session that could not push to this repository, and applied and checked locally.

🤖 Generated with Claude Code

…ObjectFileReaderInterface

Copies openregister's lib/Contract byte for byte after its task 7.2: the
thirteen value classes the published ObjectServiceInterface now names, the
widened ObjectServiceInterface, and ObjectFileReaderInterface, which was in
lib/Contract but missing here and kept gate 67 red.

Assisted-by: ClaudeCode:claude-opus-5-5
@rubenvdlinde
rubenvdlinde merged commit ad1a82b into main Nov 21, 2026
25 of 26 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