fix: optional schema of memories (#11454)

This commit is contained in:
jif-oai
2026-02-11 15:05:36 +00:00
committed by GitHub
parent 156f47edd0
commit bd3bf6eda1
4 changed files with 29 additions and 5 deletions
@@ -1,4 +1,4 @@
Analyze this rollout and produce JSON with `raw_memory`, `rollout_summary`, and optional `rollout_slug`.
Analyze this rollout and produce JSON with `raw_memory`, `rollout_summary`, and `rollout_slug` (use empty string when unknown).
rollout_context:
- rollout_path: {{ rollout_path }}
@@ -4,7 +4,7 @@ You are in Phase 1 of the memory pipeline.
Your job is to convert one rollout into:
- `raw_memory` (detailed, structured markdown for later consolidation)
- `rollout_summary` (compact retrieval summary for routing/indexing)
- `rollout_slug` (optional; accepted by the caller but currently not used downstream)
- `rollout_slug` (required string; use `""` when unknown; currently not used downstream)
The rollout payload is already embedded in the user message.
Do not ask to open files or use tools.
@@ -76,8 +76,7 @@ Output contract (strict):
- Return exactly one JSON object.
- Required keys:
- `rollout_summary` (string)
- `rollout_slug` (string; use `""` when unknown; currently unused)
- `raw_memory` (string)
- Optional key:
- `rollout_slug` (string; accepted but currently unused)
- Empty-field no-op must use empty strings.
- No additional commentary outside the JSON object.