mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #963] [MERGED] feat(ruleset-5e-2014): 0.6.0, a 5e battle on a battlefield, in feet #1216
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#1216
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/963
Author: @kolacheee
Created: 9/20/2026
Status: ✅ Merged
Merged: 9/20/2026
Merged by: @kolacheee
Base:
staging← Head:feat/ruleset-5e-positions📝 Commits (10+)
4f743d1feat(ruleset-5e-2014): the fight is fought on a board, in feet783138efeat(ruleset-5e-2014): the package checks restate the Engine's rules for a fight with positions9faea66chore(ruleset-5e-2014): 0.6.0 built, and the package says what a board gives you4556258fix(ruleset-5e-2014): a picked weapon row is re-picked, not refreshed, and the Speed field cites its SRD sentencedf01ba5docs(ruleset-5e-2014): cover is read for an attack roll and never for a save3272723feat(ruleset-5e-2014): a breath weapon lands in the shape the SRD prints, and a thrown weapon is read correctly32c4a46fix(ruleset-5e-2014): a shape cast from the caster names no distance, and a sequence carries none8576599chore(ruleset-5e-2014): built against the Engine commit that carries Capability API 1.28c555714fix(ruleset-5e-2014): Fire Storm and Teleport carry no shape, and the block checks refuse a key that is not an object32bc4dffix(ruleset-5e-2014): nothing a fight offers deals damage with nobody rolling for it📊 Changes
18 files changed (+1997 additions, -329 deletions)
View changed files
📝
README.md(+1 -1)➕
artifacts/ruleset-5e-2014-0.6.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(+10 -0)📝
packages/ruleset-5e-2014/README.md(+165 -17)📝
packages/ruleset-5e-2014/catalogs/creatures.json(+231 -104)📝
packages/ruleset-5e-2014/catalogs/spells.json(+45 -32)📝
packages/ruleset-5e-2014/locales/en.json(+1 -1)📝
packages/ruleset-5e-2014/manifest.json(+10 -10)📝
packages/ruleset-5e-2014/ruleset.json(+196 -40)📝
scripts/build-5e-srd-catalogs.mjs(+688 -83)📝
scripts/ruleset-package-checks.mjs(+191 -2)📝
scripts/tests/ruleset-package.regression.mjs(+402 -0)📄 Description
Pull request
Linked issue
Closes #962
Why this change
What changed
ruleset-5e-20140.6.0, Capability API 1.28, rulesetversion6, sheetversion2. Still pure data: no code, no permissions, no agent.distance(5 ft a square, the SRD's own grid variant),ranged(disadvantage past normal range, and with a foe within 5 feet),cover(+2, half cover),opportunity(spends the reaction). Every number cites the SRD sentence it came from.scripts/ruleset-package-checks.mjsgains the 1.28 rules restated (never stricter): the shape, the size,friendlyFire, the distance gate, andarearefused on a sequence. Each refusal has a regression case, and each is mutation tested.ruleset.json, the manifest hashes, the locale,artifacts/ruleset-5e-2014-0.6.0.zipand the preview overlay entries. The package stays staging-only.Package and security impact
ruleset-5e-2014stagingat or after 8aa5e0fc4, and the battlefield is drawn from 41a60e30a). An older Engine refuses the update cleanly and keeps 0.5.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, both locale validators, the generatedAt determinism and release notes regressions,npm run check(0 errors),git diff --check,npm run build:rulesets, and the converter run twice with byte-identical output and an identical report. Twelve converter guards and twenty-one package-check guards were mutation tested against a copy of the fixtures and all were caught.Proof against the Engine's own code, from a build of Pasta-Devs/Marinara-Engine#6397:
parseRulesetDefinitionacceptsruleset.jsonandparseRulesetCatalogFileaccepts all three catalog files with zero issues. A scripted positioned fight of fourteen scenes through the Engine's own encounter and resolver, with hand-drawn boards and scripted dice: a longsword refused at 30 feet, then a 25 foot walk and a hit; a longbow normal at 150 feet, disadvantaged at 400 and refused at 700; a shot with a goblin in the next square disadvantaged; a goblin in forest gaining +2 Armor Class with the cover event, so a 16 that would have hit misses; walking out of an ogre's reach drawing its attack and spending its reaction, and Disengage preventing it; Fireball catching the friend standing beside the goblin and spending a third-level slot; a glaive striking at 10 feet; the dragon's Fire Breath aimed as a cone and the Kraken's Ink Cloud set down on its own square and refused one square over; a thrown handaxe swung in hand without the ranged penalty.Played for real on a scratch Engine, with the board on screen: hit points rolled off real hit dice (a goblin 4, an ogre 68, an Adult Red Dragon 269), Armor Class 15, 11 and 19 as printed, the ogre walking its 40 feet and clubbing for 2d8+4, and the dragon's Fire Breath landing as a real 60 foot cone for 18d6 against DC 21, catching both characters and its own ogre. The evidence is on Pasta-Devs/Marinara-Engine#6397.
Three complete local CodeRabbit reviews were run before opening (4, 1 and 0 findings). What they changed: Fire Storm was shipping its "up to ten 10-foot cubes" as one burst of 2.5 feet, and Teleport was shipping the size of a thing it may send as an area, so both now carry no shape with their sentences cited and a guard refuses a boxed shape whose own text says there are several; the block checks refuse a key that is not an object, where before a
combat.rangedwritten as a string or an array passed every check in silence; a distance naming neither a column nor a constant is refused, where before an empty object was read as a reach; and the README's action counts were recounted from the shipped catalog into a table where every action falls in exactly one row. Chasing the first of those is what produced the spell check described above, which found fourteen more.Still to verify by hand:
Documentation impact
The root README row, the package README (a new On a board section) and its changelog are updated. The Engine side is documented in Pasta-Devs/Marinara-Engine#6397 (the authoring guide's Positions section).
UI evidence (if applicable)
None: the package ships no UI. The board it is played on is the Engine's.
Summary by CodeRabbit
New Features
Release
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.