Repository navigation
docs: Name the reader in each docs index section - #2007
Conversation
The docs index groups its rows by reader, but the section names did not say so. Rename the sections: "Start using Cortex", "Use Cortex every day", "Run Cortex in Kubernetes" and "Configure and write plugins". Add a "Contribute to Cortex" section. It links to CONTRIBUTING.md, core/README.md and cmd/README.md. Before this change, the index did not link to CONTRIBUTING.md. Add a row for automatic updates. Before this change, the only path to that section was the row "Run, stop or update the service". The root README said only "run agentop update". It now says that a service install updates itself, and links to Automatic updates. Assisted-By: Claude (Anthropic AI) <noreply@anthropic.com> Signed-off-by: Hai Huang <huang195@gmail.com>
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 18 minutes. View limit details
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. |
clawgenti
left a comment
There was a problem hiding this comment.
Summary
This is a docs-only change, and it does what it says. I checked every new link against the head tree. laptop-service.md#automatic-updates exists. Its text backs both new claims: "a service install (launchd or systemd) updates itself", and update.auto: false turns it off. CONTRIBUTING.md, core/README.md and cmd/README.md exist, and the row text matches what each one covers. The in-page #contracts-for-contributors-and-integrators anchor resolves. The page title of laptop-service.md is "start, stop, and remove it", so the new "Run, stop or remove the service" row matches it. A git grep over the head tree found no links to the old anchors (#new-here, #daily-use, #kubernetes, #plugins).
One optional nit, on lines outside the diff: under Reference, two subsections now name the reader's task (Run Cortex in Kubernetes, Configure and write plugins), but Configuration and APIs still names a topic. You could rename it to match, for example Configure Cortex and use its APIs. Merging without this change is fine.
Author: huang195 (MEMBER — maintainer)
Areas reviewed: Docs (Markdown links, anchors, accuracy against laptop-service.md)
Agent/IDE config (.claude/.vscode): none
Commits: 1 commit, all signed-off: yes
CI status: passing. The only annotations are Node 20 deprecation and cache-restore warnings, none related to this PR.
A new user finds a feature from a task row in the docs index. These features had a doc page, but no row: - Choosing a server by the API key of each terminal - A daily spend cap (litellm-budget-track) - Removing the tools that an agent never calls (only under Plugins) - Policy on agent requests (opa, script, sparc) - Pausing Cortex, or unwiring one agent - The session and cost history on disk, and clearing it - In Kubernetes: inbound token validation, credentials for downstream calls, intent checks (ibac), refusing private addresses, and lineage telemetry Add one row for each. The rows link only to features that a shipped build has. session-budget and context-guru are in no build profile (scripts/profile-tags/profiles.go), so they get no task row. Assisted-By: Claude (Anthropic AI) <noreply@anthropic.com> Signed-off-by: Hai Huang <huang195@gmail.com>
clawgenti
left a comment
There was a problem hiding this comment.
Summary
This review covers the new commit 3c1165a on top of 92a91e8, which I approved earlier. It is a docs-only change. I checked every new link and anchor against the head tree, and they all resolve: #choosing-a-server-by-the-key-a-request-sends, #three-ways-to-turn-it-off, #where-your-data-lives and #refusing-private-destinations-listeneregress_guard. Each linked page backs its row: litellm-budget-track has a daily per-agent budget, laptop-token-savings covers agentop tools scan, and the data section covers clearing both stores. The build-profile claim is also correct. Every plugin you added a row for is in a shipped profile, and contextguru and sessionbudget have empty membership in scripts/profile-tags/profiles.go.
I have one suggestion and nothing that blocks the merge: the policy row in the laptop section points first to two plugins that need a cluster (see the inline comment).
Author: huang195 (MEMBER — maintainer)
Areas reviewed: Docs (README.md, docs/README.md), Security
Agent/IDE config (.claude/.vscode): none
Commits: 2 commits, all signed-off: yes
CI status: passing (Go CI macOS peerproc still pending; Spellcheck skipped). This PR changes no code.
| | Run, stop or update the service | [`laptop-service.md`](laptop-service.md) | | ||
| | Set a daily spend cap for your agents | [`litellm-budget-track`](litellm-budget-track-plugin.md) | | ||
| | Use fewer tokens: remove the tools that your agent never calls | [`laptop-token-savings.md`](laptop-token-savings.md) | | ||
| | Allow or block agent requests with a policy | [`opa`](opa-plugin.md), [a script plugin](script-plugin.md), or [`sparc`](sparc-plugin.md) to check tool calls | |
There was a problem hiding this comment.
suggestion: This row is in Use Cortex every day, which is for laptop users, but two of its three links do not run on a laptop. opa-plugin.md says under Where it runs: "Kubernetes. ... A laptop has no bundle server." sparc needs the in-cluster SPARC reflection service (http://sparc-service.<namespace>.svc:8090). On a laptop, only the script plugin works here. Consider keeping only the script plugin in this row, and moving opa and sparc into a row under Run Cortex in Kubernetes, next to ibac. For example: | Allow or block agent requests with a policy | [opa](opa-plugin.md), or [sparc](sparc-plugin.md) to check tool calls |. This fits the PR's goal of naming the reader for each section.
Problem
The docs index (
docs/README.md) groups its rows by reader, but the section names do not say so. Two topics are difficult to find:agentop update", so a reader thinks that updates are manual only.CONTRIBUTING.md.Change
docs/README.mdlaptop-service.md#automatic-updates.CONTRIBUTING.md,core/README.md,cmd/README.mdand the contracts table.ibac,egress_guard, lineage).session-budgetandcontext-guruget no row, because no shipped build has them (scripts/profile-tags/profiles.go).README.md: say that a service install updates itself, and link to Automatic updates.This change does not add new guide files. Every page in
docs/already had a link from an index, except thelaptop-local-model.mdstub, which is not in the index on purpose. The index stays the one hub for user and developer docs.Checks
#new-here,#daily-use,#kubernetes,#plugins). I searched withgit grep.Assisted-By: Claude (Anthropic AI) noreply@anthropic.com