Skip to content

fix: keep dependency docs in sync - #50

Merged
vyncint merged 2 commits into
vyncint:mainfrom
nightcityblade:fix/issue-37
Sep 13, 2026
Merged

vyncint merged 2 commits into
vyncint:mainfrom
nightcityblade:fix/issue-37

Conversation

@nightcityblade

Copy link
Copy Markdown
Contributor

What and why

Bring SPEC.md, dependencies.md, and ADR-0011 in line with the manifest's termlens 0.11 and Rust 1.94.1 requirements. Extend the existing skill-version check so future dependency bumps also verify both normative dependency documents.

Fixes #37.

How it was verified

The five focused SkillVersionTests pass, including a regression proving stale documentation fails. make skill-version and git diff --check pass.

  • make gate is green locally
  • New behaviour has a test at the lowest layer that can observe it
  • GPU paths: not affected

Checklist

  • STATUS.md updated if a component's verification status changed (N/A)
  • CHANGELOG.md Unreleased updated for user-visible changes (N/A)
  • New unsafe blocks carry a // SAFETY: comment (N/A)
  • No new datafusion-* sub-crate; dependency chain still coherent (make coherence)
  • Architectural decisions recorded as an ADR in docs/decisions/ (N/A)
  • No AI attribution in any commit — no Co-Authored-By naming an assistant,
    no "Generated with" watermark. You are the author of record; CI checks this.

Signed-off-by: nightcityblade <nightcityblade@gmail.com>
The 2026-09-08 update entry described the 0.9 → 0.10.1 move, which is what
happened on that date; rewriting it to say 0.11 made a dated record claim
something that was not true when it was written, and left the bullet below
it still explaining that "0.10 records styles by default". termlens 0.11
landed here on 2026-09-11 in 2b12da6.

So the 2026-09-08 entry keeps its history, and 0.11 gets its own dated
entry: the stability-candidate requirement, the one breaking change
(`Screen::unsupported()` returning a view, `unsupported_overflow()` folding
into it) and what that bought both PTY suites, plus the widened
`make skill-version`.

ADR-0012 makes these records the audit trail, so a dated entry is evidence
rather than a description of the present. SPEC.md and dependencies.md are
current-state documents and are correctly rewritten in place.

Also drops a dead line from the new guard: the first grep built
`termlens/0/11` from `tr . /` and could never match `termlens/0.11`, so the
regex beside it was doing all the work. One pattern now, with the spellings
it covers named.

Signed-off-by: Vyncint Ng <115854244+vyncint@users.noreply.github.com>

@vyncint vyncint left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you. This is the right shape for the issue: the documents are corrected and a check now holds them to the manifest, so the next bump cannot leave them behind the way this one did.

I verified the guard rather than trusting it. Making docs/SPEC.md stale again (MSRV back to 1.88, the docs.rs link back to 0.10.1) fails it with docs/SPEC.md does not name rust-version 1.94.1, and restoring the file passes. All five SkillVersionTests pass, including your new test_stale_documented_dependency_version_fails. The remaining MSRV 1.88 mentions in dependencies.md are upstream crates' own declared MSRVs, which are correct as they stand.

I pushed one commit.

ADR-0011. The update entry is dated 2026-09-08 and described the 0.9 → 0.10.1 move, which is what actually happened then; termlens 0.11 landed here on 2026-09-11 in 2b12da6. Rewriting that dated entry to say 0.11 made it claim something untrue for its own date, and left the bullet below still explaining that "0.10 records styles by default". Under ADR-0012 these records are the audit trail, so a dated entry is evidence rather than a description of the present. The 2026-09-08 entry keeps its history and 0.11 gets its own dated entry covering the stability-candidate requirement, the Screen::unsupported() change and the widened make skill-version.

That distinction is on me rather than you: issue #37 listed ADR-0011 next to SPEC.md and dependencies.md without saying that the first is a historical record and the other two are current-state documents. You followed the issue as written. SPEC.md and dependencies.md are correctly rewritten in place.

One dead line in the guard. The first grep built termlens/0/11 via tr . /, which can never match termlens/0.11, so the regex beside it was doing all the work. Collapsed to the one pattern, with the spellings it covers named in a comment.

Merging. This closes a real gap, and the test you added is the part that keeps it closed.

@vyncint
vyncint merged commit 28c42fc into vyncint:main Sep 13, 2026
17 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.

Bring SPEC.md and dependencies.md in line with rust-version 1.94.1 and termlens 0.11

2 participants