Skip to content

Re-vendor the carried hub files to the current canonical - #255

Merged
ptr727 merged 2 commits into
developfrom
revendor/hub-canonical
Aug 3, 2026
Merged

Re-vendor the carried hub files to the current canonical#255
ptr727 merged 2 commits into
developfrom
revendor/hub-canonical

Conversation

@ptr727

@ptr727 ptr727 commented Aug 3, 2026

Copy link
Copy Markdown
Owner

.markdownlint-cli2.jsonc is carried verbatim from ptr727/ProjectTemplate, so a copy that differs is drift rather than a choice. The hub's regenerated fleet divergence report lists this repo for it.

The canonical enables MD033 with details and summary allowed, which is a behavior change rather than a comment sweep. Verified rather than assumed, since that is the kind of change that fails CI after the fact: markdownlint-cli2 over **/*.md reports 0 issues here under the restored config.

Line endings preserved.

repo-config/configure.sh was withdrawn from this pull request

An earlier revision of this branch also re-vendored repo-config/configure.sh, and this description still described it after the file was removed. That was a stale description rather than a missing commit, and it is corrected here.

The reason it was withdrawn is worth stating, because it is the blocker for this repo: the canonical script resolves its ruleset payloads as develop.json and main.json, and this repo carries ruleset-develop.json and ruleset-main.json. Copying the script in leaves apply and check aborting on payloads that do not exist, which is worse than the older script it replaced. The hub's divergence ledger recorded the filename fork, so the information was available and the re-vendor ran without acting on it.

Converging this repo needs the payload migration with its content reconciled against the canonical, which is judgment rather than a file copy, so it gets its own pull request. Known defects in the canonical script are tracked at ptr727/ProjectTemplate#538 and fixed in ptr727/ProjectTemplate#540, which should land before that migration so this repo takes a corrected script rather than the current one twice.

Part of the fleet re-vendor sweep tracked in the hub's TODO.md.

These files are carried verbatim from ptr727/ProjectTemplate, so a local
copy that differs is drift rather than a choice. The hub's regenerated
fleet divergence report lists this repo for them.

Changed: .markdownlint-cli2.jsonc repo-config/configure.sh

Line endings preserved as each file held them.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings August 3, 2026 16:54
@codecov

codecov Bot commented Aug 3, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.53%. Comparing base (f8fb877) to head (f789482).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #255   +/-   ##
========================================
  Coverage    99.53%   99.53%           
========================================
  Files            7        7           
  Lines          860      860           
  Branches       118      118           
========================================
  Hits           856      856           
  Partials         4        4           
Flag Coverage Δ
latest-stable-ha-2026.7.4 99.53% <ø> (ø)
minimum-ha-2026.4.0 99.53% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR re-vendors two “carried” repository-admin files to match the current canonical versions used across the fleet: the Markdown lint configuration and the repo-config apply/check script.

Changes:

  • Update repo-config/configure.sh to the newer payload-driven apply/check flow (model selection, idempotent ruleset upserts, and drift checks).
  • Update .markdownlint-cli2.jsonc to enable MD033 with an allowlist for details/summary while keeping long-line handling unchanged.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
repo-config/configure.sh Replaced the older apply/check implementation with the newer canonical, payload-driven model-selection and drift-check logic.
.markdownlint-cli2.jsonc Switched MD033 from disabled to enabled with an allowlist for details/summary and updated explanatory comments.

Comment thread repo-config/configure.sh Outdated
Comment thread repo-config/configure.sh Outdated
Comment thread repo-config/configure.sh Outdated
The canonical script resolves its ruleset payloads as develop.json and
main.json, and this repo carries ruleset-develop.json and ruleset-main.json.
Copying the script in therefore leaves apply and check aborting on payloads
that do not exist, which is worse than the older script it replaced.

The hub's divergence ledger records exactly this ("an older check-mode fork
with ruleset-*.json filenames"), so the information was available and the
re-vendor was run without acting on it. Converging this repo needs the
payload migration and its content reconciled against the canonical, which is
a change with judgment in it rather than a file copy, so it gets its own
pull request.

The markdownlint config re-vendor in this branch is unaffected and stays.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings August 3, 2026 17:48

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

@ptr727
ptr727 merged commit 957c417 into develop Aug 3, 2026
19 checks passed
@ptr727
ptr727 deleted the revendor/hub-canonical branch August 3, 2026 21:03
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.

2 participants