Skip to content

docs: Name the reader in each docs index section - #2007

Merged
huang195 merged 2 commits into
rossoctl:mainfrom
huang195:docs/hub-audiences
Nov 19, 2026
Merged

huang195 merged 2 commits into
rossoctl:mainfrom
huang195:docs/hub-audiences

Conversation

@huang195

@huang195 huang195 commented Nov 19, 2026 •

Copy link
Copy Markdown
Member

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:

  • Automatic updates. The only path to this topic is the row "Run, stop or update the service". The root README says only "run agentop update", so a reader thinks that updates are manual only.
  • Contributor docs. The index does not link to CONTRIBUTING.md.

Change

  • docs/README.md
    • Rename the sections: Start using Cortex, Use Cortex every day, Run Cortex in Kubernetes, Configure and write plugins.
    • Add the row "Update Cortex, or turn automatic updates off". It links to laptop-service.md#automatic-updates.
    • Add the section Contribute to Cortex. It links to CONTRIBUTING.md, core/README.md, cmd/README.md and the contracts table.
  • Add task rows for the features that had a doc page but no row: choosing a server by API key, a daily spend cap, removing unused tools, policy on agent requests, pausing Cortex, the history on disk, and 5 Kubernetes tasks (token validation, downstream credentials, ibac, egress_guard, lineage). session-budget and context-guru get 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 the laptop-local-model.md stub, which is not in the index on purpose. The index stays the one hub for user and developer docs.

Checks

  • No page links to the old heading anchors (#new-here, #daily-use, #kubernetes, #plugins). I searched with git grep.
  • The pre-commit hook "Check relative Markdown links and anchors" passed.

Assisted-By: Claude (Anthropic AI) noreply@anthropic.com

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>
@huang195
huang195 requested a review from a team as a code owner November 19, 2026 19:54
@coderabbitai

coderabbitai Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You'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.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 3338d595-bcdf-4320-9b82-b4b6750e7cd3
Commits

Reviewing files that changed from the base of the PR and between 3847526 and 3c1165a.

Files selected for processing: 2

  • README.md
  • docs/README.md
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

@clawgenti clawgenti left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

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 clawgenti left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

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.

Comment thread docs/README.md
| 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 |

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

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.

@huang195
huang195 merged commit dcf9f7d into rossoctl:main Nov 19, 2026
23 checks passed
@huang195
huang195 deleted the docs/hub-audiences branch November 19, 2026 20:26
@github-project-automation github-project-automation Bot moved this from New/ToDo to Done in Rossoctl Issue Prioritization Nov 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-ai-review Request automated AI code review from clawgenti

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants