Elffuss BraidHub

utopia-ia/elffuss-braid public

Version 0.1.3: verification on a hub, from the client side

braid hub verify reads and sets a repository's verification policy,
posts the outcome of a CI run for a pushed head with a token that may
only report, and shows the hub's green and red changesets. Landings say
when the hub has the branch red. docs/hub.md section 25 is the protocol.
Changeset3b46e5fb4b72cb47c260e41e35dfde3898c29254a5def5b8f84e95446501c4b8
AuthorKikoCis <KikoCis@users.noreply.github.com> · 2026-10-22 20:31 +02:00
CommitterKikoCis <KikoCis@users.noreply.github.com> · 2026-10-22 20:31 +02:00
Parents4da9bb424185

Browse the files at this changeset

7 files changed

modified AGENTS.md +2 −2
@@ -33,7 +33,7 @@
3333 or to run the command themselves.
3434
3535 ```bash
36-cargo install --locked --git https://github.com/KikoCis/elffuss-braid --tag v0.1.2 elffuss-braid-cli
36+cargo install --locked --git https://github.com/KikoCis/elffuss-braid --tag v0.1.3 elffuss-braid-cli
3737 ```
3838
3939 It compiles braid and its dependencies from source, which takes a while:
@@ -50,7 +50,7 @@
5050 In the project root, on its main branch:
5151
5252 ```bash
53-braid --version # "braid 0.1.2", or newer, once it is installed
53+braid --version # "braid 0.1.3", or newer, once it is installed
5454 braid cat-object "$(git branch --show-current):AGENTS.md" | grep -q '^<!-- braid:start -->' && grep -q '^name = .' .braid/config && grep -q '^email = .' .braid/config && echo "braid is set up here"
5555 ```
5656
modified Cargo.lock +9 −9
@@ -500,7 +500,7 @@
500500
501501 [[package]]
502502 name = "elffuss-braid-cli"
503-version = "0.1.2"
503+version = "0.1.3"
504504 dependencies = [
505505 "anyhow",
506506 "blake3",
@@ -523,7 +523,7 @@
523523
524524 [[package]]
525525 name = "elffuss-braid-engine"
526-version = "0.1.2"
526+version = "0.1.3"
527527 dependencies = [
528528 "blake3",
529529 "elffuss-braid-format",
@@ -535,7 +535,7 @@
535535
536536 [[package]]
537537 name = "elffuss-braid-format"
538-version = "0.1.2"
538+version = "0.1.3"
539539 dependencies = [
540540 "blake3",
541541 "proptest",
@@ -544,7 +544,7 @@
544544
545545 [[package]]
546546 name = "elffuss-braid-git"
547-version = "0.1.2"
547+version = "0.1.3"
548548 dependencies = [
549549 "elffuss-braid-format",
550550 "gix",
@@ -554,7 +554,7 @@
554554
555555 [[package]]
556556 name = "elffuss-braid-hubproto"
557-version = "0.1.2"
557+version = "0.1.3"
558558 dependencies = [
559559 "elffuss-braid-engine",
560560 "elffuss-braid-format",
@@ -566,7 +566,7 @@
566566
567567 [[package]]
568568 name = "elffuss-braid-repo"
569-version = "0.1.2"
569+version = "0.1.3"
570570 dependencies = [
571571 "blake3",
572572 "elffuss-braid-engine",
@@ -580,7 +580,7 @@
580580
581581 [[package]]
582582 name = "elffuss-braid-sim"
583-version = "0.1.2"
583+version = "0.1.3"
584584 dependencies = [
585585 "elffuss-braid-engine",
586586 "elffuss-braid-format",
@@ -591,7 +591,7 @@
591591
592592 [[package]]
593593 name = "elffuss-braid-store"
594-version = "0.1.2"
594+version = "0.1.3"
595595 dependencies = [
596596 "blake3",
597597 "crc32c",
@@ -607,7 +607,7 @@
607607
608608 [[package]]
609609 name = "elffuss-braid-wc"
610-version = "0.1.2"
610+version = "0.1.3"
611611 dependencies = [
612612 "cap-fs-ext",
613613 "cap-std",
modified Cargo.toml +1 −1
@@ -4,7 +4,7 @@
44 exclude = ["fuzz"]
55
66 [workspace.package]
7-version = "0.1.2"
7+version = "0.1.3"
88 edition = "2024"
99 rust-version = "1.89"
1010 license = "Apache-2.0"
modified README.md +11 −4
@@ -19,7 +19,7 @@
1919
2020 [![CI](https://img.shields.io/github/actions/workflow/status/KikoCis/elffuss-braid/ci.yml?branch=main&style=flat-square&label=CI&logo=githubactions&logoColor=white)](https://github.com/KikoCis/elffuss-braid/actions/workflows/ci.yml)
2121 [![License: Apache-2.0](https://img.shields.io/badge/license-Apache--2.0-c8a06a?style=flat-square&logo=apache&logoColor=white)](LICENSE)
22-[![Version 0.1.2](https://img.shields.io/badge/version-0.1.2-54dcc6?style=flat-square)](#status-and-roadmap)
22+[![Version 0.1.3](https://img.shields.io/badge/version-0.1.3-54dcc6?style=flat-square)](#status-and-roadmap)
2323 [![Rust 1.89+](https://img.shields.io/badge/rust-1.89%2B-8272ff?style=flat-square&logo=rust&logoColor=white)](https://www.rust-lang.org)
2424 [![Format v1: frozen](https://img.shields.io/badge/format%20v1-frozen-c8a06a?style=flat-square)](docs/spec/format-v1.md)
2525
@@ -41,10 +41,10 @@
4141
4242 ## Scion's ideas, in braid
4343
44-Each row is an idea from the article, what braid 0.1.2 does with it, and
44+Each row is an idea from the article, what braid 0.1.3 does with it, and
4545 how far along that is.
4646
47-| Scion's idea | In braid 0.1.2 | State |
47+| Scion's idea | In braid 0.1.3 | State |
4848 |---|---|---|
4949 | A changeset lists the files changed against its first parent | The same, plus the root tree id; the bytes are [frozen](docs/spec/format-v1.md) | ✅ done |
5050 | Data is content-addressed and never changes, so any cache can serve it | BLAKE3 ids; BraidHub serves every object by id as immutable | ✅ done |
@@ -91,7 +91,7 @@
9191 not tested yet.
9292
9393 ```bash
94-cargo install --locked --git https://github.com/KikoCis/elffuss-braid --tag v0.1.2 elffuss-braid-cli
94+cargo install --locked --git https://github.com/KikoCis/elffuss-braid --tag v0.1.3 elffuss-braid-cli
9595 ```
9696
9797 To set braid up in a project you already have,
@@ -451,6 +451,13 @@
451451 it: one run tests a branch's head, bisects a failure to the changeset that
452452 caused it and, with `--revert`, lands that changeset's revert.
453453
454+New in 0.1.3: the client side of verification on a hub. `braid hub verify`
455+reads and sets a repository's verification policy, posts the outcome of a
456+CI run for a pushed head with a token that may only report, and shows the
457+hub's green and red changesets; landings say when the branch is red. The
458+hub keeps `braid/green` and `braid/red` from those reports and never runs a
459+repository's code (docs/hub.md, section 25).
460+
454461 New in 0.1.2: a sturdier `braid verify`. On Unix its watchdog starts
455462 before the tests, and when it cannot, or stops, verify ends with an error
456463 rather than go on unwatched. Its limit on reverts an hour counts each of
modified fuzz/Cargo.lock +2 −2
@@ -256,7 +256,7 @@
256256
257257 [[package]]
258258 name = "elffuss-braid-format"
259-version = "0.1.2"
259+version = "0.1.3"
260260 dependencies = [
261261 "blake3",
262262 "unicode-normalization",
@@ -273,7 +273,7 @@
273273
274274 [[package]]
275275 name = "elffuss-braid-git"
276-version = "0.1.2"
276+version = "0.1.3"
277277 dependencies = [
278278 "elffuss-braid-format",
279279 "gix",
modified site/agents.md +2 −2
@@ -33,7 +33,7 @@
3333 or to run the command themselves.
3434
3535 ```bash
36-cargo install --locked --git https://github.com/KikoCis/elffuss-braid --tag v0.1.2 elffuss-braid-cli
36+cargo install --locked --git https://github.com/KikoCis/elffuss-braid --tag v0.1.3 elffuss-braid-cli
3737 ```
3838
3939 It compiles braid and its dependencies from source, which takes a while:
@@ -50,7 +50,7 @@
5050 In the project root, on its main branch:
5151
5252 ```bash
53-braid --version # "braid 0.1.2", or newer, once it is installed
53+braid --version # "braid 0.1.3", or newer, once it is installed
5454 braid cat-object "$(git branch --show-current):AGENTS.md" | grep -q '^<!-- braid:start -->' && grep -q '^name = .' .braid/config && grep -q '^email = .' .braid/config && echo "braid is set up here"
5555 ```
5656
modified site/index.html +3 −3
@@ -62,7 +62,7 @@
6262 "codeRepository": "https://github.com/KikoCis/elffuss-braid",
6363 "programmingLanguage": { "@type": "ComputerLanguage", "name": "Rust" },
6464 "license": "https://www.apache.org/licenses/LICENSE-2.0",
65- "version": "0.1.2",
65+ "version": "0.1.3",
6666 "copyrightHolder": { "@id": "https://braid.elffuss.com/#utopiaia" },
6767 "copyrightYear": 2026,
6868 "targetProduct": { "@id": "https://braid.elffuss.com/#app" }
@@ -77,7 +77,7 @@
7777 "applicationCategory": "DeveloperApplication",
7878 "applicationSubCategory": "Version control system",
7979 "operatingSystem": "Linux and other Unix-like systems",
80- "softwareVersion": "0.1.2",
80+ "softwareVersion": "0.1.3",
8181 "softwareRequirements": "Rust 1.89 or newer, a C compiler (cc), git, and a POSIX shell such as bash",
8282 "installUrl": "https://braid.elffuss.com/agents.md",
8383 "license": "https://www.apache.org/licenses/LICENSE-2.0",
@@ -496,7 +496,7 @@
496496 <p data-l="es" lang="es">Los mismos pasos, en una copia de git que esté en su rama principal, sin nada pendiente de commit y con <code>user.name</code> y <code>user.email</code> configurados en git:</p>
497497 <div class="code" lang="en">
498498 <div class="code-bar"><span>bash</span><button class="copy" type="button" aria-label="Copy the setup commands" data-aria-en="Copy the setup commands" data-aria-es="Copiar los comandos para configurarlo" hidden><span class="c-idle" data-l="en" lang="en">Copy</span><span class="c-idle" data-l="es" lang="es">Copiar</span><span class="c-done" data-l="en" lang="en">Copied</span><span class="c-done" data-l="es" lang="es">Copiado</span></button></div>
499-<pre tabindex="0" role="region" aria-label="Setting braid up by hand" data-aria-en="Setting braid up by hand" data-aria-es="Configurar braid a mano"><code>cargo install --locked --git https://github.com/KikoCis/elffuss-braid --tag v0.1.2 elffuss-braid-cli
499+<pre tabindex="0" role="region" aria-label="Setting braid up by hand" data-aria-en="Setting braid up by hand" data-aria-es="Configurar braid a mano"><code>cargo install --locked --git https://github.com/KikoCis/elffuss-braid --tag v0.1.3 elffuss-braid-cli
500500 braid init # .braid/: the store and the agents' workspaces
501501 mkdir -p "$(git rev-parse --git-path info)"
502502 echo .braid &gt;&gt; "$(git rev-parse --git-path info/exclude)" # git ignores braid, in this checkout only