docs(prompt): allow durable work notes

This commit is contained in:
Eyejoker
2026-05-21 05:35:59 +09:00
committed by GitHub
parent 2bed35d315
commit ce750eed95
3 changed files with 42 additions and 0 deletions

View File

@@ -124,4 +124,29 @@ describe('platform-prompts', () => {
expect(prompt).not.toContain('The Four Phases');
}
});
it('keeps file-backed note guidance optional and lightweight', () => {
const repoRoot = path.resolve(
path.dirname(fileURLToPath(import.meta.url)),
'..',
);
const promptsDir = path.join(repoRoot, 'prompts');
const ownerPrompt = fs.readFileSync(
path.join(promptsDir, 'owner-common-paired-room.md'),
'utf-8',
);
const reviewerPrompt = fs.readFileSync(
path.join(promptsDir, 'claude-paired-room.md'),
'utf-8',
);
for (const prompt of [ownerPrompt, reviewerPrompt]) {
expect(prompt).toContain('## Durable work notes');
expect(prompt).toContain('multi-step plans');
expect(prompt).toContain('long debugging evidence');
expect(prompt).toContain('existing docs/plans location');
expect(prompt).not.toContain('docs/superpowers');
expect(prompt).not.toContain('Every plan MUST');
}
});
});