@agentskit/harness 0.10.0 → 0.12.0
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.
- package/CHANGELOG.md +32 -0
- package/README.md +1 -1
- package/capabilities/public-surface.json +107 -84
- package/dist/cli.js +407 -73
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +211 -56
- package/dist/index.js +373 -85
- package/dist/index.js.map +1 -1
- package/docs/ADR-0003-doc-bridge-context-binding.md +10 -3
- package/docs/ADR-0031-loop-observability.md +36 -0
- package/docs/LOOP.md +7 -0
- package/docs/MODULE-BOUNDARIES.md +1 -0
- package/loop.config.example.yaml +1 -1
- package/package.json +2 -2
- package/release/manifest.json +3 -3
- package/release/notes.md +19 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,37 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.12.0] - 2026-09-13
|
|
4
|
+
|
|
5
|
+
Closes gaps found reusing Orca instead of reinventing it. Orchestration mutations (`run-create`, `task-create`,
|
|
6
|
+
`worker-start`, `send`) were verified to require a live Orca terminal pane and cannot be called from the loop's
|
|
7
|
+
headless `tick`/`deliver` — every angle was tried (worker-side sends, coordinator-of-own-Run) and all failed
|
|
8
|
+
structurally, not from a config gap. What *is* reachable headlessly turned into real fixes below.
|
|
9
|
+
|
|
10
|
+
- **Escalations now carry the worker's own diagnosis**: `loop deliver`'s stuck/blocked escalations capture the
|
|
11
|
+
dispatched worker's terminal output (`terminal read --screen`, best-effort) and fold it into the Linear comment.
|
|
12
|
+
Two real incidents showed the worker had already explained the blocker in plain language (an explicit "BLOCKED:
|
|
13
|
+
..." reply, a sandboxed git error) that the idle/no-PR heuristic was discarding.
|
|
14
|
+
- **Slot assessment uses Orca's real memory diagnostic**: the harness's own `vm_stat`-based free-RAM estimate and
|
|
15
|
+
static `machine.agentRssMb` guess were measured to run roughly 2x more conservative than `orca diagnostics
|
|
16
|
+
memory`'s macOS memory-pressure reading, at the same instant. `assessSlots` now prefers `host.availableMemory`
|
|
17
|
+
and the average of real per-session RSS when Orca's diagnostic is available, falling back to the previous
|
|
18
|
+
behavior otherwise.
|
|
19
|
+
- **`ak-harness-loop` Orca Skill**: an installable `SKILL.md` (`skills/ak-harness-loop/`) documenting the
|
|
20
|
+
read-only vs. mutating `loop` commands and the operational constraints this release's investigation surfaced,
|
|
21
|
+
so a future agent session doesn't have to rediscover them.
|
|
22
|
+
|
|
23
|
+
## [0.11.0] - 2026-09-13
|
|
24
|
+
|
|
25
|
+
- **Read-only loop observability**: added `ak-harness loop observe` plus the public `runObservability` and
|
|
26
|
+
`assessObservability` APIs. The report combines doctor/debrief/event-log data with Orca terminal/worktree
|
|
27
|
+
inspection and exposes queue, delivery, machine, provider, memory, cache, review, fix-round, lead-time, and
|
|
28
|
+
observed-token metrics.
|
|
29
|
+
- **Deterministic anomaly detection**: flags connected terminals without output, active claims without
|
|
30
|
+
`delivery.json`, finalized dirty worktrees, ready queues with idle slots but no recent dispatch, and stalled
|
|
31
|
+
in-flight workers/reviews. `--precheck` returns scheduler-friendly exit codes without mutating state.
|
|
32
|
+
- **Operator documentation and coverage**: added ADR-0031, module-boundary documentation, and focused regression
|
|
33
|
+
tests for the observability rules.
|
|
34
|
+
|
|
3
35
|
## [0.10.0] - 2026-09-12
|
|
4
36
|
|
|
5
37
|
Closes the gaps found comparing this harness against LangChain's "custom agent harness" article. The structural
|
package/README.md
CHANGED
|
@@ -605,7 +605,7 @@ Releases are published by `.github/workflows/release-harness.yml` after a merge
|
|
|
605
605
|
or require an `NPM_TOKEN`. Configure the npm trusted publisher once for
|
|
606
606
|
`AgentsKit-io/harness`, workflow `release-harness.yml`, and package
|
|
607
607
|
`@agentskit/harness`; version changes remain the release trigger.
|
|
608
|
-
The
|
|
608
|
+
The current release candidate checklist and explicit blockers live in
|
|
609
609
|
[`release/manifest.json`](release/manifest.json) and
|
|
610
610
|
[`release/notes.md`](release/notes.md).
|
|
611
611
|
|