mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #7760] [Feature]: Let Professor Mari write interactive onboarding #4283
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#4283
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?
Originally created by @ylli-selmani on GitHub (Oct 17, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7760
Originally assigned to: @ylli-selmani on GitHub.
What problem does this solve?
Interactive onboarding (#7307, #7434) lets a card ask the player questions when a Roleplay chat is set up, but writing one by hand takes a while: the questions, the five persona template fields,
{{name}}placeholders,{{#if}}follow-ups, and the naming rules.Professor Mari is the obvious helper here ("Mari, write a fun onboarding for Queen Ayrene, with a template persona and all that"), but she doesn't know the feature exists. Nothing in her prompt mentions onboarding. She could write it today through a raw
character.updatepatch onextensions.onboarding, but nothing checks it, so a typo in a variable name or a block the editor can't read would land silently. The editor would then show "Start over" for the broken block, which is a bad first impression.Proposed solution
Give Mari two dedicated
app_dataactions, following the preset choice-block precedent (preset.addChoiceBlockand friends):character.onboarding.get: returns the card's onboarding block, the same validation issues the editor shows, and a sample rendered persona.character.onboarding.update: writes the block. Keys she sends replace, keys she leaves out stay; a question list she sends replaces the whole list. The server fills missing ids and defaults, then runs the existing schema andvalidateOnboardingchecks. Errors (bad, reserved, duplicate or unknown names, plain{{#if x}}) refuse the write with a message she can fix and retry. Unused questions come back as a warning, like in the editor. The write goes through the normal review card /applyflow and character versioning, same ascharacter.update.Plus a short prompt paragraph and one worked example so she knows the shape and rules, and points to
docs/characters/interactive-onboarding.mdfor the rest. Character questions (chat variables) also need a{{name}}in the card's own fields; Mari does that as a separate, visiblecharacter.update, so the user sees both changes.Alternatives considered
extensions.onboardingpatch. No new code, but no validation, and the model is bad at the boring parts (ids, merging into lists).Additional context
mari characters update --jsonmerges shallowly and drops siblingextensions. Filed separately as a bug, since it's a fix on its own.Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked: