Skip to content

docs(contributing): add omitted packages to Project Structure - #1446

Open
Frank-zhu0404 wants to merge 4 commits into
alibaba:mainfrom
Frank-zhu0404:docs/issue-1441-project-structure
Open

Frank-zhu0404 wants to merge 4 commits into
alibaba:mainfrom
Frank-zhu0404:docs/issue-1441-project-structure

Conversation

@Frank-zhu0404

Copy link
Copy Markdown
Contributor

Description

Updates the Project Structure section in CONTRIBUTING.md (and synced i18n copies) so it lists packages that already exist under internal/ but were omitted from the tree diagram: delegate, gitcmd, llmloop, mcp, pathutil, release, scan, stdout, and suggestdiff.

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Refactoring (no functional changes)
  • Documentation update
  • CI / Build / Tooling

How Has This Been Tested?

Verified each added package directory exists under internal/ and that the four i18n CONTRIBUTING copies mirror the English structure additions.

  • make test passes locally
  • Manual testing (describe below)

Compared package names against internal/* layout; confirmed alphabetical ordering and i18n parity for ja-JP / ko-KR / ru-RU / zh-CN.

Checklist

  • My code follows the project's coding style (go fmt, go vet)
  • I have performed a self-review of my code
  • I have added tests that prove my fix is effective or my feature works
  • New and existing unit tests pass locally with my changes
  • I have updated the documentation accordingly (if applicable)
  • I have signed the CLA
  • I did not use AI/LLM to create this PR, or I disclosed the tool/model below and reviewed its output; I did not attribute commits to AI and will answer maintainer questions and review comments myself without AI/LLM.

AI disclosure: assisted by Grokbuild (Grok 4.6) for drafting the CONTRIBUTING tree update; human-reviewed every line and verified packages against the real internal/ layout. Codex (gpt-5.6-sol) used for read-only review only (VERDICT=PASS). No AI commit trailers.

Related Issues

closes #1441

@github-actions

Copy link
Copy Markdown
Contributor

OpenCodeReview: Review skipped: no items were selected.

@Qiyuanqiii Qiyuanqiii 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.

Looks good to me.

I checked the updated Project Structure against the PR head: the newly documented entries cover the currently omitted top-level internal/ packages, and the descriptions are consistent with their actual responsibilities (including mcp, scan, suggestdiff, pathutil, and the release asset naming checks). The same structure update is also kept in sync across the English, ja-JP, ko-KR, ru-RU, and zh-CN contributing guides.

I don't see any blocking documentation accuracy or consistency issues here.

This review was conducted by Qiyuanqiii's review bot, using the model GPT-5.6 Sol. If you need a human review, please manually @Qiyuanqiii.

@Frank-zhu0404
Frank-zhu0404 marked this pull request as ready for review September 19, 2026 10:12
Comment thread CONTRIBUTING.md Outdated
@Frank-zhu0404

Copy link
Copy Markdown
Contributor Author

@wu21-web Yes — both are top-level directories at the repo root (pages/ and scripts/ next to cmd/ / internal/). Clarified in the Project Structure tree comments in the latest push.

@wu21-web wu21-web 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.

Those claims are incorrect. The scripts/ is just a folder of javascripts to do operations, like check some code or posting comments to the web. Please check before submission.

Comment thread CONTRIBUTING.md Outdated
@wu21-web

Copy link
Copy Markdown
Contributor

@Frank-zhu0404 These comments above must be addressed before merging.

@Frank-zhu0404

Copy link
Copy Markdown
Contributor Author

@wu21-web Both review comments are addressed in 0fc349e:

  1. pages/ comment corrected to Deployed documentation (not the viewer WebUI).
  2. The inaccurate scripts/ line was removed from the Project Structure tree, matching your suggestion.

Please re-check when you have a moment — happy to adjust further if anything is still off.

Comment thread CONTRIBUTING.md
@wu21-web

Copy link
Copy Markdown
Contributor

@Frank-zhu0404 rebase main

pages/ is the deployed documentation site, not a WebUI frontend.
scripts/ was mislabeled and is removed from the Project Structure tree
per maintainer review.
- pages/: Deployed documentation (not viewer WebUI)
- scripts/: Web operations & chore
Rebased onto upstream/main.
@Frank-zhu0404
Frank-zhu0404 force-pushed the docs/issue-1441-project-structure branch from 0fc349e to e200dfd Compare September 21, 2026 13:58
@Frank-zhu0404

Copy link
Copy Markdown
Contributor Author

@wu21-web Rebased onto main; pages/scripts fixed in e200dfd → Deployed documentation / Web operations & chore.

Comment on lines 123 to 144
├── internal/
│ ├── agent/ # Review agent logic
│ ├── config/ # Configuration management
│ ├── delegate/ # Delegation-mode spec generation
│ ├── diff/ # Git diff parsing
│ ├── gitcmd/ # Git subprocess runner
│ ├── llm/ # LLM API client (Anthropic & OpenAI)
│ ├── llmloop/ # Shared LLM tool-use loop
│ ├── mcp/ # MCP client and tool registration
│ ├── model/ # Data models
│ ├── pathutil/ # Path canonicalization and containment
│ ├── release/ # Release asset naming checks
│ ├── scan/ # Full-file scan (ocr scan)
│ ├── session/ # Review session management
│ ├── tool/ # Built-in tools (file_read, code_search, etc.)
│ ├── stdout/ # Stdout quiet/redirect helper
│ ├── suggestdiff/ # Line-level suggestion diffs for CLI
│ ├── telemetry/ # OpenTelemetry integration
│ ├── tool/ # Built-in tools (file_read, code_search, etc.)
│ └── viewer/ # WebUI session viewer
├── pages/ # WebUI frontend
├── scripts/ # Build & install scripts
├── pages/ # Deployed documentation
├── scripts/ # Web operations & chore
└── bin/ # NPM wrapper

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.

Why are these lines not translated into Korean at all?

├── pages/ # WebUIフロントエンド
├── scripts/ # ビルド & インストールスクリプト
├── pages/ # デプロイ済みドキュメント
├── scripts/ # Web operations & chore

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.

Clearly you can use a translator to get this line translated too.

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.

docs(contributing): Project Structure omits major packages (mcp, scan, delegate, llmloop, pathutil, …)

4 participants