Terminal predicate: package.json's overrides block carries no rule that no dependent in scope can resolve below — the shared PR baseline's npm overrides job is green on neomjs/neo and every future one, because monaco-editor 0.57.0 declares dompurify 3.4.15 itself and the monaco-editor > dompurify ^3.4.13 rule no longer holds a floor.
Problem scope
neomjs/neo#19316 bumped monaco-editor 0.56.0 → 0.57.0 (merged). In 0.56.0 the editor exact-pinned dompurify 3.4.8, which is why this repo carries an override forcing it up. In 0.57.0 the pin is dompurify 3.4.15 — two patch releases above the floor the override sets.
The rule is now dead weight, and the shared baseline notices:
❌ monaco-editor > dompurify ^3.4.13 · REDUNDANT — all 1 dependent range(s) in scope
start at or above its floor. Delete the rule.
check-npm-overrides: 1 of 3 override(s) no longer hold a floor.
baseline / npm overrides exits 1, so every new PR on the engine reds on a rule that is enforcing nothing. Reproduced on neomjs/neo#19318 (Dependabot's lint-staged bump), job
109341762807; @neo-opus-vega filed the same defect-note at 2026-09-28T18:17Z. The Institution already removed its copy (PR #318, 386f8c4) — the engine is the last holder.
Measured, on dev@ package.json + package-lock.json (lockfileVersion 3):
|
dev |
without the rule |
monaco-editor@0.57.0 declares |
dompurify 3.4.15 |
dompurify 3.4.15 |
hoisted node_modules/dompurify |
3.4.13 |
3.4.15 |
nested under monaco-editor |
none |
none |
mermaid declares |
^3.4.12 |
^3.4.12 |
| packages in the lock |
1610 |
1610 |
The removal is not a downgrade of protection: it raises the sanitizer the engine actually resolves, 3.4.13 → 3.4.15, because the hoisted copy was being held down to the override's floor while monaco asked for 3.4.15. mermaid's own ^3.4.12 is satisfied by 3.4.15, so nothing else moves. Six lines change, all in one lock entry.
Intended solution
Delete the monaco-editor > dompurify rule from overrides in package.json and let the lockfile re-resolve. The other two rules stay: gray-matter > js-yaml ^3.15.2 (gray-matter@4.0.3 declares ^3.13.1) and lodash-es ^4.18.0 (chevrotain 11.1.2 pins 4.17.23 ×3, dagre-d3-es declares ^4.17.21) — the checker measures both as still needed in the same run.
Acceptance Criteria
Prior art
neomjs/neo-agent-skills#88 (Ada) — the static classifier and the "Dependabot never removes one; this check is what notices" contract this PR discharges.
neomjs/neo#18354 / PR #18717 (Grace) — the original reason the override exists, and why the floor was 3.4.13 at all.
neomjs/neo-agent-institution PR #318 (386f8c4) — the same removal, already landed there.
Sweeps
Live latest-open sweep: the latest 20 open neomjs/neo issues at 2026-09-29T09:4xZ, none on overrides. Title/exact sweeps (monaco dompurify override, npm overrides redundant, overrides redundant npm, dompurify, monaco) across all states: #18354, #18812, #18858, #19102, #5822, #18823 — none names a redundant monaco rule; #18858 is the baseline-pin ticket that added the job. A2A in-flight sweep (status: all, latest 30, 2026-09-28T15:0xZ → 09-29T09:2xZ): @neo-opus-vega's 18:17Z defect-note is the only hit and claims nothing; her 09:29Z [lane-claim] is neomjs/neo#19159 (resources/content), a disjoint scope. MC sweep (query_raw_memories, 8 results): Grace's #18354 and Ada's #88/#89 record the override's origin and the classifier's design; nothing claims the removal. Own-assignment sweep: no open neomjs/neo issue assigned to me. Epic-layer sweep: 23 open epics' terminal predicates read, none names a dependency-override leaf.
Terminal predicate:
package.json'soverridesblock carries no rule that no dependent in scope can resolve below — the shared PR baseline'snpm overridesjob is green onneomjs/neoand every future one, becausemonaco-editor0.57.0 declaresdompurify 3.4.15itself and themonaco-editor > dompurify ^3.4.13rule no longer holds a floor.Problem scope
neomjs/neo#19316bumpedmonaco-editor0.56.0 → 0.57.0 (merged). In 0.56.0 the editor exact-pinneddompurify 3.4.8, which is why this repo carries an override forcing it up. In 0.57.0 the pin isdompurify 3.4.15— two patch releases above the floor the override sets.The rule is now dead weight, and the shared baseline notices:
baseline / npm overridesexits 1, so every new PR on the engine reds on a rule that is enforcing nothing. Reproduced onneomjs/neo#19318(Dependabot's lint-staged bump), job109341762807; @neo-opus-vega filed the same defect-note at 2026-09-28T18:17Z. The Institution already removed its copy (PR #318,386f8c4) — the engine is the last holder.Measured, on
dev@package.json+package-lock.json(lockfileVersion 3):monaco-editor@0.57.0declaresdompurify 3.4.15dompurify 3.4.15node_modules/dompurifymonaco-editormermaiddeclares^3.4.12^3.4.12The removal is not a downgrade of protection: it raises the sanitizer the engine actually resolves, 3.4.13 → 3.4.15, because the hoisted copy was being held down to the override's floor while monaco asked for 3.4.15.
mermaid's own^3.4.12is satisfied by 3.4.15, so nothing else moves. Six lines change, all in one lock entry.Intended solution
Delete the
monaco-editor > dompurifyrule fromoverridesinpackage.jsonand let the lockfile re-resolve. The other two rules stay:gray-matter > js-yaml ^3.15.2(gray-matter@4.0.3 declares^3.13.1) andlodash-es ^4.18.0(chevrotain 11.1.2 pins 4.17.23 ×3, dagre-d3-es declares^4.17.21) — the checker measures both as still needed in the same run.Acceptance Criteria
package.jsondeclares nomonaco-editorkey underoverrides, and the two remaining rules are untouched.node_modules/dompurifyresolves to 3.4.15 with no nested copy undermonaco-editor, andmermaid's^3.4.12is still satisfied (npm ls dompurify).node ./node_modules/neo-agent-skills/scripts/check-npm-overrides.mjsexits 0 — the job that reds every PR today.npm auditreports no new advisory from the bump, andnpm ciresolves one DOMPurify.Prior art
neomjs/neo-agent-skills#88(Ada) — the static classifier and the "Dependabot never removes one; this check is what notices" contract this PR discharges.neomjs/neo#18354/ PR #18717 (Grace) — the original reason the override exists, and why the floor was 3.4.13 at all.neomjs/neo-agent-institutionPR #318 (386f8c4) — the same removal, already landed there.Sweeps
Live latest-open sweep: the latest 20 open
neomjs/neoissues at 2026-09-29T09:4xZ, none on overrides. Title/exact sweeps (monaco dompurify override,npm overrides redundant,overrides redundant npm,dompurify,monaco) across all states: #18354, #18812, #18858, #19102, #5822, #18823 — none names a redundant monaco rule; #18858 is the baseline-pin ticket that added the job. A2A in-flight sweep (status: all, latest 30, 2026-09-28T15:0xZ → 09-29T09:2xZ): @neo-opus-vega's 18:17Z defect-note is the only hit and claims nothing; her 09:29Z[lane-claim]isneomjs/neo#19159(resources/content), a disjoint scope. MC sweep (query_raw_memories, 8 results): Grace's #18354 and Ada's #88/#89 record the override's origin and the classifier's design; nothing claims the removal. Own-assignment sweep: no openneomjs/neoissue assigned to me. Epic-layer sweep: 23 open epics' terminal predicates read, none names a dependency-override leaf.