1.9 KiB
1.9 KiB
MiaoJing Codex Developer Index
Last source audit: 2026-05-12, based on git commit 8ee86a9.
This folder contains the permanent Codex routing documents for MiaoJing development. They are intentionally source-control tracked so every future agent can start from the same map.
Documents
| Document | Purpose |
|---|---|
feature-code-index.md |
Feature-to-file map for UI, workflows, stores, services, scripts, and database code. Use this first for implementation work. |
bug-location-guide.md |
Symptom-to-code diagnostic manual. Use this first for bug reports and regressions. |
api-reference.md |
Route Handler reference for /api/**: method, auth, payload, response, storage side effects. |
architecture.md |
System architecture, runtime boundaries, data flow, persistence, deployment, and risk points. |
custom-integrations.md |
Named rules for non-generic integrations such as 元界, mozheAPI, and 智能配置 API. Use this whenever a request includes a custom integration keyword. |
Required Workflow For Codex Agents
- Read
AGENTS.mdandCODEX_MIAOJING_MEMORY.mdat repo root. - Read the document in this folder that matches the task.
- If the request includes a custom integration keyword such as
元界,mozheAPI, or智能配置 API, readcustom-integrations.mdand search long-term memory for that keyword before editing. - Use direct file reads or
rgonly after choosing likely files from the index. - For every adjustment, modification, or bug fix, check whether these docs need to change.
- Update the corresponding doc in the same commit whenever code location, diagnosis path, API behavior, architecture, deployment, or verification knowledge changes.
Quick Commands
pnpm run ts-check
pnpm run build
pnpm run lint
pnpm run check:boundaries
pnpm run pm2:restart
Use pnpm; the project rejects other package managers through preinstall.