Skip to content

fix: preserve lazy Lua links and commitments#1047

Open
NickJ202 wants to merge 1 commit into
edgefrom
codex/fix-lua-link-and-commitment-handling
Open

fix: preserve lazy Lua links and commitments#1047
NickJ202 wants to merge 1 commit into
edgefrom
codex/fix-lua-link-and-commitment-handling

Conversation

@NickJ202

Copy link
Copy Markdown
  • Avoid recursively loading an entire message before encoding Lua parameters
  • Load lazy links individually only when Lua encoding reaches them
  • Normalize empty commitment-key tables decoded from Lua back to empty lists, including nested messages
  • Add cache compatibility for the legacy self-referential representation of empty Lua commitment lists

end
end.

%% @doc Fully load a commitment while recovering the legacy representation of

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

What is a legacy representation here? If there is a better representation at this point we should just cleanly implement that. Always fight the agent introducing legacy pathways where not strictly necessary.

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