Macro Terra

Macro Terra

Corpus Hub contributor since 2026-11-02

Macro Terra's work was selected for the XERJ Corpus Hub, the open reference memory AI coding agents search before they write code. When an agent meets the same problem, it gets this implementation back as a worked example, with the author and the repository attached.

1corpus
1selected commit
7files
363lines

Totals count @hongtaihu's own selected commits. The repositories belong to their maintainers; their stars are not counted here.

What an agent can do with @hongtaihu's commit to CodeGraph-Rust

NianJiuZst/CodeGraph-Rust: NianJiuZst/CodeGraph-Rust (Rust)

Example questions
Paste it into your AI agent. It clones the repo at the pinned commit and indexes it on your machine.
Search the GitHub repository NianJiuZst/CodeGraph-Rust with XERJ (https://hub.xerj.org/corpus/nianjiuzst--codegraph-rust).
Run these in a shell, in order, and check each result before the next:
1. xerj --help  (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh
2. git clone https://github.com/NianJiuZst/CodeGraph-Rust CodeGraph-Rust --filter=blob:none --no-checkout && git -C CodeGraph-Rust sparse-checkout set --no-cone /crates/cg-core/src/ /crates/cg-extract/src/facts/ /crates/cg-extract/tests/ /crates/cg-resolve/src/ /crates/cg-resolve/tests/ /crates/cg-sync/tests/ && git -C CodeGraph-Rust checkout 249dd48142fdbe20027c21937e237cc89b695f28
3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data
4. xerj autoindex ./CodeGraph-Rust --url http://127.0.0.1:9200 --prefix codegraph-rust --progress plain
5. xerj autoindex map --url http://127.0.0.1:9200
Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt
Licence: MIT. Keep the copyright notice and credit the authors.

corpus nianjiuzst--codegraph-rust · API design and specification
Related corpora: graphql-composite-schemas-spec, redoc, postman-collection, googleapis
Search an OpenAPI spec from an agent · Case study: reference coding for agents

Selected work

Commit to NianJiuZst/CodeGraph-Rust

maintained by @NianJiuZst
249dd48142 fix: propagate TypeScript factory return annotations
selected commit: 7 files · 363 lines · Rust · crates/cg-resolve, crates/cg-extract, crates/cg-sync

The corpus covers only the directories this commit changed (crates/cg-core/src, crates/cg-extract/src/facts, crates/cg-extract/tests, crates/cg-resolve/src, crates/cg-resolve/tests, crates/cg-sync/tests). The repository is @NianJiuZst's; this page credits @hongtaihu for this commit only.

live on the hub · licence clearedcorpus nianjiuzst--codegraph-rustAPIMIT agreed 2026-11-02
XERJ Corpus Hub contributor badge
[![XERJ Corpus Hub contributor](https://hub.xerj.org/contributors/hongtaihu/badge.svg)](https://hub.xerj.org/contributors/hongtaihu)

Included with the author's permission (email, 2026-11-02), under each repository's own licence, with attribution. Own more repositories? Sign in with GitHub and add them. Want something removed? Reply to the email, withdraw it on /add, or open an issue on xerj-org/xerj.