This repository was archived by the owner on Nov 26, 2026. It is now read-only.
Repository navigation
docs: add AGENTS.md repository guidelines - #29
Open
PttCodingMan wants to merge 1 commit into
Open
PttCodingMan wants to merge 1 commit into
PttCodingMan wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
這個 PR 的目的 / Purpose of this PR
新增
AGENTS.md,整理本 repo 的架構、目錄、開發與測試指令、程式慣例,以及目前環境上的限制(依賴版本老舊、nose無法在 Python 3.10+ 執行、此 repo 已轉移到 go-openbbsmiddleware 開發),讓 AI agent 與新的貢獻者可以快速上手。內容皆由 repo 內的程式碼與設定檔查證,格式參照pttbbs-backend的AGENTS.md。Adds
AGENTS.mddescribing the architecture, directory layout, development and test commands, code conventions, and the current environment caveats (old pinned dependencies,nosenot 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 followspttbbs-backend'sAGENTS.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.pycallingtests.setup(), mongomock) was actually run in a Python 3.10 venv; all tests pass.相關的 issue / Related Issues
無 / None