Add /impeccable generate: agent-initiated live variants (Node-era squash)

Squash of the ten commits reviewed on PR #626, plus the last review
round's connection-aware roll call, before the rebase onto the Rust
engine: the generate command reference and router row, the overlay's
agent-target handling (roll call, leases, replay, rescue), the Node-era
live-server routes and live-generate CLI, the hook stand-down, the pricing
cards e2e fixture, and the unit, contract, e2e, and skill-behavior tests.
The server, CLI, hook, and pin halves are ported to the engine crates in
the commits that follow.

AI-assisted: implemented and tested with Claude Code under maintainer
direction.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Abdul Wahab
2026-09-15 05:45:49 +05:00
committed by Abdul Wahab
co-authored by Claude Fable 5
parent 1c043ea7c9
commit fc89b0ed62
27 changed files with 1851 additions and 16 deletions
+11
View File
@@ -3,6 +3,7 @@ import assert from 'node:assert/strict';
import { readFileSync } from 'node:fs';
import { join } from 'node:path';
import { compileProviderBlocks } from '../scripts/lib/utils.js';
import { VISUAL_ACTIONS } from '../skill/scripts/live/vocabulary.mjs';
const ROOT = process.cwd();
@@ -171,4 +172,14 @@ describe('live reference authoring contract', () => {
'real-LLM E2E prompt should not hard-code @scope as the universal CSS contract',
);
});
it('maps every live action in the generate reference', () => {
// generate.md's Step 1 turns request wording into an action value; a
// value the picker offers but the reference never names is a request
// the agent cannot route.
const generateMd = readFileSync(join(ROOT, 'skill/reference/generate.md'), 'utf-8');
for (const action of VISUAL_ACTIONS) {
assert.match(generateMd, new RegExp('`' + action + '`'), `generate.md must name \`${action}\``);
}
});
});