MCPcopy Create free account
hub / github.com/GongShichen/LuminaCode / BuildSessionMemoryBehaviorSection

Function BuildSessionMemoryBehaviorSection

agentContext/builder.go:708–717  ·  view source on GitHub ↗
(enabled bool)

Source from the content-addressed store, hash-verified

706 if err != nil {
707 return PromptSection{}, err
708 }
709 if strings.TrimSpace(projectInstructions) == "" || role == "subagent" {
710 return PromptSection{}, errors.New(fmt.Sprintf("Missing project instructions: %s", cwd))
711 }
712 budget := GetPromptBudgetProfile(role).ProjectInstructions
713 separator := projectInstructionSeparator
714 return BuildBudgetAttachmentSection(
715 "project-instructions",
716 "Project Instructions (LUMINA.md / AGENTS.md)",
717 projectInstructions,
718 &separator,
719 budget,
720 ), nil

Callers 1

BuildInitialContextFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected