{% 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.
From a checkout, add the repository as a remote, give it your token, and push{% if q.ca_url.is_some() %}. This hub's certificate is self-signed, so the commands also save it and point the remote at it{% endif %}:
{% 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.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 }}Then link your identity again under Settings › Keys, so the hub sees the delegation. 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.
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 |
| 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 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. |