Skip to content

πŸ“ docs: copy freshness batch from the rc.2 audit - #561

Merged
scttbnsn merged 4 commits into
mainfrom
docs/copy-freshness-audit
Jul 18, 2026
Merged

scttbnsn merged 4 commits into
mainfrom
docs/copy-freshness-audit

Conversation

@scttbnsn

@scttbnsn scttbnsn commented Jul 18, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Docs/copy freshness fixes from an adversarially-verified audit of v1.6.0-rc.2 docs and marketing copy. Every change traces back to the current schema/source/code β€” no speculative rewrites.

  • Badges/stats accuracy β€” README GHCR pull-count badge (145Kβ†’150K, re-verified ~152K) and Biome badge (2.4β†’2.5, matches the pinned @biomejs/biome 2.5.2); mirrored in apps/web hero stat and site-config meta description
  • Provider-count accuracy β€” "20+ notification services"/"20+ services" language replaced with the precise "20 trigger integrations β€” 17 notification channels plus 3 action providers"; retitled all six apps/web comparison pages ("20 Notification Services" β†’ "20 Trigger Integrations") and corrected the ouroboros/dozzle highlight bodies to the true 17+3 split
  • Roadmap-content removal β€” dropped stale "future roadmap item"/"future release will wire"/"on the roadmap" language from faq, updates, and configuration/watchers docs that no longer reflects current planning
  • Dead anchors fixed β€” added the missing "Watch a remote docker host behind HTTPS with OIDC auth" section to configuration/watchers, so the existing #watch-a-remote-docker-host-behind-https-with-oidc-auth anchors already referenced from faq and guides/security resolve. Env vars sourced directly from the watcher's OIDC config paths (app/watchers/providers/docker/oidc.ts)
  • Rate-limit table β€” ghcr.io / Docker Hub burst corrected 5 β†’ 10 to match app/registries/token-bucket.ts
  • Hook-validation wording β€” corrected the triggers/docker callout: hook commands are validated immediately before execution, not at configuration/startup time (per app/triggers/hooks/HookRunner.ts)
  • Command trigger docs β€” added the missing image_digest_value env var (emitted by flatten() over container.image.digest, alongside the already-documented image_digest_repo/image_digest_watch)
  • Kafka trigger docs β€” genericized the discontinued CloudKarafka example to a generic managed-Kafka SASL/SSL example
  • API docs regeneration β€” audit-trail action types expanded from 23 to the full 38-value AuditEntry['action'] union (app/model/audit.d.ts); SSE event-types table gained the 7 events missing from app/api/sse.ts's broadcast call sites
  • Trivy advisory correction β€” added a dated July 18 correction to the apps/web Trivy supply-chain page reflecting the digest-pinned trivy-bin build stage (Trivy 0.72.0) that replaced the Alpine apk install as of 3b28e8dc, and genericized the "Verifying your installation" guidance to name only the compromised version (v0.69.4) instead of an enumerated safe-version list
  • /docs/current/* redirect fix β€” "current" isn't a real docs version slug, so the generic catch-all was swallowing it into :path and producing a broken double path (/docs/v1.6/current/...), 404ing every /docs/current/* link. Added a dedicated redirect ahead of the catch-all plus a regression test

Test plan

  • apps/web: npm run test:scripts β€” 38/38 passing, including two new/updated redirect tests
  • apps/web: npm run build β€” clean, all 348 static pages generate (confirms no unbalanced JSX/MDX in touched docs and the Trivy page)
  • Root: npx biome check . β€” clean on touched files
  • Root: node --test scripts/*.test.mjs β€” 105/105 passing (includes updating the stale 145K pull-count assertion in release-docs-identity.test.mjs to match the badge bump)
  • Full pre-push gate (lefthook): clean-tree, biome, qlty, qlty-smells, scripts-test, workflow-tests, typecheck-ui, web-scripts-test, sharded app+ui coverage (100% threshold), sharded app+ui build β€” all green

Changelog

  • ✨ Added dedicated /docs/current/:path* redirect plus Next config redirect-exclusion handling and regression tests to prevent catch-all collisions.
  • ✨ Added remote Docker watcher documentation for HTTPS + OIDC auth (docker-compose + docker run examples and token-refresh guidance).
  • ✨ Expanded API docs for audit actions and SSE event types.
  • πŸ”§ Changed comparison + marketing copy to describe 20 trigger integrations (17 notification channels + 3 action providers: Docker, Docker Compose, Command), including hero stats and β€œbell” highlight rows across comparisons.
  • πŸ”§ Updated registry rate limiting defaults (Burst 5 β†’ 10 for ghcr.io and Docker Hub) and refreshed documentation wording for: hook/pre-validation timing, command-trigger environment variables (simple mode includes image_digest_value), and Kafka trigger examples (managed Kafka brokers over SASL/SSL + example hostnames).
  • πŸ”’ Updated Trivy supply-chain advisory + install/verification guidance: corrected dateModified to July 18, documented digest-pinned trivy-bin usage, updated bundled Trivy version to 0.72.0, and refined compromised guidance to v0.69.4, plus Docker Hub-only v0.69.5/v0.69.6, with β€œCorrection (July 18)” notes.
  • πŸ—‘οΈ Removed stale roadmap phrasing from watcher documentation and adjusted β€œNative socket proxy” guidance language.
  • πŸ› Fixed release documentation test expectations to assert the published GHCR-150K%2B_pulls badge value.

Concerns

  • README and site-level copy still include β€œ20+” wording in some places; verify consistency with the now-explicit β€œ20 trigger integrations (17 channels + 3 action providers)” framing.
  • SITE_CONFIG wording uses β€œ20 services” rather than the more precise trigger-integration breakdown; confirm intended phrasing across all top-level marketing surfaces.

scttbnsn added 3 commits July 18, 2026 17:09
"current" isn't a real docs version slug (the current version's slug is
e.g. "v1.6"), so the generic catch-all swallowed it into :path and produced
a broken double path like /docs/v1.6/current/getting-started, 404ing every
/docs/current/* link. Add a dedicated redirect ahead of the catch-all and
exclude "current" from the catch-all's negative lookahead.
- πŸ“ Badges/stats: README GHCR pull count (145Kβ†’150K), Biome badge (2.4β†’2.5),
  provider-count tagline (20+β†’20); mirrored in apps/web hero stat and
  site-config meta description
- πŸ“ Provider-count accuracy: getting-started "20+ notification services" β†’
  "20 trigger integrations β€” 17 notification channels plus 3 action
  providers"; six apps/web comparison pages retitled "20 Notification
  Services" β†’ "20 Trigger Integrations", with the ouroboros/dozzle highlight
  bodies corrected to the true 17+3 split
- πŸ“ Roadmap-content removal: dropped "future roadmap item"/"future release"/
  "on the roadmap" language from faq, updates, and configuration/watchers
  docs that no longer reflects current planning
- πŸ“ Dead anchors: added the missing "Watch a remote docker host behind
  HTTPS with OIDC auth" section to configuration/watchers, sourced from the
  watcher's OIDC Joi schema/oidc.ts path aliases, so the existing
  #watch-a-remote-docker-host-behind-https-with-oidc-auth anchors in faq and
  guides/security resolve
- πŸ“ Rate-limit table: ghcr.io / Docker Hub burst corrected 5 β†’ 10 to match
  app/registries/token-bucket.ts
- πŸ“ Hook-validation wording: corrected the triggers/docker callout β€” hook
  commands are validated immediately before execution, not at
  configuration/startup time
- πŸ“ Command trigger docs: added the missing image_digest_value env var
- πŸ“ Kafka trigger docs: genericized the discontinued CloudKarafka example to
  a generic managed-Kafka SASL/SSL example
- πŸ“ API docs regeneration: audit-trail action types expanded from 23 to the
  full 38-value AuditEntry['action'] union; SSE event-types table gained the
  7 events missing from app/api/sse.ts's broadcast call sites
- πŸ“ Trivy advisory correction: added a dated July 18 correction to the
  apps/web Trivy supply-chain page reflecting the digest-pinned trivy-bin
  build stage (Trivy 0.72.0) that replaced the Alpine apk install, and
  genericized the verification guidance
scripts/release-docs-identity.test.mjs hardcoded the old 145K+ badge text;
update it alongside the README badge bump in the copy-freshness audit
(a8b7f75) so the release-docs-identity regression test stays accurate.
@vercel

vercel Bot commented Jul 18, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
drydock-website Ready Ready Preview, Comment Jul 18, 2026 9:49pm
drydockdemo-website Ready Ready Preview, Comment Jul 18, 2026 9:49pm

@coderabbitai

coderabbitai Bot commented Jul 18, 2026 •

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. πŸŽ‰

ℹ️ Recent review info
βš™οΈ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 19792e13-2daa-4d95-b89a-09a75632e320

πŸ“₯ Commits

Reviewing files that changed from the base of the PR and between e2d0a12 and ef0dda1.

πŸ“’ Files selected for processing (2)
  • apps/web/src/app/security/trivy-supply-chain-march-2026/page.tsx
  • content/docs/current/configuration/watchers/index.mdx
🚧 Files skipped from review as they are similar to previous changes (2)
  • apps/web/src/app/security/trivy-supply-chain-march-2026/page.tsx
  • content/docs/current/configuration/watchers/index.mdx

πŸ“ Walkthrough

Walkthrough

The change updates /docs/current redirect handling and adds regression coverage. Product messaging now describes 20 trigger integrations, with refreshed comparison text and README badges. API, SSE, registry, trigger, watcher, FAQ, and release documentation receive reference updates. The Trivy advisory now documents digest-pinned sourcing and version 0.72.0 verification.

Possibly related PRs

  • CodesWhat/drydock#519: Updates the same release documentation identity tests for README and release markers.
πŸš₯ Pre-merge checks | βœ… 2
βœ… Passed checks (2 passed)
Check name Status Explanation
Linked Issues check βœ… Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check βœ… Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
πŸ“ Generate docstrings
  • Create stacked PR
  • Commit on current branch
πŸ§ͺ Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch docs/copy-freshness-audit

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 5

πŸ€– Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@apps/web/src/app/security/trivy-supply-chain-march-2026/page.tsx`:
- Around line 296-305: Update the JSON-LD metadata’s dateModified value from
2026-03-22 to 2026-07-18 to match the July 18 correction, while leaving the
visible correction content unchanged.
- Around line 353-362: Update the security guidance in the Trivy verification
section to remove the claim that only v0.69.4 was compromised, acknowledge the
advisory’s Docker Hub v0.69.5–v0.69.6 coverage, and state that Drydock ships
Trivy 0.72.0 from a digest-pinned image. Clarify that the `trivy --version`
command is only a local version check and must not imply that every other Trivy
build is safe.

In `@apps/web/src/lib/comparison-route-data/dockge.tsx`:
- Line 33: Update the Trigger Integrations comparison text consistently in
apps/web/src/lib/comparison-route-data/dockge.tsx:33,
apps/web/src/lib/comparison-route-data/dockhand.tsx:34, and
apps/web/src/lib/comparison-route-data/komodo.tsx:36 to explicitly describe the
20 triggers as 17 native notification channels plus Docker, Docker Compose, and
Command actions.

In `@content/docs/current/configuration/watchers/index.mdx`:
- Around line 1302-1304: Update the Native socket proxy documentation near the
remaining β€œUntil the native proxy ships” wording to remove roadmap language,
replacing it with the non-roadmap instruction β€œTo reduce reconnect noise” or
equivalent. Preserve the surrounding guidance and technical meaning.

In `@README.md`:
- Line 11: Standardize the audited integration wording to β€œ20 trigger
integrations β€” 17 notification channels plus 3 action providers” in README.md
line 11 and apps/web/src/lib/site-config.ts line 23, replacing the existing
imprecise descriptions while preserving the surrounding metadata and copy.
πŸͺ„ Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
βš™οΈ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 3930ef5d-ea12-4a94-acae-268c34b98edb

πŸ“₯ Commits

Reviewing files that changed from the base of the PR and between 1d9bd9e and e2d0a12.

πŸ“’ Files selected for processing (22)
  • README.md
  • apps/web/next.config.mjs
  • apps/web/scripts/next-config.test.mjs
  • apps/web/src/app/security/trivy-supply-chain-march-2026/page.tsx
  • apps/web/src/components/hero.tsx
  • apps/web/src/lib/comparison-route-data/dockge.tsx
  • apps/web/src/lib/comparison-route-data/dockhand.tsx
  • apps/web/src/lib/comparison-route-data/dozzle.tsx
  • apps/web/src/lib/comparison-route-data/komodo.tsx
  • apps/web/src/lib/comparison-route-data/ouroboros.tsx
  • apps/web/src/lib/comparison-route-data/portainer.tsx
  • apps/web/src/lib/site-config.ts
  • content/docs/current/api/index.mdx
  • content/docs/current/configuration/registries/index.mdx
  • content/docs/current/configuration/triggers/command/index.mdx
  • content/docs/current/configuration/triggers/docker/index.mdx
  • content/docs/current/configuration/triggers/kafka/index.mdx
  • content/docs/current/configuration/watchers/index.mdx
  • content/docs/current/faq/index.mdx
  • content/docs/current/getting-started/index.mdx
  • content/docs/current/updates/index.mdx
  • scripts/release-docs-identity.test.mjs

Comment thread README.md Resolved
- πŸ“ docs(web): correct the Trivy advisory verification section β€” name the Docker Hub v0.69.5/v0.69.6 compromised images alongside v0.69.4 and frame trivy --version as a local check only
- πŸ“ docs(web): bump the advisory JSON-LD dateModified to the July 18 correction date
- πŸ“ docs(watcher): drop the leftover 'until the native proxy ships' roadmap phrasing

@biggest-littlest biggest-littlest left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Audit-driven copy fixes verified against source; CodeRabbit threads addressed. LGTM.

@ALARGECOMPANY ALARGECOMPANY left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@scttbnsn
scttbnsn merged commit bc73190 into main Jul 18, 2026
24 checks passed
@scttbnsn
scttbnsn deleted the docs/copy-freshness-audit branch July 18, 2026 22:06
scttbnsn added a commit that referenced this pull request Jul 21, 2026
Merge origin/main (#560 /store persistence quickstart, #561 rc.2-audit copy
freshness + SRI guard hardening, #562 README translations) into the rc.3
release head. Identity conflicts resolved to the rc.3 side with main's
copy/badge deltas re-applied (150K pulls, 20 providers, Node 24.7+, Biome
2.5, unified-clock roadmap row). Guard tests 105/105 + 44/44.

This branch was successfully deployed

2 active deployments
Preview – drydock-website β€” ef0dda1c Deployed Jul 18, 2026 by vercel[bot]
Preview – drydockdemo-website β€” ef0dda1c Deployed Jul 18, 2026 by vercel[bot]
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.

3 participants