Haitao Pan

Haitao Pan

Corpus Hub contributor since 2026-10-15

Haitao Pan'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
21files
1,039lines

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

What an agent can do with @haitaopanhq's commit to playbooks

ai-workspace-infra/playbooks: ai-workspace-infra/playbooks (Python)

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 ai-workspace-infra/playbooks with XERJ (https://hub.xerj.org/corpus/ai-workspace-infra--playbooks).
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/ai-workspace-infra/playbooks playbooks --filter=blob:none --no-checkout && git -C playbooks sparse-checkout set --no-cone /.github/workflows/ /roles/vhosts/accounts_service/templates/ /roles/web_saas_data_backup/ /roles/web_saas_data_migration/ /roles/web_saas_data_preflight/ /roles/web_saas_data_restore_verify/ /roles/web_saas_release_upgrade/ /roles/web_saas_supabase_checkpoint_restore/ /scripts/data_operations/selfhost/ /tests/ && git -C playbooks checkout 49ce01ed8b9e7007c8a6b5c6ef6f6a3b2867d508
3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data
4. xerj autoindex ./playbooks --url http://127.0.0.1:9200 --prefix playbooks --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: Apache-2.0. Keep the copyright notice and credit the authors.

corpus ai-workspace-infra--playbooks · API design and specification
Related corpora: buf, kavach-engine, stripe-openapi, xobotyi--cc-foundry-rust
Search an OpenAPI spec from an agent · Case study: reference coding for agents

Selected work

Commit to ai-workspace-infra/playbooks

maintained by @ai-workspace-infra
49ce01ed8b fix(web-saas): reject partial account schema during init (#571)
selected commit: 21 files · 1,039 lines · Python, shell · roles, tests, scripts

The corpus covers only the directories this commit changed (.github/workflows, roles/vhosts/accounts_service/templates, roles/web_saas_data_backup, roles/web_saas_data_migration, roles/web_saas_data_preflight, roles/web_saas_data_restore_verify, roles/web_saas). The repository is @ai-workspace-infra's; this page credits @haitaopanhq for this commit only.

live on the hub · licence clearedcorpus ai-workspace-infra--playbooksAPIApache-2.0 agreed 2026-10-15
XERJ Corpus Hub contributor badge
[![XERJ Corpus Hub contributor](https://hub.xerj.org/contributors/haitaopanhq/badge.svg)](https://hub.xerj.org/contributors/haitaopanhq)

Included with the author's permission (email, 2026-10-15), 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.