Write Notarius v0.9.0 release notes

This commit is contained in:
2026-11-26 13:56:29 +00:00
parent 78ad79d64d
commit f9bf12cf75

137
docs/releases/v0.9.0.md Normal file
View File

@@ -0,0 +1,137 @@
# Notarius v0.9.0
Notarius now uses native ConfigKit, PromptKit, and CommandKit workflows for
configuration, model execution, inspection, and CLI presentation. This release
also replaces checkpoints with a unified accepted-result cache, simplifies
integration authoring, and improves diagnostics, cancellation, and source-data
processing.
## Compatibility And Upgrade
This is a breaking upgrade from v0.8.1. Existing configurations and subprocess
callers need migration; retired interfaces are not retained as compatibility
aliases. Domain artifact schemas and lane filename mapping remain unchanged.
Follow the [native migration guide](../consumers/native-migration.md) for the
complete mapping, using the refreshed [minimal configuration](../../examples/dnd-minimal/config.yml)
or [complete D&D configuration](../../examples/dnd-complete/config.yml) as a
starting point.
- **Configuration:** version `6` is required. Changing the version header alone
does not translate old fields. Native imports, sibling inheritance, identified
resource lists, and declaration-relative paths replace the former wrappers.
Same-ID resources and pipeline steps replace whole records; use native
inheritance to retain fields deliberately. Review
[configuration discovery and precedence](../config.md#configuration-discovery-and-precedence)
when deploying without an explicit `--config`.
- **Commands:** use `notarius run PIPELINE_ID --input-file PATH` or its equivalent
`notarius pipeline run`. Replace `--config-overlay` with `--overlay`, `--json`
with `--format json`, and comma-separated `--only` selection with repeated
`--lane` flags. Use `notarius version` instead of `--version`. Put flags after
the complete command path; request overrides use the canonical `--llm-*` names.
See the [CLI reference](../cli.md) for all command and supplied-value changes.
- **Prompts and profiles:** use native settings under `promptkit`, or companion
`prompts.yml` / `prompts/` sources beside the selected main configuration.
Resources use qualified IDs such as `notarius/dnd-extraction` and
`notarius/dnd.spells`. Migrate old profile-file, provider-catalog, and resource
version wrappers using the [native resource rules](../config.md#promptkit-profiles).
- **Retries and outcomes:** replace producer semantic `retries` with
`max_additional_turns`, defaulting to two additional turns. Replace
`validation_policy` with `mode: strict|permissive`; strict is now the default
for every producer, including normalization. Binding settings override pipeline
defaults. Validator retries and generic deterministic retries are removed;
PromptKit owns transport retries and structural repair. Permissive mode emits
only supported fallbacks, disclosed in the completion report. See
[producer controls](../config.md#producer-controls).
- **Concurrency:** replace `concurrency.total_llm` and
`concurrency.stage_workers.extract` with `concurrency.workers`, defaulting to
`64`. One pool bounds ready extraction and lane-completion jobs. Configure
backend capacity through PromptKit independently; there is no separate
cross-backend LLM ceiling.
- **Result consumers:** the old `notarius.run-result.v2` receipt, `index.json`,
`manifest.json`, and reporting-only sidecars are removed. Check the process
status, optionally decode the small [completion report](../cli.md#completion-report),
and read configured domain files beneath its `output_directory`. Report formats
do not change artifact encoding. Failed stdout can be partial, and a failure
after publication can leave valid artifacts. See the
[subprocess consumer guide](../consumers/subprocess.md).
- **Source builds:** the Go minimum rises from 1.25.5 to 1.27.0. Upgrade the
toolchain before building or installing from source.
## Accepted-Result Cache
One cache now stores final accepted artifacts and LLM chunk plans, replacing both
legacy checkpoints and source-keyed chunk-plan caching. Use root
`cache_directory`, pipeline or binding `cache: auto|bypass|refresh`, and an
invocation-wide `--cache` override. The default location is the user's cache
directory; `/var/cache/notarius` is the convention for a provisioned system-wide
installation. Explicit resume and selective checkpoint controls are retired.
Reuse is keyed by the initial prepared message contents. Results are stored only
after final acceptance, including any domain correction. Hits receive ordinary
decoding and current-source usability checks, without semantic reassessment.
Model, session, and policy changes alone do not invalidate entries: use refresh
or bypass when fresh inference and assessment are required. Failed refresh keeps
the previous accepted entry, and cache I/O is best effort.
Legacy records remain ignored and untouched; no conversion or deletion is
required. New entries populate through ordinary execution. After correcting a
failed stage, rerun normally to reuse eligible successful predecessors. See
[cache recovery](../operations.md#accepted-result-cache-and-recovery).
## Inspection And Debugging
- Native configuration commands provide scoped inspection, provenance, history,
and comparison. Pipeline show/validate commands inspect resolved pipelines and
perform offline dependency checks. PromptKit commands provide resource listings,
requirements, prepared previews, and explicit provider smoke tests. Optional
native usage reporting describes current model work, not cached historical usage.
- `--debug` selects capture as well as native diagnostic verbosity. Capture uses
`/tmp/notarius-debug` by default; an explicit empty debug directory disables it.
A directory setting alone does not enable capture. Capture selection remains
independent of the final native visibility mode, so quiet output can coexist
with captured evidence.
- Full run/operation evidence replaces the summary/trace hierarchy. A relative
`latest` link updates at session start. Original input and complete parsed source
are recorded once per run, with operation references alongside convenient inline
chunks and native messages. An isolated operation directory need not contain
the whole source. Debug layouts remain private; see
[debug bundles](../operations.md#debug-bundles).
## Reliability And Efficiency
- Retain all distinct diagnostic groups without failing a run solely because of
diagnostic volume; representative examples remain bounded within each group.
Preserve completed-operation diagnostics when later work fails, and retain
execution, cancellation, capture, and finalization causes together.
- The first SIGINT or SIGTERM requests cooperative cancellation and ordinary
cleanup. A subsequent signal permits process termination. Cancellation does not
trigger fallback; no application shutdown deadline is imposed.
- Skip expensive debug projections when capture is disabled, share whole-source
indexes across extraction and validation, resolve citations from selected ranges,
and release intermediates after their final consumers. Normalizers prepare
invariant sort keys once, reference collision checks use keyed lookups, and
chunk-range storage is sized to the chunks actually emitted.
- Fix overflow for extreme accepted chunk sizes and reconciliation context radii,
generated-producer key collisions, and false cycle detection for finite
shared-prefix metadata slices. Reject tiny negative transcript timestamps even
when floating-point conversion underflows to zero.
Native failed-validation results preserve their details and causes, and
cancellation during evidence recording retains capture failures.
## Integration Authoring And Delivery
Typed modules now prepare operations for a shared core executor. Core owns
assessment, native continuation, accepted-result reuse, evidence, and terminal
disposition; integrations retain domain interpretation, correction instructions,
identity, and fallback construction. Shared reconciliation and native capture have
dedicated owners. Domain correction uses PromptKit's growing continuation history
and assesses each usable revised candidate through the complete validator chain,
including the final permitted turn. The [module authoring guide](../internal/modules.md) includes a
tested non-D&D example and explicit concurrency and ownership guidance.
The selected dependencies are ConfigKit v1.4.0, PromptKit v0.25.0, CommandKit
v0.8.0, ckconfig v0.11.0, ckprompt v0.12.0, and ReleaseKit v0.10.0. Release delivery
now uses ReleaseKit for hosted notes, a Linux/amd64 executable, and checksum assets;
see [installation](../../README.md#install) and the [release runbook](../release.md).
[COPYRIGHT](https://forge.maximumdirect.net/eric/notarius/src/tag/v0.9.0/COPYRIGHT) | [LICENSE](https://forge.maximumdirect.net/eric/notarius/src/tag/v0.9.0/LICENSE) | [ATTRIBUTION](https://forge.maximumdirect.net/eric/notarius/src/tag/v0.9.0/docs/oss/attribution.md)