mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #8884] [MERGED] fix: resolve the v2.5.2 promotion's review notes #8863
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#8863
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-Engine/pull/8884
Author: @SpicyMarinara
Created: 11/5/2026
Status: ✅ Merged
Merged: 11/5/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/v252-review-notes📝 Commits (5)
21da93bdocs: match the Gradle floor and the restart-warning list to the code6ade51crefactor: clear the code-quality notes in the MMD parser and description splitter31796eafix(dottore): show only DOTTORE_* variables to the model and tidy two review notes17fb4a6docs(release): put the capture-scripts note where it covers every 2.5.2 capture4241fefMerge branch 'staging' into fix/v252-review-notes📊 Changes
9 files changed (+35 additions, -18 deletions)
View changed files
📝
.github/dottore-review/README.md(+3 -2)📝
.github/dottore-review/dottore_review.py(+8 -5)📝
.github/workflows/dottore-review.yml(+4 -3)📝
android/README.md(+1 -1)📝
docs/CONFIGURATION.md(+4 -2)📝
packages/client/public/releases/2.5.2/README.md(+2 -2)📝
packages/server/src/services/avatars/formats/mmd.ts(+3 -1)📝
packages/shared/src/utils/character-description-split.ts(+2 -2)📝
scripts/regressions/dottore-thread-dispositions.regression.mjs(+8 -0)📄 Description
Linked issue
Closes #8883
Part of the v2.5.2 release (#8877). It covers the review notes left on the promotion PR #8878, and the README nitpick on #8880.
Why this change
The maintainer wants every review note on the v2.5.2 promotion (#8878) resolved before the release. These notes came from Dottore Review and from GitHub code quality. Each one was checked against the code first:
android/README.mdsaid Gradle 9.6 is required by Android Gradle Plugin 9.4, butandroid/build.gradleapplies 9.5.0. The AGP 9.5.0 release notes list "Gradle | 9.6.0 | 9.6.0" and "JDK | 17 | 17" as the minimum and default versions. The floor and the Java 17+ line were correct. Only the plugin version was stale.docs/CONFIGURATION.mdsaid the log warns when any listed startup-only setting changes. The list includedAUTO_UPDATE_ENABLED, whichRESTART_REQUIRED_KEYSinenv-watcher.tsdoes not contain. Onlystart.sh,start.batandstart-termux.shread it. The reverse was also true:MARINARA_EAGER_STORAGEis in the set but was missing from the list.mmd.ts, twoc.index(rigidSize)reads sat in one||condition. Each call reads the next index, so the operands look identical to the scanner ("identical operands") but are not. The code was correct, becauserefuse()throws either way. Reading both indices into named consts makes that explicit.character-description-split.tshad a duplicate]in one regex character class and a duplicate*in another.chat()lost its subject in an earlier edit ("It retries one that stalls after it").dottore-review.ymlreadsteps.post.outputs.readybefore the post step had run. The clause was always empty, so it always passed.toJSON(vars), which holds every repository and organization variable.repository_variables()put all of them in the model's bundle for any pull request that touches.github/, including variables unrelated to Dottore. Every workflow here reads onlyDOTTORE_*variables.packages/client/public/releases/2.5.2/README.mdended up under## Story Writer. It covers every capture, andstory-writer.jpgis the one image that was not captured.What changed
android/README.md: the Gradle line now names Android Gradle Plugin 9.5, the plugin version set inandroid/build.gradle. The 9.6+ floor and Java 17+ line stay as they were, because the AGP 9.5.0 notes confirm both. No other guide (README.md, CONTRIBUTING.md, docs/) states this floor.docs/CONFIGURATION.md:AUTO_UPDATE_ENABLEDis out of the "log warns you" list, andMARINARA_EAGER_STORAGEis in it. A new sentence says the launchers readAUTO_UPDATE_ENABLEDbefore the server starts, so a change applies from the next launch with no log warning. This matches its table row ("falseopts out from the next launch"). A side-by-side check againstRESTART_REQUIRED_KEYSfinds one difference:NODE_ENV, which stays out on purpose. All three launchersexport NODE_ENV=production, a launcher value wins over.env, and the guide does not document it as a setting. The code is unchanged, so the server still reads nothing it did not read before.mmd.ts: the joint record readsrigidBodyAandrigidBodyBinto consts first, then validates both.refuse()throws, andCursor.take()refuses with the same message on a short buffer. So valid input still consumes both indices, and invalid input still fails with the same error.character-description-split.ts:/^[\s\]})\].,;]*$/is now/^[\s\]}).,;]*$/, and/^[-*•+–>[{<"“*]/is now/^[-*•+–>[{<"“]/. The]stays escaped. The bot's suggested/^[\s]})\.,;]*$/is a SyntaxError ("Unmatched ')'"), so it was not used.dottore_review.py:repository_variables()lists onlyDOTTORE_*names. The bundle heading, the workflow comment and the Dottore README now say so. The README warning now applies toDOTTORE_*variables.dottore-thread-dispositions.regression.mjsgainedtest_only_dottore_variables_reach_the_bundle, which fails on the previous reviewer and passes now. Thechat()retry comment names "a request that stalls after its stream opens" again.dottore-review.yml:&& steps.post.outputs.ready != 'false'is gone from the Render and Postif:conditions. The repairs, autofix and status steps still read it after post has run.dottore-readiness.regression.mjssimulates only the status steps, and it still passes.## Demo art. The file keeps exactly one copy.Not changed, with the code-based reason:
judge(), a confirmation whose quoted evidence appears in neither the head nor the base file near the cited line becomesunmatched.evidence_grounded()already ignores whitespace and checks a window around that line. Theunmatchedcount is shown under the Verification Coverage warning and in Lab Notes. Before #8238, these confirmations becameuncertain, which never held the verdict either. #8238 introducedunmatchedas a false-positive fix, andtest_unmatched_confirmation_is_counted_not_publishedpins that behavior.unexamined_candidates()counts only candidates the checker never judged (failed,unverified). Making unsupported confirmations block the verdict would reverse that false-positive fix, so it was left as designed.Translations: the
docs-i18nmirror of thedocs/CONFIGURATION.mdedit is on branchi18n-configuration-restart-keys-252for all ten packs (de, es, fr, hi, ja, ko, pl, pt-br, ru, zh-hans). Its manifests are rebuilt against commit21da93b590from this branch. It goes up as its own PR againstdocs-i18n. The Android README and the release README are not underdocs/, so they have no translations.Validation
pnpm checkpasses locallyCONTRIBUTING.mdAgent-run checks (on
fix/v252-review-notes, basestagingatcca56b5342):node ./scripts/pnpm-runner.mjs check: exit 0. That covers the Impeccable guard,localization:check,format:check, lint (warnings only, 0 errors), e2e and token-estimation type checks, and the production build.node ./scripts/run-regressions.mjs --filter mmd: 2/2 passednode ./scripts/run-regressions.mjs --filter avatar: 27/27 passednode ./scripts/run-regressions.mjs --filter character-description: 2/2 passed. These are the only regressions that importcharacter-description-split.ts.node ./scripts/run-regressions.mjs --filter dottore: 8/8 passed. The newtest_only_dottore_variables_reach_the_bundlefails against the previousdottore_review.py.checkedPmxon PMX files with one rigid body and joint records, deleted after the run. Valid A/B, invalid A, invalid B, both invalid, wrong joint type, two joints and truncated records gave identical results. The fixture used byavatar-mmd.regression.tshas zero joints, so this proof covered the joint path.prettier --checkon every changed file:android/README.md, the TypeScript, regression, workflow and release README files pass.docs/CONFIGURATION.mdand.github/dottore-review/README.mdreport only the compact Markdown tables that were already there. The base files produce the same diff, and these files are outsidepnpm format:check's scope.python3 -m py_compile .github/dottore-review/dottore_review.pypasses, and the workflow YAML parses.node scripts/docs-i18n/build-manifest.mjsandnode scripts/docs-i18n/validate-pack.mjswere run for all ten packs. Each passed with 148 translated docs and 148 English docs.Manual verification notes
android/README.mdreads correctly on GitHub and names the same plugin version as line 2 ofandroid/build.gradle.AUTO_UPDATE_ENABLEDin.envlogs only the[env-watcher] Updated:line, and that changingMARINARA_EAGER_STORAGEalso logs the restart warning, as the edited "Restart or hot reload" section says.[...]blocks followed by],)or...github/lists onlyDOTTORE_*names under "Repository Variables" in its run log or bundle. Also check that Render and Post still run on a Ready pull request.packages/client/public/releases/2.5.2/README.mdshows the capture-scripts note once, at the end of the intro.Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)Docs touched:
android/README.md,docs/CONFIGURATION.md,.github/dottore-review/README.md,packages/client/public/releases/2.5.2/README.md. Onlydocs/CONFIGURATION.mdhas translations. Its ten-pack mirror is on thedocs-i18nbranchi18n-configuration-restart-keys-252. No version bump and noCHANGELOG.mdedit.UI evidence (if applicable)
Not applicable. No client UI or copy changed.
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.