Skip to content

0.42.0-alpha.6 — audit round 2 remediation (TP-5.6) - #594

Merged
SisyphusZheng merged 3 commits into
mainfrom
dev
Jul 28, 2026
Merged

0.42.0-alpha.6 — audit round 2 remediation (TP-5.6)#594
SisyphusZheng merged 3 commits into
mainfrom
dev

Conversation

@SisyphusZheng

Copy link
Copy Markdown
Member

0.42.0-alpha.6 — audit round 2 remediation (TP-5.6)

Plan: VERSION_PLAN TP-5.6 (inserted; TP-6 准入 updated).
ADRs: none new (ADR-0121 implementation continues).
Scope: second independent review (docs/audit/2026-07-28-alpha5-round2-review.md), issues #576#593 — five high-severity morph-client defects (form action URL, popstate-after-reload, DSD instantiation, ordered morph matching, import-following detection) plus protocol tail (400/405/duck whitelist), evidence (parity matrix, retries, alpha.2 erratum).
Local: autoflow:ci full suite green (fixture 49×3=147; parity 10/10; consumer local+packaged; WC smoke); docs:truth; interface:snapshot; workflow:check.
Release docs: CHANGELOG entry, docs/release/v0.42.0-alpha.6.md, www roadmap current entry.
CI: dev CI pending on HEAD.

DevBot added 3 commits July 28, 2026 13:44
…(TP-5.6)

Morph client correctness (round-2 review #576-#593): explicit form
action wins on enhanced submits (formAction IDL is only honored with a
formaction attribute); popstate guard persists via sessionStorage and
covers bfcache pageshow restores; DSD templates instantiate manually
before morph insertions so morphed-in islands hydrate the server render;
__morphChildren rewritten as an ordered walk with relocation and exact
deletion; island comparison recurses with template/whitespace
normalization on both sides; late-hydrating islands get the submit
listener; cancelable open:action-error precedes the network-failure
reload; region-miss and network fallbacks log a reason; detached shadow
roots pruned from the listener registry.

Detection: hasEnhancedForms follows relative imports (bounded,
cycle-safe) so shared-component forms keep the enhancement layer.

Protocol tail: malformed form bodies answer 400 on both channels;
redirect duck type honors the 3xx whitelist; 405 carries no-store/Vary;
redirect() constructor validation has unit tests.

Evidence: parity contract extended (JSON 404, contract-violation 500,
malformed 400, 405 no-store, 303-to-GET chain); local playwright retries
zeroed; alpha.2 note enhancement-inert erratum; MORPH_CONTRACT updated;
fixture 49 tests x 3 engines = 147 green.

Refs #576-#593
….41-era stale-claim pattern that collided with the real 0.42.0-alpha.6
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@github-actions

Copy link
Copy Markdown
Contributor

APIError: Insufficient Balance

opencode session  |  github run

@SisyphusZheng
SisyphusZheng merged commit 597106b into main Jul 28, 2026
8 of 10 checks passed
This was referenced Jul 28, 2026
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