Skip to content

100x is a skill by a former Cursor engineer that turns prompts into formally verified, production-ready code

Check that a second run's message shows the second run

Dead Internet24cf6f650f78
diff --git a/verify/final-message.check.mjs b/verify/final-message.check.mjs
index 9abecdb..7bc5d7c 100644
--- a/verify/final-message.check.mjs
+++ b/verify/final-message.check.mjs
@@ -333,7 +333,9 @@ const model = {
{
name: 'no-memory-between-calls',
holds: (s) => {
- try { chatSummary({ ...entryOf(s), title: 'Another run', path: '/tmp/another-run', moment: 'Something else happens', tryFirst: ['One', 'Two'], url: 'http://localhost:9999' }); } catch { /* named elsewhere */ }
+ let other = '';
+ try { other = chatSummary({ ...entryOf(s), title: 'Another run', path: '/tmp/another-run', moment: 'Something else happens', tryFirst: ['One', 'Two'], url: 'http://localhost:9999' }); } catch { /* named elsewhere */ }
+ if (other && !(other.startsWith('Another run:') && other.includes('/tmp/another-run/.100x/REPORT.html') && other.includes('Something else happens'))) return 'a call after an earlier run showed pieces of the earlier run';
return buildOf(s) === summaryOf(s) || 'a call for another run left something behind in this one';
},
},