{% extends "base.html" %} {% block title %}Help{% endblock %} {% block content %}
{{ shell.site }} hosts Oxygen repositories. You work with them through oxy, the Oxygen client; the hub shows them, reviews them and runs their pipelines. Every command below is filled in for this hub.
oxy: build it from the oxygen repository with cargo build --release and put target/release/oxy on your path.repo:write. It is shown once; keep it in oxy's configuration, not in scripts.oxy doctor checks your identity, configuration and remotes, and says what to do about any problem.
Oxygen changes are signed. Your identity is a key pair (Ed25519 with ML-DSA-65) kept under ~/.config/oxy; the public part travels with your changes.
{{ cmd }}Link the key to your account under {% if shell.user.is_some() %}Settings › Keys{% else %}Settings › Keys{% endif %}: the page gives you a challenge to sign with oxy identity sign-challenge, which proves you hold the key. Linked keys show on your profile, and the hub can then tell which signed changes are yours.
This hub uses a self-signed certificate. Save it once, and point each remote at it:
{{ ca }}From a checkout, add the repository as a remote, give it your token, and push:
{% let cmd = q.connect(self.repo_url().as_str()) %}{{ cmd }}An empty repository takes its identity from the first push, so every later clone shares it. oxy push {{ q.remote }} sends the current bookmark; oxy push {{ q.remote }} --bookmark NAME another one. Tags travel with pushes.
A Git history comes across with oxy git import --branch main path/to/git-checkout NAME: every commit becomes a change, and the result can be pushed like any other repository.
{{ cmd }}Public repositories clone without a token. For private ones, and to push back, set oxy config remote.origin.token YOUR-TOKEN{% if q.ca_url.is_some() %} and oxy config remote.origin.ca {{ q.ca_file }}{% endif %} in the clone. oxy pull origin brings in what others pushed; there is no merge commit, because Oxygen changes combine by themselves.
A proposal asks for a bookmark's changes to be added to another bookmark, like a pull request. Push your bookmark, then open one from the repository's Proposals tab, from the compare page's Propose this, or from a fork.
oxy seal), which anyone can check offline.oxy proposal land URL, which signs the landing with your own key.A repository's wiki is Markdown pages kept as an Oxygen repository of their own: edit them under the Wiki tab (every edit is a signed change, so it needs the same delegation as editing code), or clone and push them as oxy clone {{ shell.base_url }}/OWNER/NAME.wiki. Pages are Name.md on main; _Sidebar.md is the sidebar; link between pages with [Other](Other).
Edits in the browser and landings from the proposal page are changes too, and they must be signed. The hub signs them as your delegate, only if you allow it. Allowing it is a one-off step:
{% let cmd = self.delegate_cmd() %}{{ cmd }}That makes a new version of your identity: export it in the same checkout (oxy identity export) and upload that file under Settings › Keys, signing the challenge there too, so the hub sees the delegation. The hub's key file is not the one to upload. You can withdraw it at any time with oxy identity delegate remove; a repository's trust policy still decides whether a delegated change may update a bookmark.
An AI agent (a coding assistant, a bot) can work on your repositories in its own name and in yours: its changes are signed, they say which agent made them, and you decide what it may do and for how long. Nothing it is given is a password or a key of yours.
A keyless agent holds no key at all. You give it a grant: a token your own key signs, valid for a time you choose. Whenever the agent signs, it makes a fresh key, the hub certifies it for ten minutes under your grant, and the key is thrown away; a stolen home holds nothing that signs by itself.
On your side, name the agent and how long it may act for you (the token is printed once):
{% let cmd = "oh agent grant claude --for 30d --scope changes,seal,refs" %}{{ cmd }}Give the agent its own oxy home (never your own), and keep the token there; it is read from standard input, so it stays out of the shell's history:
{% let cmd = self.agent_home_cmd() %}{{ cmd }}The agent then commits and pushes with OXY_HOME set to its home. Its changes are authored as you and sealed via agent:claude@{{ who }}, which history, proposals and your profile show. oh agent list shows your grants; oh agent revoke ID ends one at once, and a grant ends by itself when its time is up.
A repository with a trust policy accepts an agent's work only if the policy names it. Grant the agent's subject, with this hub as the issuer, from a checkout of the repository:
{% let cmd = self.subject_grant_cmd() %}{{ cmd }}A repository without a policy takes any signed change its token may push.
An agent that keeps its own identity acts for you through a delegation: from your checkout, oxy identity delegate add agent.identity --scope changes --expires 7d, then link your identity again under {% if shell.user.is_some() %}Settings › Keys{% else %}Settings › Keys{% endif %}. oxy identity delegate remove KEY withdraws it. Keyless grants are simpler and leave nothing behind.
[skip flow]) start no pipeline run; agents should leave them out unless asked.Pipelines run in OxygenFlow. Put a pipeline in .flow/pipeline.kdl and push: each job runs in its own microVM with no network, and its result shows on the repository's Flow tab and as a check named flow/JOB on proposals. A site administrator enables Flow for a repository.
Instead of a badge, a README can carry a state stamp:
{% let cmd = "[](.flow/run)" %}{{ cmd }}It shows the result for the state you are looking at (a tag shows the tag's result), names that state, and carries each job's receipt hash.
| / | Search |
| g c | The repository's code |
| g h | History of the bookmark you are on |
| g p | Proposals |
| g i | Issues |
| g b | Bookmarks |
| g t | Trust |
| y | Replace the address with a permalink to this exact state (files and trees) |
| click a line number, Shift-click another | Select lines; copy them or a permalink to them |
| ? | The keyboard sheet |
Under Settings › Backups (or an organisation's settings) you choose where your repositories are copied and how often. Each run copies every repository you own, its wiki, issues, proposals, releases and settings, but never a secret value. Only what changed travels, and every kept run can be restored with oxygenhub admin backup restore.
A Google Cloud Storage bucket needs no key: the hub signs in as backup:YOU with a token it issues itself, which Google trusts through workload identity federation. Once per project, create a pool and an OIDC provider whose issuer is this hub's address; once per bucket, grant roles/storage.objectAdmin to the principal …/subject/backup:YOU. The exact commands are in the hub's docs/backups.md §6.
| GitHub | Here | What is different |
|---|---|---|
| commit | change | A change records edits, not a snapshot, and names the changes it depends on. Changes that do not touch the same lines combine in any order with the same result, so there are no merge commits. A change keeps its identity when it is rebased or squashed. |
| commit SHA, tree | state | The files a set of changes makes. A state is addressed by its heads (a1b2…+c3d4…); checks, stamps and permalinks belong to states. |
| branch | bookmark | A name for a state. It can have several heads (changes nothing else depends on); the tree is their union, not a conflict. |
| tag | tag | An immutable named state, usually signed. |
| merge, rebase | oxy merge, oxy pull | Uniting bookmarks adds the other side's changes. Nothing is rewritten and no merge change is made. |
| merge conflict | conflict in the state | A conflict is recorded in the history instead of blocking you. It stays visible (the Conflicts tab) until a change resolves it, and anyone can resolve it later. |
| pull request | proposal | Reviewed and tested on its projected state. It cannot go stale, and approvals can be signed seals. |
| branch protection | trust policy | Signed rules in the repository itself: who may move which bookmark, with how many signatures. Every client enforces them, not only the hub. |
| Actions, CI badge | OxygenFlow, state stamp | Jobs run in microVMs on exact states; results are receipts, and the stamp says which state they belong to. |
| git submodule | subrepo | Another Oxygen repository pinned at a path by its heads, listed in .oxymodules. The pin is a change like any other, so bumping it combines with your other work instead of conflicting with it. |
| Renovate, Dependabot | Diffusion | Built into the hub, not a bot you install. When a subrepo you pin moves on its default bookmark, the hub works out the bump, runs your checks on it and opens a proposal labelled dependencies with the upstream's changelog. Choose per repository under Settings › Diffusion (when the upstream is green, on every move, or off), or per subrepo in .oxymodules; it never lands anything for you. The Diffusion tab shows both directions: what you pin, and who pins you. |
| git blame | blame | Exact through rebases and squashes: each line is an atom with one authoring change, so there is no "ignore revisions" file. |
| fork | fork | A copy under your name with its own identity and bookmarks, sharing the stored objects. Its proposals go upstream as you/name:bookmark; the upstream's trust policy is not copied. |
| personal access token | token | For pushing and the API. Your signing key is what proves authorship; a token only authorises. |