fix(runtime): honor disabled languages and preserve activation safety #465
No reviewers
Labels
No labels
code-review
correctness
dos
performance
security
severity/high
severity/low
severity/medium
tech-debt
Kind/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
h-dv/code-index!465
Loading…
Reference in a new issue
No description provided.
Delete branch "codex/disabled-language-activation"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Approving a language package on a genuinely empty index could fail the activation gate, or a subsequent pass could index the language despite the project's explicit disabled setting. Apply effective displacement ownership to both the live fallback route and the dirty-domain owner. Allow an empty pending projection only when every walked path has positive evidence that a loaded pending package claims an explicitly disabled reserved language and no native producer exists. Existing missing-contribution, unmatched-package and fact-loss gates remain enforced.
Enabled languages still use their package when the binary has no native producer, including Ruby. The language listing now reports approved disabled packages as unowned, and empty projections no longer claim their rows are searchable.
Validation: 68 targeted routing, dirty-domain, rollback, activation and boundary tests; language controls in both native and parser-free builds; strict Clippy and formatting; executed mutation controls for the fallback and empty-projection boundaries. Full signed generic-runtime acceptance passed for all seven languages, MCP, watching, restart, XAML and embedded Svelte/Vue. The missing-inner-producer fixture explicitly enables its desired TypeScript language and retains every original refusal/repair assertion. An additional live control verifies that a fact-losing disable is rejected with the old generation retained and a degraded reply, then explicit enablement restores ready service. No data-loss gate is waived.
Fixes #427.
Additional frozen-head review:
review_diffreports no stale/unindexed changed files; the routing change has a broad dependency footprint, so the full core and native Windows gates remain required. An external parser-free Rust consumer also passed the publicActivation::ownercontrols: a package claiming.jswithout an effective reserved-language displacement cannot own it, the same claim with consented displacement does own it, and a custom.frobclaim still owns its path. This independently checks the dirty-file routing boundary without changing the qualified PR head. Full generic CLI/MCP acceptance and both source-mutation controls remain green. Awaiting runs 6683 and 6684; no merge or release bypass.Qualified and merged normally. Exact source head
2e269bebe48cb4804b5c0386ab303ebed4f65af8passed Windows6683 (44m02), core6684 (40m59), packages6685 (1m47), and pilots6686 (3m28). Windows: 4,847 ordinary tests and the serial timing/doctest/installer/shipped-profile checks passed; Linux: 5,074 ordinary tests, serial timing, corpus and separate daemon transport gate passed. The local generic signed CLI/MCP acceptance and negative mutation controls are recorded above.Fetched master
46d817abafa73430c3f2156f86d0c62962dffbc9; verified the source head is its ancestor and both trees are exactly86d3f240854738720fa8f83ebca973486f9ef514. Preparing v0.41.20 via the documented direct-child version-only branch; publication has not happened yet. Local merge receipt:/tmp/cosi-020-source-merge-verification.json.