Skip to content

Commit 7b02bfd

Browse files
eaitbrahimclaude
andauthored
chore: bump to 0.5.5 for keel rules add (#184)
Patch: one new CLI command and its validation fixes (#182, #183). No schema change, no rail change, nothing that alters what the agent trades or when. `keel rules add --kind --product --params` inserts one rule row at status `candidate` -- the lifecycle floor -- so a scout-produced parameter set can reach `keel rules backtest` / `keel simulate`. Before this, `rules seed` built rows only from constructor defaults and no CLI accepted params, so a proposal had no path to evidence without hand-writing Python against `Repository.insert_rule`. Status is a literal at the single insert, with no flag and no override: a row this command creates must still clear `rules backtest` and `rules promote` before it can reach `paper` or `live`. That property is what makes a write path into the `rules` table safe to add at all, and it is mutation-tested. #183 closes the validation gap #182 shipped with. Container params (`{"oversold": [1,2]}`) and typo'd Literal choices (`entry_zone: "banana"`) were accepted, stored and rebuilt cleanly, then either crashed the backtest the row exists for or -- worse -- silently selected a different code path: `entry_zone: "banana"` falls through to `ema_band`, so the operator sees `ema_band`'s numbers while believing they measured `ema_touch`, and `rules promote` re-runs against that same stored row. uv.lock relocked in the SAME commit, per 0.5.0-0.5.4. Verified with `uv sync --frozen`, which accepted the lock and rewrote nothing. Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
1 parent 861dd18 commit 7b02bfd

6 files changed

Lines changed: 10 additions & 10 deletions

File tree

packages/keel-broker-api/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "keel-broker-api"
3-
version = "0.5.4"
3+
version = "0.5.5"
44
description = "Broker port, domain types, capability model, and conformance suite for keel"
55
requires-python = ">=3.14.4"
66
dependencies = ["keel-core"]

packages/keel-broker-coinbase/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "keel-broker-coinbase"
3-
version = "0.5.4"
3+
version = "0.5.5"
44
description = "Coinbase Advanced Trade adapter for keel"
55
requires-python = ">=3.14.4"
66
dependencies = ["keel-core", "keel-broker-api", "coinbase-advanced-py>=1.8.4"]

packages/keel-broker-fake/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "keel-broker-fake"
3-
version = "0.5.4"
3+
version = "0.5.5"
44
description = "A deliberately divergent second broker adapter, to keep the port honest"
55
requires-python = ">=3.14.4"
66
dependencies = ["keel-core", "keel-broker-api"]

packages/keel-core/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "keel-core"
3-
version = "0.5.4"
3+
version = "0.5.5"
44
description = "Shared domain types, configuration, and logging for keel"
55
requires-python = ">=3.14.4"
66
dependencies = ["pyyaml>=6.0.3", "python-dotenv>=1.2.2"]

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "keel-trader"
3-
version = "0.5.4"
3+
version = "0.5.5"
44
description = "Offline-first, broker-agnostic, rule-based spot-trading agent (halal policy by default)"
55
readme = "README.md"
66
authors = [

uv.lock

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)