Skip to content

docs: update hub/ layout in READMEs to match actual files - #116

Merged
study8677 merged 2 commits into
mainfrom
cursor/docs-hub-layout-fix-3c6c
Aug 27, 2026
Merged

docs: update hub/ layout in READMEs to match actual files#116
study8677 merged 2 commits into
mainfrom
cursor/docs-hub-layout-fix-3c6c

Conversation

@study8677

@study8677 study8677 commented Aug 27, 2026

Copy link
Copy Markdown
Owner

Small leftover docs patch following #115 merge.

Changes

Updated the "Two Packages, One Workflow" tree diagram in all three root READMEs (README.md, README_CN.md, README_ES.md) to reflect the actual files in engine/repobrain_engine/hub/:

Added missing hub files

  • incremental.py β€” committed-diff / --quick agent-group refresh
  • host_runner.py β€” local CLI backend (no API key)
  • storage.py β€” generation dirs + current.json
  • language_adapters/ β€” language-specific code adapters

Updated agents.py comment to use actual Agent names

Changed to: Refresh swarm (ScanAnalyst β†’ ArchitectureReviewer β†’ ConventionWriter) + Ask swarm (Router / ModuleAgent / GitAgent)

These are the real Agent(name=...) instances. The previous version incorrectly listed ContextCurator/DeepAnalyst/AnswerSynthesizer, which appear only in the module docstring as conceptual descriptions, not as actual agent instances.

All changes align with the complete layout already present in docs/zh/README.md (merged in #115).

Verification

  • No code changes
  • Tree structure matches actual files in engine/repobrain_engine/hub/
  • agents.py comment uses real Agent instance names
  • Consistent across all three language versions
Open in WebΒ Open in CursorΒ 

cursoragent and others added 2 commits August 27, 2026 08:10
Add missing hub files to tree diagrams:
- incremental.py (committed-diff / --quick agent-group refresh)
- host_runner.py (local CLI backend, no API key)
- storage.py (generation dirs + current.json)
- language_adapters/ (language-specific adapters)

Update agents.py comment to include refresh swarm agents
(ScanAnalyst/ArchitectureReviewer/ConventionWriter) alongside
ask swarm agents (ContextCurator/DeepAnalyst/AnswerSynthesizer).

Co-authored-by: JingWen Fan <study8677@users.noreply.github.com>
Change from conceptual names (ContextCurator/DeepAnalyst/AnswerSynthesizer)
to real Agent instances:
- Refresh swarm: ScanAnalyst β†’ ArchitectureReviewer β†’ ConventionWriter
- Ask swarm: Router / ModuleAgent / GitAgent

ContextCurator/DeepAnalyst/AnswerSynthesizer appear only in the module
docstring, not as actual Agent(name=...) instances.

Co-authored-by: JingWen Fan <study8677@users.noreply.github.com>

@chatgpt-codex-connector chatgpt-codex-connector 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.

πŸ’‘ Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 8534635227

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with πŸ‘.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread README.md Outdated
β”œβ”€β”€ config.py # Pydantic configuration
β”œβ”€β”€ hub/ # β˜… Core: multi-agent cluster
β”‚ β”œβ”€β”€ agents.py # Router + ModuleAgent + GitAgent
β”‚ β”œβ”€β”€ agents.py # Refresh/Ask Swarm agents (ScanAnalyst/ArchitectureReviewer/ConventionWriter + ContextCurator/DeepAnalyst/AnswerSynthesizer)

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Restore the implemented ask-agent names

For readers using this layout to understand agents.py, this now documents an ask swarm that does not exist: ask_pipeline.py calls build_reviewer_agent(), which delegates to build_ask_swarm() and constructs a Router, dynamic Module_* workers, and a GitAgent; ContextCurator, DeepAnalyst, and AnswerSynthesizer occur only in a stale module docstring and are never instantiated. The same inaccurate replacement appears in all three root READMEs, so retain the refresh-agent names but describe the implemented Router/ModuleAgent/GitAgent ask path.

Useful? React with πŸ‘Β / πŸ‘Ž.

@study8677
study8677 merged commit f32cb11 into main Aug 27, 2026
9 checks passed
@study8677
study8677 deleted the cursor/docs-hub-layout-fix-3c6c branch August 27, 2026 08:40
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.

2 participants