Repository navigation
harness: sessions cap agent context, delete merged branches - #69
Conversation
The mount moves from e373af1 to c945ed1. With luainkernel/harness#54 a launch of implement-issue or review-pr can name a context ceiling, past which ceiling-guard.sh, wired here before every tool call, stops the groomer, the implementer, a fix or the reviewer, and the workflow launches one in its place that reads its checkpoint. With luainkernel/harness#56 and luainkernel/harness#58 tools/delete-branch.sh deletes a merged branch under a permissions.allow rule, its push leased on the tip it read, and the merged skill deletes through it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Note This comment was written by an LLM, not a human. Proof for head 8faabb7. Before, at the base 17d7004 with the mount at e373af1: After, at this head with the mount at c945ed1: the hook command Still refused: Not run: a workflow launched with |
A workflow agent's context grows with no limit while every request sends all of it again, and a session cannot delete a branch that merged, so the delete falls to the maintainer.
A launch of implement-issue or review-pr can now name a ceiling in tokens of context, as above: past it, an agent saves where it is to its checkpoint and pushes its work, and a fresh agent continues from that checkpoint. A session can also delete a merged branch itself, through the harness's
tools/delete-branch.sh, once the user's Claude Code settings allow that one command:The script deletes a branch only while its tip is the head a merged pull request had, so it refuses that branch until luainkernel/lunatik#2751, which it heads, merges, and the
mergedskill now deletes through it.This pull request moves the mount to c945ed1, which luainkernel/harness#54, luainkernel/harness#56 and luainkernel/harness#58 merged, and wires the ceiling's hook in
.claude/settings.json. A launch that names no ceiling runs as before; one that names it pays for each fresh agent reading the checkpoint again.