Working on the Go code
Run the test suite with:TESTING.md. The important rules are:
- use external test packages
- use only the Go standard library
testingpackage - test exported behavior rather than internals
- keep test files aligned with source files
Working on the docs
This site is a Mintlify project rooted indocs/.
To preview it locally:
http://localhost:3000.
Documentation rules for this repo
- Document current behavior only.
- Do not present items from
TODO.mdas shipped features. - Prefer tutorial-style guides over abstract reference prose.
- When behavior is hardcoded, say so explicitly.
- Keep package reference pages close to the exported API and tested behavior.
What to update when code changes
If you change any of the following, the docs should usually change too:- provider config, onboarding, or slash-command behavior in
tui/ - built-in tools in
tools/ - skill discovery or loading behavior in
skills/ - loop semantics or chunk types in
loop/ - OpenAI client request or stream behavior in
openai/