fix(plugins): enforce basename ABI and test Svelte template rules #491

Merged
buildagent merged 3 commits from fix/basename-fact-abi-conformance into master 2026-11-05 13:10:03 +01:00
Member

Plugins emitting TAG_SYMBOL_BASENAME with fact_minor_min < 2 previously passed conformance. They now fail with conformance.fact_abi_undeclared; the verdict records the required and declared floor, and enable refuses it. Refs #280.

Verdict schema 3 marks the new check. Schema-2 verdicts remain usable when the verified package already declares minor 2 or later; other packages need plugin check again before enable. Ordinary symbols remain valid at minors 0 and 1. Digest, engine and authority checks remain enforced. This grades fixture emissions and cannot retrofit older hosts.

A template-only real-daemon test now asserts Svelte render calls, event-handler calls and qualified member reads, including a property-name decoy. No script producer can supply those refs. Three fixture-ablation controls fail the corresponding assertion. The shipped-fixture conformance test and derived grammar-build population were already present and are revalidated; the grammar-registration removal control fails as required. Existing mutation verdicts are recorded inline with attribution to the #279 audit. Refs #279.

The reason-code registry handles multiple named constants on one line, and the ABI floor is registered against its actual refusal fields. Version 0.41.36 is included for shared qualification; plugin artifacts and guest SDK ABI are unchanged.

Local validation: 598 indexer tests (4 existing ignored), 5 conformance isolation tests, 10 Svelte daemon tests, shipped Svelte fixture conformance, 7 grammar-provenance tests, 17 bounding-registry tests, 11 disclosure-derivation tests and 12 reason-code tests pass. Formatting and clippy pass. Production CLI E2E rejects underdeclared released Svelte variants, preserves a sufficient cached verdict, and indexes the filename-derived component; the unchanged ABI-0 Timeline package repairs its old verdict and indexes after a new check. Full signed-package acceptance and candidate C#/Timeline pilots pass. Normal Linux, Windows, package and pilot CI remain required.

Plugins emitting `TAG_SYMBOL_BASENAME` with `fact_minor_min < 2` previously passed conformance. They now fail with `conformance.fact_abi_undeclared`; the verdict records the required and declared floor, and enable refuses it. Refs #280. Verdict schema 3 marks the new check. Schema-2 verdicts remain usable when the verified package already declares minor 2 or later; other packages need `plugin check` again before enable. Ordinary symbols remain valid at minors 0 and 1. Digest, engine and authority checks remain enforced. This grades fixture emissions and cannot retrofit older hosts. A template-only real-daemon test now asserts Svelte render calls, event-handler calls and qualified member reads, including a property-name decoy. No script producer can supply those refs. Three fixture-ablation controls fail the corresponding assertion. The shipped-fixture conformance test and derived grammar-build population were already present and are revalidated; the grammar-registration removal control fails as required. Existing mutation verdicts are recorded inline with attribution to the #279 audit. Refs #279. The reason-code registry handles multiple named constants on one line, and the ABI floor is registered against its actual refusal fields. Version 0.41.36 is included for shared qualification; plugin artifacts and guest SDK ABI are unchanged. Local validation: 598 indexer tests (4 existing ignored), 5 conformance isolation tests, 10 Svelte daemon tests, shipped Svelte fixture conformance, 7 grammar-provenance tests, 17 bounding-registry tests, 11 disclosure-derivation tests and 12 reason-code tests pass. Formatting and clippy pass. Production CLI E2E rejects underdeclared released Svelte variants, preserves a sufficient cached verdict, and indexes the filename-derived component; the unchanged ABI-0 Timeline package repairs its old verdict and indexes after a new check. Full signed-package acceptance and candidate C#/Timeline pilots pass. Normal Linux, Windows, package and pilot CI remain required.
fix(plugins): enforce basename fact ABI in conformance
Some checks failed
Package CI / package (xaml) (pull_request) Successful in 3s
Package CI / package-corpus (javascript) (pull_request) Successful in 3s
Package CI / package-corpus (csharp) (pull_request) Successful in 3s
Package CI / package-corpus (python) (pull_request) Successful in 2s
Package CI / package-corpus (php) (pull_request) Successful in 2s
Package CI / package-corpus (ruby) (pull_request) Successful in 1s
Package CI / package-corpus (typescript) (pull_request) Successful in 2s
Package CI / package-corpus (vue) (pull_request) Successful in 3s
Package CI / package-corpus (rust) (pull_request) Successful in 3s
Package CI / package-corpus (timeline) (pull_request) Successful in 3s
Package CI / package-corpus (xaml) (pull_request) Successful in 1s
Package CI / package overhead budgets (nightly, one package at a time) (pull_request) Has been skipped
Package CI / package-corpus (svelte) (pull_request) Successful in 3s
Pilot plugin compatibility / Fetch the pinned runtime once (pull_request) Successful in 17s
Pilot plugin compatibility / Pilot compatibility (csharp) (pull_request) Successful in 20s
Pilot plugin compatibility / Pilot compatibility (timeline) (pull_request) Successful in 25s
CI / guest crates (fmt, clippy, doc) (pull_request) Successful in 31s
Pilot plugin compatibility / Pilot compatibility result (pull_request) Successful in 1s
CI / CI lane wall-clock headroom (pull_request) Successful in 42s
CI / cargo doc (intra-doc links) (pull_request) Successful in 4m31s
CI / cargo deny (pull_request) Successful in 4m44s
CI / cargo clippy (pull_request) Successful in 5m3s
CI / cargo check (MSRV 1.99.1) (pull_request) Successful in 6m23s
CI / cargo test (abi, 32-bit + wasm32) (pull_request) Successful in 6m32s
CI / cargo check (windows-gnu) (pull_request) Successful in 6m42s
CI / OSS corpus (tier 1) (pull_request) Successful in 34m43s
CI / cargo test (pull_request) Failing after 38m34s
CI / cargo test (daemon transport) (pull_request) Has been skipped
CI / Plugin path cost + pool throughput (nightly) (pull_request) Has been skipped
CI (Windows) / fmt + clippy + build + test (windows) (pull_request) Has been cancelled
56dbb24a6d
buildagent changed title from fix(plugins): enforce basename fact ABI in conformance to fix(plugins): enforce basename ABI and test Svelte template rules 2026-11-05 11:49:03 +01:00
test(svelte): cover template render events and member reads
All checks were successful
Package CI / package-corpus (vue) (pull_request) Successful in 2s
Package CI / package overhead budgets (nightly, one package at a time) (pull_request) Has been skipped
Package CI / package-corpus (xaml) (pull_request) Successful in 2s
Pilot plugin compatibility / Fetch the pinned runtime once (pull_request) Successful in 18s
CI / guest crates (fmt, clippy, doc) (pull_request) Successful in 24s
Pilot plugin compatibility / Pilot compatibility (csharp) (pull_request) Successful in 18s
Pilot plugin compatibility / Pilot compatibility (timeline) (pull_request) Successful in 24s
Pilot plugin compatibility / Pilot compatibility result (pull_request) Successful in 1s
CI / CI lane wall-clock headroom (pull_request) Successful in 46s
CI / cargo doc (intra-doc links) (pull_request) Successful in 4m34s
CI / cargo deny (pull_request) Successful in 4m55s
CI / cargo clippy (pull_request) Successful in 5m11s
CI / cargo check (MSRV 1.99.1) (pull_request) Successful in 6m28s
CI / cargo test (abi, 32-bit + wasm32) (pull_request) Successful in 6m32s
CI / cargo check (windows-gnu) (pull_request) Successful in 6m43s
CI / OSS corpus (tier 1) (pull_request) Successful in 37m46s
CI / cargo test (pull_request) Successful in 44m48s
CI / cargo test (daemon transport) (pull_request) Successful in 12m4s
CI / Plugin path cost + pool throughput (nightly) (pull_request) Has been skipped
CI (Windows) / fmt + clippy + build + test (windows) (pull_request) Successful in 1h15m24s
Release Build / Generate Version (push) Successful in 18s
Release Build / Required CI green (push) Successful in 36s
Release Build / Build linux-aarch64 (push) Successful in 17m19s
Release Build / Build linux-x86_64-musl (push) Successful in 21m45s
Release Build / Build linux-x86_64 (push) Successful in 22m25s
Release Build / Build windows-x86_64 (push) Successful in 28m1s
Release Build / Assemble the release archives (push) Successful in 41s
Release Build / Windows archive smoke (msvc) (push) Successful in 55s
Release Build / Create Forgejo Release (push) Successful in 29s
Release Build / Seed the package channel (push) Successful in 12s
50726eb4fb
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
h-dv/code-index!491
No description provided.