import type { CycleContext, KBSnapshot } from '../types.js';

const ADDITIONAL_SYSTEM_RULES = `
- Vary the Theme sequence from the previous cycle
- Topics identified as low engagement should appear earlier in this cycle
- The rationale field should note what is different from cycle 1`;

export function buildCycleUserPrompt(snapshot: KBSnapshot, ctx: CycleContext): string {
  return `Knowledge base snapshot:
${JSON.stringify(snapshot)}

Cycle context:
${JSON.stringify(ctx)}

Generate a 26-week curriculum schedule.`;
}

export function buildCycleSystemRules(): string {
  return ADDITIONAL_SYSTEM_RULES;
}
