[PR #8614] [MERGED] docs(dev): one Game Mode architecture page and one combat AI page #8704

Closed
opened 2026-11-07 17:39:04 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/8614
Author: @kolacheee
Created: 10/31/2026
Status: ✅ Merged
Merged: 10/31/2026
Merged by: @kolacheee

Base: staging ← Head: claude/project-thread-lsolsa


📝 Commits (3)

  • 856503a docs(dev): one Game Mode architecture page and one combat AI page
  • 02ed057 docs(dev): answer review on the architecture and combat AI pages
  • a7667d6 docs(dev): name all three client-held fight routes on the architecture page

📊 Changes

7 files changed (+125 additions, -2787 deletions)

View changed files

📝 docs/development/game-combat-ai.md (+43 -243)
➖ docs/development/game-combat-difficulty-weather.md (+0 -47)
➖ docs/development/game-combat-roadmap.md (+0 -66)
➖ docs/development/game-combat-rulesets-implementation.md (+0 -190)
➕ docs/development/game-mode-architecture.md (+78 -0)
➖ docs/development/game-rulesets-and-sheets-implementation.md (+0 -2237)
📝 docs/development/optional-agent-packages.md (+4 -4)

📄 Description

Linked issue

No issue: this is the last part of the Game Mode and SRD docs review, after #8609 and #8612. Translation follow-up: #8610.

Why this change

The Game Mode developer docs were five handoff notes written as work went in: game-rulesets-and-sheets-implementation.md (2,237 lines), game-combat-rulesets-implementation.md, game-combat-roadmap.md, game-combat-difficulty-weather.md and game-combat-ai-design.md. They were organised by when things were built, repeated each other, and listed as future work things that have since shipped. Nobody could use them to find where a piece of the rules code lives.

What changed

  • New docs/development/game-mode-architecture.md: where the rules code lives (shared, server, client), how a ruleset goes from package to game, where state is kept and what rewinds with swipes, a check end to end, the [sheet:] operations, the three fight styles, the steps to add a ruleset key, and the open work. It also says that ruleset-5e-2014.example.json is a regression fixture, not the shipped SRD package.
  • game-combat-ai-design.md becomes game-combat-ai.md. It keeps the design sections (3 to 10 and 13 to 17) and drops the scope note, the original request, the source audit, the implementation slices, the validation plan and the validation log. Heading numbers are gone and section references are links. The content of game-combat-difficulty-weather.md joins it as "Difficulty and weather".
  • The other four handoff docs are deleted.
  • optional-agent-packages.md: two links now point at the new pages.

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

  • Every relative link and anchor in docs/development, docs/extending and docs/game resolves (script check). No code or regression references the deleted files; only an old CHANGELOG entry names one.
  • File and function names on the architecture page were checked against the code, including the [sheet:] operation list against RULESET_SHEET_OP_NAMES in live-state.ts.
  • docs-language, docs-command-search and command-center regressions pass. No code changes.

Docs and release impact

  • No docs changes needed
  • Updated docs (README / CONTRIBUTING / android/README) 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): #8610
  • Version/release files updated (only if this PR includes a version bump)

🔄 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/8614 **Author:** [@kolacheee](https://github.com/kolacheee) **Created:** 10/31/2026 **Status:** ✅ Merged **Merged:** 10/31/2026 **Merged by:** [@kolacheee](https://github.com/kolacheee) **Base:** `staging` ← **Head:** `claude/project-thread-lsolsa` --- ### 📝 Commits (3) - [`856503a`](https://github.com/Pasta-Devs/Marinara-Engine/commit/856503ab13c9bd0151f488fa5d5de9b17d003133) docs(dev): one Game Mode architecture page and one combat AI page - [`02ed057`](https://github.com/Pasta-Devs/Marinara-Engine/commit/02ed057372cdda67258207c83d7d94573273500b) docs(dev): answer review on the architecture and combat AI pages - [`a7667d6`](https://github.com/Pasta-Devs/Marinara-Engine/commit/a7667d61191f3714730ffa6640aa355856d2cd04) docs(dev): name all three client-held fight routes on the architecture page ### 📊 Changes **7 files changed** (+125 additions, -2787 deletions) <details> <summary>View changed files</summary> 📝 `docs/development/game-combat-ai.md` (+43 -243) ➖ `docs/development/game-combat-difficulty-weather.md` (+0 -47) ➖ `docs/development/game-combat-roadmap.md` (+0 -66) ➖ `docs/development/game-combat-rulesets-implementation.md` (+0 -190) ➕ `docs/development/game-mode-architecture.md` (+78 -0) ➖ `docs/development/game-rulesets-and-sheets-implementation.md` (+0 -2237) 📝 `docs/development/optional-agent-packages.md` (+4 -4) </details> ### 📄 Description ## Linked issue No issue: this is the last part of the Game Mode and SRD docs review, after #8609 and #8612. Translation follow-up: #8610. ## Why this change The Game Mode developer docs were five handoff notes written as work went in: `game-rulesets-and-sheets-implementation.md` (2,237 lines), `game-combat-rulesets-implementation.md`, `game-combat-roadmap.md`, `game-combat-difficulty-weather.md` and `game-combat-ai-design.md`. They were organised by when things were built, repeated each other, and listed as future work things that have since shipped. Nobody could use them to find where a piece of the rules code lives. ## What changed - New `docs/development/game-mode-architecture.md`: where the rules code lives (shared, server, client), how a ruleset goes from package to game, where state is kept and what rewinds with swipes, a check end to end, the `[sheet:]` operations, the three fight styles, the steps to add a ruleset key, and the open work. It also says that `ruleset-5e-2014.example.json` is a regression fixture, not the shipped SRD package. - `game-combat-ai-design.md` becomes `game-combat-ai.md`. It keeps the design sections (3 to 10 and 13 to 17) and drops the scope note, the original request, the source audit, the implementation slices, the validation plan and the validation log. Heading numbers are gone and section references are links. The content of `game-combat-difficulty-weather.md` joins it as "Difficulty and weather". - The other four handoff docs are deleted. - `optional-agent-packages.md`: two links now point at the new pages. ## 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) - [x] Read and followed `CONTRIBUTING.md` ### Manual verification notes - Every relative link and anchor in `docs/development`, `docs/extending` and `docs/game` resolves (script check). No code or regression references the deleted files; only an old CHANGELOG entry names one. - File and function names on the architecture page were checked against the code, including the `[sheet:]` operation list against `RULESET_SHEET_OP_NAMES` in `live-state.ts`. - `docs-language`, `docs-command-search` and `command-center` regressions pass. No code changes. ## Docs and release impact - [ ] No docs changes needed - [x] Updated docs (README / CONTRIBUTING / android/README) as needed - [x] Translated docs on the `docs-i18n` branch updated to match, or a `[docs-i18n]` follow-up issue opened (see CONTRIBUTING.md § Translated documentation): #8610 - [ ] Version/release files updated (only if this PR includes a version bump) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 17:39:04 +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#8704
No description provided.