docs(prompt-guide): document trajectories memory schema#2282
Merged
qin-ctx merged 2 commits intoMay 28, 2026
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨No code suggestions found for the PR. |
qin-ctx
approved these changes
May 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Canonical prompt-guide ### Memory section lists 10 memory schemas (
cases/entities/events/identity/patterns/preferences/profile/skills/soul/tools) but omitstrajectories, which has shipped since #1880 (2026-05-08, two-phase trajectory/experience pipeline) and got another enhancement this week:feat(memory): upgrade trajectory extraction to beat no-memory baselinefeat(memory): tighten trajectory operation boundariesfeat(memory): add trajectory retrieval anchor(addedretrieval_anchorfield +embedding_template)The canonical guide hasn't been updated, so users browsing the ### Memory menu can't discover that agent-trajectory memory is a first-class schema or what its fields are.
This PR inserts a single
- trajectoriesbullet after thetoolsentry in each ### Memory listing (EN + ZH), mirroring the 4-line form used by neighbors (Effective stage / Affects / Purpose / Key fields). Schema values are grounded directly fromopenviking/prompts/templates/memory/trajectories.yaml(memory_type: trajectoriesL1,enabled: trueL15,operation_mode: add_onlyL16,agent_only: trueL17, fieldstrajectory_name/outcome/retrieval_anchor/content).Files
docs/en/guides/10-prompt-guide.md(+6)docs/zh/guides/10-prompt-guide.md(+6)Pure docs, ~10 LOC additive. No code change.