Conversation
Add AI-assistant guidance files (AGENTS.md) at repository root and under vermeer, and expand documentation across the project: significantly update top-level README.md, computer/README.md, and vermeer/README.md with architecture, quick-starts, build/test instructions, and examples. Also update CI badge link in README and add AI-assistant-specific ignore patterns to .gitignore and vermeer/.gitignore to avoid tracking assistant artifacts.
There was a problem hiding this comment.
Pull request overview
This pull request adds comprehensive AI-assistant guidance files and significantly expands documentation across the Apache HugeGraph-Computer project.
Changes:
- Added AGENTS.md files at repository root and vermeer/ subdirectory to guide AI coding assistants
- Significantly expanded README documentation for vermeer (Go in-memory engine) and computer (Java BSP framework)
- Updated top-level README with architecture diagrams, quick comparison table, and getting started guides
- Added AI-assistant-specific file patterns to .gitignore files to avoid tracking assistant artifacts
- Updated CI badge link from ci.yml to computer-ci.yml
Reviewed changes
Copilot reviewed 6 out of 7 changed files in this pull request and generated 10 comments.
Show a summary per file
| File | Description |
|---|---|
| AGENTS.md | New AI assistant guidance file for the entire repository with build/test commands and architecture overview |
| .gitignore | Added patterns to ignore AI assistant files (CLAUDE.md, CURSOR.md, etc.) |
| README.md | Major rewrite with architecture diagrams, quick comparison table, detailed getting started guides for both Vermeer and Computer |
| vermeer/AGENTS.md | AI assistant guidance specific to Vermeer with Go-specific build commands and architecture details |
| vermeer/.gitignore | Added AI assistant file ignore patterns |
| vermeer/README.md | Complete documentation rewrite with mermaid architecture diagram, 20+ algorithms table, API examples, configuration guide, and troubleshooting |
| computer/README.md | Comprehensive documentation expansion including module structure, algorithm development guide, BSP coordination details, and K8s deployment instructions |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
vermeer/README.md
Outdated
| listen_addr = :6789 | ||
|
|
||
| # Master gRPC address to connect | ||
| master_peer = 127.0.0.1:6689 | ||
|
|
||
| # Worker ID (unique) | ||
| worker_id = worker01 | ||
|
|
||
| # Number of compute threads | ||
| compute_threads = 4 | ||
|
|
||
| # Memory limit (GB) | ||
| memory_limit = 8 | ||
|
|
||
| [storage] | ||
| # Local disk path for spilling | ||
| data_path = ./data |
There was a problem hiding this comment.
The worker configuration example uses incorrect parameter names. The actual configuration file uses http_peer, grpc_peer, and doesn't have sections like [worker] or [storage]. Please update the configuration example to match the actual parameter names and structure used in vermeer/config/worker.ini. The actual config has a [default] section with http_peer, grpc_peer, master_peer, and run_mode parameters.
| listen_addr = :6789 | |
| # Master gRPC address to connect | |
| master_peer = 127.0.0.1:6689 | |
| # Worker ID (unique) | |
| worker_id = worker01 | |
| # Number of compute threads | |
| compute_threads = 4 | |
| # Memory limit (GB) | |
| memory_limit = 8 | |
| [storage] | |
| # Local disk path for spilling | |
| data_path = ./data | |
| [default] | |
| # Worker HTTP listen address | |
| http_peer = 127.0.0.1:6789 | |
| # Worker gRPC listen address | |
| grpc_peer = 127.0.0.1:6790 | |
| # Master gRPC address to connect | |
| master_peer = 127.0.0.1:6689 | |
| # Run mode: worker or standalone | |
| run_mode = worker |
| **Master (`config/master.ini`):** | ||
| - `http_peer`: Master HTTP listen address (default: 0.0.0.0:6688) | ||
| - `grpc_peer`: Master gRPC listen address (default: 0.0.0.0:6689) | ||
| - `run_mode`: Must be "master" | ||
| - `task_parallel_num`: Number of parallel tasks | ||
|
|
||
| **Worker (`config/worker.ini`):** | ||
| - `http_peer`: Worker HTTP listen address (default: 0.0.0.0:6788) | ||
| - `grpc_peer`: Worker gRPC listen address (default: 0.0.0.0:6789) | ||
| - `master_peer`: Master gRPC address to connect (must match master's `grpc_peer`) | ||
| - `run_mode`: Must be "worker" |
There was a problem hiding this comment.
The configuration documentation lists incorrect parameter names. The actual configuration files use http_peer and grpc_peer, not listen_addr. Please update lines 176-185 to match the actual configuration parameters in vermeer/config/master.ini and vermeer/config/worker.ini. The actual configs also don't have parameters like task_parallel_num, compute_threads, or memory_limit that are shown here.
Introduce .devin/wiki.json with repository notes directing contributors to focus exclusively on the vermeer directory: document its architecture, implementation, and APIs; exclude content from the computer module/directory; and prioritize vermeer-specific functionality and code examples.
Clarify algorithm parameters and configuration guidance across computer/README.md and vermeer/README.md. In computer/README.md PageRank options were renamed and documented (page_rank.alpha, bsp.max_superstep, pagerank.l1DiffThreshold) and a pointer to the full PageRank implementation was added to avoid confusion from the simplified example. In vermeer/README.md example Docker volume mounts now recommend a dedicated config directory (~/vermeer-config) and include a security note about avoiding mounting the whole home directory. The master.ini/worker.ini sample blocks were reworked to use revised keys (http_peer, grpc_peer, master_peer, run_mode, task_parallel_num, etc.) and a note clarifies that HugeGraph connection details are supplied via the graph load API. Additional notes direct readers to the real WorkerComputer/MasterComputer interfaces and existing algorithm examples; minor performance-tuning guidance was also adjusted to reflect the new task_parallel_num setting.
|
Related Documentation No published documentation to review for changes on this repository. |
Add AI-assistant guidance files (AGENTS.md) at repository root and under vermeer, and expand documentation across the project: