Skip to content

release: autter 3.12.0 — read both spellings of the overwritten-line counter; telemetry_oss getter; doc links - #108

Merged
sagnik11 merged 3 commits into
mainfrom
release/3.12.0
Nov 15, 2026
Merged

sagnik11 merged 3 commits into
mainfrom
release/3.12.0

Conversation

@sagnik11

@sagnik11 sagnik11 commented Nov 15, 2026 •

Copy link
Copy Markdown
Member

One PR (and one CI run) for the CLI part of the "Fix docs, schema and UI copy leftovers" triage item, with its release commit.

What changes

  • Notes spelling the counter overridden_lines are read. Schema 3.x writes overriden_lines (erratum E-001). The CLI now reads either spelling, and a note with both (the corrected one wins), through wire structs with two optional fields rather than #[serde(alias)], which fails on a note carrying both keys. It still writes only overriden_lines, so notes are byte-for-byte what 3.11.0 wrote and every integrity stamp stays valid. Dual-writing comes in a later release, once the dashboard's parser (being deployed in the monorepo batch PR) and this release are out.
  • autter config telemetry_oss prints "on"/"off" instead of "Unknown config key"; autter config lists it.
  • Links to docs pages that don't exist now point at real pages on autter.dev/docs (docs.autter.dev does not resolve). The IntelliJ install hint uses https://api.autter.dev/install.sh.
  • Version 3.12.0: merging tags v3.12.0 and publishes the release and the npm package.

Checks run locally

  • cargo check --all-targets; cargo test --lib 2475 passed, including 5 new unit tests (old key, new key, both equal, both different with the new key winning, neither).
  • New integration tests: a stamped note in each of the three shapes passes autter verify, and an amend keeps the count under the old key; the config getter.
  • Note-related integration modules (note_integrity_check, json_contract, sessions_*, simple_additions, stats_unit, rebase_authorship_unit): 233 passed.

Docs for this item merged as Autter-dev/docs#22.

🤖 Generated with Claude Code


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

sagnik11 and others added 3 commits November 15, 2026 22:51
…_oss

- Authorship notes: PromptRecord, FileStats and SessionStats deserialize
  through private wire structs that hold both spellings as separate optional
  fields (not #[serde(alias)], which fails with "duplicate field" on a note
  carrying both). The corrected key wins when both are present; neither
  reads as 0. Output is unchanged (overriden_lines only), so snapshots,
  the schema version and every integrity stamp stay as they were.
- Spec erratum E-001 now states the reader and writer rules for 3.x.
- VS Code extension type lists both keys.
- `autter config telemetry_oss` prints "on"/"off" instead of failing with
  "Unknown config key"; `autter config` lists it.
- IntelliJ install hint uses https://api.autter.dev/install.sh.
- Links to docs pages that do not exist now point at real pages on
  autter.dev/docs (untracked -> commit-stats, add-your-agent -> guides,
  configuration anchor, npm README host, README CI and background agents).
- CHANGELOG entry under [Unreleased]. Cargo.toml is not bumped.

Tests: unit tests for old key, new key, both keys (equal and different) and
neither; an integration test that a stamped note in each shape verifies and
keeps its count through an amend; an integration test for the config getter.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
cargo fmt reformatted three files this change does not touch.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ines; telemetry_oss can be read back; doc links fixed

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@sagnik11
sagnik11 merged commit bda1923 into main Nov 15, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant