Rename loop-claude to build-release, with no alias

This commit is contained in:
2026-12-03 15:22:11 +01:00
parent 38102d5aa5
commit 969190064e
139 changed files with 717 additions and 671 deletions
+4 -4
View File
@@ -1,4 +1,4 @@
"""Refuse an Agent or Skill call that launches a review below the rung it needs, worked out on the project's ladder from the rungs and the E + I loop-claude hands its worker: docs/decisions.md → `routing:`."""
"""Refuse an Agent or Skill call that launches a review below the rung it needs, worked out on the project's ladder from the rungs and the E + I build-release hands its worker: docs/decisions.md → `routing:`."""
import pathlib
import typing
@@ -26,7 +26,7 @@ SECURITY_SKILLS = {"claude-security", "security-review"}
def reviewer_breaches(call: Call, environ: typing.Mapping[str, str], home: str) -> list[Breach]:
"""The breach of an Agent call that launches a review below its rung; none where loop-claude handed no rungs."""
"""The breach of an Agent call that launches a review below its rung; none where build-release handed no rungs."""
kind = review_kind(call.given)
if kind is None or not hands_rungs(environ):
return []
@@ -45,12 +45,12 @@ def reviewer_breaches(call: Call, environ: typing.Mapping[str, str], home: str)
def unread(ladder: Failure, cwd: str) -> Breach:
"""The breach of a review launched where loop-claude handed rungs and the project's ladder cannot be read, so nothing tells which rung the review needs."""
"""The breach of a review launched where build-release handed rungs and the project's ladder cannot be read, so nothing tells which rung the review needs."""
return Breach("reviewer-rung", f"the rung this review needs cannot be worked out: {ladder.reason}", cwd)
def skill_breaches(call: Call, environ: typing.Mapping[str, str], home: str) -> list[Breach]:
"""The breach of a Skill call that runs the security pass below the project's rung; none where loop-claude handed no rungs.
"""The breach of a Skill call that runs the security pass below the project's rung; none where build-release handed no rungs.
The skill runs on its caller's rung. A subagent launched as the security pass was held to the project's rung by reviewer_breaches. The worker's own rung is known, so its call is refused only below the project's rung. Any other subagent's rung is unknown, so its call is refused."""
skill = text(call.given, "skill").lstrip("/").rsplit(":", 1)[-1]