[PR #5182] [MERGED] Enforce Prettier in Engine project checks #6661

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/5182
Author: @SpicyMarinara
Created: 8/17/2026
Status: ✅ Merged
Merged: 8/17/2026
Merged by: @SpicyMarinara

Base: staging ← Head: chore/5181-prettier-check


📝 Commits (3)

  • 38b2bee chore: enforce Prettier in project checks
  • a3ec5f1 style: format Engine TypeScript sources
  • 51048f3 fix: validate avatar filename identifiers

📊 Changes

442 files changed (+12682 additions, -7714 deletions)

View changed files

📝 .prettierignore (+2 -0)
📝 CHANGELOG.md (+2 -0)
📝 CONTRIBUTING.md (+10 -1)
📝 package.json (+2 -1)
📝 packages/client/.regression-fixtures/persona-mutation-types.ts (+4 -1)
📝 packages/client/src/App.tsx (+1 -5)
📝 packages/client/src/components/agents/ContextInjectionPanel.tsx (+45 -14)
📝 packages/client/src/components/agents/ContinuityIssueChecklist.tsx (+9 -3)
📝 packages/client/src/components/agents/CustomAgentRepositoriesModal.tsx (+112 -36)
📝 packages/client/src/components/agents/RegexScriptEditor.tsx (+93 -38)
📝 packages/client/src/components/agents/SecretPlotPanel.tsx (+36 -12)
📝 packages/client/src/components/bot-browser/BotBrowserView.tsx (+288 -119)
📝 packages/client/src/components/capabilities/CapabilityElement.tsx (+14 -3)
📝 packages/client/src/components/characters/CharacterEditor.tsx (+1 -4)
📝 packages/client/src/components/characters/CharacterRegexSection.tsx (+37 -14)
📝 packages/client/src/components/chat/ActiveLorebookEntriesButton.tsx (+3 -1)
📝 packages/client/src/components/chat/AgentSettingsControls.tsx (+1 -2)
📝 packages/client/src/components/chat/AgentSuiteModal.tsx (+149 -71)
📝 packages/client/src/components/chat/CharacterScheduleEditorModal.tsx (+300 -126)
📝 packages/client/src/components/chat/ChatArea.tsx (+1 -5)

...and 80 more files

📄 Description

Closes #5181

Why this change

Engine already installed Prettier, but its formatter was write-only and pull-request validation could accept formatting drift. The maintained TypeScript/TSX scope currently contains substantial drift, so the gate needs a clean mechanical baseline before it can be enforced.

What changed

  • adds pnpm format:check for the same scope as pnpm format
  • runs the formatter check from the existing pnpm check CI path
  • documents the contributor commands
  • applies a one-time Prettier baseline to maintained TypeScript and TSX sources

Validation

  • Run pnpm format:check
  • Run pnpm lint
  • Run pnpm check
  • Confirm the mechanical formatting pass contains no behavior changes

Notes

This PR is draft while the mechanical baseline and full validation are completed. Test-plan boxes are intentionally left unchecked for human verification.


🔄 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/5182 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 8/17/2026 **Status:** ✅ Merged **Merged:** 8/17/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `chore/5181-prettier-check` --- ### 📝 Commits (3) - [`38b2bee`](https://github.com/Pasta-Devs/Marinara-Engine/commit/38b2bee26f50df846f6a6743e9a5bca9339c7196) chore: enforce Prettier in project checks - [`a3ec5f1`](https://github.com/Pasta-Devs/Marinara-Engine/commit/a3ec5f1004bf1bf14cade52a60b0a078857a9178) style: format Engine TypeScript sources - [`51048f3`](https://github.com/Pasta-Devs/Marinara-Engine/commit/51048f323083dd8b00bb04adb4ca9409fff6b501) fix: validate avatar filename identifiers ### 📊 Changes **442 files changed** (+12682 additions, -7714 deletions) <details> <summary>View changed files</summary> 📝 `.prettierignore` (+2 -0) 📝 `CHANGELOG.md` (+2 -0) 📝 `CONTRIBUTING.md` (+10 -1) 📝 `package.json` (+2 -1) 📝 `packages/client/.regression-fixtures/persona-mutation-types.ts` (+4 -1) 📝 `packages/client/src/App.tsx` (+1 -5) 📝 `packages/client/src/components/agents/ContextInjectionPanel.tsx` (+45 -14) 📝 `packages/client/src/components/agents/ContinuityIssueChecklist.tsx` (+9 -3) 📝 `packages/client/src/components/agents/CustomAgentRepositoriesModal.tsx` (+112 -36) 📝 `packages/client/src/components/agents/RegexScriptEditor.tsx` (+93 -38) 📝 `packages/client/src/components/agents/SecretPlotPanel.tsx` (+36 -12) 📝 `packages/client/src/components/bot-browser/BotBrowserView.tsx` (+288 -119) 📝 `packages/client/src/components/capabilities/CapabilityElement.tsx` (+14 -3) 📝 `packages/client/src/components/characters/CharacterEditor.tsx` (+1 -4) 📝 `packages/client/src/components/characters/CharacterRegexSection.tsx` (+37 -14) 📝 `packages/client/src/components/chat/ActiveLorebookEntriesButton.tsx` (+3 -1) 📝 `packages/client/src/components/chat/AgentSettingsControls.tsx` (+1 -2) 📝 `packages/client/src/components/chat/AgentSuiteModal.tsx` (+149 -71) 📝 `packages/client/src/components/chat/CharacterScheduleEditorModal.tsx` (+300 -126) 📝 `packages/client/src/components/chat/ChatArea.tsx` (+1 -5) _...and 80 more files_ </details> ### 📄 Description Closes #5181 ## Why this change Engine already installed Prettier, but its formatter was write-only and pull-request validation could accept formatting drift. The maintained TypeScript/TSX scope currently contains substantial drift, so the gate needs a clean mechanical baseline before it can be enforced. ## What changed - adds `pnpm format:check` for the same scope as `pnpm format` - runs the formatter check from the existing `pnpm check` CI path - documents the contributor commands - applies a one-time Prettier baseline to maintained TypeScript and TSX sources ## Validation - [ ] Run `pnpm format:check` - [ ] Run `pnpm lint` - [ ] Run `pnpm check` - [ ] Confirm the mechanical formatting pass contains no behavior changes ## Notes This PR is draft while the mechanical baseline and full validation are completed. Test-plan boxes are intentionally left unchecked for human verification. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-23 04:12:31 +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#6661
No description provided.