Skip to content

Read the complete declared configuration graph - #66

Merged
trissim merged 1 commit into
mainfrom
work/codex-live--P192--objectstate
Nov 12, 2026
Merged

trissim merged 1 commit into
mainfrom
work/codex-live--P192--objectstate

Conversation

@trissim

@trissim trissim commented Nov 12, 2026

Copy link
Copy Markdown
Contributor

Fix

Collect the complete declared configuration graph, rather than stopping after direct children. A grandchild such as ToadSettings.ui.input now supplies its actual live values and inherited source.

The traversal visits each stored object once, reads declared dataclass fields without triggering lazy getters, preserves shared instances, and keeps the existing refusal for two different instances of one nominal configuration type. No second resolver or value cache.

Evidence

  • tests/test_context_manager.py: 14 passed, exit 0; includes nested/shared records and nested identity collision.
  • The Toad P192 editor control uses this source for global inheritance, equal-value overrides, reset, persistence, and sidebar/context-form agreement.

Part of Toad P192 / OpenHCSDev/toad#1750.

Copilot AI balanced review requested due to automatic review settings November 12, 2026 22:54

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@trissim
trissim merged commit 226fcd8 into main Nov 12, 2026
10 of 11 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.

2 participants