docs: promote domain glossary as review baseline (+ package docstring realign)#4
Merged
Merged
Conversation
The raven/__init__.py docstring listed the pre-spine module layout (context/, sentinel/, skill_forge/, cron/, memory/, skills/). Realign it to the current engine layout: context_engine/, proactive_engine/ (Sentinel + Scheduler), memory_engine/skill_forge/, and trim the base-runtime list to the modules that actually originated from nanobot. Co-authored-by: Claude (claude-opus-4-8) <noreply@anthropic.com>
Add the domain terminology glossary as the team-review baseline: CONTEXT.md + CONTEXT-MAP.md at the repo root and ui-tui/CONTEXT.md for the TUI context. ~39 Runtime terms + 7 TUI terms; ~30 confirmed accurate against current code. The Bus cluster is flagged under-revision -> Spine; the gap-scan open items are summarized in CONTEXT-MAP "Terms under review". Co-authored-by: Claude (claude-opus-4-8) <noreply@anthropic.com>
…g terms Replace the stale Bus section (Message Bus / Event Bus) with the current Spine vocabulary, verified against raven/spine/ (7 live files). The old types (InboundMessage, OutboundMessage, BusEvent) no longer exist in code. New Spine terms: Spine, Lane, TurnRequest, Deliverable (= RunnerEvent), OriginPools. Add 4 missing Agent Core terms: Agent Loop, Turn Runner, Agent Hook, Subagent — all verified against live module entry points. Minor stale-reference fixes: Channel / Routing Tag / TUI-RPC avoid note (Bus → Spine references); EvalEngine expanded to name the three AgentHook implementations. Co-authored-by: Claude (claude-sonnet-4-6) <noreply@anthropic.com>
docs(context): replace Bus cluster with Spine + add Agent Core missing terms
Add the Consolidator term (memory_engine/consolidate/) to the CONTEXT.md Memory section and fix the Profile backing-file casing to user.md; drop Consolidator from the CONTEXT-MAP proposed-missing list. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Rewrite the SkillForge term to match the actual retrieval/injection module (three-source weighted RRF; distillation lives in the EverOS pipeline). Add Skill Hub and the Plugin / Plugin Registry terms. Resolved against the Consolidator term landed earlier; Profile backing-file casing kept as user.md. Co-authored-by: Claude (claude-opus-4-8) <noreply@anthropic.com>
10 tasks
Add section 6 (+ summary-table row): consult the CONTEXT-MAP.md glossary before naming a domain concept, use the canonical term, and define a newly coined term in the matching CONTEXT.md in the same change (definition verifiable against the code, not guessed). Co-authored-by: Claude (claude-opus-4-8) <noreply@anthropic.com>
Add the remaining domain terms for the agent, context, eval, templates, and tokenwise areas. Merged on top of the Spine/Agent Loop additions and the package docstring + CLAUDE.md domain-terms rule already on the baseline. Co-authored-by: Claude (claude-opus-4-8) <noreply@anthropic.com>
In CLAUDE.md section 3.7, replace "no Chinese" with "no other languages" and drop the Chinese-specific translate-don't-paste tail. The rule now reads as a general English-only constraint for PR descriptions. Co-authored-by: Claude (claude-opus-4-8) <noreply@anthropic.com>
…-agnostic Sweep CLAUDE.md so the English-only constraints read as general "no other languages / non-English" rules rather than singling out Chinese (comments, commit subject/body, path names, self-check grep prose). The full-width-punctuation examples and the CJK-detecting grep regex are kept as-is; the bad-commit example strings stay as illustrations. Co-authored-by: Claude (claude-opus-4-8) <noreply@anthropic.com>
## Change description > Owner review of the **EverOS** glossary term (assigned to @yan.xiao in the > 2026-06-28 glossary gap-scan). Refines the entry in `CONTEXT.md` -> `### Memory` > and merges back into the review baseline branch `docs/glossary_baseline_and_init_docstring`. The baseline entry read: > EverOS: An external memory system installed as a built-in tool in Raven. Verified against the code, this misstates the role on two counts: - **Primary role is a memory backend, not "a tool".** It ships as a bundled plugin (`raven/plugin/memory/everos/raven-plugin.toml`: `id=everos-memory`, `bundled=true`, `enabled_by_default=true`) contributing a `memory_backends` factory `everos`. The `understand_media` tool is a *secondary* contribution of the same plugin, not the headline. - **"External system" is misleading.** The name refers to the external pip package `EverMind-AI/EverOS` (`pyproject.toml`: `everos[multimodal]`); the in-tree `raven/plugin/memory/everos/` code is only a thin adapter that delegates to it. Revised entry: a default bundled memory-backend plugin providing dual-track semantic recall — user track (episodes/profiles, injected into the `# Memory` segment) and agent track (skills/cases, one of SkillForge's three sources at RRF weight 0.9) — plus the `understand_media` multimodal-parsing tool. Note: the adjacent terms touched by EverOS (SkillForge, Skill Hub, the `# Memory` segment) were cross-checked and are accurate; `skillForge.everos` is a real config key (`raven/config/loader.py`, `update.py`, `raven.py`), so the SkillForge entry's reference to it is correct and needs no change. cc @sheng.zhao for review. ## Type of change - [x] Document ## Related issues (if there is) > Glossary finalize (EVE-55) ## Checklists ### Development - [ ] Lint rules pass locally - [ ] Application changes have been tested thoroughly - [ ] Automated tests covering modified code pass ### Security - [ ] Security impact of change has been considered - [ ] Code follows security best practices and guidelines ### Code review - [x] Pull request has a descriptive title and context useful to a reviewer. Screenshots or screencasts are attached as necessary Co-authored-by: Claude (claude-opus-4-8) <noreply@anthropic.com>
Contributor review (gap-scan §2/§6) of the terms I touch — SkillForge (memory_engine/skill_forge/) and the TUI (ui-tui/) — against current code. SkillForge: - backend is the pluggable MemoryBackend (EverOS is the typical plugin), not a hardcoded "EverOS memory backend" - retirement is not implemented: retire_confidence / retirement_idle_days are unwired config placeholders, not a confidence-floor soft-delete TUI: - StatusRulePane -> Status Bar: exported component is StatusRule, placement via StatusBarMode (top|bottom|off); there is no "Pane" - Overlay: list the real overlayStore kinds (RPC-driven + user-toggled); FPS is a separate component, not an overlay-store kind ## Summary <!-- What changed, and why? --> ## Type - [ ] Fix - [ ] Feature - [ ] Docs - [ ] CI / tooling - [ ] Refactor - [ ] Other ## Verification <!-- List the exact commands you ran and the result. --> - [ ] Relevant tests pass locally - [ ] Relevant lint / type checks pass locally - [ ] User-facing docs or screenshots are updated when needed ## Risk - [ ] Security impact considered - [ ] Backward compatibility considered - [ ] Rollback path is clear for risky changes ## Related Issues <!-- Fixes #123, closes #123, or N/A --> Co-authored-by: yaopengfei <yaopengfei@yaopengfeideMacBook-Pro.local> Co-authored-by: Claude (claude-opus-4-8) <noreply@anthropic.com>
Kendrick-Song
added a commit
that referenced
this pull request
Jul 22, 2026
- Move _everos_server.py from raven/cli/ to raven/plugin/memory/everos/ _server.py to fix plugin->cli layering violation (CR #1) - Split HTTP timeout: client default 60s (recall/health), memorize add/flush per-request 360s (CR #2) - Defer backend.start() to post-handshake background task in TUI so first render is not blocked by server startup (CR #3) - Remove unused app_id/project_id from ImportSession and scanner (CR #4) - Add note on per-source-unit checkpoint granularity (CR #5) - Add fcntl file lock to prevent concurrent server spawn race (CR #6) - Fix loguru %s format to {} in state.py (CR #7) - Fix docstring step numbering (CR #8) - Remove redundant Table import in status_cmd (CR #9) Co-authored-by: Claude (claude-opus-4-6) <noreply@anthropic.com>
Kendrick-Song
added a commit
that referenced
this pull request
Jul 22, 2026
- Move _everos_server.py from raven/cli/ to raven/plugin/memory/everos/ _server.py to fix plugin->cli layering violation (CR #1) - Split HTTP timeout: client default 60s (recall/health), memorize add/flush per-request 360s (CR #2) - Defer backend.start() to post-handshake background task in TUI so first render is not blocked by server startup (CR #3) - Remove unused app_id/project_id from ImportSession and scanner (CR #4) - Add note on per-source-unit checkpoint granularity (CR #5) - Add fcntl file lock to prevent concurrent server spawn race (CR #6) - Fix loguru %s format to {} in state.py (CR #7) - Fix docstring step numbering (CR #8) - Remove redundant Table import in status_cmd (CR #9) Co-authored-by: Claude (claude-opus-4-6) <noreply@anthropic.com>
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.
Change description
Port the domain terminology glossary onto Raven as the team-review baseline, plus a package-docstring realignment. Two commits:
docs:realign theraven/__init__.pydocstring to the current engine layout. It still listed the pre-spine layout (context/,sentinel/,skill_forge/,cron/,memory/,skills/); now it readscontext_engine/,proactive_engine/(Sentinel + Scheduler),memory_engine/skill_forge/, with the base-runtime list trimmed to the modules that actually originated from nanobot.docs:add the domain glossary as the review baseline:CONTEXT.md+CONTEXT-MAP.md(repo root) andui-tui/CONTEXT.md. ~39 Runtime terms + 7 TUI terms; ~30 confirmed accurate against current code. The Bus cluster is flagged under-revision -> Spine; the gap-scan open items are summarized in CONTEXT-MAP "Terms under review".The glossary content was grilled out and reviewed on GitLab; this is its first landing on GitHub, with all
everclawreferences renamed toravenand the GitLab review-process references neutralized to GitHub (PR /main).Glossary review workflow (this branch is the integration branch)
This PR's branch is the staging branch for the glossary review:
grill-with-docsskill.main.Type of change
Checklists
Development
Code review