Skip to content

chore(release): v0.1.7 — version bump + release-engineering rebrand + branding-lint extension - #31

Merged
thehoff merged 2 commits into
developfrom
chore/release-v0.1.7-tidy
May 18, 2026
Merged

thehoff merged 2 commits into
developfrom
chore/release-v0.1.7-tidy

Conversation

@thehoff

@thehoff thehoff commented May 18, 2026

Copy link
Copy Markdown
Owner

Summary

Release prep for v0.1.7. Continues the downstream 0.1.x numbering line (last tag v0.1.6, 2026-05-15) after the upstream rebase had pulled in rtk's 0.39.0.

Changes

Reviewed by Codex

  • P3: The branding-lint's issue #19 history-comment exemption was too broad — a non-comment line containing both [rtk] and the issue reference would have slipped through. Split into _ANYWHERE vs _IN_COMMENTS_ONLY allowlists with the latter gated on line.trim_start().starts_with("//").

Verified

  • cargo test --bin contextcrawler — 2027 pass
  • cargo test --test branding_lint — 3 pass (incl. new config-file pin)
  • cargo test --test harness_standalone — 1 pass
  • ./target/debug/contextcrawler --version prints contextcrawler 0.1.7

Refs #19 #20 #22 #29

thehoff and others added 2 commits May 18, 2026 17:42
… branding-lint extension

**Version bump 0.39.0 → 0.1.7.** The upstream rebase pulled in rtk's
`0.39.0` version; restoring the downstream `0.1.x` numbering line per
the maintainer's call. `.release-please-manifest.json` updated to
match. Last downstream tag was `v0.1.6` (2026-05-15); this is the
next in the sequence.

**release-please-config.json `package-name: "rtk"` → "contextcrawler".**
Caught by manual audit during release prep. Same regression-family as
#19 / #20 / #22: a rebrand gap the prior branding-lint (src/-scoped)
didn't catch because release-please-config.json lives at repo root.
Without this fix, release-please would have produced `rtk-vX.Y.Z`
tags and release-PR titles.

**Cargo.toml `extended-description` rebrand.** Line 77 still read
"rtk filters and compresses..." — same upstream-leak family. Fixed.

**Extended `tests/branding_lint.rs`** with a third test —
`branding_lint_config_files_pin_canonical_package_name` — that:
- Parses Cargo.toml and asserts `[package].name == "contextcrawler"`
- Parses release-please-config.json and asserts
  `packages["."]["package-name"] == "contextcrawler"`

This closes the gap that let release-please-config.json silently drift
to `"rtk"` post-rebase. Any future rebase that re-introduces an
upstream package-name fails `cargo test --test branding_lint` with an
explicit error pointing at issues #19/#20/#22 history.

**CHANGELOG.md** entry for v0.1.7 added, summarizing all PRs merged
today (#10 #15 #16 #21 #24 #25 #30) plus the deferred follow-ups
(#26 #27 #28 #29).

Tests: 2027 bin + 3 branding-lint (1 new) + 1 harness = all pass.
Verified: `contextcrawler --version` now prints `contextcrawler 0.1.7`.

Refs #19 #20 #22 #29
…es only

Codex P3 catch on the v0.1.7 PR: the previous `STRUCTURAL_ALLOW_NEEDLES`
exemption skipped ANY line containing "issue #19" / "see #19" / "bcddd06",
which means a future production-code line that accidentally
re-introduces `[rtk]` / `RTK.md` / `@RTK.md` alongside that phrase would
slip past the lint entirely. That bypass undermines the whole regression
guardrail.

Split the allowlist into two:
- `STRUCTURAL_ALLOW_NEEDLES_ANYWHERE` — `LEGACY_RTK_MD_FILES` only
  (appears in const declarations, not comments)
- `STRUCTURAL_ALLOW_NEEDLES_IN_COMMENTS_ONLY` — `issue #19`,
  `see issue #19`, `see #19`, `bcddd06` — applied only when the line's
  trimmed text starts with `//`

A non-comment line that happens to mention the issue number now fails
the lint as it should. Comment-only history references still pass.

Tests: 3 branding-lint + 2027 bin = all pass.

Co-Authored-By: Codex review <[email protected]>
@thehoff
thehoff merged commit e568b63 into develop May 18, 2026
3 checks passed
@thehoff
thehoff deleted the chore/release-v0.1.7-tidy branch May 18, 2026 07:44
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