mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #943] [MERGED] feat(ruleset-5e-2014): a battle block and healing spells, so fights start from the sheet (0.3.0) #1205
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#1205
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/943
Author: @kolacheee
Created: 9/19/2026
Status: ✅ Merged
Merged: 9/19/2026
Merged by: @kolacheee
Base:
staging← Head:feat/ruleset-5e-battle📝 Commits (6)
0a33ba9feat(ruleset-5e-2014): the battle block and healing spells (0.3.0)b267144fix(ruleset-5e-2014): refuse alwaysWhen without onlyWhen, as the Engine does3a37cb6build(ruleset-5e-2014): 0.3.0 against the Engine commit that merged the battle bridge41e7f81docs(ruleset-5e-2014): say that Pact Magic slots do not go into a battle1d91c28Merge remote-tracking branch 'origin/staging' into feat/ruleset-5e-battlea4d6a75docs(ruleset-5e-2014): the description says cantrips come into a battle too📊 Changes
20 files changed (+635 additions, -83 deletions)
View changed files
📝
CONTRIBUTING.md(+2 -0)📝
README.md(+1 -1)➕
artifacts/ruleset-5e-2014-0.3.0.zip(+0 -0)📝
catalog/preview/catalog.json(+11 -11)📝
catalog/preview/notes.json(+6 -0)📝
catalog/preview/v2/catalog.json(+11 -11)📝
catalog/preview/v2/notes.json(+6 -0)📝
catalog/preview/v3/catalog.json(+11 -11)📝
catalog/preview/v3/notes.json(+6 -0)📝
packages/ruleset-5e-2014/CHANGELOG.md(+8 -0)📝
packages/ruleset-5e-2014/README.md(+54 -15)📝
packages/ruleset-5e-2014/catalogs/spells.json(+53 -9)📝
packages/ruleset-5e-2014/locales/en.json(+1 -1)📝
packages/ruleset-5e-2014/manifest.json(+8 -8)📝
packages/ruleset-5e-2014/ruleset.json(+25 -1)📝
scripts/build-5e-srd-catalogs.mjs(+86 -13)📝
scripts/build-ruleset-packages.mjs(+4 -1)📝
scripts/ruleset-package-checks.mjs(+121 -1)📝
scripts/tests/ruleset-package.regression.mjs(+217 -0)📝
scripts/validate-catalog.mjs(+4 -0)📄 Description
Pull request
Linked issue
Closes #942
Why this change
stagingas d71106851) lends a sheet to Marinara's combat for any ruleset that declares abattleblock. The 5e package had none.What changed
ruleset-5e-20140.3.0, Capability API 1.22,builtAgainst.engineCommitd71106851b8ffd6b963542601901387b4269fb34.ruleset.jsongains a hand-authoredbattleblock:hpas health,slots_1toslots_9with their levels, skills fromspells(onlyWhen: prepared,alwaysWhen: level = 0so cantrips always come) and fromattacks. Pact Magic slots are left out on purpose: their level follows the character, and a fixed list of levels cannot say that. The rulesetversionis 3.scripts/build-5e-srd-catalogs.mjs) gets a small hand-checkedHEALING_SPELLStable: eight SRD healing spells becomekind: "heal"with their dice, each row citing the SRD sentence it came from. Thebattleblock sits beforecatalogsin the file because the converter rewrites fromcatalogsto the end, and it now fails loudly if that order is ever broken.scripts/ruleset-package-checks.mjsgainsassertRulesetBattle, wired into the builder andvalidate-catalog.mjs: the Engine's own rules restated at the block's narrow shape (declared live pools only, health may not start empty, energy is not health, slot pools and levels used once and 1 to 9,onlyWhennames a boolean column,alwaysWhenneedsonlyWhenand a value its column can hold, 1.22 declared). Regression cases for each inscripts/tests/ruleset-package.regression.mjs.artifacts/ruleset-5e-2014-0.3.0.zip, and the preview overlay entries (catalog/preview/**). The package stays staging-only.Package and security impact
ruleset-5e-2014stagingat or after d71106851). An older Engine refuses the update cleanly and keeps 0.2.0.Validation
node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdManual verification notes
Commands run locally by the agent, all passing:
node scripts/validate-catalog.mjs,node scripts/tests/ruleset-package.regression.mjs,node scripts/test-catalog-lanes.mjs,node scripts/validate-package-locale-keys.mjs, the generatedAt determinism and release notes regressions,npm run check(0 errors), andnpm run build:rulesetstwice with a byte-identical artifact. A local CodeRabbit review returned one trivial suggestion, declined: refusing a list named twice inbattle.skillswould be a rule the Engine itself does not have, and these checks only restate the Engine's.Proof against the Engine's own code (its shared package built from the bridge branch before it merged): the shipped
ruleset.jsonand both catalog files parse; a level 5 wizard with Fire Bolt, Fireball and Cure Wounds prepared and a Longsword picked gets those four as combat skills (Fireball as a slot 3 area attack, Cure Wounds as a slot 1 heal), Shield stays out because reactions are not used, and 10 of 20 hit points seed 30 of 60 health.Still to verify by hand:
stagingbranch, so it cannot see a PR branch), and post the result here.Documentation impact
The package README and changelog are updated. The Engine side is documented in Pasta-Devs/Marinara-Engine#6348 (
docs/game/combat.md, the authoring guide).UI evidence (if applicable)
None: the package ships no UI.
Summary by CodeRabbit
New Features
Enhancements
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.