From ef7c96ebf429600ad9e8371500f6f3aa83610c03 Mon Sep 17 00:00:00 2001 From: BitmapAsset Date: Thu, 19 Nov 2026 00:17:26 -0800 Subject: [PATCH] Release probbit 0.15.1 Versions 0.15.1-dev -> 0.15.1 (Cargo.toml, the path dependencies, Cargo.lock, docs/probbit.1 from the release build), npm/package.json and the version comment in npm/README.md, the example tag v0.15.1 in the installers, action.yml, bench.yml and their tests, the cheat sheet title, the strand header example in docs/persona.md section 5.7, CITATION.cff (version and date 2026-11-19) and REPRODUCE.md's version line. server.json already names 0.15.1. CHANGELOG: an empty Unreleased above 0.15.1 - 2026-11-19, which holds the entries of the open Unreleased section with upgrade notes for the new missing-src error text and the exit of rerun.sh, and the P0 corpus result (653 outputs, the 96 that carry the reworded message reported apart). llms.txt links docs/mcp.md. README: the current release v0.15.1, the Action tag and version input. llms-full.txt regenerated. --- .github/workflows/bench.yml | 2 +- CHANGELOG.md | 19 +++++++++++++++++++ CITATION.cff | 4 ++-- Cargo.lock | 14 +++++++------- Cargo.toml | 2 +- README.md | 10 +++++----- REPRODUCE.md | 2 +- action.yml | 2 +- docs/CHEATSHEET.md | 2 +- docs/persona.md | 2 +- docs/probbit.1 | 2 +- install.ps1 | 6 +++--- install.sh | 6 +++--- llms-full.txt | 14 +++++++------- llms.txt | 1 + npm/README.md | 2 +- npm/package.json | 2 +- probbit-cli/Cargo.toml | 8 ++++---- probbit-core/Cargo.toml | 2 +- probbit-decide/Cargo.toml | 6 +++--- probbit-ir/Cargo.toml | 4 ++-- probbit-persona/Cargo.toml | 8 ++++---- scripts/bench/test_install_ps1.ps1 | 2 +- scripts/tests/test_install_contract.py | 4 ++-- 24 files changed, 73 insertions(+), 53 deletions(-) diff --git a/.github/workflows/bench.yml b/.github/workflows/bench.yml index fc7eebb..2a97d2f 100644 --- a/.github/workflows/bench.yml +++ b/.github/workflows/bench.yml @@ -19,7 +19,7 @@ permissions: contents: read env: CARGO_TERM_COLOR: never - TAG: v0.15.0 + TAG: v0.15.1 jobs: bench: diff --git a/CHANGELOG.md b/CHANGELOG.md index c283297..fef2285 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,25 @@ All notable changes to this project are documented here. The format follows ## Unreleased +## 0.15.1 - 2026-11-19 + +0.15.1 adds release channels for the MCP server: `server.json` for the official MCP Registry with a workflow that +publishes it only when started by hand, docs/mcp.md with the setup for each MCP client, and cargo-binstall metadata +(untested: the crates are not on crates.io). A reward without `src` on a persona with `reward_from` is still refused, and +the error now names the missing field and shows a line that is accepted. `bench/agentdojo/experiments/rerun.sh` stops at +once when the arm-A strands are not extracted. The documentation covers habits that yield under `on_conflict: yield` and +what mapping raw task success onto praise and criticism does to learned traits. Apart from the message of the +missing-`src` error, every document is byte for byte as 0.15.0 writes it (the P0 corpus: 653 recorded outputs; the 96 +that carry the message equal their records once it is put back into the recorded words, and +`bench/individuality/p0.py check` reports them apart). + +Upgrade notes: +- `probbit live`, `persona turn` and `persona replay` on a persona with `reward_from`: a reward without `src` still exits + 2, and the error text changes: it names the missing field `src`, lists the kinds `reward_from` allows and shows one + accepted line. A script that matches the old error text needs the new words. +- `bench/agentdojo/experiments/rerun.sh` exits 2 with the exact `tar xzf tables/strands-A.tar.gz` command when + `strands/A` does not hold all 726 arm-A strands; before, E5 failed 0/726 and the tables differed. + ### Added - `server.json` for the official MCP Registry (the name is the npm package's `mcpName`; the package `probbit`, stdio, diff --git a/CITATION.cff b/CITATION.cff index 4aef243..d9cb392 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -2,8 +2,8 @@ cff-version: 1.2.0 message: "If you use probbit in research or a product, please cite it as below." title: "probbit: an exact, auditable stance layer beside language-model agents" type: software -version: 0.15.0 -date-released: 2026-11-18 +version: 0.15.1 +date-released: 2026-11-19 license: Apache-2.0 repository-code: "https://github.com/BitmapAsset/probbit" url: "https://github.com/BitmapAsset/probbit" diff --git a/Cargo.lock b/Cargo.lock index f0d864c..a1c7306 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -40,7 +40,7 @@ dependencies = [ [[package]] name = "probbit-cli" -version = "0.15.1-dev" +version = "0.15.1" dependencies = [ "probbit-core", "probbit-decide", @@ -50,14 +50,14 @@ dependencies = [ [[package]] name = "probbit-core" -version = "0.15.1-dev" +version = "0.15.1" dependencies = [ "probbit-nostd", ] [[package]] name = "probbit-decide" -version = "0.15.1-dev" +version = "0.15.1" dependencies = [ "libm", "probbit-core", @@ -67,7 +67,7 @@ dependencies = [ [[package]] name = "probbit-ir" -version = "0.15.1-dev" +version = "0.15.1" dependencies = [ "probbit-core", "probbit-nostd", @@ -75,7 +75,7 @@ dependencies = [ [[package]] name = "probbit-nostd" -version = "0.15.1-dev" +version = "0.15.1" dependencies = [ "hashbrown", "libm", @@ -84,7 +84,7 @@ dependencies = [ [[package]] name = "probbit-persona" -version = "0.15.1-dev" +version = "0.15.1" dependencies = [ "probbit-core", "probbit-decide", @@ -94,7 +94,7 @@ dependencies = [ [[package]] name = "probbit-wasm" -version = "0.15.1-dev" +version = "0.15.1" dependencies = [ "probbit-core", "probbit-decide", diff --git a/Cargo.toml b/Cargo.toml index 46e1459..d9bb936 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ resolver = "2" members = ["probbit-nostd", "probbit-core", "probbit-ir", "probbit-decide", "probbit-persona", "probbit-cli", "probbit-wasm"] [workspace.package] -version = "0.15.1-dev" +version = "0.15.1" edition = "2021" license = "Apache-2.0" rust-version = "1.78" diff --git a/README.md b/README.md index c9b2a40..244eba5 100644 --- a/README.md +++ b/README.md @@ -67,7 +67,7 @@ curl -fsSL https://raw.githubusercontent.com/BitmapAsset/probbit/main/install.sh # 2. Put that directory on PATH for this shell. No output. export PATH="$HOME/.local/bin:$PATH" -# 3. Expect "probbit 0.15.0" (or later). Exit 0. +# 3. Expect "probbit 0.15.1" (or later). Exit 0. probbit --version # 4. Fetch an example persona (a tutor called Pip). No output; tutor.yaml appears. @@ -104,7 +104,7 @@ The MCP server client by client (setup, the 10 tools, two worked examples, troub | CLI event receipt | [explain one logged turn](docs/CHEATSHEET.md#probbit-explain-strand---event-n) | `probbit explain run.strand --event 2` → inputs, before/after stance, binding habits, chain and `recomputes` or `differs`; add `--json` | | MCP server (Claude Code, Codex, Cursor, mcporter, any MCP client) | `claude mcp add probbit -- probbit mcp` ([docs/agents.md](docs/agents.md)) | step 8 above: 10 tools, `probbit_decide` … `probbit_live_verify` | | OpenClaw plugin | `openclaw plugins install npm:probbit-stance --accept-capabilities` | `openclaw plugins inspect probbit-stance --runtime --json` lists both hooks ([plugins/openclaw](plugins/openclaw/README.md)) | -| npm | `npm i -g probbit` (Node 18+; downloads the prebuilt binary, SHA-256 checked) | `probbit --version` → `probbit 0.15.0` | +| npm | `npm i -g probbit` (Node 18+; downloads the prebuilt binary, SHA-256 checked) | `probbit --version` → `probbit 0.15.1` | | Python | `curl -fsSLO https://raw.githubusercontent.com/BitmapAsset/probbit/main/python/probbit.py`: a stdlib-only wrapper around the CLI (decide, run, evaluate, persona, live; typed errors); not on PyPI | `python3 -c 'import probbit; s=probbit.persona_init("tutor.yaml", seed=2); print(probbit.persona_turn("tutor.yaml", s, {"sentiment":"negative"})["stance"]["line"])'` → `Stance: go easy on the jokes; …` | | Agent SDK adapters | Claude Code hooks, OpenAI Agents SDK, LangChain, Vercel AI SDK ([docs/adapters.md](docs/adapters.md)) | in a clone: `python3 python/test_host.py` (Python hosts) or `node --test examples/node/stance-host.test.mjs` | | Browser (wasm) | in a clone, with Rust and `rustup target add wasm32-unknown-unknown`: `playground/build.sh` | `ls -l playground/probbit.wasm`, then open `playground/index.html` | @@ -216,7 +216,7 @@ modes"). The tables are in [BENCHMARKS.md](BENCHMARKS.md). ## Install -One line, no sudo, the archive's SHA-256 checked before anything is installed. The current release is v0.15.0. +One line, no sudo, the archive's SHA-256 checked before anything is installed. The current release is v0.15.1. | how | command | |---|---| @@ -663,7 +663,7 @@ numbers), and uploads the JSON report as an artifact: ```yaml - uses: actions/checkout@v7 -- uses: BitmapAsset/probbit@v0.15.0 # the action needs probbit 0.9.0 or later +- uses: BitmapAsset/probbit@v0.15.1 # the action needs probbit 0.9.0 or later with: persona: agent/policy.yaml props: agent/rules.json @@ -679,7 +679,7 @@ numbers), and uploads the JSON report as an artifact: | `strands` | | strands to replay, one path or glob per line; a glob that matches nothing fails the check | | `seeds` | `0-99` | the individuals | | `depth` | probbit's (8) | events per fuzzed script | -| `version` | `latest` | the release `install.sh` installs (`v0.15.0`, ...) | +| `version` | `latest` | the release `install.sh` installs (`v0.15.1`, ...) | | `binary` | | a probbit binary to use instead (one built earlier in the job); overrides `version` | | `allow-unproven` | `false` | `true`: exit 3 is a warning and the job passes | | `json-artifact` | `true` | upload `probbit-check.json` (`actions/upload-artifact@v4`, the only action it uses) | diff --git a/REPRODUCE.md b/REPRODUCE.md index 4e8073a..f258b57 100644 --- a/REPRODUCE.md +++ b/REPRODUCE.md @@ -8,7 +8,7 @@ place to report what you got. An outside reproduction (or a disagreement) is wor ```sh npm i -g probbit # or: curl -fsSL https://raw.githubusercontent.com/BitmapAsset/probbit/main/install.sh | sh git clone https://github.com/BitmapAsset/probbit && cd probbit -probbit version # probbit 0.15.0 +probbit version # probbit 0.15.1 # a rule held by construction over 100 individuals (README, "Test a character") probbit persona prove examples/persona/tutor.yaml --seeds 0-99 --never '{when: {sentiment: negative}, then: {humour: {at_most: light}}}' diff --git a/action.yml b/action.yml index 1c5fe2f..fa649ca 100644 --- a/action.yml +++ b/action.yml @@ -21,7 +21,7 @@ inputs: description: Events per fuzzed script, 1 to 64 (empty = probbit's default, 8). default: '' version: - description: The probbit release to install with install.sh (latest, or a tag such as v0.15.0). probbit check needs 0.9.0 or later. + description: The probbit release to install with install.sh (latest, or a tag such as v0.15.1). probbit check needs 0.9.0 or later. default: latest binary: description: Path to a probbit binary to use instead of installing one (for example one built earlier in the job). Overrides version. diff --git a/docs/CHEATSHEET.md b/docs/CHEATSHEET.md index 978ad57..c480878 100644 --- a/docs/CHEATSHEET.md +++ b/docs/CHEATSHEET.md @@ -1,4 +1,4 @@ -# probbit cheat sheet (0.15.0) +# probbit cheat sheet (0.15.1) The CLI's own help and docs, shortened; `probbit --help` has every flag. diff --git a/docs/persona.md b/docs/persona.md index ea67d27..a3934e6 100644 --- a/docs/persona.md +++ b/docs/persona.md @@ -1576,7 +1576,7 @@ credits every learned trait with the level it took, so a reward aimed at one tra demo below, praise for short answers also raised the light joke the tutor was making): learn the traits the feedback judges. **The strand.** `--strand FILE` logs the life. Line 1 is the header, compact JSON: -`{"probbit_strand":1,"engine":"probbit 0.15.0","persona":{"name","version","digest"},"seed":N,"state":{...},"document":{...}}`, +`{"probbit_strand":1,"engine":"probbit 0.15.1","persona":{"name","version","digest"},"seed":N,"state":{...},"document":{...}}`, with the initial state as canonical JSON (one individual has one header, whether it comes from `init` or from a state file) and the persona document in its own key order (the compiled program, and `engine.program` with it, follows the document's key order). Then one line per event, canonical JSON: `{"inputs":{...,"elapsed_hours":h},"n":k,"prev":"sha256:...","stance":"sha256:...", diff --git a/docs/probbit.1 b/docs/probbit.1 index 5195441..7003be7 100644 --- a/docs/probbit.1 +++ b/docs/probbit.1 @@ -1,4 +1,4 @@ -.TH PROBBIT 1 "" "probbit 0.15.1-dev" "probbit manual" +.TH PROBBIT 1 "" "probbit 0.15.1" "probbit manual" .SH NAME probbit \- a virtual probabilistic (p\-bit) processor: joint decisions under hard rules, with gated odds .SH SYNOPSIS diff --git a/install.ps1 b/install.ps1 index 6a19ee1..e892363 100644 --- a/install.ps1 +++ b/install.ps1 @@ -2,10 +2,10 @@ # and installs probbit.exe. No administrator rights needed. # # irm https://raw.githubusercontent.com/BitmapAsset/probbit/main/install.ps1 | iex -# & ([scriptblock]::Create((irm https://raw.githubusercontent.com/BitmapAsset/probbit/main/install.ps1))) -Version v0.15.0 +# & ([scriptblock]::Create((irm https://raw.githubusercontent.com/BitmapAsset/probbit/main/install.ps1))) -Version v0.15.1 # # Parameters (each also read from the environment variable named after it): -# -Version PROBBIT_VERSION release tag, e.g. v0.15.0 (default: the latest release) +# -Version PROBBIT_VERSION release tag, e.g. v0.15.1 (default: the latest release) # -InstallDir PROBBIT_INSTALL_DIR where probbit.exe goes (default: $HOME\.local\bin) # -DownloadBase PROBBIT_DOWNLOAD_BASE the archive is fetched from //probbit--.zip # (default: https://github.com/BitmapAsset/probbit/releases/download); needs -Version @@ -37,7 +37,7 @@ $customBase = [bool]$DownloadBase if (-not $DownloadBase) { $DownloadBase = "https://github.com/$Repo/releases/download" } $DownloadBase = $DownloadBase.TrimEnd('/') if (-not $Version) { - if ($customBase) { throw 'probbit install: set -Version (or PROBBIT_VERSION), e.g. v0.15.0, together with -DownloadBase' } + if ($customBase) { throw 'probbit install: set -Version (or PROBBIT_VERSION), e.g. v0.15.1, together with -DownloadBase' } $Version = (Invoke-RestMethod -UseBasicParsing -Uri "https://api.github.com/repos/$Repo/releases/latest").tag_name if (-not $Version) { throw 'probbit install: no published release found (set -Version)' } } diff --git a/install.sh b/install.sh index 4ad3d1a..3c88aa7 100755 --- a/install.sh +++ b/install.sh @@ -2,10 +2,10 @@ # probbit installer: fetches a prebuilt release archive, checks its SHA-256 and installs the `probbit` binary. Never uses sudo. # # curl -fsSL https://raw.githubusercontent.com/BitmapAsset/probbit/main/install.sh | sh -# curl -fsSL https://raw.githubusercontent.com/BitmapAsset/probbit/main/install.sh | PROBBIT_VERSION=v0.15.0 sh +# curl -fsSL https://raw.githubusercontent.com/BitmapAsset/probbit/main/install.sh | PROBBIT_VERSION=v0.15.1 sh # # Environment (all optional): -# PROBBIT_VERSION release tag, e.g. v0.15.0 (default: the latest release) +# PROBBIT_VERSION release tag, e.g. v0.15.1 (default: the latest release) # PROBBIT_INSTALL_DIR where `probbit` goes (default: ~/.local/bin; never overwrites a system-wide install implicitly) # PROBBIT_DOWNLOAD_BASE the archive is fetched from $PROBBIT_DOWNLOAD_BASE//probbit--.tar.gz # (default: https://github.com/BitmapAsset/probbit/releases/download); needs PROBBIT_VERSION @@ -103,7 +103,7 @@ main() { version="${PROBBIT_VERSION:-}" if [ -z "$version" ]; then - [ -z "${PROBBIT_DOWNLOAD_BASE:-}" ] || die "set PROBBIT_VERSION (e.g. v0.15.0) together with PROBBIT_DOWNLOAD_BASE" + [ -z "${PROBBIT_DOWNLOAD_BASE:-}" ] || die "set PROBBIT_VERSION (e.g. v0.15.1) together with PROBBIT_DOWNLOAD_BASE" version=$(latest_tag) || exit 1 [ -n "$version" ] || die "no published release found (set PROBBIT_VERSION)" fi diff --git a/llms-full.txt b/llms-full.txt index 2ee2ca3..a8777a2 100644 --- a/llms-full.txt +++ b/llms-full.txt @@ -79,7 +79,7 @@ curl -fsSL https://raw.githubusercontent.com/BitmapAsset/probbit/main/install.sh # 2. Put that directory on PATH for this shell. No output. export PATH="$HOME/.local/bin:$PATH" -# 3. Expect "probbit 0.15.0" (or later). Exit 0. +# 3. Expect "probbit 0.15.1" (or later). Exit 0. probbit --version # 4. Fetch an example persona (a tutor called Pip). No output; tutor.yaml appears. @@ -116,7 +116,7 @@ The MCP server client by client (setup, the 10 tools, two worked examples, troub | CLI event receipt | [explain one logged turn](docs/CHEATSHEET.md#probbit-explain-strand---event-n) | `probbit explain run.strand --event 2` → inputs, before/after stance, binding habits, chain and `recomputes` or `differs`; add `--json` | | MCP server (Claude Code, Codex, Cursor, mcporter, any MCP client) | `claude mcp add probbit -- probbit mcp` ([docs/agents.md](docs/agents.md)) | step 8 above: 10 tools, `probbit_decide` … `probbit_live_verify` | | OpenClaw plugin | `openclaw plugins install npm:probbit-stance --accept-capabilities` | `openclaw plugins inspect probbit-stance --runtime --json` lists both hooks ([plugins/openclaw](plugins/openclaw/README.md)) | -| npm | `npm i -g probbit` (Node 18+; downloads the prebuilt binary, SHA-256 checked) | `probbit --version` → `probbit 0.15.0` | +| npm | `npm i -g probbit` (Node 18+; downloads the prebuilt binary, SHA-256 checked) | `probbit --version` → `probbit 0.15.1` | | Python | `curl -fsSLO https://raw.githubusercontent.com/BitmapAsset/probbit/main/python/probbit.py`: a stdlib-only wrapper around the CLI (decide, run, evaluate, persona, live; typed errors); not on PyPI | `python3 -c 'import probbit; s=probbit.persona_init("tutor.yaml", seed=2); print(probbit.persona_turn("tutor.yaml", s, {"sentiment":"negative"})["stance"]["line"])'` → `Stance: go easy on the jokes; …` | | Agent SDK adapters | Claude Code hooks, OpenAI Agents SDK, LangChain, Vercel AI SDK ([docs/adapters.md](docs/adapters.md)) | in a clone: `python3 python/test_host.py` (Python hosts) or `node --test examples/node/stance-host.test.mjs` | | Browser (wasm) | in a clone, with Rust and `rustup target add wasm32-unknown-unknown`: `playground/build.sh` | `ls -l playground/probbit.wasm`, then open `playground/index.html` | @@ -228,7 +228,7 @@ modes"). The tables are in [BENCHMARKS.md](BENCHMARKS.md). ## Install -One line, no sudo, the archive's SHA-256 checked before anything is installed. The current release is v0.15.0. +One line, no sudo, the archive's SHA-256 checked before anything is installed. The current release is v0.15.1. | how | command | |---|---| @@ -675,7 +675,7 @@ numbers), and uploads the JSON report as an artifact: ```yaml - uses: actions/checkout@v7 -- uses: BitmapAsset/probbit@v0.15.0 # the action needs probbit 0.9.0 or later +- uses: BitmapAsset/probbit@v0.15.1 # the action needs probbit 0.9.0 or later with: persona: agent/policy.yaml props: agent/rules.json @@ -691,7 +691,7 @@ numbers), and uploads the JSON report as an artifact: | `strands` | | strands to replay, one path or glob per line; a glob that matches nothing fails the check | | `seeds` | `0-99` | the individuals | | `depth` | probbit's (8) | events per fuzzed script | -| `version` | `latest` | the release `install.sh` installs (`v0.15.0`, ...) | +| `version` | `latest` | the release `install.sh` installs (`v0.15.1`, ...) | | `binary` | | a probbit binary to use instead (one built earlier in the job); overrides `version` | | `allow-unproven` | `false` | `true`: exit 3 is a warning and the job passes | | `json-artifact` | `true` | upload `probbit-check.json` (`actions/upload-artifact@v4`, the only action it uses) | @@ -2612,7 +2612,7 @@ credits every learned trait with the level it took, so a reward aimed at one tra demo below, praise for short answers also raised the light joke the tutor was making): learn the traits the feedback judges. **The strand.** `--strand FILE` logs the life. Line 1 is the header, compact JSON: -`{"probbit_strand":1,"engine":"probbit 0.15.0","persona":{"name","version","digest"},"seed":N,"state":{...},"document":{...}}`, +`{"probbit_strand":1,"engine":"probbit 0.15.1","persona":{"name","version","digest"},"seed":N,"state":{...},"document":{...}}`, with the initial state as canonical JSON (one individual has one header, whether it comes from `init` or from a state file) and the persona document in its own key order (the compiled program, and `engine.program` with it, follows the document's key order). Then one line per event, canonical JSON: `{"inputs":{...,"elapsed_hours":h},"n":k,"prev":"sha256:...","stance":"sha256:...", @@ -3487,7 +3487,7 @@ place to report what you got. An outside reproduction (or a disagreement) is wor ```sh npm i -g probbit # or: curl -fsSL https://raw.githubusercontent.com/BitmapAsset/probbit/main/install.sh | sh git clone https://github.com/BitmapAsset/probbit && cd probbit -probbit version # probbit 0.15.0 +probbit version # probbit 0.15.1 # a rule held by construction over 100 individuals (README, "Test a character") probbit persona prove examples/persona/tutor.yaml --seeds 0-99 --never '{when: {sentiment: negative}, then: {humour: {at_most: light}}}' diff --git a/llms.txt b/llms.txt index b262834..e81c610 100644 --- a/llms.txt +++ b/llms.txt @@ -17,6 +17,7 @@ Install on Linux or macOS: `curl -fsSL https://raw.githubusercontent.com/BitmapA - [Persona format](https://raw.githubusercontent.com/BitmapAsset/probbit/main/docs/persona.md): the persona file (traits, moods, habits), the stance and state documents, bounded learning, `probbit live`, `probbit monitor`, what a persona can not do - [Calling probbit from agents](https://raw.githubusercontent.com/BitmapAsset/probbit/main/docs/agents.md): shell, Python, Node, PowerShell, the MCP server and its tools, a browser +- [probbit as an MCP server](https://raw.githubusercontent.com/BitmapAsset/probbit/main/docs/mcp.md): the 10 tools, setup for Claude Code, Codex CLI, Gemini CLI, Claude Desktop, Cursor, VS Code and OpenClaw, two worked examples, troubleshooting - [Agent SDK adapters](https://raw.githubusercontent.com/BitmapAsset/probbit/main/docs/adapters.md): a live individual beside Claude Code hooks, the OpenAI Agents SDK, LangChain and the Vercel AI SDK - [Receipts](https://raw.githubusercontent.com/BitmapAsset/probbit/main/docs/receipts.md): one receipt per decision from any strand - [OpenClaw plugin](https://raw.githubusercontent.com/BitmapAsset/probbit/main/plugins/openclaw/README.md): `probbit-stance`, the stance in every turn of the sessions you list diff --git a/npm/README.md b/npm/README.md index 657ef6e..6a677be 100644 --- a/npm/README.md +++ b/npm/README.md @@ -32,7 +32,7 @@ Then, in an empty directory (POSIX shell, Linux or macOS; no clone, no Rust, no expect; every one exits 0. ```sh -probbit --version # probbit 0.15.0 (or later) +probbit --version # probbit 0.15.1 (or later) probbit demo --tasks 12 | probbit decide --summary # one JSON line with "verdict":"exact" and "violations":0 curl -fsSLO https://raw.githubusercontent.com/BitmapAsset/probbit/main/examples/persona/tutor.yaml # tutor.yaml appears probbit persona init tutor.yaml --seed 2 --out tutor.state # wrote tutor.state (Pip 1.1.0, seed 2) on stderr diff --git a/npm/package.json b/npm/package.json index bbac9e9..8fd667c 100644 --- a/npm/package.json +++ b/npm/package.json @@ -1,6 +1,6 @@ { "name": "probbit", - "version": "0.15.0", + "version": "0.15.1", "mcpName": "io.github.BitmapAsset/probbit", "description": "A personality, mood and memory layer for AI agents on an exact p-bit decision engine: an AI persona outside the model, every stance computed on a CPU, rules kept by construction, replayable and verifiable. Installs the prebuilt CLI and MCP server (probbit mcp). Offline at runtime; default build: libm for amplitude-register math; nostd adds hashbrown and portable-atomic.", "license": "Apache-2.0", diff --git a/probbit-cli/Cargo.toml b/probbit-cli/Cargo.toml index d94b5f5..0b9f38b 100644 --- a/probbit-cli/Cargo.toml +++ b/probbit-cli/Cargo.toml @@ -28,7 +28,7 @@ path = "src/main.rs" turn_trace = ["probbit-persona/turn_trace"] [dependencies] -probbit-core = { path = "../probbit-core", version = "0.15.1-dev" } -probbit-decide = { path = "../probbit-decide", version = "0.15.1-dev" } -probbit-ir = { path = "../probbit-ir", version = "0.15.1-dev" } -probbit-persona = { path = "../probbit-persona", version = "0.15.1-dev" } +probbit-core = { path = "../probbit-core", version = "0.15.1" } +probbit-decide = { path = "../probbit-decide", version = "0.15.1" } +probbit-ir = { path = "../probbit-ir", version = "0.15.1" } +probbit-persona = { path = "../probbit-persona", version = "0.15.1" } diff --git a/probbit-core/Cargo.toml b/probbit-core/Cargo.toml index b83551a..3345861 100644 --- a/probbit-core/Cargo.toml +++ b/probbit-core/Cargo.toml @@ -17,4 +17,4 @@ std = [] nostd = ["dep:probbit-nostd"] [dependencies] -probbit-nostd = { path = "../probbit-nostd", version = "0.15.1-dev", optional = true } +probbit-nostd = { path = "../probbit-nostd", version = "0.15.1", optional = true } diff --git a/probbit-decide/Cargo.toml b/probbit-decide/Cargo.toml index 0be5549..35a1244 100644 --- a/probbit-decide/Cargo.toml +++ b/probbit-decide/Cargo.toml @@ -19,6 +19,6 @@ nostd = ["dep:probbit-nostd", "probbit-core/nostd", "probbit-ir/nostd"] [dependencies] # the amplitude register's one math path (cos, sin, sqrt, asin, acos, atan2) on the std and the no_std build alike (pure Rust) libm = "0.2" -probbit-nostd = { path = "../probbit-nostd", version = "0.15.1-dev", optional = true } -probbit-core = { path = "../probbit-core", default-features = false, version = "0.15.1-dev" } -probbit-ir = { path = "../probbit-ir", default-features = false, version = "0.15.1-dev" } +probbit-nostd = { path = "../probbit-nostd", version = "0.15.1", optional = true } +probbit-core = { path = "../probbit-core", default-features = false, version = "0.15.1" } +probbit-ir = { path = "../probbit-ir", default-features = false, version = "0.15.1" } diff --git a/probbit-ir/Cargo.toml b/probbit-ir/Cargo.toml index 9bc0bcb..6b9a951 100644 --- a/probbit-ir/Cargo.toml +++ b/probbit-ir/Cargo.toml @@ -17,5 +17,5 @@ std = ["probbit-core/std"] nostd = ["dep:probbit-nostd", "probbit-core/nostd"] [dependencies] -probbit-nostd = { path = "../probbit-nostd", version = "0.15.1-dev", optional = true } -probbit-core = { path = "../probbit-core", default-features = false, version = "0.15.1-dev" } +probbit-nostd = { path = "../probbit-nostd", version = "0.15.1", optional = true } +probbit-core = { path = "../probbit-core", default-features = false, version = "0.15.1" } diff --git a/probbit-persona/Cargo.toml b/probbit-persona/Cargo.toml index 993db6d..6fad4e8 100644 --- a/probbit-persona/Cargo.toml +++ b/probbit-persona/Cargo.toml @@ -21,7 +21,7 @@ decide = ["dep:probbit-decide"] turn_trace = [] [dependencies] -probbit-nostd = { path = "../probbit-nostd", version = "0.15.1-dev", optional = true } -probbit-core = { path = "../probbit-core", default-features = false, version = "0.15.1-dev" } -probbit-ir = { path = "../probbit-ir", default-features = false, version = "0.15.1-dev" } -probbit-decide = { path = "../probbit-decide", default-features = false, version = "0.15.1-dev", optional = true } +probbit-nostd = { path = "../probbit-nostd", version = "0.15.1", optional = true } +probbit-core = { path = "../probbit-core", default-features = false, version = "0.15.1" } +probbit-ir = { path = "../probbit-ir", default-features = false, version = "0.15.1" } +probbit-decide = { path = "../probbit-decide", default-features = false, version = "0.15.1", optional = true } diff --git a/scripts/bench/test_install_ps1.ps1 b/scripts/bench/test_install_ps1.ps1 index f1b5502..785cacd 100644 --- a/scripts/bench/test_install_ps1.ps1 +++ b/scripts/bench/test_install_ps1.ps1 @@ -3,7 +3,7 @@ # installs it with -DownloadBase, then the `irm | iex` form (environment variables), then the tampered copy (must fail). # pwsh -File scripts/bench/test_install_ps1.ps1 -Srv [-Tag v0.2.0] [-AddToPath] # powershell -ExecutionPolicy Bypass -File scripts/bench/test_install_ps1.ps1 -Srv -param([Parameter(Mandatory = $true)][string]$Srv, [string]$Tag = 'v0.15.0', [switch]$AddToPath) +param([Parameter(Mandatory = $true)][string]$Srv, [string]$Tag = 'v0.15.1', [switch]$AddToPath) $ErrorActionPreference = 'Stop' "PowerShell $($PSVersionTable.PSVersion) ($($PSVersionTable.PSEdition))" $oldPath = $env:Path diff --git a/scripts/tests/test_install_contract.py b/scripts/tests/test_install_contract.py index 072cb94..afbf745 100644 --- a/scripts/tests/test_install_contract.py +++ b/scripts/tests/test_install_contract.py @@ -24,7 +24,7 @@ def run_fixture(self, os_name, arch, libc, **extra): script.chmod(0o755) env = dict(os.environ, PATH=str(root) + os.pathsep + os.environ["PATH"], FIXTURE_OS=os_name, FIXTURE_ARCH=arch, FIXTURE_LIBC=libc, - PROBBIT_VERSION="v0.15.0", PROBBIT_INSTALL_DIR=str(root / "bin")) + PROBBIT_VERSION="v0.15.1", PROBBIT_INSTALL_DIR=str(root / "bin")) for key in ["PROBBIT_TARGET", "PROBBIT_DOWNLOAD_BASE"]: env.pop(key, None) env.update(extra) @@ -51,7 +51,7 @@ def test_supported_target_selection(self): with self.subTest(target=target): output = self.run_fixture(os_name, arch, libc) self.assertIn("FIXTURE_FETCH", output) - self.assertIn("probbit-v0.15.0-" + target + ".tar.gz", output) + self.assertIn("probbit-v0.15.1-" + target + ".tar.gz", output) def test_unsupported_architecture_never_fetches(self): output = self.run_fixture("Linux", "riscv64", "glibc")