Skip to content

docs(repo): reorganize documentation structure#131

Merged
illeatmyhat merged 2 commits into
AgentToolkit:mainfrom
visahak:codex/docs-cleanup
Apr 2, 2026
Merged

docs(repo): reorganize documentation structure#131
illeatmyhat merged 2 commits into
AgentToolkit:mainfrom
visahak:codex/docs-cleanup

Conversation

@visahak

@visahak visahak commented Apr 2, 2026

Copy link
Copy Markdown
Collaborator

Summary by CodeRabbit

  • Documentation

    • Restructured docs with a new navigation (Start Here, Guides, Reference) and updated README links to the docs/guides structure
    • Updated examples, guides, and tutorials to point to new install/config paths and adjusted cron/systemd examples
    • Evolve Lite docs now describe entity persistence as Markdown files with YAML frontmatter
    • Fixed a typo in the installation text
  • Chores

    • Updated repository metadata and project name references across docs and site config

@visahak visahak requested review from illeatmyhat and vinodmut April 2, 2026 14:36
@coderabbitai

coderabbitai Bot commented Apr 2, 2026

Copy link
Copy Markdown

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 383068c6-8a7c-4dba-815b-0ea7ad21db7a

📥 Commits

Reviewing files that changed from the base of the PR and between 4bf7ae2 and 490defb.

📒 Files selected for processing (21)
  • .secrets.baseline
  • CONTRIBUTING.md
  • README.md
  • docs/archive/save-session-as-skill-design.md
  • docs/examples/hello_world/index.md
  • docs/guides/configuration.md
  • docs/guides/extract-trajectories.md
  • docs/guides/low-code-tracing.md
  • docs/guides/phoenix-sync.md
  • docs/index.md
  • docs/installation/index.md
  • docs/integrations/evolve-lite.md
  • docs/operations/docker-testing.md
  • docs/reference/cli.md
  • docs/reference/policies.md
  • docs/tutorials/claude-code-demo.md
  • mkdocs.yaml
  • platform-integrations/claude/plugins/evolve-lite/README.md
  • scripts/__init__.py
  • scripts/extract_trajectories.py
  • tests/unit/test_extract_trajectories.py

📝 Walkthrough

Walkthrough

Repository-wide documentation and config updates to reflect the repository/name change to AgentToolkit/altk-evolve, reorganize the docs site navigation, adjust example paths and links, convert scripts into a Python package (add scripts/__init__.py), and update references/imports/tests to use scripts.extract_trajectories.

Changes

Cohort / File(s) Summary
Project & Docs Root
CONTRIBUTING.md, README.md, mkdocs.yaml
Renamed repo/project references to AgentToolkit/altk-evolve and updated README links and mkdocs nav structure and metadata.
Docs - Site Content & Structure
docs/index.md, docs/installation/index.md, docs/tutorials/claude-code-demo.md, docs/archive/save-session-as-skill-design.md
Added/rewrote top-level docs navigation (Start Here, Guides, Integrations, Reference), fixed a typo in installation text, adjusted alt text for image, and normalized several doc links and newline endings.
Guides & Examples
docs/guides/*, docs/examples/hello_world/index.md, docs/guides/phoenix-sync.md
Repointed guide links to new docs/guides/* paths, updated phoenix-sync cron/systemd examples to altk-evolve working dir, and adjusted hello-world install URL and instructions.
Evolve Lite & Integrations
docs/integrations/evolve-lite.md, platform-integrations/claude/plugins/evolve-lite/README.md
Documented entity storage change to .evolve/entities/ (MD files with YAML frontmatter), renamed env var to EVOLVE_ENTITIES_DIR, and updated local plugin install paths and walkthrough links.
Scripts & Tests
scripts/__init__.py, docs/guides/extract-trajectories.md, tests/unit/test_extract_trajectories.py
Added scripts/__init__.py, updated all docs/examples and test imports/patch targets from extract_trajectories to scripts.extract_trajectories, and adjusted CLI examples to scripts/extract_trajectories.py.
Misc
.secrets.baseline
Updated secret-scan baseline metadata and moved findings to new README/docs guide paths.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

Suggested reviewers

  • gaodan-fang
  • vinodmut

Poem

🐰 I hopped through docs with nimble feet,

Renamed the paths and cleared the street,
Scripts now wear a package hat,
Entities nest in markdown flats,
Hooray—docs tidy, neat, and sweet! 🥕📚

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The PR title 'docs(repo): reorganize documentation structure' accurately reflects the primary changes, which involve restructuring documentation files and navigation across multiple docs files and mkdocs.yaml configuration.
Docstring Coverage ✅ Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Warning

Review ran into problems

🔥 Problems

Timed out fetching pipeline failures after 30000ms


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@visahak visahak requested a review from gaodan-fang April 2, 2026 14:37

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 3

🧹 Nitpick comments (2)
mkdocs.yaml (1)

8-9: Consider updating site_url to match the renamed project path.

With repo_name/repo_url now on altk-evolve, leaving site_url at /evolve can cause canonical URL mismatch in generated docs metadata.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@mkdocs.yaml` around lines 8 - 9, The mkdocs config has repo_name/repo_url
updated to AgentToolkit/altk-evolve but the site_url remains pointing to
/evolve, causing canonical URL mismatch; update the site_url value in
mkdocs.yaml to the correct path that matches repo_name/repo_url (e.g., set
site_url to the full GitHub Pages URL or to /altk-evolve) so the generated docs
metadata uses the same project path as repo_name and repo_url; verify the change
by checking the site_url, repo_name, and repo_url entries in mkdocs.yaml.
docs/guides/phoenix-sync.md (1)

160-161: Use absolute path to uv and consider avoiding uv run in production systemd units.

Line 161 uses /path/to/uv as a placeholder, which is correct, but the systemd best practice for reliability is an absolute path (e.g., /opt/uv/bin/uv or wherever uv is installed), not /usr/bin/env. However, for production services, avoid uv run entirely: sync the project first with uv sync, then invoke the executable directly from .venv/bin:

Recommended approach for production
 WorkingDirectory=/path/to/altk-evolve
-ExecStart=/path/to/uv run evolve sync phoenix
+ExecStart=/path/to/altk-evolve/.venv/bin/evolve sync phoenix

If uv run is necessary, use the absolute path to the uv binary rather than relying on env or PATH resolution.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@docs/guides/phoenix-sync.md` around lines 160 - 161, Update the systemd unit
lines referenced by WorkingDirectory and ExecStart so ExecStart uses an absolute
path to the uv binary (e.g., /opt/uv/bin/uv) instead of a PATH lookup, and for
production avoid using "uv run": run "uv sync" ahead of time and invoke the
service executable directly from the virtualenv (e.g., .venv/bin/<executable>)
rather than "uv run evolve sync phoenix"; if you must use uv, point ExecStart at
the absolute uv binary path (replace "uv run evolve sync phoenix" with
"/absolute/path/to/uv run evolve sync phoenix").
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@docs/examples/hello_world/index.md`:
- Line 45: Replace the incorrect reference "uv.lock folder" with "uv.lock file"
in the sentence that instructs deleting .venv and uv.lock; update the wording to
something like "deleting the `.venv` directory and the `uv.lock` file" so the
cleanup step correctly distinguishes the directory `.venv` from the file
`uv.lock` in docs/examples/hello_world/index.md.

In `@docs/installation/index.md`:
- Around line 18-26: The docs removed the "roo" platform but the installer still
supports it; update the installation docs to list "roo" in the CLI usage and
platform table to match the installer. Specifically, restore "roo" as an allowed
value in the usage example and add a table row for `roo` with a brief
description so it aligns with the argument parsing and the install_roo()
implementation in platform-integrations/install.sh.

In `@platform-integrations/claude/plugins/evolve-lite/README.md`:
- Line 48: The README currently references a directory-style storage model
".evolve/entities/" while the linked walkthrough uses a file
".evolve/entities.json"; pick one canonical storage model and make the docs
consistent: either update this README line to point to the walkthrough section
and examples that use ".evolve/entities.json" or update the walkthrough
(../../../../docs/integrations/evolve-lite.md#example-walkthrough) to
demonstrate ".evolve/entities/" markdown files; ensure any example commands,
paths and code snippets in both README and the walkthrough (references to
.evolve/entities/ and .evolve/entities.json) are adjusted to match the chosen
model so users see a single, consistent storage format.

---

Nitpick comments:
In `@docs/guides/phoenix-sync.md`:
- Around line 160-161: Update the systemd unit lines referenced by
WorkingDirectory and ExecStart so ExecStart uses an absolute path to the uv
binary (e.g., /opt/uv/bin/uv) instead of a PATH lookup, and for production avoid
using "uv run": run "uv sync" ahead of time and invoke the service executable
directly from the virtualenv (e.g., .venv/bin/<executable>) rather than "uv run
evolve sync phoenix"; if you must use uv, point ExecStart at the absolute uv
binary path (replace "uv run evolve sync phoenix" with "/absolute/path/to/uv run
evolve sync phoenix").

In `@mkdocs.yaml`:
- Around line 8-9: The mkdocs config has repo_name/repo_url updated to
AgentToolkit/altk-evolve but the site_url remains pointing to /evolve, causing
canonical URL mismatch; update the site_url value in mkdocs.yaml to the correct
path that matches repo_name/repo_url (e.g., set site_url to the full GitHub
Pages URL or to /altk-evolve) so the generated docs metadata uses the same
project path as repo_name and repo_url; verify the change by checking the
site_url, repo_name, and repo_url entries in mkdocs.yaml.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 8ce44fb2-7415-4e8f-abf8-fc9746a14de0

📥 Commits

Reviewing files that changed from the base of the PR and between 564e501 and 4bf7ae2.

📒 Files selected for processing (20)
  • CONTRIBUTING.md
  • README.md
  • docs/archive/save-session-as-skill-design.md
  • docs/examples/hello_world/index.md
  • docs/guides/configuration.md
  • docs/guides/extract-trajectories.md
  • docs/guides/low-code-tracing.md
  • docs/guides/phoenix-sync.md
  • docs/index.md
  • docs/installation/index.md
  • docs/integrations/evolve-lite.md
  • docs/operations/docker-testing.md
  • docs/reference/cli.md
  • docs/reference/policies.md
  • docs/tutorials/claude-code-demo.md
  • mkdocs.yaml
  • platform-integrations/claude/plugins/evolve-lite/README.md
  • scripts/__init__.py
  • scripts/extract_trajectories.py
  • tests/unit/test_extract_trajectories.py

Comment thread docs/examples/hello_world/index.md Outdated
Comment thread docs/installation/index.md Outdated
Comment thread platform-integrations/claude/plugins/evolve-lite/README.md
vinodmut
vinodmut previously approved these changes Apr 2, 2026
visahak added 2 commits April 2, 2026 12:23
Signed-off-by: Vatche Isahagian <vatchei@ibm.com>
Signed-off-by: Vatche Isahagian <vatchei@ibm.com>
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.

3 participants