[PR #6409] [CLOSED] docs(plan): what the tracked systems need from a health track #7168

Closed
opened 2026-10-23 04:17:09 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/6409
Author: @kolacheee
Created: 9/20/2026
Status: ❌ Closed

Base: staging ← Head: docs/ruleset-health-tracks-plan


📝 Commits (1)

  • 658c4a3 docs(plan): what the tracked systems need from a health track, and the two gaps beside it

📊 Changes

3 files changed (+65 additions, -12 deletions)

View changed files

📝 CHANGELOG.md (+2 -0)
📝 docs/development/game-combat-rulesets-implementation.md (+2 -0)
📝 docs/development/game-rulesets-and-sheets-implementation.md (+61 -12)

📄 Description

Important

Contributions target staging. Only SpicyMarinara may promote this repository's staging branch or a same-repository hotfix/* branch to main.
Outside and first-time contributors also require an approving review from SpicyMarinara.

Linked issue

Records #6407 and #6405 in the development plan. It writes no code and closes neither.

Why this change

  • A community author is building World of Darkness, Chronicles of Darkness, Exalted and Fate rulesets, and asked what else is needed for a baseline. The answer, once traced through the code, is one thing: their health does not fit.
  • Part of it is a happy answer worth writing down so nobody builds it twice. A pool's maximum is a value reference over a derived sum, recomputed on every read, so a maximum that moves in play (Chronicles' Stamina + Size, Exalted buying levels) already works with no new feature.
  • The rest does not exist, and the plan should say what it would take rather than leaving the next person to rediscover it.

What changed

  • docs/development/game-rulesets-and-sheets-implementation.md gains Proposed: health that is a track, not a number: what works today, the three things that do not (no penalty is read from any live value, no damage kinds on a track, and combat.health refuses a track id), the shape to build, and the rules that shape has to obey. The shape is taken from that author's own published bundles for V20 and Exalted rather than invented, and two details of theirs are the reason it is worth copying: a severity on each damage kind makes the placement and the upgrade fall out of ordering instead of special cases, and a penalty per LEVEL rather than per mark is what makes repeated labels meaningful.
  • The same file's slice table gains 9a (wound tracks) and 9b (a catalog entry that changes a check), each with its exit evidence.
  • docs/development/game-combat-rulesets-implementation.md gains a paragraph under its V20 profile: health levels are the blocker, they are a sheet gap and a combat gap at once, and a V20 profile is not worth starting before the format can hold the track, because the thing that makes the system feel like itself is taking a beating and fighting on worse.
  • CHANGELOG.md.

Validation

  • pnpm check passes locally
  • Container (Docker / Podman) built and ran without issue
  • Ran the app, clicked through the changes manually
  • Checked edge cases (light + dark mode, mobile viewport, empty states, error paths)
  • Above manual verification completed (describe below)
  • Read and followed CONTRIBUTING.md

Manual verification notes

No code changes, so there is nothing to run and nothing to click. Every claim about what the format can and cannot do today was read out of the code before it was written down: liveTrackSchema and livePoolSchema, rulesetValueRefSchema and rulesetDerivedSchema, resolveRulesetValueRef and listRulesetLivePools, applyRulesetSheetOp, the combat.health cross-check, rulesetCombatHealth and dealDamage, and the two ladder-shaped things in the format (difficultyLadder and proficiencyTiers), neither of which reads live state.

Five local CodeRabbit sweeps were run on this text, and each of the first four found a real imprecision, which is the point of running them on a specification: the placement order and which level's penalty counts, what a number of marks means when a track fills partway through, what happens at the top severity and what healing clears, that the gap is a combat one as well as a sheet one, and that "marks" was being used both for the kinds a ruleset declares and for what sits on a track in play. The last is now kinds and marks respectively. One finding is declined: it is about docs/development/noodle-internals.md, which this branch does not touch.

Still to verify by hand:

  • Manually read the proposed shape against a system you know: the question worth asking is whether a track that carries only named levels, ordered damage kinds and one penalty per level is enough for the game you have in mind, or whether it needs something this text does not mention.

Docs and release impact

  • No docs changes needed
  • Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed
  • Translated docs on the docs-i18n branch updated to match, or a [docs-i18n] follow-up issue opened (see CONTRIBUTING.md § Translated documentation)
  • Version/release files updated (only if this PR includes a version bump)

Both files are development plans under docs/development/, which are internal notes rather than user-facing documentation, so there is nothing for the language packs to mirror.

UI evidence (if applicable)

None: no UI changes.

Summary by CodeRabbit

  • Documentation
    • Documented planned Game Mode ruleset support for health tracks, damage types, penalties, and resolution mechanics.
    • Added a proposal for wound and health tracks, including damage, healing, overflow, sheet editing, and combat integration.
    • Clarified current limitations affecting V20-style health tracks and noted prerequisites before implementation.
    • Added the ruleset development plan to the Unreleased changelog.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/6409 **Author:** [@kolacheee](https://github.com/kolacheee) **Created:** 9/20/2026 **Status:** ❌ Closed **Base:** `staging` ← **Head:** `docs/ruleset-health-tracks-plan` --- ### 📝 Commits (1) - [`658c4a3`](https://github.com/Pasta-Devs/Marinara-Engine/commit/658c4a3e86da9d04f9333fce1d2f58efbe7488c3) docs(plan): what the tracked systems need from a health track, and the two gaps beside it ### 📊 Changes **3 files changed** (+65 additions, -12 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+2 -0) 📝 `docs/development/game-combat-rulesets-implementation.md` (+2 -0) 📝 `docs/development/game-rulesets-and-sheets-implementation.md` (+61 -12) </details> ### 📄 Description > [!IMPORTANT] > Contributions target `staging`. Only `SpicyMarinara` may promote this repository's `staging` branch or a same-repository `hotfix/*` branch to `main`. > Outside and first-time contributors also require an approving review from `SpicyMarinara`. <!-- See CONTRIBUTING.md § Branches. --> ## Linked issue Records #6407 and #6405 in the development plan. It writes no code and closes neither. ## Why this change - A community author is building World of Darkness, Chronicles of Darkness, Exalted and Fate rulesets, and asked what else is needed for a baseline. The answer, once traced through the code, is one thing: their health does not fit. - Part of it is a happy answer worth writing down so nobody builds it twice. A pool's maximum is a value reference over a `derived` sum, recomputed on every read, so a maximum that moves in play (Chronicles' Stamina + Size, Exalted buying levels) already works with no new feature. - The rest does not exist, and the plan should say what it would take rather than leaving the next person to rediscover it. ## What changed - `docs/development/game-rulesets-and-sheets-implementation.md` gains **Proposed: health that is a track, not a number**: what works today, the three things that do not (no penalty is read from any live value, no damage kinds on a track, and `combat.health` refuses a track id), the shape to build, and the rules that shape has to obey. The shape is taken from that author's own published bundles for V20 and Exalted rather than invented, and two details of theirs are the reason it is worth copying: a `severity` on each damage kind makes the placement and the upgrade fall out of ordering instead of special cases, and a penalty per LEVEL rather than per mark is what makes repeated labels meaningful. - The same file's slice table gains **9a** (wound tracks) and **9b** (a catalog entry that changes a check), each with its exit evidence. - `docs/development/game-combat-rulesets-implementation.md` gains a paragraph under its V20 profile: health levels are the blocker, they are a sheet gap and a combat gap at once, and a V20 profile is not worth starting before the format can hold the track, because the thing that makes the system feel like itself is taking a beating and fighting on worse. - `CHANGELOG.md`. ## Validation - [ ] `pnpm check` passes locally - [ ] Container (Docker / Podman) built and ran without issue - [ ] Ran the app, clicked through the changes manually - [ ] Checked edge cases (light + dark mode, mobile viewport, empty states, error paths) - [ ] Above manual verification completed (describe below) - [ ] Read and followed `CONTRIBUTING.md` ### Manual verification notes No code changes, so there is nothing to run and nothing to click. Every claim about what the format can and cannot do today was read out of the code before it was written down: `liveTrackSchema` and `livePoolSchema`, `rulesetValueRefSchema` and `rulesetDerivedSchema`, `resolveRulesetValueRef` and `listRulesetLivePools`, `applyRulesetSheetOp`, the `combat.health` cross-check, `rulesetCombatHealth` and `dealDamage`, and the two ladder-shaped things in the format (`difficultyLadder` and `proficiencyTiers`), neither of which reads live state. Five local CodeRabbit sweeps were run on this text, and each of the first four found a real imprecision, which is the point of running them on a specification: the placement order and which level's penalty counts, what a number of marks means when a track fills partway through, what happens at the top severity and what healing clears, that the gap is a combat one as well as a sheet one, and that "marks" was being used both for the kinds a ruleset declares and for what sits on a track in play. The last is now `kinds` and `marks` respectively. One finding is declined: it is about `docs/development/noodle-internals.md`, which this branch does not touch. Still to verify by hand: - Manually read the proposed shape against a system you know: the question worth asking is whether a track that carries only named levels, ordered damage kinds and one penalty per level is enough for the game you have in mind, or whether it needs something this text does not mention. ## Docs and release impact - [ ] No docs changes needed - [ ] Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed - [ ] Translated docs on the `docs-i18n` branch updated to match, or a `[docs-i18n]` follow-up issue opened (see CONTRIBUTING.md § Translated documentation) - [ ] Version/release files updated (only if this PR includes a version bump) Both files are development plans under `docs/development/`, which are internal notes rather than user-facing documentation, so there is nothing for the language packs to mirror. ## UI evidence (if applicable) None: no UI changes. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Documentation** - Documented planned Game Mode ruleset support for health tracks, damage types, penalties, and resolution mechanics. - Added a proposal for wound and health tracks, including damage, healing, overflow, sheet editing, and combat integration. - Clarified current limitations affecting V20-style health tracks and noted prerequisites before implementation. - Added the ruleset development plan to the Unreleased changelog. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-23 04:17:09 +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-Engine#7168
No description provided.