Skip to content

docs(tools): document save_user_section (Havaya per-user write path) - #51

Merged
cryptolir merged 1 commit into
mainfrom
docs/havaya-peruser-integration
Jun 1, 2026
Merged

cryptolir merged 1 commit into
mainfrom
docs/havaya-peruser-integration

Conversation

@cryptolir

Copy link
Copy Markdown
Owner

Docs-only. Adds docs/tools/save-user-section.md for the save_user_section agent tool shipped in #49, and registers it under Built-in tools in docs.json.

Covers: writable allowlist (User_D_Prompt, app_note), the users/<appUserId>.md marker-section upsert (fail-closed on duplicate markers), server-side identity resolution (chat.send → SessionEntry.appUserId → resolveAppUserId), wiring (createSaveUserSectionTool, openclaw-tools.ts), and the security model.

Part of syncing all repos/docs for the Havaya per-user integration (reader = openclaw-dashboard #107/#108; consumer = app.havaya #3). docs.json validated as JSON.

🤖 Generated with Claude Code

Adds docs/tools/save-user-section.md describing the save_user_section agent
tool shipped in #49: the writable allowlist (User_D_Prompt, app_note), the
users/<appUserId>.md marker-section upsert, server-side appUserId identity
resolution (chat.send -> SessionEntry -> resolveAppUserId), wiring, and the
security model. Registers the page under 'Built-in tools' in docs.json.

Docs-only; reflects code already on main.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
@cryptolir
cryptolir merged commit 6d7078e into main Jun 1, 2026
7 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant