Skip to content

Commit 116d7da

Browse files
committed
chore: v1.0.7 — BROADCAST_DEADLINE graceful recovery, subscription health watchdog
## v1.0.7 Release ### Version bump + manifest sync - Bumped to 1.0.7 via scripts/sync-version.ts across all 10 manifests - Added CHANGELOG.md and EVOLUTION.md entries - Documented version management workflow in AGENTS.md ## Files - AGENTS.md: version management section with npm run version:sync - CHANGELOG.md: v1.0.7 entry - docs/EVOLUTION.md: v1.0.6→v1.0.7 entry + footer updated (1673 commits) - package.json / package-lock.json: version bumped to 1.0.7 - 7 other manifest files synced automatically ## Validation - npm run version:check — all manifests match
1 parent 6035fe6 commit 116d7da

13 files changed

Lines changed: 54 additions & 19 deletions

File tree

AGENTS.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,28 @@ Research scripts for parameter tuning — output interactive HTML charts, not us
196196
### Testing
197197
- `tests/` - Comprehensive test suite (unit, integration, scenario tests)
198198

199+
## Version Management
200+
201+
When bumping the version for a release:
202+
203+
1. Update `version` in `package.json` to the new version.
204+
2. Run `npm run version:sync` — syncs all manifest files (`package-lock.json`,
205+
`claw/package.json`, `claw/runtimes/openclaw-plugin/*.json`,
206+
`analysis/ama_fitting/package.json`, `claw/tests/test_claw_mcp_transport.ts`,
207+
`docs/README.md`, `docs/DEXBOT_COMPARISON.md`,
208+
`docs/FUND_MOVEMENT_AND_ACCOUNTING.md`, `docs/EVOLUTION.md`).
209+
3. Add entries to `CHANGELOG.md` and `docs/EVOLUTION.md`, then update the
210+
EVOLUTION.md footer (commit count, last updated version/date).
211+
4. Commit the version bump + docs.
212+
213+
```bash
214+
# Check what would change (dry-run)
215+
npm run version:check
216+
217+
# Apply version sync
218+
npm run version:sync
219+
```
220+
199221
## Quick Commands
200222
```bash
201223
# Create feature

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.7] - 2026-07-03 - BROADCAST_DEADLINE Graceful Recovery
6+
7+
### 2026-07-03
8+
9+
- **Fix**: prevent deadlock when broadcast fails with `BROADCAST_DEADLINE``_reconcileAfterUncertainBroadcast` now receives `fillLockAlreadyHeld: true` so it does not deadlock on the non-reentrant `_fillProcessingLock`. Previously the recovery path never ran, leaving the grid in an uncertain state and the process hung (`6035fe6f`).
10+
- **Fix**: add bot-level retry for `BroadcastUncertainError` — if all daemon-side attempts expire against the 25s inner deadline, a fresh bot-level retry buys a new 25s window. Skips retry on `partialOnChainState` (pair-mode grouped creates) to prevent duplicate orders on chain (`6035fe6f`).
11+
- **Feat**: make daemon broadcast retry count configurable — `CREDENTIAL_DAEMON_BROADCAST_RETRIES` in constants (default 3), up from hardcoded 2 (`6035fe6f`).
12+
- **Feat**: subscription health watchdog for silent subscription death detection — monitors blockchain subscription health and triggers reconnection when the subscription silently drops without an error event (`5a20dbdd`).
13+
- **Chore**: version bumped to 1.0.7 across all manifests.
14+
515
## [1.0.6] - 2026-07-03 - Version Display & Project-Root Centralization
616

717
### 2026-07-03

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.6",
3+
"version": "1.0.7",
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.6",
3+
"version": "1.0.7",
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.6",
5+
"version": "1.0.7",
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.6",
4+
"version": "1.0.7",
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.6'
33+
version: '1.0.7'
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.6'
184+
version: '1.0.7'
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.6).
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.7).
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.6 |
39+
| **Release Track** | 1.0.0 | v1.0.7 |
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.6 |
777+
| **Release Track** | 1.0.0 | v1.0.7 |
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: 7 additions & 4 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.6 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.7 stable release.
66

77
### Key Milestones
88
- **Project Inception**: December 2, 2025
99
- **Growth Phase**: 1,670+ 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**: 41 release entries (v0.1.0 to v1.0.6)
12+
- **Releases**: 42 release entries (v0.1.0 to v1.0.7)
1313

1414
---
1515

@@ -176,6 +176,9 @@ Grid invariant enforcement: prevent stale dust duplicates at the same price leve
176176
### v1.0.5 → v1.0.6 (6 commits)
177177
Version display in unlock status, partial-fill stale-cache fix, rerun-hint correction, project-root dist-detection centralization via `isDistRuntime()`, and claw `package.json` require path fix.
178178

179+
### v1.0.6 → v1.0.7 (2 commits)
180+
Subscription health watchdog for silent subscription death detection. BROADCAST_DEADLINE graceful recovery: deadlock fix (`fillLockAlreadyHeld:true`), bot-level retry with pair-mode double-publish guard, and configurable daemon broadcast retries (`CREDENTIAL_DAEMON_BROADCAST_RETRIES`).
181+
179182
---
180183

181184

@@ -224,7 +227,7 @@ DEXBot2 has matured from a basic grid bot into a signal-intelligent, production-
224227
---
225228

226229
**Report Originally Generated**: February 19, 2026
227-
**Last Updated**: July 3, 2026 (v1.0.6)
228-
**Total Commits**: 1670
230+
**Last Updated**: July 3, 2026 (v1.0.7)
231+
**Total Commits**: 1673
229232
**Date Range**: December 2, 2025 - July 3, 2026 (ongoing)
230233
**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.6 release*
828+
*Technical Reference for DEXBot2 v1.0.7 release*

0 commit comments

Comments
 (0)