Help the user articulate a "source of meaning" — a way of living they find
intrinsically meaningful — and write it as a values card in their values
store.
Run when:
norm, something they want more of in their life, or a topic they have
strong feelings about — AND signals openness to going deeper. When in
doubt, ask once.
Don't run when:
The interview has four stages. Read references/conversation.md for the
flow, brevity rules, and how to handle goals/feelings/norms.
situations — generate them, save, and tell the user where the file
is and that they can edit it.
Read references/cards.md before drafting policies or writing the card.
It covers what a source of meaning is, how to write attention policies,
and the exact card format.
Values store path:
$AGENT_VALUES_DIR~/.openclaw/valuesSilently ensure these exist on every run (no chatter):
$AGENT_VALUES_DIR/ (or ~/.openclaw/values/)cards/transcripts/VALUES.md (create an empty file if missing)build.mjs (copy from scripts/build-values.mjs if missing)First run only. Detect first run by whether VALUES.md existed before
this turn. If it did not, after the silent bootstrap:
"Set up your values store at ~/.openclaw/values/.").
USER.md at $OPENCLAW_USER_MD_PATH, then ~/.openclaw/workspace/USER.md, then ~/.openclaw/USER.md. If one
exists and doesn't already mention VALUES.md, ask once whether
to append the contents of references/USER_MD_SNIPPET.md so other
agents will consult their values. Append if they say yes; otherwise
move on. If no USER.md is found, mention briefly that they may
want to add the snippet to their user profile later.
subsequent runs.
After Stage 3 (the blocker question), without asking for confirmation:
tending-the-quiet.cards/.md using the format in references/cards.md.transcripts/-.md — plain markdown dump with Me: / Agent: turn markers.
node "$AGENT_VALUES_DIR/build.mjs" (or node ~/.openclaw/values/build.mjs if unset). The Setup step
already ensures the helper exists.
needs changing.
Don't show the explication ("What this is" prose) in chat — write it
directly into the card. The user can read it there if they want to.
Don't re-render the whole card after small refinements — show only what
changed. See references/conversation.md for brevity rules.
共 2 个版本