Your first contribution¶
This page takes you from a fresh clone to an open pull request. You do not need to read the governance documents first; the contribution guide covers the rest when you need it.
What do you want to do?¶
| I want to… | Do this |
|---|---|
| Fix a typo or improve a document | Edit the file on GitHub (the Edit this page link on every page of this site does it) and open a pull request. No setup is needed. |
| Report a bug | Open a bug issue with the steps that reproduce it. |
| Review the Blueprint mapping, or the advice an agent gave | Use the Conformance review, Blueprint reading or Feedback on advice issue form. You need no code (Contributing without writing code). |
| Fix a bug or add a small feature | Follow the steps below. |
| Add an agent | Read Writing an agent, then follow the steps below. |
| Change how the system is meant to work (an interface, data model or behaviour the Blueprint defines) | Open an RFC issue first (RFC process). |
Not sure which applies? Open an issue and ask; a maintainer will point you to the right one.
Steps¶
You need uv, Node 22 or later and a
Bash shell (on Windows, use WSL). No account or API key is needed.
- Fork and clone the repository, and
create a branch for your change. Branch names are lower-case words joined by hyphens, such as
fix-history-tab. -
Set up. From the root of the clone:
uv run scripts/dd.py setup # asks a few questions, then installs everything uv run scripts/dd.py doctor # says what is wrong with your setup, if anythingsetup --yesaccepts every default without asking. See the README for whatsetupwrites and how to run the app withuv run scripts/dd.py start. 3. Make your change. Follow the conventions of the surrounding code. A change to the design changes its specification in the same pull request. 4. Run the tests.uv run pytest # offline; needs no credentials uv run ruff check . && uv run ruff format --check . uv run mypyThe contribution guide lists how to run each of the other checks that CI runs, such as the app shell's. 5. Commit your change:
git commit -m "fix(app): show the history tab without a run" -
Open a pull request against
main. Its title is a Conventional Commit (type(scope): summary, in lower case), which the project uses to make releases. Describe what you changed, why, and how you tested it, and link the issue if there is one. Say if an AI tool wrote a substantial part.Opening the pull request is your sign-off: it certifies that you may submit the work (the Developer Certificate of Origin), so you need add nothing. To record it in the merged commit as well, sign off at the end of the description, which becomes the merged commit's message, its last lines being its trailers:
Co-authored-by: Name of the AI tool <its-address@example.com> Signed-off-by: Jane Doe <jane@example.com>Only a person signs off. If an AI agent helped, name it in a
Co-authored-byline above yours; CI rejects a sign-off by an agent, and a pull request that no person opened or signed off. 7. Add yourself to the citation file in your first pull request, so that you are credited as an author (Credit).
A maintainer reviews your pull request, and CI reports its checks on the page. If a check fails, the log says which; fix it and push another commit. If you wait more than a few days for a reply, comment on the pull request to ask.