mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #1389] [MERGED] fix(rulesets): hold ruleset sizes to the Engine's Capability API 1.340 limits #1434
Labels
No labels
agent: chess
agent: conversation-calls
agent: eightball
agent: haptic
agent: hierarchical-maps
agent: hierarchical-maps
agent: illustrator
agent: poker
agent: rock-paper-scissors
agent: tic-tac-toe
agent: uno
artifacts
bug
bugfix
build
catalog
ci
client
dependencies
docs
documentation
enhancement
feature
fixed-in-staging
in-pr
normal-scope
packages
pull-request
qol
regression
roadmap
scope-risk
server
soup
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Agents#1434
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?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/1389
Author: @kolacheee
Created: 10/14/2026
Status: ✅ Merged
Merged: 10/14/2026
Merged by: @kolacheee
Base:
staging← Head:fix/ruleset-size-limits-1340📝 Commits (1)
33320aafix(rulesets): hold ruleset sizes to the Engine's Capability API 1.340 limits📊 Changes
2 files changed (+106 additions, -10 deletions)
View changed files
📝
scripts/ruleset-package-checks.mjs(+39 -7)📝
scripts/tests/ruleset-package.regression.mjs(+67 -3)📄 Description
Pull request
Linked issue
Closes #1388
Why this change
What changed
scripts/ruleset-package-checks.mjs:RULESET_MAX_BYTES/RULESET_EARLIER_MAX_BYTESandRULESET_CATALOG_MAX_BYTES/RULESET_CATALOG_EARLIER_MAX_BYTES, plusrulesetSizeLimits(manifest).manifest.filesfor ruleset.json and eachcatalogs/<id>.json, as the Engine does before reading. The catalog payload check uses the same limit.scripts/tests/ruleset-package.regression.mjscovers:ruleset-5e-2014declares 1.46 and its largest catalog is about 780 KB, so it is unaffected.Package and security impact
Validation
node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdManual verification notes
node scripts/tests/ruleset-package.regression.mjspasses. Before the fix, the existing 1 MiB padding case fails under the new expectations.npm run checkshows no errors and no new warnings in the changed files.Documentation impact
Generated by Claude Code
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.