docs(claude-code): describe session-start profile injection (#1914)#1962
Merged
ZaynJarvis merged 2 commits intoMay 11, 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. |
ZaynJarvis
approved these changes
May 11, 2026
ZaynJarvis
pushed a commit
that referenced
this pull request
May 13, 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
docs/{en,zh}/agent-integrations/02-claude-code.mdHook behavior table stilldescribes the pre-#1914
SessionStartrow — only thearchive-overview-on-
resume/compacthalf. After #1914 (feat(claude-code-plugin): session-start profile injection, /ov status command, tool-output capture cleanup,@t0saki author / merged 2026-05-08 by @ZaynJarvis) every session source
(startup/clear/resume/compact) also injects
profile.md+ an annotatedlsofpreferences/+entities/, capped byOPENVIKING_PROFILE_TOKEN_BUDGET(default
10000tokens, CJK-aware;OPENVIKING_NO_AUTO_INJECT=1skips). Bothhalves now compose into a single
<openviking-context>envelope.This PR rewrites the
SessionStartcell in both EN + ZH tables to reflect bothhalves of the new behavior, verbatim-aligned to the source-of-truth JSDoc in
examples/claude-code-memory-plugin/scripts/session-start.mjs.Scope is intentionally narrow — single row per file (2 net LOC). The new
/ovslash command and theTOOL_BLOCK_MAX_CHARS → TOOL_RESULT_MAX_CHARSrename from the same PR are not (yet) surfaced in the agent-integration doc;
deferred to follow-up so this PR stays a focused docs-drift catch.
What changed
docs/en/agent-integrations/02-claude-code.md— 1 row updated under "Hookbehavior" (line ~165).
docs/zh/agent-integrations/02-claude-code.md— same row in the ZH mirror.Verification
examples/claude-code-memory-plugin/scripts/session-start.mjsJSDoc lines 4-19 describe the two-injection compose semantics, env var names,
and defaults used in the doc row.
OPENVIKING_PROFILE_TOKEN_BUDGET/OPENVIKING_NO_AUTO_INJECTresolve fromscripts/config.mjsand are only currently grep-able in the source tree, notin any doc page → user-facing default+opt-out surface added.
Notes
/ovand the env vars are still under polish andthe agent-integration page should lag the plugin README — happy to split or
drop. Code reviewer perspective on row length / wording welcome.