HxBranch is Velaris's Git-like version control for platform artifacts — case types, forms, escalation trees, and connectors. Changes are isolated in branches, reviewed by a designated reviewer, approved, and merged to main. A second tab pulls artifacts from remote environments (staging, production) for comparison or promotion.
Every branch moves through a defined lifecycle. Branches are created inside the relevant editor (Case Designer, Form Builder, Escalation Editor) — not directly from HxBranch.
| Status | Description | Who can act |
|---|---|---|
| open | Branch created, work in progress. The artifact is editable and diffs accumulate against the base (main). | Branch creator, Admin |
| pending_review | Submitted for review. The branch is locked from further editing. The assigned reviewer is notified. | Reviewer (to approve/reject) |
| approved | Reviewer accepted the changes. Ready to be merged to main. | Admin, branch creator |
| rejected | Reviewer requested changes. Branch can be recalled back to open for further editing. | Branch creator |
| merged | Changes applied to main configuration. Branch is read-only and retained for audit. | System (on merge action) |
| closed | Branch abandoned without merging. Retained for history. | Admin, branch creator |
| Type | What it tracks |
|---|---|
case_type | Changes to a case type definition — stages, steps, SLA, transitions |
form | Changes to a form definition — fields, sections, visibility rules |
escalation_tree | Changes to an escalation tree — thresholds, actions, notification targets |
connector | Changes to a connector configuration in HxBridge |
general | Free-form change bundle — multiple artifact types in one branch |
| Tab | Purpose |
|---|---|
| Branches | List, filter, and manage all branches. View diffs (changed fields, added keys, removed keys with before/after values). Submit for review, approve, reject, or merge. |
| Pull from Env | Connect to a registered environment (staging, UAT, prod), browse its artifacts, and pull selected items as a new branch for comparison or promotion. |
| Connections | Register environments with their URL and API token. Test connectivity. Tokens are stored encrypted on the backend. |
A designer makes changes in Case Designer (or Form Builder / Escalation Editor) and clicks Create Branch. They assign a reviewer and enter a branch description.
When ready, the designer clicks Submit for Review. The branch moves to pending_review and the reviewer is notified.
The reviewer opens HxBranch > Branches, selects the pending_review branch, and views:
Diff tab — every changed field with old > new value highlighted
Audit tab — full event history (created, submitted, recalled, etc.)
Reviewer clicks Approve (or Reject with comment to send it back).
Once approved, any admin or the creator clicks Merge to main. The artifact changes are applied to the live configuration.
First, register the environment under Connections: add a name, URL, and API token, then click Test.
Go to Pull from Env tab. Select the registered environment.
Browse the remote's artifacts: case types, forms, escalation trees.
Select the items to pull and click Pull as Branch. A new branch is created with the remote artifact as its content.
Review the diff vs. main > submit for review > approve > merge if desired.
The diff for each branch shows exactly what changed in the artifact JSON:
conflict_detected: true on the branch. Resolve by recalling the branch, rebasing the content, and resubmitting.Every branch has a complete audit event log, visible in the Audit tab:
| Event | When it fires |
|---|---|
branch_created | Branch is first created |
submitted_for_review | Status changes to pending_review |
recalled | Branch pulled back from pending_review to open |
reviewed | Reviewer approves or rejects |
content_saved | Branch content is updated while open |
merged | Branch merged to main |
reverted_to_base | Branch content reset to match the base |
branch_deleted | Branch permanently removed |
| Method | Path | Description |
|---|---|---|
GET | /api/v1/branches | List branches (filter by status, type, artifact_id) |
POST | /api/v1/branches | Create a branch |
GET | /api/v1/branches/{id} | Branch detail + diff |
POST | /api/v1/branches/{id}/submit | Submit for review (open > pending_review) |
POST | /api/v1/branches/{id}/recall | Recall from review (pending_review > open) |
POST | /api/v1/branches/{id}/review | Approve or reject with comment |
POST | /api/v1/branches/{id}/merge | Merge approved branch to main |
GET | /api/v1/branches/{id}/audit | Audit event log for a branch |
GET | /api/v1/deploy/environments | List registered environments (for Pull from Env) |