Skip to content

Commit 3beb821

Browse files
authored
Merge pull request #87 from vouchdev/release/0.1.0
Release/0.1.0
2 parents 8d70ffa + cc1e48f commit 3beb821

6 files changed

Lines changed: 68 additions & 7 deletions

File tree

.github/workflows/release.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: release
2+
3+
# Publish to PyPI on a version tag (e.g. v0.1.0).
4+
# Uses PyPI Trusted Publishing (OIDC) — no API token stored.
5+
# One-time setup on PyPI: add a trusted publisher for project `vouch-kb`
6+
# pointing at vouchdev/vouch, workflow `release.yml`, environment `pypi`.
7+
8+
on:
9+
push:
10+
tags:
11+
- "v*"
12+
13+
permissions:
14+
contents: read
15+
16+
jobs:
17+
build:
18+
runs-on: ubuntu-latest
19+
steps:
20+
- uses: actions/checkout@v4
21+
- uses: actions/setup-python@v5
22+
with:
23+
python-version: "3.12"
24+
- run: python -m pip install --upgrade build
25+
- run: python -m build
26+
- uses: actions/upload-artifact@v7
27+
with:
28+
name: dist
29+
path: dist/
30+
31+
publish:
32+
needs: build
33+
runs-on: ubuntu-latest
34+
environment: pypi
35+
permissions:
36+
id-token: write # required for trusted publishing
37+
steps:
38+
- uses: actions/download-artifact@v7
39+
with:
40+
name: dist
41+
path: dist/
42+
- uses: pypa/gh-action-pypi-publish@release/v1

CHANGELOG.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,14 @@ All notable changes to vouch are documented here. Format follows
66

77
## [Unreleased]
88

9+
## [0.1.0] — 2026-05-26
10+
11+
### Packaging
12+
- Published to PyPI as `vouch-kb` (the `vouch` name was already taken by an
13+
unrelated project); the installed command is still `vouch`. Install with
14+
`pipx install vouch-kb`. A tag-triggered release workflow publishes via PyPI
15+
Trusted Publishing (OIDC).
16+
917
### Added
1018
- Seed a cited starter source and claim during `vouch init`, print first-run
1119
next steps, and document a 30-second onboarding tour (#54).
@@ -72,5 +80,6 @@ Initial alpha. Surface intentionally small; expect breaking changes pre-1.0.
7280
- Claim validation: at least one source/evidence citation required.
7381
- Per-agent attribution via `VOUCH_AGENT` env var.
7482

75-
[Unreleased]: https://github.com/plind-junior/vouch/compare/v0.0.1...HEAD
76-
[0.0.1]: https://github.com/plind-junior/vouch/releases/tag/v0.0.1
83+
[Unreleased]: https://github.com/vouchdev/vouch/compare/v0.1.0...HEAD
84+
[0.1.0]: https://github.com/vouchdev/vouch/compare/v0.0.1...v0.1.0
85+
[0.0.1]: https://github.com/vouchdev/vouch/releases/tag/v0.0.1

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,10 @@ Skip it if:
4040
## Install
4141

4242
```bash
43-
# from the cloned repo, in a venv
43+
# from PyPI (published as vouch-kb; the command is still `vouch`)
44+
pipx install vouch-kb
45+
46+
# …or from the cloned repo, in a venv
4447
pip install -e '.[dev]'
4548
```
4649

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
2-
name = "vouch"
3-
version = "0.0.1"
2+
name = "vouch-kb"
3+
version = "0.1.0"
44
description = "Git-native, review-gated knowledge base for LLM agents. MCP server + CLI."
55
readme = "README.md"
66
requires-python = ">=3.11"

src/vouch/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
"""vouch — git-native, review-gated knowledge base for LLM agents."""
22

3-
__version__ = "0.0.1"
3+
__version__ = "0.1.0"

tests/test_cli.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,9 +139,16 @@ def test_crystallize_cli_all_failures_exits_1(store: KBStore) -> None:
139139
assert "all 2 proposal(s) failed" in result.stderr
140140

141141

142-
def test_crystallize_cli_partial_failures_shows_warning(store: KBStore) -> None:
142+
def test_crystallize_cli_partial_failures_shows_warning(
143+
store: KBStore, monkeypatch: pytest.MonkeyPatch,
144+
) -> None:
143145
from vouch.proposals import approve as real_approve
144146

147+
# Approve as a distinct reviewer so the second (real) approval isn't blocked
148+
# by the self-approval guard. Without this the approver defaults to the OS
149+
# user via _whoami(), which on a machine whose login happens to be "a"
150+
# collides with the session agent and makes the test environment-dependent.
151+
monkeypatch.setenv("VOUCH_AGENT", "human-reviewer")
145152
with patch.object(KBStore, "_embed_and_store"):
146153
src = store.put_source(b"e")
147154
sess = sess_mod.session_start(store, agent="a", task="t")

0 commit comments

Comments
 (0)