Skip to content

ci(lint): tighten the markdownlint budget to 966 and make the STE budget a ratchet - #789

Merged
hanthor merged 3 commits into
mainfrom
ci/ste-ratchet
Nov 20, 2026
Merged

hanthor merged 3 commits into
mainfrom
ci/ste-ratchet

Conversation

@hanthor

@hanthor hanthor commented Nov 20, 2026

Copy link
Copy Markdown
Member
  • .markdownlint-budget: 1500 → 966 (current count with the pinned markdownlint-cli@0.49.1). The gate stays max-only: synced READMEs move this number from outside the repo, so a slack-fails rule would fail bot sync PRs that reduce findings. Lower it again when cleanups land.
  • STE (ste job): reusable workflow bumped to tuna-os/.github@8ecf20e with ratchet: true (feat(actions): add count-ratchet, and an opt-in ratchet mode for ste-lint .github#389). Budget 5 = count 5. Synced docs/<slug>/ trees are skipped by the linter, so syncs do not move it.
  • lint.yml pull_request gains labeled/unlabeled types so adding ratchet-raise re-runs the check.

Note: a sync that brings new markdownlint findings beyond the auto-fix will now fail the Markdown Lint job instead of fitting under 534 of headroom.

🤖 Generated with Claude Code

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
tunaos-org 9bb21ca Commit Preview URL

Branch Preview URL
Nov 20 2026, 03:53 AM

@hanthor-hive-agent

hanthor-hive-agent Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor
9bb21ca

ℹ️ Sentinel notice — informational; author is trusted (owner), merge is not blocked

Hive flagged this PR (author @hanthor, head 9bb21ca032ae) because it matches behaviors that can override security controls, escalate privileges or damage the codebase. This is a heuristic, not an accusation — a maintainer should confirm the change is intended before it merges.

  • sensitive_path — changes 1 sensitive path(s) (Touches a sensitive path (OWNERS, workflows, policies, hive config, security docs, …))
    • .github/workflows/lint.yml

Hive did not add the sentinel-alert label because this author is trusted. The finding remains recorded for audit and the dashboard Security tab; set sentinel.trusted_authors_block: true to require the blocking label for trusted authors too.

hanthor and others added 2 commits November 20, 2026 03:45
…get a ratchet

The markdownlint budget had 534 findings of slack (1500 vs 966 with
markdownlint-cli 0.49.1). Set it to the current count. The STE budget
already matches its count (5); turn on the reusable workflow's ratchet
mode so it stays exact.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: James Reilly <jreilly1821@gmail.com>
8ecf20e's reusable workflow resolved the ste-lint action at an older
locked commit, which ignored the ratchet input (tuna-os/.github#390).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: James Reilly <jreilly1821@gmail.com>
@hanthor-hive-agent

Copy link
Copy Markdown
Contributor

@hanthor this PR is back in your court (stage/072-returned-to-contributor). The hive will not merge it until the head changes.

Failing checks:

  • Node.js Syntax & Tests
  • bootstrap-issues
  • workers / Build tunaos-org

Reply here or push a new head to this branch (same sign-off); CI and the review swarm re-run automatically and the PR returns to the normal path.

Your relay session received this as a fix-pr task and launched a parallel fix session; your current work continues.

The formula is published in tuna-os/homebrew-tap; the
ublue-os/homebrew-experimental-tap copy no longer exists, which turned the
install-command check red on main and on this PR.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Signed-off-by: hanthor <hanthor@users.noreply.github.com>
@hanthor
hanthor merged commit 3121313 into main Nov 20, 2026
17 checks passed
@hanthor
hanthor deleted the ci/ste-ratchet branch November 20, 2026 04:27
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