mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #1082] [MERGED] feat(ruleset-5e): SRD spellcasters cast from their own sheets, and Hellish Rebuke answers harm (0.8.0, Capability API 1.34) #1285
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#1285
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/1082
Author: @kolacheee
Created: 9/25/2026
Status: ✅ Merged
Merged: 9/25/2026
Merged by: @kolacheee
Base:
staging← Head:feat/ruleset-5e-moments📝 Commits (5)
515b23cfeat(ruleset-5e): spellcasters as sheet creatures and Hellish Rebuke's moment (0.8.0)cbefa44docs(ruleset-5e): the Gynosphinx does not cast, and document the 1.33 and 1.34 gates73604affix(ruleset-5e): the Priest's printed Religion, and text held only to a declared lengthd2ee33ddocs(ruleset-5e): call the five spells' stated roll their base damage roll256abdadocs(ruleset-5e): a sheet creature needs no actions but may keep printed ones📊 Changes
21 files changed (+3036 additions, -182 deletions)
View changed files
📝
CONTRIBUTING.md(+2 -0)📝
README.md(+1 -1)➕
artifacts/ruleset-5e-2014-0.8.0.zip(+0 -0)📝
catalog/preview/catalog.json(+13 -13)📝
catalog/preview/notes.json(+6 -0)📝
catalog/preview/v2/catalog.json(+13 -13)📝
catalog/preview/v2/notes.json(+6 -0)📝
catalog/preview/v3/catalog.json(+13 -13)📝
catalog/preview/v3/notes.json(+6 -0)📝
packages/ruleset-5e-2014/CHANGELOG.md(+8 -0)📝
packages/ruleset-5e-2014/README.md(+54 -18)📝
packages/ruleset-5e-2014/catalogs/creatures.json(+1893 -67)📝
packages/ruleset-5e-2014/catalogs/spells.json(+68 -6)📝
packages/ruleset-5e-2014/locales/en.json(+1 -1)📝
packages/ruleset-5e-2014/manifest.json(+10 -10)📝
packages/ruleset-5e-2014/ruleset.json(+37 -3)📝
scripts/build-5e-srd-catalogs.mjs(+394 -18)📝
scripts/build-ruleset-packages.mjs(+3 -0)📝
scripts/ruleset-package-checks.mjs(+228 -19)📝
scripts/tests/ruleset-package.regression.mjs(+278 -0)...and 1 more files
📄 Description
Pull request
Linked issue
Closes #1081
Why this change
reaction: true, which the Engine puts on no menu. Capability API 1.33 (https://github.com/Pasta-Devs/Marinara-Engine/pull/6608) lets an entry name its moment.What changed
ruleset-5e-20140.8.0: Capability API 1.34, ruleset version 8, sheet version 3. Built against Enginestaginge15c9e558.{ "on": "harmed", "at": "source" }. The converter copies each reaction spell's trigger sentence from the source and fails if a reaction spell is in neither table or its trigger changes.reaction: true. The issue proposed{ "on": "aimed", "cancels": true }, but the Engine's aimed moment opens for any action aimed at the holder, a sword swing as much as a spell, so Counterspell would parry weapons. It needs an Engine filter on what an aimed moment answers. That filter is planned with the Engine's remaining combat work. Shield (an Armor Class number) and Feather Fall (nothing falls) also staytrue, and the README says why.SPELL_RIDERStable, each citing its own text. The four cantrips keep the source's own per-level scaling.threatblock is byte-identical to 0.7.0.scripts/ruleset-package-checks.mjs):assertRulesetReactions(1.33) and the creature-sheet branch ofassertRulesetCreatures(1.34), restating the Engine's rules and never stricter. Wired intobuild-ruleset-packages.mjs,build-5e-srd-catalogs.mjsandvalidate-catalog.mjs.catalogs/*.json,ruleset.json, manifest hashes,locales/en.json,artifacts/ruleset-5e-2014-0.8.0.zip, and the preview catalog lanes.Package and security impact
ruleset-5e-2014(staging-only tier).stagingtoday. An older Engine refuses the install.Validation
node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdManual verification notes
Run locally by the agent, all exit 0:
npm run check,npm run test:security,node scripts/test-catalog-lanes.mjs,node scripts/tests/ui-translation-retention.regression.mjs,node scripts/validate-package-locales.mjs,node scripts/validate-package-locale-keys.mjs,node scripts/validate-catalog.mjs,node scripts/tests/catalog-generatedat-determinism.regression.mjs,node scripts/tests/catalog-release-notes.regression.mjs,node scripts/tests/ruleset-package.regression.mjs,git diff --check. A second converter run left every generated file byte-identical.creatures.json, only Hellish Rebuke and the five damage spells changed inspells.json, and thethreatblock is identical.staginge15c9e558 (scratch script, not committed):ruleset.jsonand all three catalog files parse with the Engine's own parser. Each of the 12 casters enters a fight throughcreateRulesetEncounterwith the printed AC, hit points and all six saves, and every spell attack and spell DC equals the printed numbers. The Gynosphinx prepares nothing a fight resolves, so it offers no spell, as the README says.Local CodeRabbit, three passes, five findings. Fixed four: the release note counted the Gynosphinx among the casters that cast, the Priest's Religion fixture error, the checker holding text to an undeclared length (stricter than the Engine), and "1st-level roll" reworded to "base damage roll". Declined one: setting the Lich's Arcana bonus to 8 would make it +19, the Monster Manual's number. SRD 5.1, the fixture and the SRD API all print +18, which the sheet computes (5 + 6 + 7), and the build fails if it ever does not.
NOT done: a real install through the Engine.
Still to verify by hand, after this merges to
staging:staging, update 5e (SRD 5.1) to 0.8.0 and confirm no restart is asked for.Documentation impact
Updated: the package README and CHANGELOG, the root README row and CONTRIBUTING. No Engine documentation changes.
UI evidence (if applicable)
None. The package has no UI of its own.
Summary by CodeRabbit
New Features
Updates
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.