3.7 KiB
Onboarding: the first run, step by step
This page is for somebody who has never installed a tool from GitHub. Every step says what to type and what appears on screen afterwards. If a step shows something else, stop there and open an issue: a walkthrough that lies is worse than no walkthrough.
You need Git, Node 20 or newer, and a terminal. No agent is required.
-
Check Node. Type
node --version. You should see something likev22.14.0. If the version starts withv18or lower, install a newer Node from https://nodejs.org before going on. -
Pick a folder and clone the project. Type
git clone https://github.com/zarubinvibe/koiz.gitand thencd koiz. Git prints a few lines about counting and unpacking objects, and you end up inside a folder that holdsscripts,docsandinstall.sh. -
Run the install. Type
bash install.sh. It asks one question: whether to put lesson capture on session close. Answery. It prints the path of the lesson base, the lineхук вписанwith the path of your settings file, and then runs the self-test. -
Read the self-test line. The last block starts with
selftest okand lists what was checked. If it says anything else, the install did not finish and nothing else on this page will work. -
Ask the empty base a question. Type
node scripts/koiz.mjs ask "what has broken before". On a fresh install the base is empty, so it answers that it found nothing. That is the correct answer, and it proves the instrument reads its journal. -
Write your first lesson by hand. Type this on one line:
node scripts/koiz.mjs add --what "a script followed a symlink and overwrote the launcher" \ --why "the path was taken on trust, without checking what it pointed at" \ --pin тест --pin-ref scripts/koiz-mutate.mjsIt prints the identifier of the new record. The
--pinfield is the point of the whole project: a lesson without a mechanism is a complaint. -
Find it from a different project. Leave this folder, go to any other project of yours, and run the same
askcommand with a word from your lesson. The base is one for every project, so the answer comes back there too. -
Look at the debt. Type
node scripts/koiz.mjs debt. It lists lessons that came back and are still pinned to nothing. On a fresh base the list is empty, and that is what you want to see. -
Put the gate where it hurts. Type
node scripts/koiz.mjs gate. It exits with code 0 while there is no debt and with a non-zero code when a repeat is not pinned. Add that line to your nightly script or your pre-push hook, and the base starts holding you to your own conclusions. -
Close the session and let the machine work. Exit your agent session normally. On close, the hook reads the transcript and writes the drafts by itself. Open
~/.claude/koiz/capture.logto see what it took.
Staying current
To pull the current version later, run /koiz-update in Claude Code. It shows what changed before touching anything, pulls fast-forward only, leaves your journal and your settings alone, and runs the self-test afterwards. Without an agent, git pull --ff-only in this folder does the same thing.
If it helps
Give Koiz a star: https://github.com/zarubinvibe/koiz. It takes a second and it decides whether other people ever find the project.
Want to change something? The path is short: fork the repository, create a branch, commit your change, push the branch, then open a Pull Request. Do not push directly to main; the release gate rejects it.
