Skip to content

docs: add mermaid architecture documentation - #148

Draft
svngoku wants to merge 1 commit into
PrimeIntellect-ai:mainfrom
svngoku:main
Draft

docs: add mermaid architecture documentation#148
svngoku wants to merge 1 commit into
PrimeIntellect-ai:mainfrom
svngoku:main

Conversation

@svngoku

@svngoku svngoku commented Aug 26, 2026

Copy link
Copy Markdown

Summary

Adds a docs/ knowledge base with Mermaid diagrams (rendered natively on GitHub), grounded in the source under src/rlm/:

  • docs/ARCHITECTURE.md — system component graph, the act–observe turn loop, recursion tree (broker/supervisor), on-disk session layout
  • docs/CONCEPTS.md — minimal tool interface, persistent kernel state, context compaction, native recursion (await rlm()), skills system, git-history guard
  • docs/USER_FLOW.md — CLI entry modes, headless run, stop reasons, recursion flow, ACP session lifecycle
  • docs/CONFIGURATION.md — full RLM_* env-var reference with defaults, provider resolution order, tooling presets (dual/tools/skills), config model diagram
  • AGENTS.md — pointer to docs/

Notes

  • Docs-only change; no code touched. markdownlint-cli2 passes (0 issues).
  • docs/CONFIGURATION.md documents the current source behavior, which fixes two stale README claims without touching the README itself: RLM_MAX_OUTPUT/RLM_MAX_TOOL_OUTPUT_CHARS were removed in d4ce3e1, and the default dual preset enables the bash/edit skills.

- docs/ARCHITECTURE.md: system components, turn loop, recursion tree, session layout
- docs/CONCEPTS.md: minimal tool interface, persistent kernel, compaction, recursion, skills, git guard
- docs/USER_FLOW.md: CLI entry modes, headless run, stop reasons, recursion, ACP lifecycle
- docs/CONFIGURATION.md: full RLM_* reference, provider resolution, tooling presets
- AGENTS.md: pointer to docs/

Grounded in the official deepwiki docs and verified against src/rlm/.
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