Skip to content

feat(engine): expose frame lifecycle and committed values - #366

Merged
WH-2099 merged 5 commits into
mainfrom
laipz8200/issue-356-engine-events
Oct 28, 2026
Merged

WH-2099 merged 5 commits into
mainfrom
laipz8200/issue-356-engine-events

Conversation

@laipz8200

Copy link
Copy Markdown
Member

Important

  1. Make sure you have read our contribution guidelines
  2. Search existing issues and pull requests to confirm this change is not a duplicate
  3. Open or identify the issue this pull request resolves or advances
  4. Use a Conventional Commits title for this pull request, and mark breaking changes with !
  5. Remember that the pull request title will become the squash merge commit message
  6. If CLA Assistant prompts you, sign CLA.md in the pull request conversation

Related Issue

Refs #356

Summary

Delayed event consumers currently lose access to a container frame's values when that frame is removed. Add frame start, committed-variable, and finish observations with detached typed values, reserved node execution identities, and stable run/frame/attempt identity. Publish successful writes before dependent traversal, including partial writes, Loop initialization and ancestor updates, and commands affecting shared pools. Preserve pause/resume identity and the existing custom-container protocol.

This is package A of #356. Raw producer chunks remain immediate; response assembly and ordering remain in ResponseStreamFilter. Its compatibility guard consumes the new full-value observations because they can contain unselected inputs or secrets.

Checklist

  • This pull request links the issue it resolves or advances
  • This pull request title follows Conventional Commits, and any breaking change is marked with !
  • If CLA Assistant prompted me, I signed CLA.md in the pull request conversation

@laipz8200
laipz8200 marked this pull request as ready for review October 27, 2026 06:49
@laipz8200
laipz8200 enabled auto-merge (squash) October 27, 2026 06:50
@WH-2099 WH-2099 self-assigned this Oct 27, 2026
laipz8200 and others added 4 commits October 27, 2026 13:11
Publish detached frame baselines, committed variable replacements, and terminal frame observations with persisted execution identities and retry attempts. Route Loop initialization and variable mutations through ordered publication while preserving custom handlers, shared pools, partial writes, and pause/resume behavior.

Keep raw producer chunks immediate and suppress full-value observations in the response filter. Document the public contract and cover lifecycle, compatibility, and mutation ordering.
Merge main through 020c4be while preserving the response-filter assembly extraction and sensitive-observation suppression. Retain all later PR commits and the existing Answer outputs.

Publish committed values for Iteration host-variable write-back through the existing frame mutation path. Keep private node-owned updates isolated and document the write-back contract for custom handlers.
@WH-2099
WH-2099 force-pushed the laipz8200/issue-356-engine-events branch from c4037f7 to 9b8a75c Compare October 27, 2026 13:30
@WH-2099
WH-2099 disabled auto-merge October 28, 2026 02:43
@WH-2099
WH-2099 merged commit 0a263b2 into main Oct 28, 2026
9 checks passed
@WH-2099
WH-2099 deleted the laipz8200/issue-356-engine-events branch October 28, 2026 02:43
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