Skip to content

Commit eb58698

Browse files
committed
chore: bump to v1.0.13
Four fixes since v1.0.12: grid persistence safety net (7 gap sites + dirty-flag end-of-tick protection), dust detection before pipeline gate with 30s cancellation timer, net inventory lots in trade profitability analyzer, and improved analysis README readability. ## Changes - CHANGELOG.md: added v1.0.13 entry with per-fix descriptions - docs/EVOLUTION.md: updated footer stats, key milestones, and version history with v1.0.12→v1.0.13 entry - 10 manifest files synced to 1.0.13 via npm run version:sync ## Testing Notes - npm run version:sync completed without errors - git rev-list --count HEAD = 1710 (matches updated EVOLUTION.md)
1 parent 70543e9 commit eb58698

12 files changed

Lines changed: 34 additions & 21 deletions

File tree

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## [1.0.13] - 2026-07-10 - Grid Persistence Safety, Dust Pipeline Fix & Net Inventory Lots
6+
7+
### 2026-07-10
8+
9+
- **Fix**: persist master grid mutations made outside COW broadcast path — master grid changes via `_updateOrder`, sync engine size corrections, orphan adoption, and surplus-type-mismatch cancellations were never persisted because persistence was centralized in the COW broadcast success path. Seven gap sites fixed plus an end-of-tick dirty-flag safety net. New tests: `test_grid_dirty_flag_persistence.ts`, `test_grid_persistence_guard.ts`, `test_grid_persistence_warn.ts` (`3298f32a`).
10+
- **Fix**: run dust check before pipeline gate — partial fills below dust threshold are now detected even when the pipeline is blocked (e.g. by pending price corrections from startup sync). A new `recordDustFirstSeen` helper starts the 30s cancellation timer from first detection so dust is cleared immediately when the pipeline empties. Changed `RUN_LOOP_DEFAULT_MS` from 5s to 5min for a more reasonable open-orders sync loop default (`8b9d3150`).
11+
- **Fix**: use net inventory lots in trade profitability analyzer — buy lots now store net receives (baseAmount − marketFeeReal), so inventory matching reflects what the account actually held. Added EffBuy column to `--trades` detail output; skip fills with unresolved fee precision instead of silently setting fee to 0 (`70543e94`).
12+
- **Docs**: improve analysis README readability for non-technical users — added question→tool mapping, Key Terms glossary, plain-English calibration workflow explanation, and reorganized sections (`51d7468e`).
13+
- **Chore**: version bumped to 1.0.13 across all manifests.
14+
515
## [1.0.12] - 2026-07-09 - Whitelist Normalization & CI Updates
616

717
### 2026-07-09

analysis/ama_fitting/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ama_fitting",
3-
"version": "1.0.12",
3+
"version": "1.0.13",
44
"description": "Tools for fitting AMA parameters to market data",
55
"main": "../../dist/analysis/ama_fitting/optimizer_high_resolution.js",
66
"scripts": {

claw/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dexbot2-claw",
3-
"version": "1.0.12",
3+
"version": "1.0.13",
44
"private": true,
55
"description": "Claw bridge and runtime integration layer for BitShares and DEXBot2.",
66
"type": "commonjs",

claw/runtimes/openclaw-plugin/openclaw.plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"id": "bitshares-claw",
33
"name": "BitShares Claw",
44
"description": "Native BitShares and DEXBot2 tools from the DEXBot2 claw integration",
5-
"version": "1.0.12",
5+
"version": "1.0.13",
66
"skills": [
77
"skills"
88
],
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "bitshares-claw-openclaw-plugin",
33
"private": true,
4-
"version": "1.0.12",
4+
"version": "1.0.13",
55
"type": "commonjs",
66
"main": "index.js"
77
}

claw/tests/test_claw_mcp_transport.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ async function testParserAcceptsJsonlAcrossChunksAndSingleBuffer() {
3030
capabilities: {},
3131
clientInfo: {
3232
name: 'claw-mcp-transport-test',
33-
version: '1.0.12'
33+
version: '1.0.13'
3434
},
3535
protocolVersion: '2024-11-05'
3636
}
@@ -181,7 +181,7 @@ async function testMainEntrypointHandlesRealProcessInitialize() {
181181
capabilities: {},
182182
clientInfo: {
183183
name: 'claw-mcp-transport-test',
184-
version: '1.0.12'
184+
version: '1.0.13'
185185
},
186186
protocolVersion: '2024-11-05'
187187
}

docs/DEXBOT_COMPARISON.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# DEXBot vs DEXBot2 — Detailed Comparison Report
22

33
> **Date:** 2026-06-16 *(metrics refreshed against local source trees)*
4-
> **Scope:** Full architectural, functional, and operational comparison between the original [DEXBot](https://github.com/Codaone/DEXBot) (Python, v1.0.0) and DEXBot2 (TypeScript, v1.0.12).
4+
> **Scope:** Full architectural, functional, and operational comparison between the original [DEXBot](https://github.com/Codaone/DEXBot) (Python, v1.0.0) and DEXBot2 (TypeScript, v1.0.13).
55
> **Audience:** Developers, contributors, and operators evaluating or migrating between the two projects.
66
77
---
@@ -36,7 +36,7 @@
3636

3737
| Attribute | DEXBot (original) | DEXBot2 |
3838
|---|---|---|
39-
| **Release Track** | 1.0.0 | v1.0.12 |
39+
| **Release Track** | 1.0.0 | v1.0.13 |
4040
| **Language** | Python 3.6+ | TypeScript 5.x |
4141
| **Status** | Released 1.0.0, unmaintained | Active development |
4242
| **Last Repo Activity** | May 23, 2020 | 2026-06-25 |
@@ -774,7 +774,7 @@ Where:
774774

775775
| Metric | DEXBot | DEXBot2 |
776776
|---|---|---|
777-
| **Release Track** | 1.0.0 | v1.0.12 |
777+
| **Release Track** | 1.0.0 | v1.0.13 |
778778
| **Active Since** | ~2018 | December 2025 |
779779
| **Last Commit** | May 23, 2020 | 2026-06-25 |
780780
| **Total Commits** | 2281 | 1659 at current HEAD |

docs/EVOLUTION.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22

33
## Executive Summary
44

5-
DEXBot2 is a sophisticated decentralized exchange trading bot for the BitShares blockchain. This report documents the complete evolution of the project from its inception in December 2025 through the current 1.0.12 stable release.
5+
DEXBot2 is a sophisticated decentralized exchange trading bot for the BitShares blockchain. This report documents the complete evolution of the project from its inception in December 2025 through the current 1.0.13 stable release.
66

77
### Key Milestones
88
- **Project Inception**: December 2, 2025
9-
- **Growth Phase**: 1,705+ commits over ~7 active months
9+
- **Growth Phase**: 1,710+ commits over ~7 active months
1010
- **Code Maturity**: Evolution from basic utilities to a ~58,000+ LoC intelligent TypeScript system
1111
- **Stability**: Progression from manual testing to a suite of 200+ automated test files
12-
- **Releases**: 46 release entries (v0.1.0 to v1.0.12)
12+
- **Releases**: 47 release entries (v0.1.0 to v1.0.13)
1313

1414
---
1515

@@ -198,6 +198,9 @@ Live bots.json fix for launcher restart/stop/status summaries (no stale snapshot
198198
### v1.0.11 → v1.0.12 (3 commits)
199199
Normalize bot entries before whitelist key generation to prevent false restart/stop rejections. Neutral formatting for ecosystem config success log (no green). CI docker actions bumped to Node 24-compatible versions.
200200

201+
### v1.0.12 → v1.0.13 (4 commits)
202+
Grid persistence safety net (7 gap sites + dirty-flag) preventing in-memory state rollback on restart. Dust check moved before pipeline gate with 30s cancellation timer; sync loop default changed from 5s to 5min. Net inventory lots in trade profitability analyzer. Analysis README reorganized for non-technical users (question→tool mapping, Key Terms glossary).
203+
201204
---
202205

203206

@@ -246,7 +249,7 @@ DEXBot2 has matured from a basic grid bot into a signal-intelligent, production-
246249
---
247250

248251
**Report Originally Generated**: February 19, 2026
249-
**Last Updated**: July 9, 2026 (v1.0.12)
250-
**Total Commits**: 1705
251-
**Date Range**: December 2, 2025 - July 9, 2026 (ongoing)
252+
**Last Updated**: July 10, 2026 (v1.0.13)
253+
**Total Commits**: 1710
254+
**Date Range**: December 2, 2025 - July 10, 2026 (ongoing)
252255
**Repository**: DEXBot2 (BitShares DEX Trading Bot)

docs/FUND_MOVEMENT_AND_ACCOUNTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -825,4 +825,4 @@ To prevent "Time-of-Check to Time-of-Use" errors:
825825
3. **Bootstrapping:** Fills arriving during startup (`isBootstrapping=true`) are queued until the grid is fully reconciled.
826826

827827
---
828-
*Technical Reference for DEXBot2 v1.0.12 release*
828+
*Technical Reference for DEXBot2 v1.0.13 release*

docs/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
This directory contains the comprehensive technical documentation for the DEXBot2 trading bot. It is designed to guide developers from high-level architecture down to the nuances of fund accounting and state management.
44

5-
**Version context:** v1.0.12 is the current release.
5+
**Version context:** v1.0.13 is the current release.
66

77
---
88

@@ -110,7 +110,7 @@ This directory contains the comprehensive technical documentation for the DEXBot
110110

111111
### 🧭 [Evolution Report](EVOLUTION.md)
112112
*Project timeline and major architecture phases.*
113-
- **Coverage**: Historical milestones from the initial December 2025 bootstrap through the v1.0.12 stable release, including credit maintenance hardening
113+
- **Coverage**: Historical milestones from the initial December 2025 bootstrap through the v1.0.13 stable release, including credit maintenance hardening
114114
- **Focus**: Architecture evolution, release history, test growth, and documentation changes
115115

116116
### 🗒️ [Changelog](../CHANGELOG.md)

0 commit comments

Comments
 (0)