Skip to content

docs: Expand the readme for the analyst agent - #1147

Merged
jeremysilva1098 merged 2 commits into
mainfrom
analyst-readme/jesilva
Aug 11, 2026
Merged

docs: Expand the readme for the analyst agent#1147
jeremysilva1098 merged 2 commits into
mainfrom
analyst-readme/jesilva

Conversation

@jeremysilva1098

@jeremysilva1098 jeremysilva1098 commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Update to the analyst readme with more detail

Summary by CodeRabbit

  • Documentation
    • Clarified that Insights always writes to the platform, with optional local mirroring.
    • Documented analyst deployment settings, defaults, environment precedence, nested-field handling, and self-observability.
    • Added guidance for consuming Insights through platform IDs or local mirror files.

@jeremysilva1098
jeremysilva1098 requested review from a team as code owners August 6, 2026 21:55
@coderabbitai

coderabbitai Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: 812731c4-b28a-4db4-a4d2-de139d95f2d0

📥 Commits

Reviewing files that changed from the base of the PR and between 11f923a and d3756f5.

📒 Files selected for processing (1)
  • plugins/nemo-insights/README.md
🚧 Files skipped from review as they are similar to previous changes (1)
  • plugins/nemo-insights/README.md

📝 Walkthrough

Walkthrough

The Insights README now documents platform-first persistence, optional local mirroring, analyst deployment configuration, observability settings, and the workflow for Experimentalist to consume Insights.

Changes

Insights documentation

Layer / File(s) Summary
Output and analyst configuration
plugins/nemo-insights/README.md
The README documents platform API persistence, optional local mirroring, analyst settings, configuration precedence, nested fields, JSON configuration, and observability requirements.
Experimentalist integration
plugins/nemo-insights/README.md
The README documents platform Insight IDs, optional local mirror files, command sequencing, and plugin responsibilities.
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes the README documentation changes for the analyst agent.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch analyst-readme/jesilva

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

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

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 (1)
plugins/nemo-insights/README.md (1)

108-125: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick win

Add the required SDK and CLI tab set.

This new section provides shell examples only. Add a Python SDK variant beside the CLI variant. If deployment configuration has no SDK equivalent, state that limitation and link to the supported SDK workflow.

As per coding guidelines, provide both Python SDK and CLI examples in tab-sets for consistency and to support multiple user workflows.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@plugins/nemo-insights/README.md` around lines 108 - 125, Update the “Setting
the underscored fields” section to use the repository’s standard CLI/Python SDK
tab-set format, retaining the existing CLI commands and adding equivalent Python
SDK configuration. If the deployment configuration cannot be set through the
SDK, state that limitation and link to the supported SDK workflow.

Source: Coding guidelines

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@plugins/nemo-insights/README.md`:
- Line 48: Update the README sentence about insights reaching the platform to
limit the claim to normal CLI runs, and explicitly document that the analyst
testbed can set local_only=True to skip platform persistence.
- Around line 146-167: Update the “What consumes an Insight” section to replace
the conceptual flow with runnable Experimentalist commands: show a local mirror
using `--insight path/to/insights.yaml`, a multi-Insight mirror adding
`--insight-id <id|title|zero-based-index>`, and a Platform Insight using
`--insight <platform-insight-id> --workspace <workspace> --base-url
<platform-host>`. State that each run selects exactly one Insight.
- Around line 91-134: The observability endpoint validation must not allow HTTP
for 0.0.0.0; restrict the exception to the intended loopback allowlist or
document and enforce the exact allowed addresses. Add configuration tests
covering NEMO_INSIGHTS_ANALYST_RUN_AT_HOUR handling, JSON analyst-object merging
with defaults, and environment values overriding file configuration.

---

Nitpick comments:
In `@plugins/nemo-insights/README.md`:
- Around line 108-125: Update the “Setting the underscored fields” section to
use the repository’s standard CLI/Python SDK tab-set format, retaining the
existing CLI commands and adding equivalent Python SDK configuration. If the
deployment configuration cannot be set through the SDK, state that limitation
and link to the supported SDK workflow.
🪄 Autofix

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: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: cd38d206-2472-4805-9a1e-99aea12ad526

📥 Commits

Reviewing files that changed from the base of the PR and between c71ca67 and cf467e2.

📒 Files selected for processing (1)
  • plugins/nemo-insights/README.md

Comment thread plugins/nemo-insights/README.md
Comment thread plugins/nemo-insights/README.md
Comment thread plugins/nemo-insights/README.md
@coderabbitai

coderabbitai Bot commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Note

GitHub couldn't provide a complete incremental comparison for this pull request, so CodeRabbit is performing a full review instead. This review may take a little longer.

@github-actions github-actions Bot added the docs label Aug 11, 2026
@github-actions

Copy link
Copy Markdown
Contributor
Suite Lines Covered Line Rate Branch Rate
Unit Tests 32000/40622 78.8% 63.5%
Integration Tests 18558/38548 48.1% 20.8%

@jeremysilva1098
jeremysilva1098 added this pull request to the merge queue Aug 11, 2026
Merged via the queue into main with commit b176087 Aug 11, 2026
62 checks passed
@jeremysilva1098
jeremysilva1098 deleted the analyst-readme/jesilva branch August 11, 2026 20:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants