harnex 0.10.1 → 0.10.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +25 -1
- data/docs/dispatch-telemetry.md +10 -0
- data/guides/04_monitoring.md +16 -0
- data/lib/harnex/version.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 25ba2b12b69cc6351e2ca4ee1e72e5f378a3828f7486498a2e2a026cf9da771b
|
|
4
|
+
data.tar.gz: 7e3cc95587c16dcb0a7b9a3e8339546a9ffbe085e4517407f1325e87fd2f45ce
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fcaa6d99632c375c1315bfc553b99ccf5c583b58a52e627e0af951493481bf33af9b5de50ca4704a1e6e2d7d9a8aa6999b42d94347ff942b76ac5033eb870dae
|
|
7
|
+
data.tar.gz: 929011b78aa399cc098b644f0bb2a0995222df71698e450e7ab4785e1be9249e07e4d40225fbf80e02ea9a11f6fefd7913c27682110944ccadacea8f879e7200
|
data/CHANGELOG.md
CHANGED
|
@@ -1,8 +1,32 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.10.2] - 2026-08-08 | 06:49 PM | IST
|
|
4
|
+
|
|
5
|
+
Docs-only patch: no library or CLI behavior changes. Released so the
|
|
6
|
+
packaged `agents-guide` surfaces serve the corrected guidance instead of the
|
|
7
|
+
stale 0.10.1 copies.
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
|
|
11
|
+
- `guides/04_monitoring.md`: the Completion Test's clean-tree check now
|
|
12
|
+
documents excluding the harness-owned dispatch stream
|
|
13
|
+
(`git status --short -- . ':!.harnex'`) in repos that track
|
|
14
|
+
`.harnex/dispatch.jsonl`. New anti-patterns: claiming "no live sessions"
|
|
15
|
+
from memory (finished agents park at prompts — sweep proven-done sessions,
|
|
16
|
+
then prove with `harnex status`) and failing clean-tree fences on
|
|
17
|
+
dispatch-stream growth.
|
|
18
|
+
- `docs/dispatch-telemetry.md`: new "Clean-Tree Checks And The Tracked
|
|
19
|
+
Stream" section — the tracked stream grows mid-run and is harness-owned;
|
|
20
|
+
fences and worker briefs must exclude it and never revert it.
|
|
21
|
+
|
|
22
|
+
Context: holm Analysis 803 (queue-process failure meta-analysis). During
|
|
23
|
+
Q107 g2 a worker aborted after misreading dispatch-stream growth as foreign
|
|
24
|
+
dirt, and a coordinator claimed "no live sessions" while 12 completed
|
|
25
|
+
workers sat parked at prompts.
|
|
26
|
+
|
|
3
27
|
## [0.10.1] - 2026-08-04 | 12:20 AM | IST
|
|
4
28
|
|
|
5
|
-
Patch release
|
|
29
|
+
Patch release: closes the recovery and regression-checking gap left
|
|
6
30
|
after `0.10.0` removed the upstream telemetry mirror. The canonical
|
|
7
31
|
`.harnex/dispatch.jsonl` stream remains the only writer; this release adds
|
|
8
32
|
operator tooling to prove and repair that stream without schema migration.
|
data/docs/dispatch-telemetry.md
CHANGED
|
@@ -11,6 +11,16 @@ git repo it is `~/.local/state/harnex/dispatch.jsonl`. `harnex history`,
|
|
|
11
11
|
`status --id`, and `wait` consume the same rows. Legacy v1 thin rows and
|
|
12
12
|
pre-v2 envelope-less summaries may coexist and remain readable/skippable.
|
|
13
13
|
|
|
14
|
+
## Clean-Tree Checks And The Tracked Stream
|
|
15
|
+
|
|
16
|
+
Some repos deliberately track `.harnex/dispatch.jsonl` as project telemetry.
|
|
17
|
+
There the stream grows while sessions run, so worker briefs, completion
|
|
18
|
+
fences, and orchestration clean-tree checks must treat the path as
|
|
19
|
+
harness-owned: expected to be dirty mid-run, never foreign dirt to abort on,
|
|
20
|
+
and never a file a worker should revert or "clean up". Exclude it explicitly,
|
|
21
|
+
for example `git status --porcelain -- . ':!.harnex'`, and commit its growth
|
|
22
|
+
alongside the work it describes.
|
|
23
|
+
|
|
14
24
|
## CLI flags
|
|
15
25
|
|
|
16
26
|
```text
|
data/guides/04_monitoring.md
CHANGED
|
@@ -100,6 +100,17 @@ terminal work signal.
|
|
|
100
100
|
Adjust the artifact path to the task. The point is to avoid declaring done while
|
|
101
101
|
a worker is between edits or between commits.
|
|
102
102
|
|
|
103
|
+
In repos that track the dispatch stream (`.harnex/dispatch.jsonl`), exclude it
|
|
104
|
+
from the clean-tree check — harnex appends to it during every run, so it is
|
|
105
|
+
legitimately dirty mid-run:
|
|
106
|
+
|
|
107
|
+
```bash
|
|
108
|
+
test -z "$(git status --short -- . ':!.harnex')"
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
Never treat harness-owned telemetry as foreign dirt, and never instruct a
|
|
112
|
+
worker to revert or "clean up" the stream to satisfy a fence.
|
|
113
|
+
|
|
103
114
|
## Why Pane State Alone Is Not Enough
|
|
104
115
|
|
|
105
116
|
Avoid using `state=prompt` or a quiet pane as the only completion signal:
|
|
@@ -199,3 +210,8 @@ interpretation.
|
|
|
199
210
|
- Reading raw tmux panes instead of `harnex pane`.
|
|
200
211
|
- Using `--wait-for-idle` as acceptance proof.
|
|
201
212
|
- Reusing a worker after a failure changes the task scope.
|
|
213
|
+
- Claiming "no live sessions" from memory. Finished agents park at prompts
|
|
214
|
+
indefinitely; sweep proven-done sessions, then prove the claim with
|
|
215
|
+
`harnex status`.
|
|
216
|
+
- Failing a clean-tree fence on `.harnex/dispatch.jsonl` growth in repos that
|
|
217
|
+
track the dispatch stream.
|
data/lib/harnex/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: harnex
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.10.
|
|
4
|
+
version: 0.10.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jikku Jose
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-08-
|
|
11
|
+
date: 2026-08-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: A local PTY harness that wraps terminal AI agents (Claude, Codex, Pi)
|
|
14
14
|
and adds a control plane for discovery, messaging, and coordination.
|