Thank you for helping improve Knowhere API Dashboard.
- Public repository work should target the public repository
mainbranch. - Publication cleanup from the private repository must stay on a dedicated cleanup branch and be copied into the public repository as files, not by preserving private Git history.
- Do not include private infrastructure identifiers, private deployment commands, local artifacts, or secrets in a public pull request.
- Install dependencies with
pnpm install. - Copy
.env.exampleto.env.localand fill in local values. - Run
pnpm devfor development. - Before opening a pull request, run
pnpm lint,pnpm type-check,pnpm test, andpnpm build.
- Use TypeScript with explicit types for exported functions and non-obvious values.
- Keep files and directories in kebab-case.
- Prefer small, intention-revealing functions and immutable data.
- Validate data at boundaries and keep API/data-access logic separated from UI code.
- Use existing local patterns before adding new abstractions.
- Describe user-visible behavior changes and deployment or environment changes.
- Include the validation commands you ran.
- Call out any open DevOps decisions, especially image publishing, runtime environment injection, and private production deployment ownership.