post: stop writing agent prompts for deterministic work (EN+ZH) + og/banner images
Deploy / build (push) Successful in 14s

This commit is contained in:
2026-10-01 01:38:58 +08:00
parent f2d9c20207
commit 1ec97706bb
6 changed files with 171 additions and 0 deletions
+21
View File
@@ -1070,6 +1070,27 @@ BANNERS['loop-engineering-without-a-coding-agent'] = {
],
};
BANNERS['stop-writing-agent-prompts-for-deterministic-work'] = {
titlebar: 'root@hermes — deterministic check, no model',
lines: [
{ t: 'prompt', text: '$' }, { t: 'cmd', text: 'registry.npmjs.org/<pkg>/latest vs local version' },
{ t: 'prompt', text: 'WARN' }, { t: 'err', text: 'agent mode: [drift_skip] × 29 — died before it could speak' },
{ t: 'prompt', text: '' }, { t: 'dim', text: 'silent-because-healthy == silent-because-crashed' },
{ t: 'prompt', text: '$' }, { t: 'cmd', text: 'rewrite: exit 0 = measured · exit 1 = CANNOT MEASURE' },
{ t: 'prompt', text: 'INFO' }, { t: 'cmd', text: 'script stdout delivered as the notice · no LLM in the path' },
{ t: 'prompt', text: 'INFO' }, { t: 'cmd', text: 'the test: write down what success AND failure print' },
{ t: 'prompt', text: 'INFO' }, { t: 'cmd', text: 'number or string → script · "it depends" → model + verifier' },
{ t: 'prompt', text: '' }, { t: 'ok', text: '→ 8 of 11 loops now carry no model ✓' },
],
flow: [
{ n: '1', label: 'compare' },
{ n: '2', label: 'agent ✗', err: true },
{ n: '3', label: 'script' },
{ n: '4', label: 'exit 1 ≠ silent' },
{ n: '5', label: 'green ✓' },
],
};
// ---------- read frontmatter ----------
const postPath = join(ROOT, 'src', 'content', 'posts', `${slug}.md`);
let category = 'devops';
+5
View File
@@ -326,6 +326,11 @@ TERMINALS['loop-engineering-without-a-coding-agent'] = `
<div class="line"><span class="prompt">&nbsp;</span><span class="err">agent-mode job: [drift_skip] × 29 runs — silent broken and silent healthy</span></div>
<div class="line"><span class="prompt">$</span><span class="cmd">rewrite as a script · exit 1 = CANNOT MEASURE</span><span class="fix">→ 1,618 ticks ✓</span></div>`;
TERMINALS['stop-writing-agent-prompts-for-deterministic-work'] = `
<div class="line"><span class="prompt">$</span><span class="cmd">hermes cron: CLI version check · agent mode</span></div>
<div class="line"><span class="prompt">&nbsp;</span><span class="err">[drift_skip] × 29 runs — silent, and silence reads as "nothing to report"</span></div>
<div class="line"><span class="prompt">$</span><span class="cmd">rewrite as a script · stdout IS the notification</span><span class="fix">→ green since ✓</span></div>`;
// ---------- read frontmatter ----------
const postPath = join(ROOT, 'src', 'content', 'posts', `${slug}.md`);
if (!existsSync(postPath)) {