memory: route staging lifecycle through sqlite authority
This commit is contained in:
@@ -80,8 +80,8 @@ pub enum WorkerPrompt {
|
||||
/// after the scope summary when an AGENTS.md is present.
|
||||
AgentsMdSection,
|
||||
/// Trailing `## Resident memory summary` section, appended after the
|
||||
/// AGENTS.md section when memory is enabled, summary injection is enabled,
|
||||
/// and `memory/summary.md` has a valid non-empty body.
|
||||
/// AGENTS.md section when memory is enabled, resident injection is enabled,
|
||||
/// and the workspace Memory document has a valid non-empty body.
|
||||
ResidentMemorySummarySection,
|
||||
/// Trailing Worker orchestration guidance, appended when registered tools
|
||||
/// include Worker-management capabilities.
|
||||
|
||||
@@ -153,9 +153,9 @@ pub struct SystemPromptContext<'a> {
|
||||
/// Not visible from the template; consumed by the trailing-section
|
||||
/// formatter in [`SystemPromptTemplate::render`].
|
||||
pub agents_md: Option<String>,
|
||||
/// The body of `<workspace>/.yoi/memory/summary.md`, with
|
||||
/// frontmatter stripped. `None` disables the resident summary section;
|
||||
/// empty strings are ignored by the trailing-section formatter.
|
||||
/// The body of the workspace Memory document. `None` disables the
|
||||
/// resident summary section; empty strings are ignored by the trailing-section
|
||||
/// formatter.
|
||||
pub resident_summary: Option<&'a str>,
|
||||
/// Catalog used to render the fixed trailing section headers.
|
||||
/// Passed by reference so callers do not give up ownership across
|
||||
|
||||
Reference in New Issue
Block a user