Skip to content

Wisdom 0.6.2

Latest

Choose a tag to compare

@SWARAJ-42 SWARAJ-42 released this 03 Dec 17:28
f7c6d1d

Wisdom 0.6.2

Guides are simpler and final once pushed, work survives a teammate's rebase or squash, and Wisdom says when its git hooks are missing.

Before you upgrade

  • wisdom check is stricter. A commit a teammate rebased or squashed is now checked with the records it came from. A pull request that passed because that work was hidden can fail. The check names the older commit that needs a guide.
  • Model guides are off by default in team mode. Each agent commit gets a plain guide, built from the record. To have a model write yours: wisdom guide model enable.
  • wisdom guide on|off is now wisdom guide model enable|disable. The setting guides.on is now guides.useModel; the old name is still read.
  • wisdom guide <commit> no longer calls a model by default. Add --model.
  • A guide that passed its check is final once pushed. Ask for a model's guide before the push.

Guides

  • A guide has one entry per turn. Older guides are still checked by their own rules.
  • wisdom guide <commit> --ignore "<session>: <reason>" leaves a session out. The guide lists it under "Not read", and it is still pushed.
  • A fetch no longer loses a guide written after its record was pushed, and such a guide now reaches the remote (#9, #18).
  • A guide shows the git name of the person who wrote it, marked as unverified (not with identity: false).
  • CI warns about what a passing guide does not prove, and says how to fix a failing check.

Commits and rewrites

  • A commit someone else rebased or squashed leads to the records it came from, in glance, check and the Commits app (#17). The older records describe the commits as they were then.
  • A guide written for a commit a teammate rewrote reaches the remote from the rewritten branch.
  • A rebase keeps its Wisdom-Record: line and adds no more, and glance and check no longer repeat work a link already leads to (#14). Extra lines already in old messages stay.
  • Putting code back (git stash pop) or changing only line endings no longer takes credit for an earlier session's work (#29). Records already kept do not change.

Setup

  • wisdom doctor checks all four team-mode git hooks, and a command you run in a terminal asks once a day to set up missing ones (#10, #13). Agents' shells and CI are not asked.

Known limits

  • Tested on Windows with real git. The changes to rewritten commits have not yet had a live run with two people on GitHub.
  • No real model has written a guide in the new form yet, so its quality and token cost are not measured.
  • A cherry-pick with a resolved conflict gets no Wisdom-Record: line of its own (#39).
  • The Commits app shows a rewriter's session under the commit author's name (#38).

Upgrading

npm install -g @oqura/wisdom@latest

Then in each project run wisdom doctor, which says what to repair. In CI, set wisdom-version or the installed version to 0.6.2 where you pin it.

Full Changelog: v0.6.1...v0.6.2