Skip to content

Clarify capability inheritance and defaults - #47

Merged
Richard-LZ-Zhang merged 1 commit into
codex/order-lifecycle-storagefrom
codex/complete-capabilities-docstring
Oct 27, 2026
Merged

Richard-LZ-Zhang merged 1 commit into
codex/order-lifecycle-storagefrom
codex/complete-capabilities-docstring

Conversation

@Richard-LZ-Zhang

Copy link
Copy Markdown
Collaborator

Clarify how complete_capabilities builds the adapter capability map: validate the class's declarations, inherit the nearest non-empty ancestor map in method resolution order, apply local overrides, and default remaining capabilities to False. Document its use by read, trading and WebSocket adapters.

Only the function docstring changes. The executable AST is identical to the base branch. Targets codex/order-lifecycle-storage.

Validation: 319 contract, trading foundation and WebSocket tests passed in the sandbox; the remaining local-loopback WebSocket test passed when rerun with permission to bind its local server. Diff whitespace check passed.

@Richard-LZ-Zhang
Richard-LZ-Zhang merged commit 1dc1999 into codex/order-lifecycle-storage Oct 27, 2026
5 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