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

Function BuildSystemPromptSection

agentContext/builder.go:773–780  ·  view source on GitHub ↗
(cwd, memorySection string)

Source from the content-addressed store, hash-verified

771 }
772 workflow, err := BuildWorkflowSection()
773 if err != nil {
774 return nil, err
775 }
776 sections := []PromptSection{
777 BuildSubagentIdentitySection(agentName, description),
778 priority,
779 trust,
780 workflow,
781 BuildEnvSection(cwd),
782 }
783 if strings.TrimSpace(gitContext) != "" {

Calls 2

NewConfigForCWDFunction · 0.92
BuildInitialContextFunction · 0.85