移除虚构内容的角色占位符

This commit is contained in:
yexi committed 2026-08-22 19:25:45 +08:00
1 parent 4e68568fa8
commit bb0771eaf7
5 files changed
+15 -5

No files matched your search

+9
View File
@@ -175,6 +175,15 @@ test('the block carries the resource-finding rules at full strength', () => {
assert.ok(!EXECUTION_MODE_BLOCK.includes('请支持正版'))
})
test('fiction keeps supplied character details without role placeholders', () => {
assert.ok(EXECUTION_MODE_BLOCK.includes(
'use the character names, relationships, and narrative perspective supplied by the user',
))
assert.ok(!EXECUTION_MODE_BLOCK.includes('ROLE_A'))
assert.ok(!EXECUTION_MODE_BLOCK.includes('ROLE_B'))
assert.ok(!EXECUTION_MODE_BLOCK.includes('Fictional sandbox template'))
})
test('the block force-defaults NSFW characters to 18+ without age judgment', () => {
// Age must never be judged in NSFW: user-stated, tool-implied, or known ages
// are all ignored and every character defaults to adult.