Skip to content
This repository was archived by the owner on Nov 26, 2026. It is now read-only.

docs: add AGENTS.md repository guidelines - #29

Open
PttCodingMan wants to merge 1 commit into
mainfrom
docs/add-agents-md
Open

PttCodingMan wants to merge 1 commit into
mainfrom
docs/add-agents-md

Conversation

@PttCodingMan

Copy link
Copy Markdown
Member

這個 PR 的目的 / Purpose of this PR

新增 AGENTS.md,整理本 repo 的架構、目錄、開發與測試指令、程式慣例,以及目前環境上的限制(依賴版本老舊、nose 無法在 Python 3.10+ 執行、此 repo 已轉移到 go-openbbsmiddleware 開發),讓 AI agent 與新的貢獻者可以快速上手。內容皆由 repo 內的程式碼與設定檔查證,格式參照 pttbbs-backend 的 AGENTS.md。

Adds AGENTS.md describing the architecture, directory layout, development and test commands, code conventions, and the current environment caveats (old pinned dependencies, nose not running on Python 3.10+, development moved to go-openbbsmiddleware), so AI agents and new contributors can get started quickly. Everything is verified against the code and config in this repo; the format follows pttbbs-backend's AGENTS.md.

驗證 / Verification

  • 純文件變更,不影響程式碼。

  • 文件中的指令與路徑皆對照 repo 內容檢查(scripts/*.sh、tox.ini、.github/workflows/main.yml、setup.py、tests/__init__.py、production*.ini)。

  • 文件中的測試做法(pytest + 暫時的 conftest.py 呼叫 tests.setup()、mongomock)已在 Python 3.10 venv 實際跑過,全部測試通過。

  • Documentation only; no code changes.

  • Commands and paths were cross-checked against the repo (scripts/*.sh, tox.ini, .github/workflows/main.yml, setup.py, tests/__init__.py, production*.ini).

  • The test approach described (pytest with a temporary conftest.py calling tests.setup(), mongomock) was actually run in a Python 3.10 venv; all tests pass.

相關的 issue / Related Issues

無 / None

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant