Add concept world catalog and review workflow

AI-assisted: prepared by Codex at Paul's request.
This commit is contained in:
Paul Bakaus
2026-07-18 14:12:05 -07:00
parent 77c7d8e0fc
commit 2b1f36c43e
576 changed files with 45547 additions and 30979 deletions
+4 -2
View File
@@ -676,17 +676,19 @@ describe('replacePlaceholders', () => {
});
describe('replaceScriptProviderMarker', () => {
test('renders only the explicit command-prefix declaration', () => {
test('renders only the explicit provider declarations', () => {
const source = [
"export const IMPECCABLE_COMMAND_PREFIX = '/'; // @impeccable-provider-command-prefix",
"export const IMPECCABLE_PROVIDER_ID = 'source'; // @impeccable-provider-id",
'const regex = /impeccable\\b/gi;',
"const runtime = '/src/lib/impeccable/__runtime.js';",
"const text = 'Run /impeccable audit';",
].join('\n');
const result = replaceScriptProviderMarker(source, 'codex');
const result = replaceScriptProviderMarker(source, 'codex', 'agents');
expect(result).toContain('export const IMPECCABLE_COMMAND_PREFIX = "$";');
expect(result).toContain('export const IMPECCABLE_PROVIDER_ID = "agents";');
expect(result).toContain('const regex = /impeccable\\b/gi;');
expect(result).toContain("const runtime = '/src/lib/impeccable/__runtime.js';");
expect(result).toContain("const text = 'Run /impeccable audit';");