> ## Documentation Index
> Fetch the complete documentation index at: https://lab.pollack.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# What's New

> Release notes for Agent Journal — auto-generated from git history

## 1.6.0 (2026-07-01)

* First-class journal-capture primitives (slice 1): `PhaseCapture.stepCosts()`, `JournalSteps.fromEvents()`, production fail-loud `RunRecorder`, `JournalStorage.persistsDerivedEvents()`, per-turn usage in the immutable log
* A1: `AttributionMethod.EVEN_SPLIT` — coarse fallback when per-turn tokens are unavailable
* A5: per-file `{"@type":"header","schemaVersion":1}` line on `events.jsonl` and `analysis.jsonl` (loaders skip it)
* Cost-metering fix: headline `LLMCallEvent.tokenUsage` is now the cost-bearing Σ-per-turn-by-type aggregate (incl. cache) instead of the last-`ResultMessage` snapshot, which under-counted \~2× on long runs — same field, corrected value, no schema change
* Additive on the frozen §4 capture contract; 482 tests green. Ships in agentworks-bom 1.13.0

## 1.5.0 (2026-06-17)

* docs: fix TraceContentMode import path (moved to journal.trace in capture-fidelity R2)
* R2.10 emission: wire StepCostEvent into analysis.jsonl from capture
* Stage R2.9: Implement computeJudgeAgreement (judge\<->human calibration)
* Stage R2.6: Per-step goal/outcome channel (StepOutcomeEvent)
* Stage R2.10: DerivedEvent hierarchy + StepCostEvent + analysis.jsonl sidecar
* Stage R2.8: First-class Gemini capture (gemini-cli-capture module)
* Stage R2.7: Move portable TraceWriter into journal-core
* Stage R2.5a: Delineate sub-agent spawns (interiors are out-of-stream)
* Stage R2.4: Emit derived step\_cost lines into the trace (epic gate)
* Stage R2.3b: Per-step cost attribution + JournalStep
* Stage R2.3a: Stable step identity for events (fixes subjectId fragility)
* Stage R2.2: Per-turn usage capture (TurnUsage + ModelCost from rawJson)
* Stage R2.1: Consume rawJson — verbatim raw trace line (rawMode=NONE|FULL)
* Stage R2.0: Bump claude-code-sdk to 1.4.0 (unblocks rawJson consumption)
* CI: enforce OWASP CVE gate via reusable security-scan workflow
* Add OWASP dependency-check CVE gate (-Powasp) + Trivy security-scan script
* docs: version pins to 1.4.0

## 1.4.0 (2026-06-06)

* Fix CI: build on Java 21 to match claude-code-sdk artifact class version
* Steps 1.1-1.2: TraceWriter v2 content capture with TraceContentMode

## 1.3.0 (2026-06-04)

* Include tool inputs in TraceWriter JSONL and escape control characters

## 1.2.0 (2026-05-19)

* Add feedback event type, eval subjects, and feedback service

## 1.1.0 (2026-05-15)

* Update claude-code-sdk dependency to released 1.1.0
* Skip tests on snapshot publish — CI handles test validation
* Migrate to markpollack org: package rename, BSL license, standalone POM, build-tools workflows

## 1.0.1 (2026-04-30)

* Bump version to 1.0.1-SNAPSHOT
* Open JournalEvent to external implementations; add registerEventType API
* Update README: released version 0.9.0
* Fix release workflow: add contents write permission for git tagging

## 0.9.0 (2026-03-29)

* Initial release.
