Skip to content

Prepare v2.2.0 release and correct citation truncation markers - #15

Merged
NickLeko merged 1 commit into
mainfrom
codex/release-v2.2.0
Oct 15, 2026
Merged

NickLeko merged 1 commit into
mainfrom
codex/release-v2.2.0

Conversation

@NickLeko

Copy link
Copy Markdown
Owner

Bump engine/app version to 2.2.0 while retaining record schema_version 2.0.0, and correct citation-window truncation indicators. Left cuts now prefix [truncated]…; right cuts suffix …[truncated]. Only sides actually cut receive markers, with the complete marked citation and all markers inside the 1,000-character cap. Windows that cannot fit remain rejected with the existing full-note UI notice.

Regenerated the historical goldens and artifacts using the docs/testing.md acceptance clock, 2026-09-01T00:00:00Z. Audited every generated file before copying into the repository: six golden files change engine_version, five evaluation artifacts change engine_version, and status.json changes app_version, each 2.1.3 → 2.2.0. No other generated fields change. Policy snapshots, drift, provenance, sources and rulebook files remain unchanged.

Added docs/releases/v2.2.0.md covering PRs #11–#14, the two-step pre-demo monitor procedure, the exact copied-note/persistence/checkbox regexes, attestation context behavior, and remaining false-READY examples. Scratch evaluation confirms N1b, cross-sentence copy-forward, and laterality/attribution examples still reach READY with four attestations at the acceptance clock. Those limitations are stated plainly.

Validation:

  • Python 3.12.3: 1,072 passed, 14 existing expected failures.
  • Python 3.13.12: 1,072 passed, 14 existing expected failures.
  • Citation-window unit tests: 33 passed, including exact left-only, right-only, and both-sides outputs; near-cap one-marker cases; rejection when two required markers cannot fit.
  • Exact marker outputs (each 1,000 characters): left [truncated]… + 973 × a + ⟦完整 😀 citation⟧; right ⟦完整 😀 citation⟧ + 973 × b + …[truncated]; both [truncated]… + 480 × a + ⟦完整 😀 citation⟧ + 481 × b + …[truncated].
  • Corpus 52/52; conformance 0 violations. Documented regexes match engine/extract.py exactly. Record schema remains 2.0.0.
  • Ruff check/format and git diff --check pass.

PR #14 was merged with merge commit 34d622f before branching. The hosted main demo was rebooted via Streamlit Community Cloud and returned PENDING_VERIFICATION for the lumbar MRI smoke test; the expanded full note, neighboring context, and read-full-note captions were visible. This release branch remains unmerged and untagged; it is not deployed by that reboot.

@NickLeko
NickLeko merged commit 5ac2cd8 into main Oct 15, 2026
6 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