mirror of
https://github.com/pchuan98/codex.git
synced 2026-07-01 00:31:56 +08:00
fix: optional schema of memories (#11454)
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user