Velaris Orchestrates; Your Bot Does the Work
A bot is a container image you supply — Playwright, a vendor's CLI, a script your team already trusts. Velaris registers it, decides when it runs, gives it exactly what it needs, and records what it did.
- Pinned by digest. The version that was reviewed is the version that runs. A tag can be moved; a digest cannot.
- Declared up front — the command, the inputs it expects, the output it promises, the hosts it may reach, how long it may take.
- Two resource profiles. A light one for scripts, and a browser one sized for a real Chromium process tree.
The Job Lifecycle
workflow reaches a bot step > job queued > process SUSPENDS
| (never blocks)
v
runner leases the job (two runners are safe)
|
v
credentials leased, time-limited + one single-use result token
|
v
container starts > reaches only its allowed hosts > posts progress
|
v
result validated against the declared output
|
+-- unattended > Velaris writes it to the case
|
+-- attended > shown as a diff > a person approves
|
v
container stopped, credentials revoked (on every path)
- A bot step never stalls the queue. The process suspends and resumes on completion, exactly as it does for a human task.
- Progress is live. A ninety-second bot reports as it goes rather than showing a frozen spinner.
- The container always stops — on success, on failure, on timeout, on cancellation.
Three Refusals That Carry the Feature
Each of these is a refusal the platform enforces, not a guideline in a runbook.
- Nobody approves their own bot. A definition stays a draft until an administrator who is not its author approves it. One person cannot both write automation and put it into production.
- Unrestricted egress plus credentials is refused. A bot holding a supplier password and permission to reach any host is an exfiltration tool. That combination is rejected at approval — not flagged, not warned about.
- The container never holds write authority. It returns an output that must match the shape it declared, over a token valid for one use on one job. The platform performs the case write. There is no path from inside a bot to anything else in your data.
Credentials are never stored on the definition. Anything held there would be static, identical for every run, and readable by anyone who can read the table. A running job gets a lease instead, and it is revoked when the container stops.
Building One in Studio
A bot is registered and maintained from the Bot Console — the image and its digest, the schemas it promises, the hosts it may reach, the credentials it leases, its timeout and resource profile.
- Editing an approved bot returns it to draft and clears the approver. Not a list of “sensitive” fields — every field, because an image or an egress list changing under an approval granted for something else is exactly what the review exists to catch. Jobs already running are left alone; Disable is the stop button.
- The reviewer cannot approve their own edit. Approval refuses both the author and whoever last changed the definition, so a reviewer who wants a change asks the author for it.
- Credentials are stored here, never read back. A value is encrypted under your tenant's key, leased to one job at a time, and revoked when that job ends — nobody sees it again, including whoever stored it. Saving the same reference again rotates it, which makes any outstanding lease dead rather than merely stale.
One Run, Many Jobs
A bot can fan out over a list — four hundred policy numbers become four hundred ordinary jobs sharing a batch, reported together.
- The fan-out is part of what gets approved, because approving a bot means seeing that one call can start a batch of containers holding live credentials.
- Over the limit is refused, not trimmed. Silently processing the first twenty-five of four hundred and reporting success is the worse outcome.
- Two ceilings, always. One bot has a concurrency limit because it is driving somebody else's system; a tenant has a pool limit because bots land as containers on one machine.
Attended or Unattended
The difference is where the commit point sits, and it is a property of the bot rather than a habit of whoever is on shift.
- Unattended — the result is applied under the workflow's authority, as any other automated step would be.
- Attended — the result is held as a proposal, shown as a diff against the case. A person is the commit point, and they see what would change before it changes.
Running It
- Off unless you turn it on. The runner starts containers on a host, so it is opt-in per deployment. With it off, bots and jobs can still be registered and reviewed — they queue visibly rather than failing somewhere obscure.
- A deployment without container access gets a clear refusal, never a stack trace.
- Triggered from a workflow step, the API, or Studio.
What It Will Not Do
- It will not run an unapproved bot, or one approved by its own author.
- It will not let a bot roam. Reachable hosts are a named list, declared before approval.
- It will not accept a result it did not ask for. One job, one token, one use, one declared shape.
- It will not cross a tenant. A definition, a job and a credential belong to one tenant, and only that tenant can see, approve, run or stop them.
- It will not keep a route open after the job. The host allowlist a bot runs under is issued for that job and withdrawn when the container stops — on success, on failure, on timeout.
Capacity — Sizing a Night's Work
Bots run in parallel, and how many at once is a number you set and size the machine against.
concurrency = (jobs x average runtime) / window round up, add ~30%
memory = concurrency x the profile's limit summed per profile
1,000 jobs x 2 min, over an 8-hour night -> 6 running at once
1,000 jobs x 5 min, over an 8-hour night -> 13 running at once
- The pool size is the ceiling for the machine. A worker exists only while it holds a job, so six workers is six containers. Per-bot and per-tenant limits sit underneath it and still apply.
- Mixed workloads add up rather than multiply. A light script and a full browser have different footprints; the night is the sum of its parts.
- Nothing overruns its slot. Two workers cannot take the same job, and cannot both take the last free slot for a bot that is only allowed one at a time.
- Browsers get their own memory ceiling. A browser's scratch space counts against its memory, so it is sized above it — otherwise a bot could be killed by using exactly what it was given, and it would look like a flaky website.
Auditing a Run
Every run is accountable after the fact, from one view: Audit on any job in the Bot Console.
- What it did — queued, leased, started, its own progress messages, the result or the failure, with timings.
- What it held — which credential references were leased to that run and when each was revoked. A lease still open on a finished job is shown in red.
- Where it went — every host the container tried to reach, allowed or blocked, with bytes in and out, straight from the gateway's own log.
The credential reference is shown; the value never is. Nothing in the platform can read a stored secret back — not the API, not an administrator, not the person who saved it.
On a Timer
A bot that should check a supplier's portal every morning is a schedule, not a setting on the bot — the same timetable that sends nightly email and runs weekly reports, with the same rule that nothing fires until a second person approves it. See Scheduler — Timed Actions.
Promoting a Bot to Another Environment
A bot definition travels inside an HxDeploy promotion package, and arrives inert: a draft with no approval, credited to the import rather than to a person. Whatever another environment approved, nothing runs here until somebody here approves it.
- An import that changes an active bot returns it to draft and revokes the approval — the same rule as editing it in the Bot Console. An unchanged import changes nothing at all.
- The receiving environment's registry allowlist and signature policy decide whether the image is acceptable, and the bot's own rules are re-checked there — an unpinned digest, or credentials beside wildcard egress, is refused at import.
- Credential values never travel. Only the reference names cross, listed for the target admin to fill in.
- A marketplace pack may not carry a bot at all. Promotion is between two environments one operator owns; a pack comes from a stranger.