适配 master 当前提示词组合

This commit is contained in:
yexi committed 2026-08-31 07:52:34 +08:00
1 parent 057e473a6c
commit fdfecb09fc
18 files changed
+104 -143

No files matched your search

+1 -1
View File
@@ -148,7 +148,7 @@ test('plan-mode tampering is detected only when the section is active', async ()
assert.equal(fuseSections(onExtended, 'standard').issues, undefined)
})
test('ptc mode loses its run_code anchor -> incompatible', async () => {
test('ptc mode reports a changed run_code anchor', async () => {
const sections = await sectionsOf('ptc')
const tampered = sections.map(section =>
section.name === 'tools:ptc-only' ? { ...section, text: 'call whatever' } : section)