Skip to content

Relationships declare their loading - #321

Merged
czpython merged 1 commit into
mainfrom
eng-874-relationship-loading
Aug 24, 2026
Merged

Relationships declare their loading#321
czpython merged 1 commit into
mainfrom
eng-874-relationship-loading

Conversation

@czpython

Copy link
Copy Markdown
Owner

Every relationship now states how it loads instead of defaulting to implicit lazy IO — which async sessions turn into an error:

  • AgentCall.runjoined: live_status reads it on every call projection.
  • ProjectRepo.projectjoined: siblings() reads it in ship and review prompt construction.
  • SkillCollection.skillsselectin: serialization and delete iterate it.
  • Skill.collectionraise_on_sql: nothing reads it; accidental SQL fails loud.
  • Already-eager relationships are untouched.

Base gains AsyncAttrs, the explicit door (awaitable_attrs) for lazy access under async sessions.

🤖 Generated with Claude Code

@czpython
czpython force-pushed the eng-874-relationship-loading branch from fdb2ec9 to 7789cdb Compare August 24, 2026 10:48
@czpython
czpython enabled auto-merge (squash) August 24, 2026 10:49
@czpython
czpython merged commit c1424c5 into main Aug 24, 2026
1 check passed
@czpython
czpython deleted the eng-874-relationship-loading branch August 24, 2026 10:51
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