@karmaniverous/jeeves-meta 0.13.8 → 0.13.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9852,6 +9852,8 @@ function appendSharedSections(sections, ctx, options) {
9852
9852
  */
9853
9853
  function buildArchitectTask(ctx, meta, config) {
9854
9854
  const sections = [
9855
+ `# jeeves-meta · ARCHITECT · ${ctx.path}`,
9856
+ '',
9855
9857
  meta._architect ?? config.defaultArchitect ?? DEFAULT_ARCHITECT_PROMPT,
9856
9858
  '',
9857
9859
  '## SCOPE',
@@ -9882,6 +9884,8 @@ function buildArchitectTask(ctx, meta, config) {
9882
9884
  */
9883
9885
  function buildBuilderTask(ctx, meta, config) {
9884
9886
  const sections = [
9887
+ `# jeeves-meta · BUILDER · ${ctx.path}`,
9888
+ '',
9885
9889
  '## TASK BRIEF (from Architect)',
9886
9890
  meta._builder ?? '(No architect brief available)',
9887
9891
  '',
@@ -9910,6 +9914,8 @@ function buildBuilderTask(ctx, meta, config) {
9910
9914
  */
9911
9915
  function buildCriticTask(ctx, meta, config) {
9912
9916
  const sections = [
9917
+ `# jeeves-meta · CRITIC · ${ctx.path}`,
9918
+ '',
9913
9919
  meta._critic ?? config.defaultCritic ?? DEFAULT_CRITIC_PROMPT,
9914
9920
  '',
9915
9921
  '## SYNTHESIS TO EVALUATE',
@@ -10582,6 +10588,7 @@ async function synthesizeNode(node, currentMeta, config, executor, watcher, onPr
10582
10588
  const architectResult = await executor.spawn(architectTask, {
10583
10589
  thinking: config.thinking,
10584
10590
  timeout: config.architectTimeout,
10591
+ label: 'meta-architect',
10585
10592
  });
10586
10593
  builderBrief = parseArchitectOutput(architectResult.output);
10587
10594
  architectTokens = architectResult.tokens;
@@ -10630,6 +10637,7 @@ async function synthesizeNode(node, currentMeta, config, executor, watcher, onPr
10630
10637
  const builderResult = await executor.spawn(builderTask, {
10631
10638
  thinking: config.thinking,
10632
10639
  timeout: config.builderTimeout,
10640
+ label: 'meta-builder',
10633
10641
  });
10634
10642
  builderOutput = parseBuilderOutput(builderResult.output);
10635
10643
  builderTokens = builderResult.tokens;
@@ -10684,6 +10692,7 @@ async function synthesizeNode(node, currentMeta, config, executor, watcher, onPr
10684
10692
  const criticResult = await executor.spawn(criticTask, {
10685
10693
  thinking: config.thinking,
10686
10694
  timeout: config.criticTimeout,
10695
+ label: 'meta-critic',
10687
10696
  });
10688
10697
  feedback = parseCriticOutput(criticResult.output);
10689
10698
  criticTokens = criticResult.tokens;
package/dist/index.js CHANGED
@@ -9383,6 +9383,8 @@ function appendSharedSections(sections, ctx, options) {
9383
9383
  */
9384
9384
  function buildArchitectTask(ctx, meta, config) {
9385
9385
  const sections = [
9386
+ `# jeeves-meta · ARCHITECT · ${ctx.path}`,
9387
+ '',
9386
9388
  meta._architect ?? config.defaultArchitect ?? DEFAULT_ARCHITECT_PROMPT,
9387
9389
  '',
9388
9390
  '## SCOPE',
@@ -9413,6 +9415,8 @@ function buildArchitectTask(ctx, meta, config) {
9413
9415
  */
9414
9416
  function buildBuilderTask(ctx, meta, config) {
9415
9417
  const sections = [
9418
+ `# jeeves-meta · BUILDER · ${ctx.path}`,
9419
+ '',
9416
9420
  '## TASK BRIEF (from Architect)',
9417
9421
  meta._builder ?? '(No architect brief available)',
9418
9422
  '',
@@ -9441,6 +9445,8 @@ function buildBuilderTask(ctx, meta, config) {
9441
9445
  */
9442
9446
  function buildCriticTask(ctx, meta, config) {
9443
9447
  const sections = [
9448
+ `# jeeves-meta · CRITIC · ${ctx.path}`,
9449
+ '',
9444
9450
  meta._critic ?? config.defaultCritic ?? DEFAULT_CRITIC_PROMPT,
9445
9451
  '',
9446
9452
  '## SYNTHESIS TO EVALUATE',
@@ -10113,6 +10119,7 @@ async function synthesizeNode(node, currentMeta, config, executor, watcher, onPr
10113
10119
  const architectResult = await executor.spawn(architectTask, {
10114
10120
  thinking: config.thinking,
10115
10121
  timeout: config.architectTimeout,
10122
+ label: 'meta-architect',
10116
10123
  });
10117
10124
  builderBrief = parseArchitectOutput(architectResult.output);
10118
10125
  architectTokens = architectResult.tokens;
@@ -10161,6 +10168,7 @@ async function synthesizeNode(node, currentMeta, config, executor, watcher, onPr
10161
10168
  const builderResult = await executor.spawn(builderTask, {
10162
10169
  thinking: config.thinking,
10163
10170
  timeout: config.builderTimeout,
10171
+ label: 'meta-builder',
10164
10172
  });
10165
10173
  builderOutput = parseBuilderOutput(builderResult.output);
10166
10174
  builderTokens = builderResult.tokens;
@@ -10215,6 +10223,7 @@ async function synthesizeNode(node, currentMeta, config, executor, watcher, onPr
10215
10223
  const criticResult = await executor.spawn(criticTask, {
10216
10224
  thinking: config.thinking,
10217
10225
  timeout: config.criticTimeout,
10226
+ label: 'meta-critic',
10218
10227
  });
10219
10228
  feedback = parseCriticOutput(criticResult.output);
10220
10229
  criticTokens = criticResult.tokens;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@karmaniverous/jeeves-meta",
3
- "version": "0.13.8",
3
+ "version": "0.13.9",
4
4
  "author": "Jason Williscroft",
5
5
  "description": "Fastify HTTP service for the Jeeves Meta synthesis engine",
6
6
  "license": "BSD-3-Clause",