docs: refresh CLAUDE.md for current workspace and module layout#92
Merged
Conversation
Update the AI-assistant guide to match the present codebase: - Workspace now 14 members: add cli-tools, world-types, spacetime crates and the slack + cli bridges; note spacetime is a standalone crate. - Document the full provider roster (xAI, Gemini CLI/API, Codex CLI, Vertex, OpenAI-compatible/OpenRouter) and the prefix routing table. - Correct the tool-safety split: dangerous tools live in localgpt-cli-tools. - Add new core modules: cron, hooks, mcp, media, outbox, env, plus memory dreaming/active_recall/wiki/query_expansion. - Expand server (openai_compat, tls, rate_limiter), CLI subcommands, and feature flags (gemini-cli, codex-cli, image-resize, mcp-http). - Note Gen multiplayer via world-types/spacetime; fix gen-audio doc path. - Add a Conventions section (lint-clean, core portability, edition 2024).
CI on main was red on two jobs: - Clippy: two clippy::unnecessary_sort_by errors in session.rs. Replace sort_by(|a, b| b.cmp(&a)) with sort_by_key(Reverse(..)) for the descending sorts of sessions (by created_at) and search results (by match_count). - License audit (cargo-deny advisories): rustls-webpki 0.103.11 was flagged by RUSTSEC-2026-0098/0099/0104. Bump to 0.103.13, which carries all three fixes.
Run cargo update across the workspace, advancing ~166 transitive and direct dependencies to their latest semver-compatible releases (tokio 1.52, rustls 0.23.40, axum 0.8.9, uniffi 0.31.1, zerocopy 0.8.52, slack-morphism 2.22, wasm-bindgen 0.2.125, and many more). Verified with the CI gates (cargo clippy -- -D warnings, cargo test, cargo fmt --check) plus a full `cargo check --workspace` covering gen, all bridges, and mobile-ffi — all green.
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.
Update the AI-assistant guide to match the present codebase:
and the slack + cli bridges; note spacetime is a standalone crate.
Vertex, OpenAI-compatible/OpenRouter) and the prefix routing table.
dreaming/active_recall/wiki/query_expansion.
feature flags (gemini-cli, codex-cli, image-resize, mcp-http).