[GH-ISSUE #1388] Ruleset size checks still use the limits from before Capability API 1.340 #711

Closed
opened 2026-10-20 17:29:57 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @kolacheee on GitHub (Oct 14, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/1388

Originally assigned to: @kolacheee on GitHub.

Marinara Engine raised its ruleset package limits in Capability API 1.340 (Pasta-Devs/Marinara-Engine#7629). A package that declares 1.340 or newer may now ship a ruleset.json of up to 512 KiB and catalog files of up to 2 MiB each. Packages that declare an older API keep the old limits of 256 KiB and 1 MiB.

This catalog's checks have not caught up:

  • scripts/ruleset-package-checks.mjs refuses any catalog file over 1 MiB, even when the package declares 1.340.
  • Nothing checks the size of ruleset.json, so a package the Engine would refuse on install can still reach the catalog.

Both limits should follow the package's declared Capability API, the same way the Engine applies them.

Originally created by @kolacheee on GitHub (Oct 14, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/1388 Originally assigned to: @kolacheee on GitHub. Marinara Engine raised its ruleset package limits in Capability API 1.340 (Pasta-Devs/Marinara-Engine#7629). A package that declares 1.340 or newer may now ship a ruleset.json of up to 512 KiB and catalog files of up to 2 MiB each. Packages that declare an older API keep the old limits of 256 KiB and 1 MiB. This catalog's checks have not caught up: - `scripts/ruleset-package-checks.mjs` refuses any catalog file over 1 MiB, even when the package declares 1.340. - Nothing checks the size of ruleset.json, so a package the Engine would refuse on install can still reach the catalog. Both limits should follow the package's declared Capability API, the same way the Engine applies them.
Sign in to join this conversation.
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
Pasta-Devs/Marinara-Agents#711
No description provided.