@kaptonia

Use

ZikaronDesk

Evidence infrastructure

Version 0.1.5Release notesAll releasesSource

Give it to an AI Agent with a cloud computer; it sets itself up.

Give it to the AI Agent on your computer; it walks you through the app, which you open once.

macOS · Apple silicon · .dmg disk image
Download ZIKARON Desk13.5 MB
ZIKARON-0.1.5-macos-arm64.dmg
AlsoAll files

Needs a Mac with Apple silicon and macOS 11 or later.

Getting started

  1. Copy the promptThe button above copies all of it.
  2. Give it to an AI AgentOne on a cloud computer or on your own; there is a prompt for each. It follows it and gets ready to work.
  3. Talk with itSend a little ETH for gas to the address it gives you, then ask in plain words.
RecordExampleTap to play

Record this contract.

purchase-contract-v3.pdfPDF · 238 KB
AI Agent

Done: entry 12, content fingerprint 0x3fa9…c2e1. It goes on chain with your next batch.

Put today’s records on chain together.

AI Agent

Entries 12 to 14 went out in one transaction and are in block 26,214,903. Transaction 0x8c1e…77a0, fee 0.00041 ETH.

GrantExampleTap to play

Grant this illustration to 0x7d2e…19b4 for commercial use, for a year.

little-tree.png
AI Agent

The grant is signed and in the ledger. Pass this grant code on.

Grant codezikaron-grant:eyJhdXRob3IiOiIweDNiZTYiLCJib2R5Ijp7Imdy…Q2Rk4xR2VrM3dVc19sQ0

Who holds grants for this illustration now?

AI Agent

Two: a commercial grant to 0x7d2e…19b4, valid until 2027-10-21; a display grant to 0x51ac…e0f3, which expired on 30 September.

The prompt in full

ZIKARON quick start (for an AI agent) 1. Fetch and install: download the latest package from the Releases of https://github.com/kaptonia/zikaron, check it against SHA256SUMS.txt, then install. On Linux: sudo DEBIAN_FRONTEND=noninteractive apt-get install -y -o Dpkg::Options::=--force-confold ./zikaron-desk_*_amd64.deb 2. Read: README.md (networks and contract addresses) and CLI-SCHEMA.md (how to use each command). Once installed, run zikaron contract and go by the subcommands, flags and exit codes it lists. 3. Get to work: - If the user already runs ZIKARON Desk on their own computer, prefer --home or "With a credential", so the private key stays on the user's computer. - Otherwise: generate a key with zikaron keygen, save it in a file with mode 600 and keep it out of sight; ask the user whether they want a copy of the key file to keep; if so, hand it over as a file, never pasted into the chat, and remind them to store it offline; then create a ledger with zikaron init; ask the user to send a little ETH to the address for gas. 4. Every day: record with history --file → put on chain with anchor → check with scan, then audit; to share, export a record kit with kit-export, which the other side checks with kit-verify; to show a kit to the recipient alone, add --to-key <public key> (or --to <address> with --endpoint) to kit-export; add --originals-to <folder> to kit-verify to take out the originals. Gather several records and put them on chain together, paying gas for one transaction. 5. Upgrading: check Releases regularly. For a new version, first read the release notes and the upgrading part of CHANGELOG, check the package against SHA256SUMS.txt, then install it over the old one as in step 1. Command-line ledger folders keep working across versions. If the release notes call for a migration by hand, tell the user first and go ahead once they agree. After upgrading, run zikaron contract to see whether any command changed. At every upgrade, remind the user to download a ledger backup (pack the ledger folder into one file and hand it over), and agree with them on regular backups from then on. 6. When the user wants the safer desktop app, walk them through it step by step: - Open the download page https://kaptonia.github.io/en/use.html, download for the user's system, check the SHA-256, then install. On a Mac, the quarantine mark comes off before the first launch; the download page has the command to copy. - First launch: set a passcode and write the recovery words on paper, kept somewhere offline. The recovery words stay with the user alone; ask them to keep the words to themselves. - Bring the ledger into the desktop, one of two ways: · Hand the private key to the user, who imports it with "Import key" in the desktop app and takes the ledger in with "Adopt existing ledger folder". After adoption, the desktop writes the original folder's ledger. · Write the ledger into a handoff file with hand-over and give it to the user, who takes it on the desktop side with take-over; from then on the ledger is written by turns in the two places. - Then ask the user to turn on "Through the desktop app" or "With a credential" in Settings › Command line and AI control; switch to --home or the credential, and delete the private key file in the cloud afterwards. 7. Rules: the private key and the recovery words stay out of chats and logs; one place writes a ledger at a time, and to move the writing use hand-over / take-over.
ZIKARON quick start (for an AI agent on the user's computer) 1. Install the app: ask whether ZIKARON Desk is on the user's computer. If not, walk them through downloading it from https://kaptonia.github.io/en/use.html#desktop, checking the SHA-256, then installing. 2. At the first launch, walk the user through these steps; after them the app can be closed and stay closed: - Set a passcode and write the recovery words on paper, kept somewhere offline. The recovery words and the passcode stay with the user alone; ask them to keep both to themselves. - Turn on "Enable the zikaron command" in Settings › Command line and AI control. - Under "Automation level" on the same page, turn on "With a credential": enter the passcode, let the user choose how long it lasts ("Does not expire" is one of the choices), and press "Turn on". - Tell you the path in the "Data folder" row under "Details" in Settings › Local data. - Close the app. 3. Get to work: run zikaron contract and go by the subcommands, flags and exit codes it lists; the details are in the repository's CLI-SCHEMA.md. Every command that writes to the ledger carries --ledger "<the ledger folder in the data folder>", with no --key, --key-file or --home; put on chain with zikaron anchor --ledger "<the same folder>". The private key stays in the app's key store the whole time; you neither generate nor hold it. 4. Every day: record with history --file → put on chain with anchor --ledger → check with audit; to share, export a record kit with kit-export, which the other side checks with kit-verify; to show a kit to the recipient alone, add --to <address> or --to-key <public key> to kit-export; add --originals-to <folder> to kit-verify to take out the originals. Gather several records and put them on chain together, paying gas for one transaction. When the address runs short of ETH for gas, ask the user to top it up. 5. When the app needs opening again: - E_CREDENTIAL_EXPIRED or E_CREDENTIAL_MISSING: the credential ran out or was turned off; ask the user to open the app and turn "With a credential" on again. - A new version: remind the user to install it and upgrade by the release notes; if they call for a migration by hand, explain it first and go ahead once the user agrees. - Whenever the app is opened for either reason, remind the user to make a whole-machine backup. 6. Rules: the private key, the passcode and the recovery words stay out of chats and logs; on E_HOME_HELD, the app is writing, so try again shortly; one place writes a ledger at a time, and to move the writing use hand-over / take-over.

Keys and upgrades

  • On a cloud computer, the AI Agent writes the ledger with a dedicated key; keep only enough ETH for gas at its address.
  • On your own computer, the private key stays in the app’s key store and the AI Agent works with the “With a credential” credential. You choose how long it lasts; any program running as your system account can use it, so turn it off in Settings › Command line and AI control once you are done with it.
  • To keep the private key on your own computer, install the and let the AI Agent work for you through “With a credential” or --home. Step 6 of the prompt has it walk you through the switch.
  • When a new version comes out, the AI Agent checks and upgrades by step 5 of the prompt.

All files

TypeFileZikaron recordSize

Release list: SHA256SUMS.txt · Third-party licences: THIRD-PARTY-LICENSES-macos.txt

Install

  1. Check the SHA-256; it should match the value listed under Check below:
    shasum -a 256 ~/Downloads/ZIKARON-0.1.5-macos-arm64.dmg
  2. In Terminal, remove the quarantine flag macOS adds to downloads:
    xattr -d com.apple.quarantine ~/Downloads/ZIKARON-0.1.5-macos-arm64.dmg

    Do this before you open the dmg.

  3. Open the dmg, drag ZIKARON.app to Applications, then open it.

    If you dragged the app in first, run this instead:

    xattr -dr com.apple.quarantine /Applications/ZIKARON.app

    The zikaron command line is inside the app bundle: ZIKARON.app/Contents/MacOS/zikaron. To type zikaron in any terminal, turn on “Enable the zikaron command” in the app’s Settings › Command line and AI control: it places a link in /usr/local/bin, and macOS asks for an administrator password when needed.

Change the paths to wherever you downloaded the files.

Why this step: the app is signed with Kaptonia’s self-signed certificate and is outside Apple’s notarization. Files downloaded in a browser carry macOS’s quarantine flag, and macOS refuses to open them; on recent macOS, Open Anyway in System Settings › Privacy & Security works only some of the time. Checking the file and then removing the flag tells the system you trust the file you have checked.

To upgrade, install the new version over the old one; the machine folder and data folders of 0.1.4 and 0.1.3 carry on as they are. Upgrading from 0.1.2 or earlier, a ledger from an earlier version comes across in these steps: in the old version, “Export ledger mirror” to a folder outside the machine folder, then quit; move the old machine folder ~/.zikaron-desk.d/ aside together with the pointer file ~/.zikaron-desk; start this version, set a passcode and import the identity with the same recovery words; when the wizard reaches “Create the ledger”, press “Adopt existing ledger folder”, choose the author folder inside the mirror and press “Adopt in place”; last, run a ledger check on the Ledger page and see that it reads “OK”.

Check

Disk image35bbd7df4bd89845ee63786b1339fed0a5ce564f0dbd890a5281e3957ef68751
Installerfbeb29373dc40877ebd3531810e0e5447b2fbf0517dde4631c66af54e11d9d3e
Sourceb30c7a2d7f0af2493e513ca06a06a7260d01b348bf60ead6e31909e4604523ef
SignerKaptonia
Certificatea6ddc371e855197c5021ef44ab0802749cda318bc12d0138ccac9f46a4d46905
Valid until2036-09-23

Both the app and the dmg are signed with this certificate. Once installed, check in Terminal; the Authority in the output should read Kaptonia:

codesign -dvv /Applications/ZIKARON.app

Check the pkg by its SHA-256.For more checks in the terminal, see Developer guide · Checksums.