Route global Praxis doctrine through Face organs
This commit is contained in:
parent
f1ed70867a
commit
9c97e02761
10 changed files with 57 additions and 22 deletions
|
|
@ -2060,7 +2060,6 @@ function buildHeartbeatPrompt(input: {
|
|||
researchCapabilitiesDirective: renderResearchCapabilitiesDirective(input.identity),
|
||||
socialEmbodimentDirective: renderSocialEmbodimentDirective(input.identity),
|
||||
jurisdictionRespectDirective: renderJurisdictionRespectDirective(input.identity),
|
||||
praxisWorldviewDirective: renderPraxisWorldviewDirective(input.identity),
|
||||
comedyImprovDirective: renderComedyImprovDirective(input.identity),
|
||||
repetitionSamplingDirective: renderRepetitionSamplingDirective([
|
||||
input.recentMessages,
|
||||
|
|
@ -4005,8 +4004,10 @@ async function projectRepoFaceMemorySurface(input: {
|
|||
statePacket: string;
|
||||
config: ReturnType<typeof loadConfig>;
|
||||
}): Promise<string> {
|
||||
const globalAgentDoctrine = await loadGlobalAgentDoctrine();
|
||||
const prompt = loadPromptTemplate("repo-face-state-projector.prompt.md", {
|
||||
characterIdentity: renderRepoCharacterIdentityDoctrine(input.identity),
|
||||
globalAgentDoctrine,
|
||||
statePacket: input.statePacket,
|
||||
});
|
||||
const output = await runCodexTextProjection({
|
||||
|
|
@ -4583,12 +4584,6 @@ function renderJurisdictionRespectDirective(identity: RepoDiscordIdentity): stri
|
|||
});
|
||||
}
|
||||
|
||||
function renderPraxisWorldviewDirective(identity: RepoDiscordIdentity): string {
|
||||
return loadPromptTemplate("repo-face-praxis-worldview.prompt.md", {
|
||||
displayName: identity.displayName,
|
||||
});
|
||||
}
|
||||
|
||||
function renderComedyImprovDirective(identity: RepoDiscordIdentity): string {
|
||||
return loadPromptTemplate("repo-face-comedy-improv.prompt.md", {
|
||||
displayName: identity.displayName,
|
||||
|
|
|
|||
Loading…
Reference in a new issue