[registry] Validate module formats and shared dependencies #221
Labels
No labels
abandoned
active
audit
blocked
data-safety
difficulty:easy
difficulty:hard
difficulty:high
difficulty:medium
docs
done
duplicate
notebook-v0
open
priority:high
ready
release-critical
safe-mode
spec
spec-backlog
subsystem:api
subsystem:backlog
subsystem:bases
subsystem:ci
subsystem:command
subsystem:configuration
subsystem:consolidate
subsystem:dependencies
subsystem:desktop-electron
subsystem:diffmerge
subsystem:docker
subsystem:docs
subsystem:fuzzy
subsystem:graph
subsystem:hotkeys
subsystem:lapis
subsystem:maint
subsystem:maintenance
subsystem:markdown
subsystem:markdown-lint
subsystem:md018
subsystem:notebook
subsystem:notifications
subsystem:opfs
subsystem:package
subsystem:plugin-markdown
subsystem:plugin-tasks
subsystem:plugins
subsystem:registry
subsystem:release
subsystem:renovate
subsystem:restore
subsystem:scripts
subsystem:search
subsystem:settings
subsystem:spec
subsystem:tasks
subsystem:testing
subsystem:ui
subsystem:web
subsystem:workspace
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lapis-notes/lapis#221
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Problem
Official registry publication and installation need to reject loader-incompatible module metadata before incompatible plugins reach users.
Goal
Extend registry validation to enforce module formats, entry files, shared dependencies, and platform compatibility using the generated host-module catalogue.
Scope
Non-goals
Acceptance Criteria
Implementation Notes
lapis.runtime.entriesand shared dependency defaults into the official release manifest generated byscripts/plugin-release.mjs.manifest.json, validate entry and fallback files, check declared and scanned bare dependencies againstplugin-host-modules.schema.generated.ts, and return structured diagnostics.VerifiedPluginInstallerso official invalid runtime metadata fails before staging files, while non-official/manual compatibility paths can surface warnings.Suggested Files or Specs To Inspect
spec/src/50-roadmap/full-registry-v1.mdspec/src/30-cross-package-contracts/plugin-registry.mdpackages/api/src/lib/plugin-distribution/packages/api/src/lib/generated/plugin-host-modules.schema.generated.tsValidation Commands
pnpm plugin-host:checkpnpm --filter @lapis-notes/api check:allpnpm check:allRelated Issues
Follow-up Tasks
Implementation Summary
Added signed release runtime metadata, official runtime-entry and shared-dependency validation against the generated host-module catalogue, installer hard failures for invalid official metadata, runtime warning persistence for compatibility paths, release-tool metadata emission, focused tests, and spec updates.