row224: supply required reference in creative tool fixture

This commit is contained in:
jason.woltje committed 2026-10-24 13:41:58 -05:00
1 parent 63827cc0bd
commit e4c0c8931e
2 files changed
+10 -1

No files matched your search

+9
View File
@@ -611,3 +611,12 @@ test at packages/harness/tests/library-tools.test.mjs:57:1
exitCode: 2 exitCode: 2
} }
``` ```
## sage-4213 — creative fixture credential reference
Only the new library-tools.test.mjs role() helper now gives bean its required
gitea reference copied from coder, matching creative.test.mjs:27. No assertion,
shared helper, old test or production change. One whole harness-file retry
then seven upstream files, whole bus/harness, M-B1 and clean-tree check are
cleared; no CLI or lookup rerun needed (both passed, unchanged). Each child
sets absolute niceness 19 before exec, with fresh shell gXXX TMPDIR.
@@ -11,7 +11,7 @@ import { HARNESS, REPO_SKILLS, resolvedFor, scratch } from './helpers.mjs';
const LOOKUPS = ['library_find', 'library_get', 'library_search', 'library_manuscript', 'library_universe']; const LOOKUPS = ['library_find', 'library_get', 'library_search', 'library_manuscript', 'library_universe'];
const CREATIVE = ['companion', 'research', 'ideas', 'proofreader', 'fact-checker', 'continuity']; const CREATIVE = ['companion', 'research', 'ideas', 'proofreader', 'fact-checker', 'continuity'];
const role = (t, definition, harness = 'pi') => resolvedFor(t, 'bean', d => { const role = (t, definition, harness = 'pi') => resolvedFor(t, 'bean', d => {
d.roles.bean = { definition, vars: { harness, model: 'claude-sonnet-5-5', thinking: 'high' } }; d.roles.bean = { definition, credentials: { gitea: { ...d.roles.coder.credentials.gitea } }, vars: { harness, model: 'claude-sonnet-5-5', thinking: 'high' } };
}); });
const expected = definition => ['send_message', ...(['companion', 'research'].includes(definition) const expected = definition => ['send_message', ...(['companion', 'research'].includes(definition)
? ['web_search', 'web_fetch'] : []), ...LOOKUPS]; ? ['web_search', 'web_fetch'] : []), ...LOOKUPS];