Thank you for your interest in contributing to Tracecat!
Join our Discord and the #contributors channel to get started.
We currently accept pull request contributions for:
- Integration updates, fixes, or additions
- API updates, fixes, or additions
- Updates to the Tracecat MCP server
- UI fixes
- Small, concrete UI improvements or suggestions
For larger or more product-opinionated changes, please open a discussion with us in Discord before starting work.
This includes, but is not limited to, changes that touch:
- Core platform
- Secrets management
- Workflow runtime or execution behavior
- Authentication, authorization, or permissions
- Security-sensitive infrastructure
- Major product behavior or architecture
We want to avoid wasted work and make sure larger changes fit the direction of the project before you invest time in implementation.
We do not accept pull requests that modify anything under .github.
Changes to GitHub Actions, workflows, repository automation, or CI/CD configuration can introduce supply chain risk. For that reason, PRs touching .github will be automatically closed.
Please create a GitHub issue before opening a pull request.
You may open a PR alongside an issue for small, clearly scoped fixes, such as integration fixes, API updates, or UI bugs. Use your judgment: if the change is large, touches core product behavior, or is likely to be opinionated, open the issue or Discord discussion first and wait for feedback before implementing.
Please open a GitHub issue with the Feature request template.
You can also join our Discord and discuss the feature request with the community before opening an issue.
If you discover a bug, either:
- Open a GitHub issue with the
Bug reporttemplate - Post a question in our Discord
#questionschannel
We only accept bug reports that meet the following criteria:
- Has a clear, descriptive title
- Includes a clear reproducible example
- Clearly states the Tracecat version
- Clearly states the environment where the bug was encountered, such as local, VM, AWS, Kubernetes, or another setup
- Explains when the bug started occurring
- Notes whether the behavior was working previously
Note
Check out our development setup guide in the docs for more information.
We use docker compose and the docker-compose.dev.yml files for development.
To set up your development environment, run:
just cluster up -d --seedThis starts the development environment and seeds a test user:
test@tracecat.com / password1234You can then access the application at http://localhost:80.
just cluster runs a lite stack by default (docker-compose.dev.yml,
docker-compose.sandbox.yml unless you pass --no-sandbox, and
docker-compose.lite.yml) so several worktree stacks fit on a laptop:
- Temporal runs as the single-binary dev server, with its UI on the usual Temporal UI port.
- The agent services and the MCP server are off. Turn them on with
--with, for examplejust cluster up -d --with agents,mcp. Theagentsprofile starts LiteLLM, the agent worker, and the agent executor. The background worker (Git sync, semantic-search indexing) always runs. - Core services have memory caps; the opt-in services above do not.
Use just cluster up -d --full for the complete stack, the same services the
production compose file runs. Lite mode keeps Temporal history in its own
volume, so workflow runs from a full stack do not appear in lite mode and vice
versa; Postgres, MinIO, and Redis data is shared. When switching an existing
stack between modes, or dropping a --with profile, run just cluster down
first: up does not stop services that the new command leaves off.
Important
--seed creates a test user only. Superadmin is determined by TRACECAT__AUTH_SUPERADMIN_EMAIL in .env set via ./env.sh, and the first signup or login with that email becomes the organization owner.
We follow the Conventional Commits specification for pull request titles. This repository squash-merges, so the pull request title becomes the commit subject and the line users read in the release notes.
<type>(<scope>)!: <description>One line describes the whole pipeline: the type picks a type label, the scope picks an area label, and the first release-notes category that matches one of those labels decides which section the change appears under.
These rules are enforced from 2026-09-01. From that date every pull request is checked automatically, including one opened earlier, whenever you push to it or edit it. A failing check is a title edit away from green — no rebase, no force push. Anything merged before that date was never checked, so do not copy an older commit subject as an example: much of the history uses spellings the checker now rejects.
Check a title before you open the pull request:
just check-pr-title "feat(cases): add case duplication"| Type | Use it for |
|---|---|
build |
Packaging, wheels, images, and release tooling |
chore |
Housekeeping with no user-visible effect |
ci |
GitHub Actions and CI configuration |
deprecation |
Announcing a deprecation |
docs |
Documentation only |
feat |
New user-visible behaviour |
fix |
A bug fix |
infra |
Deployment targets, Terraform, Helm, Compose |
perf |
Measurable performance work |
refactor |
Restructuring that preserves behaviour |
release |
Version bumps, excluded from the release notes |
revert |
Undoing a previous change |
security |
Security fixes and hardening |
test |
Tests only |
Nothing else is accepted. Formatting is not a type: ruff and biome run on commit, so whitespace never ships as its own pull request.
GitHub's revert button generates Revert "fix(agents): ...", which is rejected too: the wrapper carries no type, so nothing can file it into a section. Retitle it revert(<scope>): <description>, keeping the scope of the change you are reverting.
Add a scope whenever the change belongs to one product area. Leave it off only when the change is genuinely repo-wide.
| Scope | Use it for |
|---|---|
actions |
The built-in core.* actions a user calls in a workflow |
agents |
Agent runtime, chat, presets, tools, and artifacts |
api |
Backend API, auth, and organization or workspace administration |
audit |
Security audit logs: who did what in a workspace |
build |
Packaging and the operator CLI |
cases |
Case management |
deps |
Dependency bumps |
docs |
Documentation and playbooks |
engine |
The Temporal workers, executors, and scheduler that run workflows |
enterprise |
Enterprise edition and tiers; pair it with the area it changes |
functions |
The FN.* inline expression functions |
infra |
Databases, deployments, and cloud infrastructure |
integrations |
Third-party vendor connectors and registry templates |
logging |
Application logging and telemetry: how Tracecat runs |
mcp |
Tracecat's own MCP server |
rbac |
Roles and permissions |
skills |
Agent skills |
tables |
Workspace tables |
ui |
The Next.js app and React UI |
Seven distinctions cover most of the doubt:
actionsis the built-incore.*actions a user calls in a workflow.functionsis theFN.*inline expression functions.engineis the Temporal workers and executors that run them. The first two are catalogs of things the platform offers; the third is the machinery.casesandtablesare core platform features with their own scopes and their own sections. Neither folds intoapiorengine.enterprisesays who may use a change, not what the change is, so it never decides the section. Pair it with the area:feat(enterprise+cases)lands in Case management, and a barefeat(enterprise)falls to Features.engineis what runs;infrais what it runs on. If the change could ship by redeploying the same image, it isinfra.workflowsis not a scope, because it reads as GitHub Actions to one person and as the workflow engine to another. A GitHub Actions change is a bareci:with no scope; a workflow-engine change isengine.auditis the security audit log: what a workspace records about who did what, for someone reviewing it later.loggingis application telemetry, what an operator reads to debug Tracecat itself. Audit work renders under Security, telemetry under Observability.- Vendor names are not scopes. Write
feat(integrations): add Jira issue searchand name the vendor in the description, where it is readable and searchable.
At most two scopes, joined with +, as in feat(cases+actions): add a case linking action. A change lands in the highest-ranked section its labels match, so that example appears under Case management, not Core actions: the reader cares that case management gained something, not which package it was built from. Needing three scopes usually means the pull request should be split.
Put ! before the colon to mark a breaking change: feat(api)!: drop the v1 webhook payload.
Removing something takes three steps, usually across three releases:
- Announce it:
deprecation(integrations): tools.x.list_signals in favour of tools.x.search_alerts. The description has to name the replacement, or saywith no replacement. - Warn in the code in the same pull request, with the
deprecated="Use ... instead"argument on the registry action. - Remove it:
feat(integrations)!: remove tools.x.list_signals.
Routine bumps and Low, Moderate, or High severity advisories are build(deps):. Reserve security(deps): for Critical unauthenticated remote-code-execution advisories, so the Security section stays worth dropping everything for.
.github/commit-conventions.toml holds the vocabulary, and .github/release-drafter.yml maps labels to sections. Pull requests that touch .github/ are closed automatically, so open an issue if a scope you need is missing.
Tracecat follows Semantic Versioning. Version numbers are release trains, not a measure of how much changed: every regular release bumps the minor, and the release-notes sections say what is inside.
| Tag | What it is | Cut from |
|---|---|---|
1.X.0-alpha.N |
A build of main before the train is frozen. Features still land between alphas. Nothing is promised. |
main |
1.X.0-alpha.N.M |
A hotfix of alpha N: cherry-picked fixes only, no new migrations, database-schema changes, backfills, or registry actions. |
release/1.X.0-alpha.N |
1.X.0-rc.N |
The train is frozen and only fixes may land. Used when a change needs validation outside Tracecat Cloud before it ships. Most trains skip this stage. | release/1.X |
1.X.0 |
The stable train. | release/1.X |
1.X.Y |
A hotfix on a shipped train: cherry-picked fixes only, no new migrations or registry actions. | release/1.X |
2.0.0-alpha.N, 2.0.0 |
A major. Same shape as a minor. | as above |
Tags are bare versions with no leading v. Ordering follows semver:
1.1.0-alpha.1 < 1.1.0-alpha.1.1 < 1.1.0-alpha.1.2 < 1.1.0-alpha.2 < 1.1.0-rc.1 < 1.1.0 < 1.1.1 < 1.2.0-alpha.1
- Prerelease suffixes only hang off a
.0. Alphas and release candidates exist for the next minor or major. A stable patch goes out directly with no prerelease, because it is a small, already-reviewed fix on a validated train. Alpha hotfixes usealpha.N.Mand remain prereleases. If a stable patch feels risky enough to want an rc, it belongs in the next train instead. - New alpha lines start from
main. Before freeze, cut each1.X.0-alpha.Nonrelease/1.X.0-alpha.Nfrom a mergedmaincommit. Version bumps and tags stay on that branch. Once a train freezes,maincontinues toward the next train; cutting a release does not advancemain. - Alpha hotfixes reuse their alpha branch. Cherry-pick fixes from
mainontorelease/1.X.0-alpha.Nand tag successivealpha.N.Mreleases there. For example,1.1.0-alpha.1.1and1.1.0-alpha.1.2both belong onrelease/1.1.0-alpha.1; never create a branch per hotfix. These hotfixes require a published alpha on that line, not a stable release. Both alpha hotfixes and stable patches exclude new migrations, database-schema changes, backfills, and new registry actions, including dependencies of a proposed fix. - One long-lived branch per frozen train. Create
release/1.Xat freeze. It carries release candidates, the stable tag, and every1.X.Y. It is never deleted, and it is never merged back; fixes land onmainfirst and are cherry-picked onto the branch. A patch reuses the existing train branch, rather than branching from newermaincode. - Alpha releases are deployed to Tracecat’s own environments ahead of stable releases. Self-hosted deployments should use stable version tags.
- Breaking changes decide the next number. A
!in a pull request title marks a change that breaks a self-hoster without a deprecation path, such as dropping a migration chain, changing the Compose topology in a way that needs manual steps, or removing an API without the three-step deprecation above. Any such change in a train makes it the next major. Deprecations announced under that process ride minors.
Stable releases, prereleases, and hotfixes all use the same direct branch flow. The gh-release skill covers the checks and commands. Release branches are not merged into main, and no release pull request is needed.
- Choose a validated base commit. For a new alpha line, create its branch from merged
main. For an alpha hotfix, reuse that alpha line's branch with reviewed fixes cherry-picked frommain. At freeze, create the train branch; for subsequent RCs and stable patches, reuse its current tip with the reviewed fixes already cherry-picked. The branch must contain the current image-publishing workflow, including the stable-onlylatestguard. - On that branch, run
just update-version <version>, review the diff, and commit it asrelease: <version>. The command writes the public tag to__version__and the PEP 440 equivalent (1.1.0-alpha.1becomes1.1.0a1) to__pep440_version__for Python package builds. - Push the branch, then create and push an annotated version tag on that version-bump commit. Never move an existing release tag. Leave the branch in place.
- Wait for
.github/workflows/build-push-images.ymlto succeed for that tag and commit. It publishesghcr.io/tracecathq/tracecat:<tag>,ghcr.io/tracecathq/tracecat-ui:<tag>andghcr.io/tracecathq/tracecat-tunnel-gateway:<tag>. Bare stable versions (MAJOR.MINOR.PATCH) also update theMAJOR.MINORtag andlateston each image, unless the version that tag already points to is newer (an equal version is re-published), so a hotfix on an older train leaveslatestunchanged and rebuilding an older patch leaves both unchanged. A version label other thanMAJOR.MINOR.PATCHon either tag fails the promotion. Alphas, RCs, and nightly builds leave both unchanged. - Publish the GitHub release for the existing tag after verifying all three images (
tracecat,tracecat-uiandtracecat-tunnel-gateway). Usegh release create <tag> <files…> --verify-tag, adding--prerelease --latest=falsefor an alpha or RC. For a stable release, add--latestonly when it is higher than every published stable release, and--latest=falseotherwise, because the Docker Compose docs download fromreleases/latest. Published releases are immutable, so attach the install files in that same call, taken from the tag:docker-compose.ymlwith its image-tag default pinned to<tag>,docker-compose.sandbox.yml,env.sh,env-migration.sh,Caddyfile, and.env.examplerenamed toenv.example(GitHub renames leading-dot assets). The gh-release skill has the staging commands that pin and check these files.
If image publication fails, follow the failed-run checks in the gh-release skill. Rerun the failed tag-triggered run only after confirming that the entire workflow file matches byte for byte at the release tag and a pinned, reviewed main commit.
Release notes cover the range from the previous published version of the same train, or from the preceding stable version for the first release of a new train. They use the sections and formatting in .github/release-drafter.yml. Generate notes for the exact tag range; the draft maintained on main may contain changes outside the release branch.
This project is licensed under the open source, copyleft GNU Affero General Public License v3.0.
By contributing to this project, you agree that your contributions will be licensed under the same license.
Thank you for taking the time to contribute to Tracecat!