mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[GH-ISSUE #679] [Bug]: Slurp secret-mode creators all derive into the same persona #352
Labels
No labels
agent: chess
agent: conversation-calls
agent: eightball
agent: haptic
agent: hierarchical-maps
agent: hierarchical-maps
agent: illustrator
agent: poker
agent: rock-paper-scissors
agent: tic-tac-toe
agent: uno
artifacts
bug
bugfix
build
catalog
ci
client
dependencies
docs
documentation
enhancement
feature
fixed-in-staging
in-pr
normal-scope
packages
pull-request
qol
regression
roadmap
scope-risk
server
soup
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Agents#352
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 @Gunterlie on GitHub (Sep 1, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/679
Summary
secret-mode Slurp creators are all the same person. The mode's job is to derive a new persona inspired by a character, but it seeds that derivation from at most twenty adjectives — and for most real character cards, from a single fixed sentence. Every creator generated that way converges on the same median personality.This is scoped to
secret.hintedandopenare not affected; see the scope note below.The conceptual problem
The three disclosure modes are two different operations sharing one enum. The code's own guidance strings say so:
hinted— "The same person under a stage name."secret— "Create a separate persona with no intended source connection." The model receives "a reduced, non-identifying inspiration brief."open and hinted are concealment. The creator is the character. Nothing is invented; the only question is whether the audience is told the name. Spark is retained for free — you start with a whole person and subtract identifiers.
secret is derivation. The creator is a new person, seeded by the character. Nothing is being concealed, because there is no shared identity to conceal. Spark must be created, not preserved.
secretis currently implemented as if it were concealment-turned-up-to-maximum — aggressive redaction of the source. But filtering is the wrong verb for derivation. Removing 95% of a character does not produce a different interesting person; it produces a blank that the model fills with the median.Root cause
noodlerSecretSourceText(slurp-stage-profile-draft.service.ts:52-62) is the entire creative seed for a secret creator:reviewedNoodlerTemperamentThemes(slurp-prompt-safety.ts:90-93) is an exact whole-word set intersection against a fixed 20-word allowlist:A personality survives only if the card literally contains one of those twenty adjectives.
Measured
Three of four produce nothing, so all three seed from the identical string:
The fourth survives only because it happens to be written in the allowlist's own vocabulary.
The vocabulary is also wrong for the product
Slurp is an adult creator platform. The twenty permitted adjectives are
kind,gentle,cheerful,friendly,playful,bookish,musical,sporty. A domineering, cruel, or predatory creator has no representable token; the best available is "outgoing". The allowlist structurally removes exactly the traits that differentiate creators on this platform.Why the derived persona then stays bad forever
The draft produces
stagePersonality("Stage voice"), which is written once into the account (slurp.storage.ts:1983-1986) and reused for every post thereafter (slurp-generation.service.ts:331). So the thin seed is compressed into a permanent personality at birth. Users cannot post their way out of it; the account is stuck with whatever the model invented from one sentence.For derivation this snapshot behaviour is correct in principle — a derived person should be born and then live independently — but it makes seed quality decisive rather than merely important.
Suggested fix: transform, do not filter
Give the drafting model the full character card, and ask it to author a new person:
The key move is that the model sees everything and is asked to transform, rather than being shown a fragment and asked to complete. Transformation from a rich source yields someone specific. Completion from a thin brief yields the median persona every time, which is exactly what ships today.
Delete
noodlerSecretSourceText,reviewedNoodlerTemperamentThemes,hintedNoodlerSourceBrief, andREVIEWED_HINTED_THEME_TOKENS. They have no remaining caller once secret mode transforms instead of filters.The safety property is preserved, and improves
Identity protection does not depend on the input filter.
protectNoodlerGeneratedIdentity(slurp-generation.service.ts:247) is a deterministic output scrubber: it takes the real identifiers fromprotectedIdentityValuesand regex-replaces them in generated text —someonefor secret,you-know-whofor hinted. It already runs on post content, replies, image prompts, stage profile drafts, and the post history fed back into the prompt.So literal leakage is already guaranteed on the output side, independently of what the model was shown.
The genuine residual risk is inferential leakage — "a Fatui Harbinger", a signature catchphrase — which the scrubber does not catch because it only matches literal strings. Address that where it belongs, on the output: extend
protectedIdentityValues(slurp-generation.service.ts:142-147) beyonddisplayNameandhandleto include the character's canonical nouns and signature phrases, extracted once at draft time. Note it already acceptssourceIdentifiers, so the mechanism exists and only needs populating.That is a net increase in enforcement: today nothing verifies secret-mode output for canonical leakage at all, because the input whitelist was assumed to make it impossible.
Also fix
reviewedNoodlerPhysicalFactsslurp-prompt-safety.ts:104-108has the same defect on appearance, via naiveincludes()over 20 tokens:long silver hairdoes not matchlong hair(not a substring);leandoes not matchslender. This feeds image generation too — see #675 and #676.Scope note — what this issue does NOT cover
Earlier revisions of this issue claimed the allowlist affected the default path. That was wrong, twice, and is corrected here:
sourceis the live character row (slurp-stage-profile-draft.service.ts:194-212), soinput.source.datais populated for any real character.hintedtherefore callsnoodlerHintedSourceText(source.data)(:38-49), which returns the full Description + Personality + Appearance. ThehintedNoodlerSourceBrieffallback only fires when the source is missing entirely.hinted(SlurpHome.tsx:292,:541,SlurpOnboardingPanel.tsx:133), notsecret.?? "secret"reads throughout the server are a read-time fallback for legacy records, not a write default.createNoodlerAccountalways writes the field explicitly. Do not change them.So concealment already passes the whole person, and only derivation is broken.
Generic-voice reports from users on
hintedtherefore need a different explanation, tracked separately.Regression test
Assert that a set of realistic character cards written outside the allowlist vocabulary produce distinct derived personas. Today they produce one. Nothing currently checks this.
@Gunterlie commented on GitHub (Sep 1, 2026):
Runnable reproduction — both reducers are pure functions, so this needs no Engine boot:
Observed output:
Every empty result becomes the same fallback sentence in
hintedNoodlerSourceBrief, so those three creators are indistinguishable to the model.Suggested shape for the regression test that should land with the fix: assert that these four cards produce four distinct briefs. That is the property users actually care about, and it is the one nothing currently checks.
@Gunterlie commented on GitHub (Sep 1, 2026):
Correction to the root cause section — the default is
hinted, notsecret, and the?? "secret"line is not the new-creator default.I mischaracterised
slurp.storage.ts:1939. Correcting it here so nobody implements against the wrong premise.?? "secret"is a read-time fallback, not a write-time default.createNoodlerAccount(slurp.storage.ts:1983-1986) always writes the field explicitly:and the settings parser only sets it when present (
slurp.storage.ts:531). So for any creator made through the UI the field is always populated and the??never fires. The ~12?? "secret"read sites only apply to legacy records predating the field — that is, existing creators, not new ones.Changing that fallback would therefore change only old creators and leave new ones untouched, which is the opposite of what my original text implied.
The actual default for new creators is
hinted, set client-side:SlurpHome.tsx:292—EMPTY_STAGE_PROFILE.disclosureMode: "hinted"SlurpHome.tsx:541—useState<NoodleIdentityDisclosure>("hinted")SlurpOnboardingPanel.tsx:133—useState<NoodleIdentityDisclosure>("hinted")Why this makes the issue simpler, not weaker.
hintedroutes throughhintedNoodlerSourceBriefexactly assecretdoes (slurp-stage-profile-draft.service.ts:116and:123both call it). So the default path for every new creator already hits the 20-word allowlist, and the measured result stands unchanged: three of four realistic cards produce[]and collapse to one identical sentence.Consequence for the fix: suggestion 1 in the issue body ("reconsider the default") should be dropped. It was based on my error, it would only touch legacy records, and it would be a silent privacy change on live data for no voice benefit. Leave every
?? "secret"fallback alone.The fix is entirely suggestion 2 — replace the allowlist with model-side redaction that preserves voice, register and temperament while dropping names, handles and canonical biography — plus suggestion 4 for
reviewedNoodlerPhysicalFacts. Those apply tohintedandsecretalike, so they fix the default path without changing anyone's disclosure setting.@Gunterlie commented on GitHub (Sep 1, 2026):
Rewritten — scope narrowed from "all Slurp creators" to
secretmode only.Keeping the audit trail, because two earlier claims in this issue were wrong and someone may have read them.
What changed and why. The three disclosure modes are two different operations sharing one enum, which the code's own guidance strings state plainly:
hintedis "the same person under a stage name" (concealment), whilesecretis "a separate persona with no intended source connection", seeded by "an inspiration brief" (derivation). Concealment retains spark by subtracting identifiers from a whole person. Derivation must create spark.secretis currently built as concealment-turned-up-to-maximum, and filtering is the wrong verb for it.Corrections to earlier revisions of this issue:
"The default isIt issecret."hinted(SlurpHome.tsx:292,:541,SlurpOnboardingPanel.tsx:133). The?? "secret"reads are a read-time fallback for legacy records;createNoodlerAccountalways writes the field explicitly. Do not touch them."The allowlist affects the default path."It does not.sourceis the live character row (slurp-stage-profile-draft.service.ts:194-212), sohintedcallsnoodlerHintedSourceText(source.data)and receives the full Description + Personality + Appearance. ThehintedNoodlerSourceBrieffallback only fires when the source is missing entirely. OnlynoodlerSecretSourceTextruns the allowlist unconditionally.The measured evidence in the comments below still stands — three of four realistic cards reduce to
[]— but it applies tosecretonly.Consequence: the suggested fix is no longer "loosen the redaction". It is "replace filtering with transformation" for secret mode, and delete the allowlist entirely once it has no caller. The identity guarantee moves nowhere, because it was never in the input filter —
protectNoodlerGeneratedIdentityalready enforces it deterministically on the output at every generation site.Still unexplained: users on
hintedalso reported generic, samey voices, and this issue no longer accounts for that. Tracked separately — the likely candidates are the frozenstagePersonalityand the absence of any audience-stance dimension, neither of which is a redaction problem.@Gunterlie commented on GitHub (Sep 1, 2026):
Split complete. The remaining generic-voice causes for
hintedcreators — the frozenstagePersonalityand the missing audience-stance dimension — are now tracked in #680. This issue is scoped to secret-mode derivation only.@Gunterlie commented on GitHub (Sep 1, 2026):
Fix opened as draft #683.