db2bf1bffd
Introduce BufferPool to reuse BytesMut allocations for requests and responses. Update AGENTS.md to require build and test success.
22 lines
765 B
Markdown
22 lines
765 B
Markdown
## Ask for clarification
|
|
|
|
Unless the request is extremely clear, assemble a list of questions up front. After you begin work,
|
|
you should be able to work without user assistance.
|
|
|
|
## Coding
|
|
|
|
If you are writing code, write tests first. The tests must pass for your work to be complete.
|
|
|
|
Before considering a task complete, make sure that all target build, and all tests suceed.
|
|
|
|
## Special instructions
|
|
|
|
### Fork
|
|
|
|
If the users asks you to fork off and work on something, this means that you should:
|
|
|
|
1. Create a temporary directory using `mktemp -d`
|
|
2. Create a new branch to work on `git branch xyz`
|
|
3. Use git worktree to extract that branch to the temporary directory (i.e., `git worktree add $TMP_DIR -- $BRANCH)
|
|
4. Work from that directory (i.e., `cd $TMP_DIR`)
|