Repository navigation
Releases
Oathline Guard 0.2.0
oathline-guard 0.2.0
What changed: the Guard runs on Oathline Core 0.3 and gains one read-only command:
oathline-guard log --server NAME [--since N] [--verify]
It prints what the Guard recorded for that server after event N (Core numbers every event, inside its hash), and with --verify,
whether that part of the record still holds.
Long values are checked by Core. A long or multi-line argument (a file to write, a long query) is still shown whole in the
approve window, every line behind "| ". Oathline Core 0.3 now checks that block itself before it records SHOWN, instead of the
Guard doing it. If you read error codes: a block that does not match the value is now carried_hash_mismatch (0.1.0 said
shown_body_differs), and a value with Windows line ends shows and runs with exactly those bytes.
An upstream that has ended is failed closed. The call in flight answers an error, the Guard ends the upstream's whole process
tree and exits 1. An upstream that dies is noticed however it was started; one that closes its output while it keeps running is
noticed when started directly or as a venv's python.exe, and behind another wrapper (npx, a .cmd, a console-script .exe) only
when it exits: there is no timeout yet.
The rest is as in 0.1.0: reads pass, every other tool call waits for a coded yes in the approve window, and the yes runs exactly
what was shown, once.
The SHA-256 of each file attached to this release is on the release page, not in the package.
SHA-256 of the attached files (the same bytes as on PyPI)
f0f4ce27a853e227b7273b9ec54679829edf9eadf85f829cc14c9f0e7357c962 oathline_guard-0.2.0.tar.gz
0d15bd7e38e33aec461f4e6ef58ce43e88a5633b456bfb3bc78ee38140ded7c3 oathline_guard-0.2.0-py3-none-any.whl
oathline-guard 0.1.0
oathline-guard 0.1.0 is the first release: an MCP guard where an AI agent's yes means exactly what the person saw.
It wraps any stdio MCP server. Reads on your list pass. Every other tool call waits until a person, in a second terminal
(oathline-guard approve), sees the exact call in the guard's own words and types its code; then it runs once, with exactly
those arguments, and Oathline Core 0.2.0's hash-chained log records what was shown, heard, confirmed and run. The agent never
receives the code.
Install: pip install oathline-guard (Python 3.10+, depends only on oathline>=0.2.0,<0.3). The README's quickstart runs the
guard in front of a demo database server in about five minutes.
Limits in this release, also on the README's first page: a pseudo-terminal passes the terminal check; an agent with a raw shell
goes around any MCP guard; no upstream timeout and no waiting notification yet; stdio only; secret arguments are shown, not
masked.
Checksums of the wheel and the sdist are on this release page (SHA256SUMS). These notes are the release page's and are not
shipped in the package.