Rename loop-claude to build-release, with no alias
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
"""Reads the chunks of every project in loop-claude's archive, and keeps the routing figures at the archive's root for the human to read."""
|
||||
"""Reads the chunks of every project in build-release's archive, and keeps the routing figures at the archive's root for the human to read."""
|
||||
import contextlib
|
||||
import dataclasses
|
||||
import fcntl
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
"""The routing figures summed over every chunk, and the routing changes they call for: docs/decisions.md → `routing: loop-claude measures review rounds…`."""
|
||||
"""The routing figures summed over every chunk, and the routing changes they call for: docs/decisions.md → `routing: build-release measures review rounds…`."""
|
||||
import collections
|
||||
import dataclasses
|
||||
import statistics
|
||||
|
||||
@@ -13,7 +13,7 @@ def render(ladder: Ladder, figures: Figures, found: list[Call], at: str, cycle:
|
||||
"""The figures as markdown, for the human to read. ladder orders the rungs, and since is the latest reset's stamp, empty for none."""
|
||||
sections = [
|
||||
"# Routing figures",
|
||||
f"Measured {at}, at cycle {cycle} across loop-claude's archive, from {figures.chunks} finished chunk{'' if figures.chunks == 1 else 's'}{f' that finished after the reset of {since}' if since else ''}. {basis(figures)}",
|
||||
f"Measured {at}, at cycle {cycle} across build-release's archive, from {figures.chunks} finished chunk{'' if figures.chunks == 1 else 's'}{f' that finished after the reset of {since}' if since else ''}. {basis(figures)}",
|
||||
"## Calls for a routing change",
|
||||
bullets([call.sentence() for call in found]) or "None.",
|
||||
*[part for dimension in DIMENSIONS for part in (f"## Dollars by {dimension}", dollars_table(figures, dimension))],
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
"""What loop-claude keeps at the archive's root between measurements: docs/decisions.md → `routing: loop-claude measures review rounds…`.
|
||||
"""What build-release keeps at the archive's root between measurements: docs/decisions.md → `routing: build-release measures review rounds…`.
|
||||
|
||||
STATE holds, as fields loop-claude reads back, the cycle it last measured at and each call it raised. RAISED lists the raised calls for the human to read. A chunk appends a reset to RAISED by hand, as docs/decisions.md → "Working rules" says, and loop-claude reads the resets from there."""
|
||||
STATE holds, as fields build-release reads back, the cycle it last measured at and each call it raised. RAISED lists the raised calls for the human to read. A chunk appends a reset to RAISED by hand, as docs/decisions.md → "Working rules" says, and build-release reads the resets from there."""
|
||||
import dataclasses
|
||||
import json
|
||||
import pathlib
|
||||
|
||||
@@ -274,7 +274,7 @@ class Calls(unittest.TestCase):
|
||||
def test_renders_each_dimension_largest_first_and_the_calls(self):
|
||||
chunk = ChunkFigures({"project": collections.Counter({"a": 2.5, "b": 1234.5})}, LOW, 1, 0, collections.Counter({str(HIGH): 2}), {"Explore": Reports(2, 3, 4)}, collections.Counter(), 0.0)
|
||||
text = render(LADDER, totals([chunk]), [Call("reports", ("Explore",))], "2026-10-15T00:00:00Z", 40, "")
|
||||
self.assertIn("Measured 2026-10-15T00:00:00Z, at cycle 40 across loop-claude's archive, from 1 finished chunk.", text)
|
||||
self.assertIn("Measured 2026-10-15T00:00:00Z, at cycle 40 across build-release's archive, from 1 finished chunk.", text)
|
||||
self.assertIn("## Calls for a routing change\n\n- Explore subagents' reports took more of the worker's context than their searches would have.\n", text)
|
||||
self.assertIn("## Dollars by project", text)
|
||||
self.assertIn("| b | $1,234.50 |\n| a | $2.50 |", text)
|
||||
|
||||
Reference in New Issue
Block a user