Skip to content

Reject invalid route folds before binding and borrow compiler sessions - #729

Merged
tamashi095 merged 17 commits into
mainfrom
codex/route-fold-bind-errors
Sep 11, 2026
Merged

Reject invalid route folds before binding and borrow compiler sessions#729
tamashi095 merged 17 commits into
mainfrom
codex/route-fold-bind-errors

Conversation

@tamashi095

@tamashi095 tamashi095 commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

Invalid route-fold installation previously reached debug-only assertions after route operations had been removed, risking missing audio in release builds. Graph binding now validates the fold before consuming caller-owned processors, observers or sources, and construction consumes that validated plan. Rack fold configuration keeps its active mask tied to the chain it constructs. Console non-source bindings use the explicit identity contract.

The graph compiler also borrows its compiled session during preparation, removing the full-session clone while preserving original input ownership on failure.

Validation: independent Astra XHIGH source review; public invalid-fold rejection and same-owner retry controls; debug/release route-fold corpus, PCM, pairing and rack controls; corrected master-identity census and strict Clippy. Reviewed combined source 5e45c7a1: 124 graph/rack debug tests and 39 release checks passed, plus compiler ownership/retry verification. Shared ordinary AudioWorklet build reproduced pin a24d0cae; static/resource/host/SDK/package and three-browser mutation gates passed. All five companion artifact files are unchanged. No performance claim.

Delivers #221 and #162 after required PR and exact-main qualification. #220 is the already-delivered prerequisite.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

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