Skip to content

fix(spec): preserve distinct bound actions during CSDL merge - #518

Draft
rita-aga wants to merge 2 commits into
mainfrom
codex/arn518-action-merge
Draft

rita-aga wants to merge 2 commits into
mainfrom
codex/arn518-action-merge

Conversation

@rita-aga

@rita-aga rita-aga commented Oct 2, 2026

Copy link
Copy Markdown
Collaborator

CSDL updates matched actions by name alone, so installing SemanticRun.Prepared could overwrite LearningRun.Prepared, and another Record could replace Observation.Record. Match bound actions by name, bound status and binding type; replace the same binding and remove its stale duplicates while preserving other bindings.

This is a narrow repair on the exact kernel revision used by Foresight acceptance (a40d3795), for ARN-518. Main promotion remains deferred.

Validation: the regression fails on the old implementation. All 295 temper-spec tests pass, including an explicit replay of the actual acceptance metadata with both scoped and full updates: every previous binding survives, incoming definitions match exactly, unrelated actions remain unchanged, and repeated updates are idempotent. Formatting, workspace Clippy with warnings denied, readability checks and the full workspace test suite all pass. The acceptance runtime and complete question-to-worlds flow still require deployment verification; this PR alone is not Foresight delivery.

This branch has not been deployed

No deployments
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