Personality controls in settings
Rolling release / release (push) Successful in 7m29s

This commit is contained in:
2026-09-12 15:56:35 -04:00
parent 5317576087
commit 2f6e4b3af9
19 changed files with 104 additions and 13 deletions
+1
View File
@@ -19,6 +19,7 @@ const IDENTITY_FILES = new Set([
'bootstrap.md',
'heartbeat.md',
'tools.md',
'persona.md',
]);
function isIdentityPath(filePath) {
+2
View File
@@ -26,12 +26,14 @@ const VOICE_WORKSPACE_FILES = [
'BOOTSTRAP.md',
'TOOLS.md',
'HEARTBEAT.md',
'PERSONA.md',
];
function includeWorkspaceFile(name, text) {
const body = String(text || '').trim();
if (!body) return false;
if (name === 'BOOTSTRAP.md' && /^# completed/i.test(body)) return false;
if (name === 'PERSONA.md' && !body.replace(/^# PERSONA\.md\s*/i, '').trim()) return false;
return true;
}