Skip to content

v0.2.5

Choose a tag to compare

@github-actions github-actions released this 06 Dec 21:08
· 17 commits to main since this release
v0.2.5
47b2b8a

Highlights

  • Leaner contexts: collab compacts a member past 150k tokens at the end of a turn with no task under way, one compaction at a time, keeping what the member holds and works in; members collab runs get the brief in their system prompt and no wait tool
  • Firmer rules: an edit in place is refused however it is hidden (bash -c, eval, sudo, tee, find -exec, xargs), as are cp or mv onto collab's files or another member's worktree, and a stash pop or an unnamed apply or drop
  • Nothing for you is lost: with no other member you review a task yourself, messages unread before a restart stay unread after it, work from your message is reported back on it, and collab serve merges what is ready too

All changes

  • A review's change has a byte limit too: a one-line 420 KB JSON woke the reviewer with 424 KB; change() cuts a line past 400 bytes with the bytes left, stops a file where the change passes 40 KB with the command that shows the rest, and names the files after
  • A member's read leaves out others' joins and leaves: the online line says who is there, and a flapping connection made ten lines of them; a leave that reopened tasks still comes, as they are on the board again. The group tests that waited for a leave in a read wait for it with query (until_left)
  • install.sh and install.ps1 check the download's sha256: as collab update does, each reads the latest release from GitHub's API, downloads its asset's own address and compares the file with the asset's digest, installing nothing on a mismatch or when GitHub gives none; the asset and its digest come from one answer, so a release still building is not mixed with the one before
  • rules read a command by its words: collab refuses a file changed in place itself, sed's -i in any cluster or place, perl's and ruby's -i before the script, awk -i inplace, after sudo, env, xargs or VAR=x and inside bash -c, sh -c and eval, and git stash pop past git's -C and -c; a rule's text is matched without the command's quoted words, so a grep's pattern or an echo is no call; the default rules file only says how to write one; README says the rules remind and the permission mode is the boundary
  • collab serve merges too: ready's fast-forward moves from tui.rs merge() to server::merge, which the screen's /merge and its ready notice call, and under serve server::merge_on_ready listens for ready notices and calls it; the screen keeps only the group cost and compaction
  • No goal kept and an empty board: end the turn
  • With no other member, the person reviews a task
  • rules: escaped quotes, { }, xargs -I {} and timeout
  • Compact a big context at a turn's end with no task under way
  • Group cost after a restart counts only what was spent since
  • Brief in the system prompt of members collab runs
  • Move the tui and tsp tests to tests.rs files
  • Turn-end compaction at 150K, /compact with a focus
  • Brief asks for reads in one message; no wait for managed members
  • rules: close Fable's gaps (shells, tee, find, cp/mv, stash)
  • One /compact at a time; a compaction sets the context
  • README: compaction thresholds, and none under serve
  • A restart keeps the person's unread messages unread
  • Brief: work from the person's message is reported on it
  • Release 0.2.5