MCPcopy Create free account
hub / github.com/Noumena-Network/code / getPlanModeInstructions

Function getPlanModeInstructions

src/utils/messages.ts:3236–3249  ·  view source on GitHub ↗
(attachment: {
  reminderType: 'full' | 'sparse'
  isSubAgent?: boolean
  planFilePath: string
  planExists: boolean
})

Source from the content-addressed store, hash-verified

3234}
3235
3236function getPlanModeInstructions(attachment: {
3237 reminderType: 'full' | 'sparse'
3238 isSubAgent?: boolean
3239 planFilePath: string
3240 planExists: boolean
3241}): UserMessage[] {
3242 if (attachment.isSubAgent) {
3243 return getPlanModeV2SubAgentInstructions(attachment)
3244 }
3245 if (attachment.reminderType === 'sparse') {
3246 return getPlanModeV2SparseInstructions(attachment)
3247 }
3248 return getPlanModeV2Instructions(attachment)
3249}
3250
3251// --
3252// Plan file structure experiment arms.

Callers 1

Tested by

no test coverage detected