[GH-ISSUE #921] [Feature]: 5e (SRD 5.1) ruleset package and catalog support for the ruleset kind #482

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

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

Originally assigned to: @kolacheee on GitHub.

What problem does this solve?

Marinara Engine staging now has Game Mode rulesets (Capability API 1.20, package kind ruleset): a game can be created on a ruleset that supplies its own dice, difficulty ladder and full character sheet. The Engine ships no ruleset of its own, so until a package exists there is nothing to pick. The first one is 5e, from SRD 5.1.

This repository cannot publish it today. Every tool here assumes a package ships at least one Agent: scripts/validate-catalog.mjs refuses a package with no entrypoints.agents, neither builder can zip a data-only package, and schemas/package-manifest.schema.json does not list the kind.

Proposed package or change

  • A package ruleset-5e-2014, kind ruleset, Game Mode only. It ships one validated data file, ruleset.json, and nothing else: no Agent, no server or client code, no permissions, no restart. Ability checks, skill checks, saving throws and the full 5e character sheet. Battles still use Marinara's default combat.
  • Tooling for the kind: the manifest schema lists ruleset; the validator checks a ruleset package as what it is (the reserved asset and the kind go together, no entrypoints, no permissions, Capability API 1.20 or newer, the asset parses and names itself) and keeps every other check; a small deterministic builder for data-only packages; a regression.
  • Published to the staging-only tier (the preview overlay), because only Engine staging has Capability API 1.20 today.

Why should this be optional?

Rules content is exactly what the Engine's base install should not carry. A ruleset is data, it is large, and most players never need it. SRD 5.1 content also carries its own attribution, which belongs with the package.

Alternatives considered

  • Bundling 5e in the Engine: rejected for the reasons above.
  • Giving the package a dummy Agent so the existing tooling accepts it: rejected. It would show up in Chat Settings as something to switch on, and it would hide the fact that the catalog can now carry data-only packages.

Additional context

Engine side: Pasta-Devs/Marinara-Engine#6314 (feature request), merged slices Pasta-Devs/Marinara-Engine#6315, Pasta-Devs/Marinara-Engine#6323, Pasta-Devs/Marinara-Engine#6327, Pasta-Devs/Marinara-Engine#6330, and the open Pasta-Devs/Marinara-Engine#6336. The Engine's contract for the kind is documented in docs/development/optional-agent-packages.md § Capability API 1.20.

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @kolacheee on GitHub (Sep 18, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/921 Originally assigned to: @kolacheee on GitHub. ## What problem does this solve? Marinara Engine `staging` now has Game Mode rulesets (Capability API 1.20, package kind `ruleset`): a game can be created on a ruleset that supplies its own dice, difficulty ladder and full character sheet. The Engine ships no ruleset of its own, so until a package exists there is nothing to pick. The first one is 5e, from SRD 5.1. This repository cannot publish it today. Every tool here assumes a package ships at least one Agent: `scripts/validate-catalog.mjs` refuses a package with no `entrypoints.agents`, neither builder can zip a data-only package, and `schemas/package-manifest.schema.json` does not list the kind. ## Proposed package or change - A package `ruleset-5e-2014`, kind `ruleset`, Game Mode only. It ships one validated data file, `ruleset.json`, and nothing else: no Agent, no server or client code, no permissions, no restart. Ability checks, skill checks, saving throws and the full 5e character sheet. Battles still use Marinara's default combat. - Tooling for the kind: the manifest schema lists `ruleset`; the validator checks a ruleset package as what it is (the reserved asset and the kind go together, no entrypoints, no permissions, Capability API 1.20 or newer, the asset parses and names itself) and keeps every other check; a small deterministic builder for data-only packages; a regression. - Published to the staging-only tier (the preview overlay), because only Engine `staging` has Capability API 1.20 today. ## Why should this be optional? Rules content is exactly what the Engine's base install should not carry. A ruleset is data, it is large, and most players never need it. SRD 5.1 content also carries its own attribution, which belongs with the package. ## Alternatives considered - Bundling 5e in the Engine: rejected for the reasons above. - Giving the package a dummy Agent so the existing tooling accepts it: rejected. It would show up in Chat Settings as something to switch on, and it would hide the fact that the catalog can now carry data-only packages. ## Additional context Engine side: Pasta-Devs/Marinara-Engine#6314 (feature request), merged slices Pasta-Devs/Marinara-Engine#6315, Pasta-Devs/Marinara-Engine#6323, Pasta-Devs/Marinara-Engine#6327, Pasta-Devs/Marinara-Engine#6330, and the open Pasta-Devs/Marinara-Engine#6336. The Engine's contract for the kind is documented in `docs/development/optional-agent-packages.md` § Capability API 1.20. ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-20 17:27:57 +07:00
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#482
No description provided.