parmanu 0.4.14

Learned skills

parmanu learns from its own sessions in a project. Every session writes a ledger (.anu/runs/<id>/ledger.jsonl). anu learn reads those ledgers, finds what keeps happening, and writes it up as skills for you to review. No model is involved: the lessons come straight from the ledgers, and every one cites the ledger lines it came from.

What it learns

A lesson has to show up in two sessions before it is proposed. One session teaches nothing.

SkillLesson
learned-checksA command that checked the changes and passed, such as bun test
learned-command-fixesA command that failed because of the environment (command not found, No module named …) and the command that worked next
learned-library-notesA library name the model reached for that does not exist, and the names that do
learned-refused-commandsA destructive command you refused
learned-answersYour answer to a question the model asked you (answers given automatically do not count)

Each skill ends with a ## Sources section: one line per lesson source, with the run, the ledger line and a quote.

Review them

shell
anu learn                   # mine the ledgers; list the skills to review
anu learn show <name>       # print one
anu learn approve <name>    # move it to .anu/skills/<name>/SKILL.md
anu learn reject <name>     # drop it; its lessons are not proposed again

Candidates wait in .anu/learned/<name>/. Approving one copies it to .anu/skills/, where new sessions load it like any other project skill (the project has to be trusted: /trust). In the chat, /learn does the same: pick a skill, then Show, Approve or Reject. After approving, /reload loads it into the current chat.

Approved and rejected lessons are kept in .anu/learned/state.json. A skill comes back only when a new lesson of its kind turns up; an approved skill is then rewritten with the old lessons and the new one.

The notice

When a chat ends and the ledgers hold lessons that were not waiting for review before, parmanu prints one line:

shell
parmanu learned 1 new thing from your sessions; review with: anu learn

Set ANU_LEARN=0 to turn it off. --no-session chats never print it.

This page is built from docs/learn.md in parmanu 0.4.14.