Repository navigation
fix(analytics): carry the cookieless envelope fields ingestion requires - #124
Conversation
PostHog's cookieless server-hash step reads $raw_user_agent and $host straight off event.properties and silently drops any event missing either one (cookieless_missing_user_agent / cookieless_missing_host ingestion warnings, zero rows ingested). posthog-js attaches both by default, but before_send rebuilt properties from an allowlist that never carried them through, so every cookieless event from the public sites was dropped at ingestion despite leaving the browser well-formed. Forward both fields verbatim; drop the event client-side if either is missing rather than let it hash on the wrong ingredients. $ip is deliberately left out — posthog-js never sends it, and PostHog fills it in server-side from the request's own connection IP.
|
@coderabbitai review |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Warning Review limit reached
Next review available in: 4 minutes You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (3)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
ALARGECOMPANY
left a comment
There was a problem hiding this comment.
Exact-head approval at d4f0e67. Root cause is source-cited (PostHog cookieless-manager reads $raw_user_agent/$ip/$host from event properties; $ip is server-filled); fix forwards exactly the two client-side fields with RED/GREEN regression coverage and a source-level guard. CodeRabbit reviewed base..d4f0e67 clean, zero threads, full gate green.
* docs: refresh stale version references for v0.9.4 (#95) * docs: update stale version references to v0.9.4 STABILITY.md, ROADMAP.md, README.md, COMPATIBILITY.md, the mirrored stability-policy doc, and llms.txt still pointed at v0.8.x/v0.9.2 as the current release. v0.9.3 and v0.9.4 only touched CI and process, so the described product behavior is unchanged. * chore: gitignore .planning/ in the tracked file Local planning docs were only excluded via this clone's .git/info/exclude, which doesn't propagate to other clones. drydock and sockguard already carry this entry in their tracked .gitignore. * chore: bump package release config contract to v0.9.4 The contract test still hardcoded release_version 0.9.2 and previous_version 0.9.1, so it had only been passing because the surfaces it checks were stale in exactly the way it expected. Move the pins to 0.9.4/0.9.3 and bring every named surface (site-config, get-started, installation.mdx, verification.mdx, openapi.yaml, the observability compose example) up to match. Also drop a literal "v0.9.3" mention from the README release note that the script's stale-previous-version grep was catching, without losing the point it was making. * fix(release): derive release-config-test version from CHANGELOG.md (#97) * fix(release): derive release-config-test version from CHANGELOG.md The contract's release_version, release_date, and previous_version were hand-set constants that only ever agreed with the docs they were written to expect. They sat pinned at v0.9.2 through the v0.9.3 and v0.9.4 cuts and stayed green the whole time because the docs were stale in exactly the shape the constants expected. Derive all three from CHANGELOG.md's two newest dated release headings instead, the same source release-cut.yml already requires to match the tag before it will push one, so there is no separate constant left to drift. * ci(release): tie the cut to the newest changelog entry Deriving the contract's version from CHANGELOG.md removes the constant nobody remembered to bump, but release-cut's own check finds the tag's entry anywhere in the file. So cutting a tag whose notes sit under newer ones would pass both gates while they policed different releases, which is the same self-agreeing failure the derivation was meant to end. Require the tag to BE the newest dated heading, and run the contract script during the cut instead of only on PRs, so the docs are verified against the release actually being tagged. * style(release): apply shfmt to the release contract script * fix(release): report a missing changelog heading instead of dying bare * ci(qlty): allow the objects.githubusercontent.com release CDN (#98) The qlty job's egress allowlist carried release-assets.githubusercontent.com but not objects.githubusercontent.com, GitHub's older release-asset host. python-build-standalone's tarballs still redirect there, and harden-runner blocking a redirect mid-transfer surfaces as 'Unexpected EOF' rather than a refused connection, so four separate runs read as flake before anyone looked at the allowlist. Fixes: #94 * test(auth): fuzz request verification (#99) * ci(workflows): align verification filename (#100) * ci(workflows): align verification filename * fix(ci): fail closed on unresolved commit ranges Pin the golangci-lint binary so the SHA-pinned action does not resolve the latest release at runtime. * style(scripts): format commit-range test * ci(checks): remove emoji from required job names (#101) * ci(checks): remove emoji from required job names * test(ci): reject retired protection contexts * fix(license): restore AGPL detection (#102) * fix(license): restore AGPL detection * test(license): enforce canonical template * ci(hooks): enforce qlty before push (#103) * ci(hooks): enforce qlty before push * test(hooks): reject qlty config lookalikes * fix(ci): close promotion review gaps (#105) * fix(ci): close promotion review gaps * test(ci): harden release contract matching * test(ci): verify release harness failures * fix(security): bump Go toolchain to 1.26.6 * fix(ci): allow stable Go fallback downloads * fix(ci): make egress contract runner-portable * test(ci): harden promotion contract isolation * test(ci): exercise egress contract failures * test(ci): propagate fixture setup failures (#106) * fix(ci): analyze dev pushes with CodeQL (#107) * fix(ci): analyze dev pushes with CodeQL * test(ci): enforce CodeQL source triggers * fix(ci): preserve CodeQL analysis identity (#108) Pin CodeQL uploads to the legacy default-branch category and enforce the category, trigger, and step scope with fail-closed fixtures. * feat(analytics): add privacy-first PostHog telemetry (#109) * feat(analytics): add privacy-first PostHog telemetry * test(web): calibrate marketing budget to CI * test(web): calibrate docs budget to CI * fix(web): harden analytics performance contracts * fix(analytics): restore buffered web vitals * fix(web): close Lighthouse server on setup failure * fix(analytics): close promotion review gaps (#111) * fix(analytics): close promotion review gaps * fix(quality): resolve mounted root assets * fix(analytics): buffer Next.js web vitals (#112) * fix(analytics): buffer Next.js web vitals * fix(analytics): bind vitals to page paths * fix(analytics): canonicalize web vitals buffer paths (#114) * fix(analytics): canonicalize web vitals buffer paths * test(analytics): cover trailing slash vitals paths * fix(analytics): scope web vitals to page loads (#115) * fix(website): remove Go Report Card badge Removes the Go Report Card badge and preserves the source/runtime regression contract. * ci(workflows): canary reusable CI (#118) * ci(workflows): canary reusable CI * fix(ci): isolate the local lint cache * fix(ci): grant reusable CodeQL permission * fix(ci): allow Go module storage redirects * style(ci): format reusable CI contract * fix(ci): close reusable workflow review gaps * fix(ci): close promotion review gaps (#120) * fix(ci): close promotion review gaps * style(ci): format promotion contract * test(ci): harden promotion contract * fix(ci): close reusable workflow review gaps (#121) * fix(ci): close reusable workflow review gaps * style(ci): format coverage validation * fix(ci): scope reusable inputs to mappings --------- Co-authored-by: scttbnsn <[email protected]> * ci: remove temporary X1 bridge jobs (#122) * ci: remove temporary X1 bridge jobs Branch protection required both the legacy plain-name contexts and the new reusable "Go CI / ..." contexts while the X1 canary was rolling out. The ruleset now requires only the six reusable contexts, so the bridge jobs that mirrored the old names (Build & Test, Lint, Govulncheck, Workflow Security, Commit Message, GoReleaser Config) are dead weight. Update the workflow contract tests to reject reintroduction of those context names instead of requiring their presence. * test(ci): drop unneeded if-line from bridge reintroduction fixture Silences a biome noTemplateCurlyInString false positive on the literal ${{ always() }} YAML text; the line wasn't needed for the assertion. * ci: align branch-protection IaC with the narrowed ruleset apply-branch-protection.sh still listed the six retired plain-name contexts (Build & Test, Lint, ...) as required status checks, even though the live "Main branch protection" ruleset was already narrowed to the six reusable "Go CI / ..." contexts. Re-running the script as written would have reintroduced the retired contexts. Point it at the same six reusable contexts the ruleset now requires; every other rule (approvals, code-owner review, last-push approval, CodeQL gate) is unchanged. Update the package release contract to require the reusable contexts and reject the retired plain names in apply-branch-protection.sh too, mirroring the reject added for ci-verify.yml. --------- Co-authored-by: scttbnsn <[email protected]> * fix(analytics): carry the cookieless envelope fields ingestion requires (#124) PostHog's cookieless server-hash step reads $raw_user_agent and $host straight off event.properties and silently drops any event missing either one (cookieless_missing_user_agent / cookieless_missing_host ingestion warnings, zero rows ingested). posthog-js attaches both by default, but before_send rebuilt properties from an allowlist that never carried them through, so every cookieless event from the public sites was dropped at ingestion despite leaving the browser well-formed. Forward both fields verbatim; drop the event client-side if either is missing rather than let it hash on the wrong ingredients. $ip is deliberately left out — posthog-js never sends it, and PostHog fills it in server-side from the request's own connection IP. Co-authored-by: scttbnsn <[email protected]> --------- Co-authored-by: Scott Benson <[email protected]>
…740) ## Summary - `before_send` in `apps/web/src/lib/analytics-contract.ts` rebuilt every outgoing PostHog event from a hard allowlist that dropped `$raw_user_agent` and `$host`. PostHog's cookieless server-hash ingestion step reads those two fields straight off `event.properties` and silently drops the event (`cookieless_missing_user_agent` / `cookieless_missing_host`) if either is absent — same bug fixed in CodesWhat/portwing#124. - `createBeforeSend` now requires both fields (drops the event if either is missing or empty) and forwards them through unchanged. `$ip` is deliberately never forwarded — PostHog's capture service fills it in server-side from the request connection. ## Test plan - [x] `apps/web/scripts/analytics-contract.test.mjs` — added a dedicated regression test pinning that `$raw_user_agent`/`$host` are required and forwarded, and that events missing either are dropped; updated existing fixtures to carry the new required fields. - [x] `apps/web/scripts/analytics-integration.test.mjs` — added a source-scan regression guard analogous to portwing's `web-analytics-source.test.mjs`. - [x] `npm run test:scripts` (apps/web) — 87/87 passing - [x] `npm run type-check` (apps/web) — clean - [x] `npm run lint` (apps/web) — clean - [x] full pre-push hook suite (qlty, workflow-tests, typecheck-ui, web-scripts-test, coverage, build) — all green <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Changelog - 🔧 Changed `createBeforeSend` to require non-empty `$raw_user_agent` and `$host`. - 🗑️ Dropped events that omit either cookieless ingestion field. - 🔧 Forwarded `$raw_user_agent` and `$host` in sanitized events. - 🔒 Continued excluding `$ip`; PostHog supplies it server-side. - ✨ Added regression and source-scan coverage. - 🔧 Updated analytics fixtures and invalid-input cases. - ✅ Script tests, type checks, linting, and pre-push checks pass. - Confirm that all analytics event producers provide non-empty `$raw_user_agent` and `$host`. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: Test <[email protected]>
Promotes dev/v1.7 to main: the analytics contract now requires and forwards $raw_user_agent and $host so PostHog's cookieless server-hash ingestion stops dropping every event (root cause proven on portwing, CodesWhat/portwing#124; same fix live on portwing and codeswhat.com and verified ingesting). Never sets $ip. Includes the topology reconciliation merge; tree matches dev/v1.7 exactly. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Changelog - 🐛 Fixed PostHog cookieless ingestion by requiring and forwarding non-empty `$raw_user_agent` and `$host`. - 🔒 Prevented `$ip` from entering sanitized analytics properties. - ✨ Added regression tests for field forwarding and event rejection. - 🔧 Updated analytics fixtures and added source-scan coverage. - 🔧 Promoted `dev/v1.7` to `main` with topology reconciliation. ## Concerns - Verify that `main` matches `dev/v1.7` exactly after promotion. - Confirm the full pre-push suite, type checks, linting, and script tests pass. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Crowdin Bot <[email protected]> Co-authored-by: Test <[email protected]> Co-authored-by: ALARGECOMPANY <[email protected]> Co-authored-by: biggest-littlest <[email protected]>
* docs: refresh stale version references for v0.9.4 (#95) * docs: update stale version references to v0.9.4 STABILITY.md, ROADMAP.md, README.md, COMPATIBILITY.md, the mirrored stability-policy doc, and llms.txt still pointed at v0.8.x/v0.9.2 as the current release. v0.9.3 and v0.9.4 only touched CI and process, so the described product behavior is unchanged. * chore: gitignore .planning/ in the tracked file Local planning docs were only excluded via this clone's .git/info/exclude, which doesn't propagate to other clones. drydock and sockguard already carry this entry in their tracked .gitignore. * chore: bump package release config contract to v0.9.4 The contract test still hardcoded release_version 0.9.2 and previous_version 0.9.1, so it had only been passing because the surfaces it checks were stale in exactly the way it expected. Move the pins to 0.9.4/0.9.3 and bring every named surface (site-config, get-started, installation.mdx, verification.mdx, openapi.yaml, the observability compose example) up to match. Also drop a literal "v0.9.3" mention from the README release note that the script's stale-previous-version grep was catching, without losing the point it was making. * fix(release): derive release-config-test version from CHANGELOG.md (#97) * fix(release): derive release-config-test version from CHANGELOG.md The contract's release_version, release_date, and previous_version were hand-set constants that only ever agreed with the docs they were written to expect. They sat pinned at v0.9.2 through the v0.9.3 and v0.9.4 cuts and stayed green the whole time because the docs were stale in exactly the shape the constants expected. Derive all three from CHANGELOG.md's two newest dated release headings instead, the same source release-cut.yml already requires to match the tag before it will push one, so there is no separate constant left to drift. * ci(release): tie the cut to the newest changelog entry Deriving the contract's version from CHANGELOG.md removes the constant nobody remembered to bump, but release-cut's own check finds the tag's entry anywhere in the file. So cutting a tag whose notes sit under newer ones would pass both gates while they policed different releases, which is the same self-agreeing failure the derivation was meant to end. Require the tag to BE the newest dated heading, and run the contract script during the cut instead of only on PRs, so the docs are verified against the release actually being tagged. * style(release): apply shfmt to the release contract script * fix(release): report a missing changelog heading instead of dying bare * ci(qlty): allow the objects.githubusercontent.com release CDN (#98) The qlty job's egress allowlist carried release-assets.githubusercontent.com but not objects.githubusercontent.com, GitHub's older release-asset host. python-build-standalone's tarballs still redirect there, and harden-runner blocking a redirect mid-transfer surfaces as 'Unexpected EOF' rather than a refused connection, so four separate runs read as flake before anyone looked at the allowlist. Fixes: #94 * test(auth): fuzz request verification (#99) * ci(workflows): align verification filename (#100) * ci(workflows): align verification filename * fix(ci): fail closed on unresolved commit ranges Pin the golangci-lint binary so the SHA-pinned action does not resolve the latest release at runtime. * style(scripts): format commit-range test * ci(checks): remove emoji from required job names (#101) * ci(checks): remove emoji from required job names * test(ci): reject retired protection contexts * fix(license): restore AGPL detection (#102) * fix(license): restore AGPL detection * test(license): enforce canonical template * ci(hooks): enforce qlty before push (#103) * ci(hooks): enforce qlty before push * test(hooks): reject qlty config lookalikes * fix(ci): close promotion review gaps (#105) * fix(ci): close promotion review gaps * test(ci): harden release contract matching * test(ci): verify release harness failures * fix(security): bump Go toolchain to 1.26.6 * fix(ci): allow stable Go fallback downloads * fix(ci): make egress contract runner-portable * test(ci): harden promotion contract isolation * test(ci): exercise egress contract failures * test(ci): propagate fixture setup failures (#106) * fix(ci): analyze dev pushes with CodeQL (#107) * fix(ci): analyze dev pushes with CodeQL * test(ci): enforce CodeQL source triggers * fix(ci): preserve CodeQL analysis identity (#108) Pin CodeQL uploads to the legacy default-branch category and enforce the category, trigger, and step scope with fail-closed fixtures. * feat(analytics): add privacy-first PostHog telemetry (#109) * feat(analytics): add privacy-first PostHog telemetry * test(web): calibrate marketing budget to CI * test(web): calibrate docs budget to CI * fix(web): harden analytics performance contracts * fix(analytics): restore buffered web vitals * fix(web): close Lighthouse server on setup failure * fix(analytics): close promotion review gaps (#111) * fix(analytics): close promotion review gaps * fix(quality): resolve mounted root assets * fix(analytics): buffer Next.js web vitals (#112) * fix(analytics): buffer Next.js web vitals * fix(analytics): bind vitals to page paths * fix(analytics): canonicalize web vitals buffer paths (#114) * fix(analytics): canonicalize web vitals buffer paths * test(analytics): cover trailing slash vitals paths * fix(analytics): scope web vitals to page loads (#115) * fix(website): remove Go Report Card badge Removes the Go Report Card badge and preserves the source/runtime regression contract. * ci(workflows): canary reusable CI (#118) * ci(workflows): canary reusable CI * fix(ci): isolate the local lint cache * fix(ci): grant reusable CodeQL permission * fix(ci): allow Go module storage redirects * style(ci): format reusable CI contract * fix(ci): close reusable workflow review gaps * fix(ci): close promotion review gaps (#120) * fix(ci): close promotion review gaps * style(ci): format promotion contract * test(ci): harden promotion contract * fix(ci): close reusable workflow review gaps (#121) * fix(ci): close reusable workflow review gaps * style(ci): format coverage validation * fix(ci): scope reusable inputs to mappings --------- Co-authored-by: scttbnsn <[email protected]> * ci: remove temporary X1 bridge jobs (#122) * ci: remove temporary X1 bridge jobs Branch protection required both the legacy plain-name contexts and the new reusable "Go CI / ..." contexts while the X1 canary was rolling out. The ruleset now requires only the six reusable contexts, so the bridge jobs that mirrored the old names (Build & Test, Lint, Govulncheck, Workflow Security, Commit Message, GoReleaser Config) are dead weight. Update the workflow contract tests to reject reintroduction of those context names instead of requiring their presence. * test(ci): drop unneeded if-line from bridge reintroduction fixture Silences a biome noTemplateCurlyInString false positive on the literal ${{ always() }} YAML text; the line wasn't needed for the assertion. * ci: align branch-protection IaC with the narrowed ruleset apply-branch-protection.sh still listed the six retired plain-name contexts (Build & Test, Lint, ...) as required status checks, even though the live "Main branch protection" ruleset was already narrowed to the six reusable "Go CI / ..." contexts. Re-running the script as written would have reintroduced the retired contexts. Point it at the same six reusable contexts the ruleset now requires; every other rule (approvals, code-owner review, last-push approval, CodeQL gate) is unchanged. Update the package release contract to require the reusable contexts and reject the retired plain names in apply-branch-protection.sh too, mirroring the reject added for ci-verify.yml. --------- Co-authored-by: scttbnsn <[email protected]> * fix(analytics): carry the cookieless envelope fields ingestion requires (#124) PostHog's cookieless server-hash step reads $raw_user_agent and $host straight off event.properties and silently drops any event missing either one (cookieless_missing_user_agent / cookieless_missing_host ingestion warnings, zero rows ingested). posthog-js attaches both by default, but before_send rebuilt properties from an allowlist that never carried them through, so every cookieless event from the public sites was dropped at ingestion despite leaving the browser well-formed. Forward both fields verbatim; drop the event client-side if either is missing rather than let it hash on the wrong ingredients. $ip is deliberately left out — posthog-js never sends it, and PostHog fills it in server-side from the request's own connection IP. Co-authored-by: scttbnsn <[email protected]> * docs(readme): add warpchart growth chart (#126) * docs(readme): add warpchart growth chart * docs(readme): center warpchart chart to match star history - docs(readme): inline HTML anchor/img in a centered div for section consistency - docs(changelog): record the README addition --------- Co-authored-by: biggest-littlest <[email protected]>
* docs: refresh stale version references for v0.9.4 (#95) * docs: update stale version references to v0.9.4 STABILITY.md, ROADMAP.md, README.md, COMPATIBILITY.md, the mirrored stability-policy doc, and llms.txt still pointed at v0.8.x/v0.9.2 as the current release. v0.9.3 and v0.9.4 only touched CI and process, so the described product behavior is unchanged. * chore: gitignore .planning/ in the tracked file Local planning docs were only excluded via this clone's .git/info/exclude, which doesn't propagate to other clones. drydock and sockguard already carry this entry in their tracked .gitignore. * chore: bump package release config contract to v0.9.4 The contract test still hardcoded release_version 0.9.2 and previous_version 0.9.1, so it had only been passing because the surfaces it checks were stale in exactly the way it expected. Move the pins to 0.9.4/0.9.3 and bring every named surface (site-config, get-started, installation.mdx, verification.mdx, openapi.yaml, the observability compose example) up to match. Also drop a literal "v0.9.3" mention from the README release note that the script's stale-previous-version grep was catching, without losing the point it was making. * fix(release): derive release-config-test version from CHANGELOG.md (#97) * fix(release): derive release-config-test version from CHANGELOG.md The contract's release_version, release_date, and previous_version were hand-set constants that only ever agreed with the docs they were written to expect. They sat pinned at v0.9.2 through the v0.9.3 and v0.9.4 cuts and stayed green the whole time because the docs were stale in exactly the shape the constants expected. Derive all three from CHANGELOG.md's two newest dated release headings instead, the same source release-cut.yml already requires to match the tag before it will push one, so there is no separate constant left to drift. * ci(release): tie the cut to the newest changelog entry Deriving the contract's version from CHANGELOG.md removes the constant nobody remembered to bump, but release-cut's own check finds the tag's entry anywhere in the file. So cutting a tag whose notes sit under newer ones would pass both gates while they policed different releases, which is the same self-agreeing failure the derivation was meant to end. Require the tag to BE the newest dated heading, and run the contract script during the cut instead of only on PRs, so the docs are verified against the release actually being tagged. * style(release): apply shfmt to the release contract script * fix(release): report a missing changelog heading instead of dying bare * ci(qlty): allow the objects.githubusercontent.com release CDN (#98) The qlty job's egress allowlist carried release-assets.githubusercontent.com but not objects.githubusercontent.com, GitHub's older release-asset host. python-build-standalone's tarballs still redirect there, and harden-runner blocking a redirect mid-transfer surfaces as 'Unexpected EOF' rather than a refused connection, so four separate runs read as flake before anyone looked at the allowlist. Fixes: #94 * test(auth): fuzz request verification (#99) * ci(workflows): align verification filename (#100) * ci(workflows): align verification filename * fix(ci): fail closed on unresolved commit ranges Pin the golangci-lint binary so the SHA-pinned action does not resolve the latest release at runtime. * style(scripts): format commit-range test * ci(checks): remove emoji from required job names (#101) * ci(checks): remove emoji from required job names * test(ci): reject retired protection contexts * fix(license): restore AGPL detection (#102) * fix(license): restore AGPL detection * test(license): enforce canonical template * ci(hooks): enforce qlty before push (#103) * ci(hooks): enforce qlty before push * test(hooks): reject qlty config lookalikes * fix(ci): close promotion review gaps (#105) * fix(ci): close promotion review gaps * test(ci): harden release contract matching * test(ci): verify release harness failures * fix(security): bump Go toolchain to 1.26.6 * fix(ci): allow stable Go fallback downloads * fix(ci): make egress contract runner-portable * test(ci): harden promotion contract isolation * test(ci): exercise egress contract failures * test(ci): propagate fixture setup failures (#106) * fix(ci): analyze dev pushes with CodeQL (#107) * fix(ci): analyze dev pushes with CodeQL * test(ci): enforce CodeQL source triggers * fix(ci): preserve CodeQL analysis identity (#108) Pin CodeQL uploads to the legacy default-branch category and enforce the category, trigger, and step scope with fail-closed fixtures. * feat(analytics): add privacy-first PostHog telemetry (#109) * feat(analytics): add privacy-first PostHog telemetry * test(web): calibrate marketing budget to CI * test(web): calibrate docs budget to CI * fix(web): harden analytics performance contracts * fix(analytics): restore buffered web vitals * fix(web): close Lighthouse server on setup failure * fix(analytics): close promotion review gaps (#111) * fix(analytics): close promotion review gaps * fix(quality): resolve mounted root assets * fix(analytics): buffer Next.js web vitals (#112) * fix(analytics): buffer Next.js web vitals * fix(analytics): bind vitals to page paths * fix(analytics): canonicalize web vitals buffer paths (#114) * fix(analytics): canonicalize web vitals buffer paths * test(analytics): cover trailing slash vitals paths * fix(analytics): scope web vitals to page loads (#115) * fix(website): remove Go Report Card badge Removes the Go Report Card badge and preserves the source/runtime regression contract. * ci(workflows): canary reusable CI (#118) * ci(workflows): canary reusable CI * fix(ci): isolate the local lint cache * fix(ci): grant reusable CodeQL permission * fix(ci): allow Go module storage redirects * style(ci): format reusable CI contract * fix(ci): close reusable workflow review gaps * fix(ci): close promotion review gaps (#120) * fix(ci): close promotion review gaps * style(ci): format promotion contract * test(ci): harden promotion contract * fix(ci): close reusable workflow review gaps (#121) * fix(ci): close reusable workflow review gaps * style(ci): format coverage validation * fix(ci): scope reusable inputs to mappings --------- Co-authored-by: scttbnsn <[email protected]> * ci: remove temporary X1 bridge jobs (#122) * ci: remove temporary X1 bridge jobs Branch protection required both the legacy plain-name contexts and the new reusable "Go CI / ..." contexts while the X1 canary was rolling out. The ruleset now requires only the six reusable contexts, so the bridge jobs that mirrored the old names (Build & Test, Lint, Govulncheck, Workflow Security, Commit Message, GoReleaser Config) are dead weight. Update the workflow contract tests to reject reintroduction of those context names instead of requiring their presence. * test(ci): drop unneeded if-line from bridge reintroduction fixture Silences a biome noTemplateCurlyInString false positive on the literal ${{ always() }} YAML text; the line wasn't needed for the assertion. * ci: align branch-protection IaC with the narrowed ruleset apply-branch-protection.sh still listed the six retired plain-name contexts (Build & Test, Lint, ...) as required status checks, even though the live "Main branch protection" ruleset was already narrowed to the six reusable "Go CI / ..." contexts. Re-running the script as written would have reintroduced the retired contexts. Point it at the same six reusable contexts the ruleset now requires; every other rule (approvals, code-owner review, last-push approval, CodeQL gate) is unchanged. Update the package release contract to require the reusable contexts and reject the retired plain names in apply-branch-protection.sh too, mirroring the reject added for ci-verify.yml. --------- Co-authored-by: scttbnsn <[email protected]> * fix(analytics): carry the cookieless envelope fields ingestion requires (#124) PostHog's cookieless server-hash step reads $raw_user_agent and $host straight off event.properties and silently drops any event missing either one (cookieless_missing_user_agent / cookieless_missing_host ingestion warnings, zero rows ingested). posthog-js attaches both by default, but before_send rebuilt properties from an allowlist that never carried them through, so every cookieless event from the public sites was dropped at ingestion despite leaving the browser well-formed. Forward both fields verbatim; drop the event client-side if either is missing rather than let it hash on the wrong ingredients. $ip is deliberately left out — posthog-js never sends it, and PostHog fills it in server-side from the request's own connection IP. Co-authored-by: scttbnsn <[email protected]> * docs(readme): add warpchart growth chart (#126) * docs(readme): add warpchart growth chart * docs(readme): center warpchart chart to match star history - docs(readme): inline HTML anchor/img in a centered div for section consistency - docs(changelog): record the README addition * test(compose): surface ComposeResponse.Error when merged output is empty (#128) --------- Co-authored-by: biggest-littlest <[email protected]>
* docs: refresh stale version references for v0.9.4 (#95) * docs: update stale version references to v0.9.4 STABILITY.md, ROADMAP.md, README.md, COMPATIBILITY.md, the mirrored stability-policy doc, and llms.txt still pointed at v0.8.x/v0.9.2 as the current release. v0.9.3 and v0.9.4 only touched CI and process, so the described product behavior is unchanged. * chore: gitignore .planning/ in the tracked file Local planning docs were only excluded via this clone's .git/info/exclude, which doesn't propagate to other clones. drydock and sockguard already carry this entry in their tracked .gitignore. * chore: bump package release config contract to v0.9.4 The contract test still hardcoded release_version 0.9.2 and previous_version 0.9.1, so it had only been passing because the surfaces it checks were stale in exactly the way it expected. Move the pins to 0.9.4/0.9.3 and bring every named surface (site-config, get-started, installation.mdx, verification.mdx, openapi.yaml, the observability compose example) up to match. Also drop a literal "v0.9.3" mention from the README release note that the script's stale-previous-version grep was catching, without losing the point it was making. * fix(release): derive release-config-test version from CHANGELOG.md (#97) * fix(release): derive release-config-test version from CHANGELOG.md The contract's release_version, release_date, and previous_version were hand-set constants that only ever agreed with the docs they were written to expect. They sat pinned at v0.9.2 through the v0.9.3 and v0.9.4 cuts and stayed green the whole time because the docs were stale in exactly the shape the constants expected. Derive all three from CHANGELOG.md's two newest dated release headings instead, the same source release-cut.yml already requires to match the tag before it will push one, so there is no separate constant left to drift. * ci(release): tie the cut to the newest changelog entry Deriving the contract's version from CHANGELOG.md removes the constant nobody remembered to bump, but release-cut's own check finds the tag's entry anywhere in the file. So cutting a tag whose notes sit under newer ones would pass both gates while they policed different releases, which is the same self-agreeing failure the derivation was meant to end. Require the tag to BE the newest dated heading, and run the contract script during the cut instead of only on PRs, so the docs are verified against the release actually being tagged. * style(release): apply shfmt to the release contract script * fix(release): report a missing changelog heading instead of dying bare * ci(qlty): allow the objects.githubusercontent.com release CDN (#98) The qlty job's egress allowlist carried release-assets.githubusercontent.com but not objects.githubusercontent.com, GitHub's older release-asset host. python-build-standalone's tarballs still redirect there, and harden-runner blocking a redirect mid-transfer surfaces as 'Unexpected EOF' rather than a refused connection, so four separate runs read as flake before anyone looked at the allowlist. Fixes: #94 * test(auth): fuzz request verification (#99) * ci(workflows): align verification filename (#100) * ci(workflows): align verification filename * fix(ci): fail closed on unresolved commit ranges Pin the golangci-lint binary so the SHA-pinned action does not resolve the latest release at runtime. * style(scripts): format commit-range test * ci(checks): remove emoji from required job names (#101) * ci(checks): remove emoji from required job names * test(ci): reject retired protection contexts * fix(license): restore AGPL detection (#102) * fix(license): restore AGPL detection * test(license): enforce canonical template * ci(hooks): enforce qlty before push (#103) * ci(hooks): enforce qlty before push * test(hooks): reject qlty config lookalikes * fix(ci): close promotion review gaps (#105) * fix(ci): close promotion review gaps * test(ci): harden release contract matching * test(ci): verify release harness failures * fix(security): bump Go toolchain to 1.26.6 * fix(ci): allow stable Go fallback downloads * fix(ci): make egress contract runner-portable * test(ci): harden promotion contract isolation * test(ci): exercise egress contract failures * test(ci): propagate fixture setup failures (#106) * fix(ci): analyze dev pushes with CodeQL (#107) * fix(ci): analyze dev pushes with CodeQL * test(ci): enforce CodeQL source triggers * fix(ci): preserve CodeQL analysis identity (#108) Pin CodeQL uploads to the legacy default-branch category and enforce the category, trigger, and step scope with fail-closed fixtures. * feat(analytics): add privacy-first PostHog telemetry (#109) * feat(analytics): add privacy-first PostHog telemetry * test(web): calibrate marketing budget to CI * test(web): calibrate docs budget to CI * fix(web): harden analytics performance contracts * fix(analytics): restore buffered web vitals * fix(web): close Lighthouse server on setup failure * fix(analytics): close promotion review gaps (#111) * fix(analytics): close promotion review gaps * fix(quality): resolve mounted root assets * fix(analytics): buffer Next.js web vitals (#112) * fix(analytics): buffer Next.js web vitals * fix(analytics): bind vitals to page paths * fix(analytics): canonicalize web vitals buffer paths (#114) * fix(analytics): canonicalize web vitals buffer paths * test(analytics): cover trailing slash vitals paths * fix(analytics): scope web vitals to page loads (#115) * fix(website): remove Go Report Card badge Removes the Go Report Card badge and preserves the source/runtime regression contract. * ci(workflows): canary reusable CI (#118) * ci(workflows): canary reusable CI * fix(ci): isolate the local lint cache * fix(ci): grant reusable CodeQL permission * fix(ci): allow Go module storage redirects * style(ci): format reusable CI contract * fix(ci): close reusable workflow review gaps * fix(ci): close promotion review gaps (#120) * fix(ci): close promotion review gaps * style(ci): format promotion contract * test(ci): harden promotion contract * fix(ci): close reusable workflow review gaps (#121) * fix(ci): close reusable workflow review gaps * style(ci): format coverage validation * fix(ci): scope reusable inputs to mappings --------- Co-authored-by: scttbnsn <[email protected]> * ci: remove temporary X1 bridge jobs (#122) * ci: remove temporary X1 bridge jobs Branch protection required both the legacy plain-name contexts and the new reusable "Go CI / ..." contexts while the X1 canary was rolling out. The ruleset now requires only the six reusable contexts, so the bridge jobs that mirrored the old names (Build & Test, Lint, Govulncheck, Workflow Security, Commit Message, GoReleaser Config) are dead weight. Update the workflow contract tests to reject reintroduction of those context names instead of requiring their presence. * test(ci): drop unneeded if-line from bridge reintroduction fixture Silences a biome noTemplateCurlyInString false positive on the literal ${{ always() }} YAML text; the line wasn't needed for the assertion. * ci: align branch-protection IaC with the narrowed ruleset apply-branch-protection.sh still listed the six retired plain-name contexts (Build & Test, Lint, ...) as required status checks, even though the live "Main branch protection" ruleset was already narrowed to the six reusable "Go CI / ..." contexts. Re-running the script as written would have reintroduced the retired contexts. Point it at the same six reusable contexts the ruleset now requires; every other rule (approvals, code-owner review, last-push approval, CodeQL gate) is unchanged. Update the package release contract to require the reusable contexts and reject the retired plain names in apply-branch-protection.sh too, mirroring the reject added for ci-verify.yml. --------- Co-authored-by: scttbnsn <[email protected]> * fix(analytics): carry the cookieless envelope fields ingestion requires (#124) PostHog's cookieless server-hash step reads $raw_user_agent and $host straight off event.properties and silently drops any event missing either one (cookieless_missing_user_agent / cookieless_missing_host ingestion warnings, zero rows ingested). posthog-js attaches both by default, but before_send rebuilt properties from an allowlist that never carried them through, so every cookieless event from the public sites was dropped at ingestion despite leaving the browser well-formed. Forward both fields verbatim; drop the event client-side if either is missing rather than let it hash on the wrong ingredients. $ip is deliberately left out — posthog-js never sends it, and PostHog fills it in server-side from the request's own connection IP. Co-authored-by: scttbnsn <[email protected]> * docs(readme): add warpchart growth chart (#126) * docs(readme): add warpchart growth chart * docs(readme): center warpchart chart to match star history - docs(readme): inline HTML anchor/img in a centered div for section consistency - docs(changelog): record the README addition * test(compose): surface ComposeResponse.Error when merged output is empty (#128) * ci: re-scope the compose x/crypto grype ignore after the Wolfi v5.4.0 bump (#130) Wolfi's docker-compose moved v5.3.1 -> v5.4.0 (x/crypto v0.53.0 -> v0.54.0), un-matching the version-scoped GO-2026-5932 ignore for the compose binary — code-scanning alert 191. Re-audited the shipped binary (openpgp still not linked), re-scoped the ignore to v0.54.0, and dropped the GO-2026-5841 klauspost/compress entry as dead config (v1.19.1 is past the v1.18.7 fix line). * docs: true up the unreleased changelog, coverage snapshot, and stray report (#132) Records the PostHog telemetry addition, cookieless-ingestion fix, buffered Web Vitals rework, and grype re-scope in [Unreleased]; refreshes COVERAGE.md to the measured 96.4% (0.4 percentage points of headroom); removes the orphaned security_best_practices_report.md. * ci: suppress the OpenSSL OCSP leak and stage the v0.9.5 release docs (#133) Suppresses CVE-2026-54876 for the bundled libcrypto3/libssl3 (opt-in OCSP client feature nothing in the image can enable; no fixed Wolfi package exists; version-scoped, review by 2026-09-15), stages the v0.9.5 CHANGELOG entry, and bumps every version-locked doc surface to v0.9.5 per the release contract. * fix(security): re-scope CVE-2026-54876 suppressions to openssl 3.6.3-r4 (#138) * ci(security): land the house-audit hardening batch (#141) * ci(security): add the static-site ZAP baseline and close audit polish items (#145) * ci(security): run the secrets gate with base-ref policy on PRs (#146) * chore(security): drop the trivy qlty plugin in favor of Grype Fixes #135 * ci(coverage): upload Go coverage to Codecov via OIDC * ci(review): wire the Greptile second-opinion summon behind a label Fixes #134 * ci(release): attest GoReleaser artifacts and sign release tags * docs(readme): migrate to the codified README shape Fixes #136 * fix(security): fail the ZAP baseline scan on untriaged findings (#153) Drop cmd_options: '-I' from security-zap-baseline.yml. Any finding not already in .zap/rules.tsv defaults to WARN, and -I suppressed WARN from failing the job, so a brand-new finding would report green every week instead of failing for a human to triage, matching how the existing ten entries were handled. Flagged by CodeRabbit on PR #152's first real review of the ZAP files, which merged during the 2026-08-17 GitHub outage without one. --------- Co-authored-by: biggest-littlest <[email protected]>
* docs: refresh stale version references for v0.9.4 (#95) * docs: update stale version references to v0.9.4 STABILITY.md, ROADMAP.md, README.md, COMPATIBILITY.md, the mirrored stability-policy doc, and llms.txt still pointed at v0.8.x/v0.9.2 as the current release. v0.9.3 and v0.9.4 only touched CI and process, so the described product behavior is unchanged. * chore: gitignore .planning/ in the tracked file Local planning docs were only excluded via this clone's .git/info/exclude, which doesn't propagate to other clones. drydock and sockguard already carry this entry in their tracked .gitignore. * chore: bump package release config contract to v0.9.4 The contract test still hardcoded release_version 0.9.2 and previous_version 0.9.1, so it had only been passing because the surfaces it checks were stale in exactly the way it expected. Move the pins to 0.9.4/0.9.3 and bring every named surface (site-config, get-started, installation.mdx, verification.mdx, openapi.yaml, the observability compose example) up to match. Also drop a literal "v0.9.3" mention from the README release note that the script's stale-previous-version grep was catching, without losing the point it was making. * fix(release): derive release-config-test version from CHANGELOG.md (#97) * fix(release): derive release-config-test version from CHANGELOG.md The contract's release_version, release_date, and previous_version were hand-set constants that only ever agreed with the docs they were written to expect. They sat pinned at v0.9.2 through the v0.9.3 and v0.9.4 cuts and stayed green the whole time because the docs were stale in exactly the shape the constants expected. Derive all three from CHANGELOG.md's two newest dated release headings instead, the same source release-cut.yml already requires to match the tag before it will push one, so there is no separate constant left to drift. * ci(release): tie the cut to the newest changelog entry Deriving the contract's version from CHANGELOG.md removes the constant nobody remembered to bump, but release-cut's own check finds the tag's entry anywhere in the file. So cutting a tag whose notes sit under newer ones would pass both gates while they policed different releases, which is the same self-agreeing failure the derivation was meant to end. Require the tag to BE the newest dated heading, and run the contract script during the cut instead of only on PRs, so the docs are verified against the release actually being tagged. * style(release): apply shfmt to the release contract script * fix(release): report a missing changelog heading instead of dying bare * ci(qlty): allow the objects.githubusercontent.com release CDN (#98) The qlty job's egress allowlist carried release-assets.githubusercontent.com but not objects.githubusercontent.com, GitHub's older release-asset host. python-build-standalone's tarballs still redirect there, and harden-runner blocking a redirect mid-transfer surfaces as 'Unexpected EOF' rather than a refused connection, so four separate runs read as flake before anyone looked at the allowlist. Fixes: #94 * test(auth): fuzz request verification (#99) * ci(workflows): align verification filename (#100) * ci(workflows): align verification filename * fix(ci): fail closed on unresolved commit ranges Pin the golangci-lint binary so the SHA-pinned action does not resolve the latest release at runtime. * style(scripts): format commit-range test * ci(checks): remove emoji from required job names (#101) * ci(checks): remove emoji from required job names * test(ci): reject retired protection contexts * fix(license): restore AGPL detection (#102) * fix(license): restore AGPL detection * test(license): enforce canonical template * ci(hooks): enforce qlty before push (#103) * ci(hooks): enforce qlty before push * test(hooks): reject qlty config lookalikes * fix(ci): close promotion review gaps (#105) * fix(ci): close promotion review gaps * test(ci): harden release contract matching * test(ci): verify release harness failures * fix(security): bump Go toolchain to 1.26.6 * fix(ci): allow stable Go fallback downloads * fix(ci): make egress contract runner-portable * test(ci): harden promotion contract isolation * test(ci): exercise egress contract failures * test(ci): propagate fixture setup failures (#106) * fix(ci): analyze dev pushes with CodeQL (#107) * fix(ci): analyze dev pushes with CodeQL * test(ci): enforce CodeQL source triggers * fix(ci): preserve CodeQL analysis identity (#108) Pin CodeQL uploads to the legacy default-branch category and enforce the category, trigger, and step scope with fail-closed fixtures. * feat(analytics): add privacy-first PostHog telemetry (#109) * feat(analytics): add privacy-first PostHog telemetry * test(web): calibrate marketing budget to CI * test(web): calibrate docs budget to CI * fix(web): harden analytics performance contracts * fix(analytics): restore buffered web vitals * fix(web): close Lighthouse server on setup failure * fix(analytics): close promotion review gaps (#111) * fix(analytics): close promotion review gaps * fix(quality): resolve mounted root assets * fix(analytics): buffer Next.js web vitals (#112) * fix(analytics): buffer Next.js web vitals * fix(analytics): bind vitals to page paths * fix(analytics): canonicalize web vitals buffer paths (#114) * fix(analytics): canonicalize web vitals buffer paths * test(analytics): cover trailing slash vitals paths * fix(analytics): scope web vitals to page loads (#115) * fix(website): remove Go Report Card badge Removes the Go Report Card badge and preserves the source/runtime regression contract. * ci(workflows): canary reusable CI (#118) * ci(workflows): canary reusable CI * fix(ci): isolate the local lint cache * fix(ci): grant reusable CodeQL permission * fix(ci): allow Go module storage redirects * style(ci): format reusable CI contract * fix(ci): close reusable workflow review gaps * fix(ci): close promotion review gaps (#120) * fix(ci): close promotion review gaps * style(ci): format promotion contract * test(ci): harden promotion contract * fix(ci): close reusable workflow review gaps (#121) * fix(ci): close reusable workflow review gaps * style(ci): format coverage validation * fix(ci): scope reusable inputs to mappings --------- Co-authored-by: scttbnsn <[email protected]> * ci: remove temporary X1 bridge jobs (#122) * ci: remove temporary X1 bridge jobs Branch protection required both the legacy plain-name contexts and the new reusable "Go CI / ..." contexts while the X1 canary was rolling out. The ruleset now requires only the six reusable contexts, so the bridge jobs that mirrored the old names (Build & Test, Lint, Govulncheck, Workflow Security, Commit Message, GoReleaser Config) are dead weight. Update the workflow contract tests to reject reintroduction of those context names instead of requiring their presence. * test(ci): drop unneeded if-line from bridge reintroduction fixture Silences a biome noTemplateCurlyInString false positive on the literal ${{ always() }} YAML text; the line wasn't needed for the assertion. * ci: align branch-protection IaC with the narrowed ruleset apply-branch-protection.sh still listed the six retired plain-name contexts (Build & Test, Lint, ...) as required status checks, even though the live "Main branch protection" ruleset was already narrowed to the six reusable "Go CI / ..." contexts. Re-running the script as written would have reintroduced the retired contexts. Point it at the same six reusable contexts the ruleset now requires; every other rule (approvals, code-owner review, last-push approval, CodeQL gate) is unchanged. Update the package release contract to require the reusable contexts and reject the retired plain names in apply-branch-protection.sh too, mirroring the reject added for ci-verify.yml. --------- Co-authored-by: scttbnsn <[email protected]> * fix(analytics): carry the cookieless envelope fields ingestion requires (#124) PostHog's cookieless server-hash step reads $raw_user_agent and $host straight off event.properties and silently drops any event missing either one (cookieless_missing_user_agent / cookieless_missing_host ingestion warnings, zero rows ingested). posthog-js attaches both by default, but before_send rebuilt properties from an allowlist that never carried them through, so every cookieless event from the public sites was dropped at ingestion despite leaving the browser well-formed. Forward both fields verbatim; drop the event client-side if either is missing rather than let it hash on the wrong ingredients. $ip is deliberately left out — posthog-js never sends it, and PostHog fills it in server-side from the request's own connection IP. Co-authored-by: scttbnsn <[email protected]> * docs(readme): add warpchart growth chart (#126) * docs(readme): add warpchart growth chart * docs(readme): center warpchart chart to match star history - docs(readme): inline HTML anchor/img in a centered div for section consistency - docs(changelog): record the README addition * test(compose): surface ComposeResponse.Error when merged output is empty (#128) * ci: re-scope the compose x/crypto grype ignore after the Wolfi v5.4.0 bump (#130) Wolfi's docker-compose moved v5.3.1 -> v5.4.0 (x/crypto v0.53.0 -> v0.54.0), un-matching the version-scoped GO-2026-5932 ignore for the compose binary — code-scanning alert 191. Re-audited the shipped binary (openpgp still not linked), re-scoped the ignore to v0.54.0, and dropped the GO-2026-5841 klauspost/compress entry as dead config (v1.19.1 is past the v1.18.7 fix line). * docs: true up the unreleased changelog, coverage snapshot, and stray report (#132) Records the PostHog telemetry addition, cookieless-ingestion fix, buffered Web Vitals rework, and grype re-scope in [Unreleased]; refreshes COVERAGE.md to the measured 96.4% (0.4 percentage points of headroom); removes the orphaned security_best_practices_report.md. * ci: suppress the OpenSSL OCSP leak and stage the v0.9.5 release docs (#133) Suppresses CVE-2026-54876 for the bundled libcrypto3/libssl3 (opt-in OCSP client feature nothing in the image can enable; no fixed Wolfi package exists; version-scoped, review by 2026-09-15), stages the v0.9.5 CHANGELOG entry, and bumps every version-locked doc surface to v0.9.5 per the release contract. * fix(security): re-scope CVE-2026-54876 suppressions to openssl 3.6.3-r4 (#138) * ci(security): land the house-audit hardening batch (#141) * ci(security): add the static-site ZAP baseline and close audit polish items (#145) * ci(security): run the secrets gate with base-ref policy on PRs (#146) * chore(security): drop the trivy qlty plugin in favor of Grype Fixes #135 * ci(coverage): upload Go coverage to Codecov via OIDC * ci(review): wire the Greptile second-opinion summon behind a label Fixes #134 * ci(release): attest GoReleaser artifacts and sign release tags * docs(readme): migrate to the codified README shape Fixes #136 * fix(security): fail the ZAP baseline scan on untriaged findings (#153) Drop cmd_options: '-I' from security-zap-baseline.yml. Any finding not already in .zap/rules.tsv defaults to WARN, and -I suppressed WARN from failing the job, so a brand-new finding would report green every week instead of failing for a human to triage, matching how the existing ten entries were handled. Flagged by CodeRabbit on PR #152's first real review of the ZAP files, which merged during the 2026-08-17 GitHub outage without one. * docs(readme): point badges at the default branch The CI and Codecov badges got repointed at dev/v0.9 during PR #151 review. Fine for that PR, wrong for a README that ships on main: drop the branch qualifier from the Codecov badge entirely and match the other workflow badges' ?branch=main convention for CI. --------- Co-authored-by: biggest-littlest <[email protected]>
* docs: refresh stale version references for v0.9.4 (#95) * docs: update stale version references to v0.9.4 STABILITY.md, ROADMAP.md, README.md, COMPATIBILITY.md, the mirrored stability-policy doc, and llms.txt still pointed at v0.8.x/v0.9.2 as the current release. v0.9.3 and v0.9.4 only touched CI and process, so the described product behavior is unchanged. * chore: gitignore .planning/ in the tracked file Local planning docs were only excluded via this clone's .git/info/exclude, which doesn't propagate to other clones. drydock and sockguard already carry this entry in their tracked .gitignore. * chore: bump package release config contract to v0.9.4 The contract test still hardcoded release_version 0.9.2 and previous_version 0.9.1, so it had only been passing because the surfaces it checks were stale in exactly the way it expected. Move the pins to 0.9.4/0.9.3 and bring every named surface (site-config, get-started, installation.mdx, verification.mdx, openapi.yaml, the observability compose example) up to match. Also drop a literal "v0.9.3" mention from the README release note that the script's stale-previous-version grep was catching, without losing the point it was making. * fix(release): derive release-config-test version from CHANGELOG.md (#97) * fix(release): derive release-config-test version from CHANGELOG.md The contract's release_version, release_date, and previous_version were hand-set constants that only ever agreed with the docs they were written to expect. They sat pinned at v0.9.2 through the v0.9.3 and v0.9.4 cuts and stayed green the whole time because the docs were stale in exactly the shape the constants expected. Derive all three from CHANGELOG.md's two newest dated release headings instead, the same source release-cut.yml already requires to match the tag before it will push one, so there is no separate constant left to drift. * ci(release): tie the cut to the newest changelog entry Deriving the contract's version from CHANGELOG.md removes the constant nobody remembered to bump, but release-cut's own check finds the tag's entry anywhere in the file. So cutting a tag whose notes sit under newer ones would pass both gates while they policed different releases, which is the same self-agreeing failure the derivation was meant to end. Require the tag to BE the newest dated heading, and run the contract script during the cut instead of only on PRs, so the docs are verified against the release actually being tagged. * style(release): apply shfmt to the release contract script * fix(release): report a missing changelog heading instead of dying bare * ci(qlty): allow the objects.githubusercontent.com release CDN (#98) The qlty job's egress allowlist carried release-assets.githubusercontent.com but not objects.githubusercontent.com, GitHub's older release-asset host. python-build-standalone's tarballs still redirect there, and harden-runner blocking a redirect mid-transfer surfaces as 'Unexpected EOF' rather than a refused connection, so four separate runs read as flake before anyone looked at the allowlist. Fixes: #94 * test(auth): fuzz request verification (#99) * ci(workflows): align verification filename (#100) * ci(workflows): align verification filename * fix(ci): fail closed on unresolved commit ranges Pin the golangci-lint binary so the SHA-pinned action does not resolve the latest release at runtime. * style(scripts): format commit-range test * ci(checks): remove emoji from required job names (#101) * ci(checks): remove emoji from required job names * test(ci): reject retired protection contexts * fix(license): restore AGPL detection (#102) * fix(license): restore AGPL detection * test(license): enforce canonical template * ci(hooks): enforce qlty before push (#103) * ci(hooks): enforce qlty before push * test(hooks): reject qlty config lookalikes * fix(ci): close promotion review gaps (#105) * fix(ci): close promotion review gaps * test(ci): harden release contract matching * test(ci): verify release harness failures * fix(security): bump Go toolchain to 1.26.6 * fix(ci): allow stable Go fallback downloads * fix(ci): make egress contract runner-portable * test(ci): harden promotion contract isolation * test(ci): exercise egress contract failures * test(ci): propagate fixture setup failures (#106) * fix(ci): analyze dev pushes with CodeQL (#107) * fix(ci): analyze dev pushes with CodeQL * test(ci): enforce CodeQL source triggers * fix(ci): preserve CodeQL analysis identity (#108) Pin CodeQL uploads to the legacy default-branch category and enforce the category, trigger, and step scope with fail-closed fixtures. * feat(analytics): add privacy-first PostHog telemetry (#109) * feat(analytics): add privacy-first PostHog telemetry * test(web): calibrate marketing budget to CI * test(web): calibrate docs budget to CI * fix(web): harden analytics performance contracts * fix(analytics): restore buffered web vitals * fix(web): close Lighthouse server on setup failure * fix(analytics): close promotion review gaps (#111) * fix(analytics): close promotion review gaps * fix(quality): resolve mounted root assets * fix(analytics): buffer Next.js web vitals (#112) * fix(analytics): buffer Next.js web vitals * fix(analytics): bind vitals to page paths * fix(analytics): canonicalize web vitals buffer paths (#114) * fix(analytics): canonicalize web vitals buffer paths * test(analytics): cover trailing slash vitals paths * fix(analytics): scope web vitals to page loads (#115) * fix(website): remove Go Report Card badge Removes the Go Report Card badge and preserves the source/runtime regression contract. * ci(workflows): canary reusable CI (#118) * ci(workflows): canary reusable CI * fix(ci): isolate the local lint cache * fix(ci): grant reusable CodeQL permission * fix(ci): allow Go module storage redirects * style(ci): format reusable CI contract * fix(ci): close reusable workflow review gaps * fix(ci): close promotion review gaps (#120) * fix(ci): close promotion review gaps * style(ci): format promotion contract * test(ci): harden promotion contract * fix(ci): close reusable workflow review gaps (#121) * fix(ci): close reusable workflow review gaps * style(ci): format coverage validation * fix(ci): scope reusable inputs to mappings --------- Co-authored-by: scttbnsn <[email protected]> * ci: remove temporary X1 bridge jobs (#122) * ci: remove temporary X1 bridge jobs Branch protection required both the legacy plain-name contexts and the new reusable "Go CI / ..." contexts while the X1 canary was rolling out. The ruleset now requires only the six reusable contexts, so the bridge jobs that mirrored the old names (Build & Test, Lint, Govulncheck, Workflow Security, Commit Message, GoReleaser Config) are dead weight. Update the workflow contract tests to reject reintroduction of those context names instead of requiring their presence. * test(ci): drop unneeded if-line from bridge reintroduction fixture Silences a biome noTemplateCurlyInString false positive on the literal ${{ always() }} YAML text; the line wasn't needed for the assertion. * ci: align branch-protection IaC with the narrowed ruleset apply-branch-protection.sh still listed the six retired plain-name contexts (Build & Test, Lint, ...) as required status checks, even though the live "Main branch protection" ruleset was already narrowed to the six reusable "Go CI / ..." contexts. Re-running the script as written would have reintroduced the retired contexts. Point it at the same six reusable contexts the ruleset now requires; every other rule (approvals, code-owner review, last-push approval, CodeQL gate) is unchanged. Update the package release contract to require the reusable contexts and reject the retired plain names in apply-branch-protection.sh too, mirroring the reject added for ci-verify.yml. --------- Co-authored-by: scttbnsn <[email protected]> * fix(analytics): carry the cookieless envelope fields ingestion requires (#124) PostHog's cookieless server-hash step reads $raw_user_agent and $host straight off event.properties and silently drops any event missing either one (cookieless_missing_user_agent / cookieless_missing_host ingestion warnings, zero rows ingested). posthog-js attaches both by default, but before_send rebuilt properties from an allowlist that never carried them through, so every cookieless event from the public sites was dropped at ingestion despite leaving the browser well-formed. Forward both fields verbatim; drop the event client-side if either is missing rather than let it hash on the wrong ingredients. $ip is deliberately left out — posthog-js never sends it, and PostHog fills it in server-side from the request's own connection IP. Co-authored-by: scttbnsn <[email protected]> * docs(readme): add warpchart growth chart (#126) * docs(readme): add warpchart growth chart * docs(readme): center warpchart chart to match star history - docs(readme): inline HTML anchor/img in a centered div for section consistency - docs(changelog): record the README addition * test(compose): surface ComposeResponse.Error when merged output is empty (#128) * ci: re-scope the compose x/crypto grype ignore after the Wolfi v5.4.0 bump (#130) Wolfi's docker-compose moved v5.3.1 -> v5.4.0 (x/crypto v0.53.0 -> v0.54.0), un-matching the version-scoped GO-2026-5932 ignore for the compose binary — code-scanning alert 191. Re-audited the shipped binary (openpgp still not linked), re-scoped the ignore to v0.54.0, and dropped the GO-2026-5841 klauspost/compress entry as dead config (v1.19.1 is past the v1.18.7 fix line). * docs: true up the unreleased changelog, coverage snapshot, and stray report (#132) Records the PostHog telemetry addition, cookieless-ingestion fix, buffered Web Vitals rework, and grype re-scope in [Unreleased]; refreshes COVERAGE.md to the measured 96.4% (0.4 percentage points of headroom); removes the orphaned security_best_practices_report.md. * ci: suppress the OpenSSL OCSP leak and stage the v0.9.5 release docs (#133) Suppresses CVE-2026-54876 for the bundled libcrypto3/libssl3 (opt-in OCSP client feature nothing in the image can enable; no fixed Wolfi package exists; version-scoped, review by 2026-09-15), stages the v0.9.5 CHANGELOG entry, and bumps every version-locked doc surface to v0.9.5 per the release contract. * fix(security): re-scope CVE-2026-54876 suppressions to openssl 3.6.3-r4 (#138) * ci(security): land the house-audit hardening batch (#141) * ci(security): add the static-site ZAP baseline and close audit polish items (#145) * ci(security): run the secrets gate with base-ref policy on PRs (#146) * chore(security): drop the trivy qlty plugin in favor of Grype Fixes #135 * ci(coverage): upload Go coverage to Codecov via OIDC * ci(review): wire the Greptile second-opinion summon behind a label Fixes #134 * ci(release): attest GoReleaser artifacts and sign release tags * docs(readme): migrate to the codified README shape Fixes #136 * fix(security): fail the ZAP baseline scan on untriaged findings (#153) Drop cmd_options: '-I' from security-zap-baseline.yml. Any finding not already in .zap/rules.tsv defaults to WARN, and -I suppressed WARN from failing the job, so a brand-new finding would report green every week instead of failing for a human to triage, matching how the existing ten entries were handled. Flagged by CodeRabbit on PR #152's first real review of the ZAP files, which merged during the 2026-08-17 GitHub outage without one. * docs(readme): point badges at the default branch The CI and Codecov badges got repointed at dev/v0.9 during PR #151 review. Fine for that PR, wrong for a README that ships on main: drop the branch qualifier from the Codecov badge entirely and match the other workflow badges' ?branch=main convention for CI. * ci(coverage): allow the Codecov ingest endpoint through the egress policy (#156) * chore(release): prepare v0.9.6 * fix(website): drop the third-party star-history embed (#160) The marketing homepage embedded star-history.com's chart directly via <img src="https://api.star-history.com/svg?...">, so every visitor's browser made a request straight to that third party, leaking their IP. That contradicts the org's cookieless-analytics posture. Separately, star-history.com is broken upstream anyway — GitHub restricted stargazer API access, so the chart now just renders an error card. Removes the StarHistory component and its render call with no replacement embed. Also drops the now-dead "star_history" CTA placement from the analytics contract, since it was only used by the removed component. * docs(changelog): fold the star-history fix into v0.9.6 (#161) The star-history removal (#160) landed under [Unreleased] while the v0.9.6 section was already staged. Moving it into v0.9.6 so the release carries the privacy fix rather than shipping process-only changes. --------- Co-authored-by: biggest-littlest <[email protected]>
* docs: refresh stale version references for v0.9.4 (#95) * docs: update stale version references to v0.9.4 STABILITY.md, ROADMAP.md, README.md, COMPATIBILITY.md, the mirrored stability-policy doc, and llms.txt still pointed at v0.8.x/v0.9.2 as the current release. v0.9.3 and v0.9.4 only touched CI and process, so the described product behavior is unchanged. * chore: gitignore .planning/ in the tracked file Local planning docs were only excluded via this clone's .git/info/exclude, which doesn't propagate to other clones. drydock and sockguard already carry this entry in their tracked .gitignore. * chore: bump package release config contract to v0.9.4 The contract test still hardcoded release_version 0.9.2 and previous_version 0.9.1, so it had only been passing because the surfaces it checks were stale in exactly the way it expected. Move the pins to 0.9.4/0.9.3 and bring every named surface (site-config, get-started, installation.mdx, verification.mdx, openapi.yaml, the observability compose example) up to match. Also drop a literal "v0.9.3" mention from the README release note that the script's stale-previous-version grep was catching, without losing the point it was making. * fix(release): derive release-config-test version from CHANGELOG.md (#97) * fix(release): derive release-config-test version from CHANGELOG.md The contract's release_version, release_date, and previous_version were hand-set constants that only ever agreed with the docs they were written to expect. They sat pinned at v0.9.2 through the v0.9.3 and v0.9.4 cuts and stayed green the whole time because the docs were stale in exactly the shape the constants expected. Derive all three from CHANGELOG.md's two newest dated release headings instead, the same source release-cut.yml already requires to match the tag before it will push one, so there is no separate constant left to drift. * ci(release): tie the cut to the newest changelog entry Deriving the contract's version from CHANGELOG.md removes the constant nobody remembered to bump, but release-cut's own check finds the tag's entry anywhere in the file. So cutting a tag whose notes sit under newer ones would pass both gates while they policed different releases, which is the same self-agreeing failure the derivation was meant to end. Require the tag to BE the newest dated heading, and run the contract script during the cut instead of only on PRs, so the docs are verified against the release actually being tagged. * style(release): apply shfmt to the release contract script * fix(release): report a missing changelog heading instead of dying bare * ci(qlty): allow the objects.githubusercontent.com release CDN (#98) The qlty job's egress allowlist carried release-assets.githubusercontent.com but not objects.githubusercontent.com, GitHub's older release-asset host. python-build-standalone's tarballs still redirect there, and harden-runner blocking a redirect mid-transfer surfaces as 'Unexpected EOF' rather than a refused connection, so four separate runs read as flake before anyone looked at the allowlist. Fixes: #94 * test(auth): fuzz request verification (#99) * ci(workflows): align verification filename (#100) * ci(workflows): align verification filename * fix(ci): fail closed on unresolved commit ranges Pin the golangci-lint binary so the SHA-pinned action does not resolve the latest release at runtime. * style(scripts): format commit-range test * ci(checks): remove emoji from required job names (#101) * ci(checks): remove emoji from required job names * test(ci): reject retired protection contexts * fix(license): restore AGPL detection (#102) * fix(license): restore AGPL detection * test(license): enforce canonical template * ci(hooks): enforce qlty before push (#103) * ci(hooks): enforce qlty before push * test(hooks): reject qlty config lookalikes * fix(ci): close promotion review gaps (#105) * fix(ci): close promotion review gaps * test(ci): harden release contract matching * test(ci): verify release harness failures * fix(security): bump Go toolchain to 1.26.6 * fix(ci): allow stable Go fallback downloads * fix(ci): make egress contract runner-portable * test(ci): harden promotion contract isolation * test(ci): exercise egress contract failures * test(ci): propagate fixture setup failures (#106) * fix(ci): analyze dev pushes with CodeQL (#107) * fix(ci): analyze dev pushes with CodeQL * test(ci): enforce CodeQL source triggers * fix(ci): preserve CodeQL analysis identity (#108) Pin CodeQL uploads to the legacy default-branch category and enforce the category, trigger, and step scope with fail-closed fixtures. * feat(analytics): add privacy-first PostHog telemetry (#109) * feat(analytics): add privacy-first PostHog telemetry * test(web): calibrate marketing budget to CI * test(web): calibrate docs budget to CI * fix(web): harden analytics performance contracts * fix(analytics): restore buffered web vitals * fix(web): close Lighthouse server on setup failure * fix(analytics): close promotion review gaps (#111) * fix(analytics): close promotion review gaps * fix(quality): resolve mounted root assets * fix(analytics): buffer Next.js web vitals (#112) * fix(analytics): buffer Next.js web vitals * fix(analytics): bind vitals to page paths * fix(analytics): canonicalize web vitals buffer paths (#114) * fix(analytics): canonicalize web vitals buffer paths * test(analytics): cover trailing slash vitals paths * fix(analytics): scope web vitals to page loads (#115) * fix(website): remove Go Report Card badge Removes the Go Report Card badge and preserves the source/runtime regression contract. * ci(workflows): canary reusable CI (#118) * ci(workflows): canary reusable CI * fix(ci): isolate the local lint cache * fix(ci): grant reusable CodeQL permission * fix(ci): allow Go module storage redirects * style(ci): format reusable CI contract * fix(ci): close reusable workflow review gaps * fix(ci): close promotion review gaps (#120) * fix(ci): close promotion review gaps * style(ci): format promotion contract * test(ci): harden promotion contract * fix(ci): close reusable workflow review gaps (#121) * fix(ci): close reusable workflow review gaps * style(ci): format coverage validation * fix(ci): scope reusable inputs to mappings --------- Co-authored-by: scttbnsn <[email protected]> * ci: remove temporary X1 bridge jobs (#122) * ci: remove temporary X1 bridge jobs Branch protection required both the legacy plain-name contexts and the new reusable "Go CI / ..." contexts while the X1 canary was rolling out. The ruleset now requires only the six reusable contexts, so the bridge jobs that mirrored the old names (Build & Test, Lint, Govulncheck, Workflow Security, Commit Message, GoReleaser Config) are dead weight. Update the workflow contract tests to reject reintroduction of those context names instead of requiring their presence. * test(ci): drop unneeded if-line from bridge reintroduction fixture Silences a biome noTemplateCurlyInString false positive on the literal ${{ always() }} YAML text; the line wasn't needed for the assertion. * ci: align branch-protection IaC with the narrowed ruleset apply-branch-protection.sh still listed the six retired plain-name contexts (Build & Test, Lint, ...) as required status checks, even though the live "Main branch protection" ruleset was already narrowed to the six reusable "Go CI / ..." contexts. Re-running the script as written would have reintroduced the retired contexts. Point it at the same six reusable contexts the ruleset now requires; every other rule (approvals, code-owner review, last-push approval, CodeQL gate) is unchanged. Update the package release contract to require the reusable contexts and reject the retired plain names in apply-branch-protection.sh too, mirroring the reject added for ci-verify.yml. --------- Co-authored-by: scttbnsn <[email protected]> * fix(analytics): carry the cookieless envelope fields ingestion requires (#124) PostHog's cookieless server-hash step reads $raw_user_agent and $host straight off event.properties and silently drops any event missing either one (cookieless_missing_user_agent / cookieless_missing_host ingestion warnings, zero rows ingested). posthog-js attaches both by default, but before_send rebuilt properties from an allowlist that never carried them through, so every cookieless event from the public sites was dropped at ingestion despite leaving the browser well-formed. Forward both fields verbatim; drop the event client-side if either is missing rather than let it hash on the wrong ingredients. $ip is deliberately left out — posthog-js never sends it, and PostHog fills it in server-side from the request's own connection IP. Co-authored-by: scttbnsn <[email protected]> * docs(readme): add warpchart growth chart (#126) * docs(readme): add warpchart growth chart * docs(readme): center warpchart chart to match star history - docs(readme): inline HTML anchor/img in a centered div for section consistency - docs(changelog): record the README addition * test(compose): surface ComposeResponse.Error when merged output is empty (#128) * ci: re-scope the compose x/crypto grype ignore after the Wolfi v5.4.0 bump (#130) Wolfi's docker-compose moved v5.3.1 -> v5.4.0 (x/crypto v0.53.0 -> v0.54.0), un-matching the version-scoped GO-2026-5932 ignore for the compose binary — code-scanning alert 191. Re-audited the shipped binary (openpgp still not linked), re-scoped the ignore to v0.54.0, and dropped the GO-2026-5841 klauspost/compress entry as dead config (v1.19.1 is past the v1.18.7 fix line). * docs: true up the unreleased changelog, coverage snapshot, and stray report (#132) Records the PostHog telemetry addition, cookieless-ingestion fix, buffered Web Vitals rework, and grype re-scope in [Unreleased]; refreshes COVERAGE.md to the measured 96.4% (0.4 percentage points of headroom); removes the orphaned security_best_practices_report.md. * ci: suppress the OpenSSL OCSP leak and stage the v0.9.5 release docs (#133) Suppresses CVE-2026-54876 for the bundled libcrypto3/libssl3 (opt-in OCSP client feature nothing in the image can enable; no fixed Wolfi package exists; version-scoped, review by 2026-09-15), stages the v0.9.5 CHANGELOG entry, and bumps every version-locked doc surface to v0.9.5 per the release contract. * fix(security): re-scope CVE-2026-54876 suppressions to openssl 3.6.3-r4 (#138) * ci(security): land the house-audit hardening batch (#141) * ci(security): add the static-site ZAP baseline and close audit polish items (#145) * ci(security): run the secrets gate with base-ref policy on PRs (#146) * chore(security): drop the trivy qlty plugin in favor of Grype Fixes #135 * ci(coverage): upload Go coverage to Codecov via OIDC * ci(review): wire the Greptile second-opinion summon behind a label Fixes #134 * ci(release): attest GoReleaser artifacts and sign release tags * docs(readme): migrate to the codified README shape Fixes #136 * fix(security): fail the ZAP baseline scan on untriaged findings (#153) Drop cmd_options: '-I' from security-zap-baseline.yml. Any finding not already in .zap/rules.tsv defaults to WARN, and -I suppressed WARN from failing the job, so a brand-new finding would report green every week instead of failing for a human to triage, matching how the existing ten entries were handled. Flagged by CodeRabbit on PR #152's first real review of the ZAP files, which merged during the 2026-08-17 GitHub outage without one. * docs(readme): point badges at the default branch The CI and Codecov badges got repointed at dev/v0.9 during PR #151 review. Fine for that PR, wrong for a README that ships on main: drop the branch qualifier from the Codecov badge entirely and match the other workflow badges' ?branch=main convention for CI. * ci(coverage): allow the Codecov ingest endpoint through the egress policy (#156) * chore(release): prepare v0.9.6 * fix(website): drop the third-party star-history embed (#160) The marketing homepage embedded star-history.com's chart directly via <img src="https://api.star-history.com/svg?...">, so every visitor's browser made a request straight to that third party, leaking their IP. That contradicts the org's cookieless-analytics posture. Separately, star-history.com is broken upstream anyway — GitHub restricted stargazer API access, so the chart now just renders an error card. Removes the StarHistory component and its render call with no replacement embed. Also drops the now-dead "star_history" CTA placement from the analytics contract, since it was only used by the removed component. * docs(changelog): fold the star-history fix into v0.9.6 (#161) The star-history removal (#160) landed under [Unreleased] while the v0.9.6 section was already staged. Moving it into v0.9.6 so the release carries the privacy fix rather than shipping process-only changes. * ci(release): allow the attestation bundle host through the egress policy (#163) gh attestation verify fetches provenance bundles from Azure blob storage, but the Verify Native Packages job's harden-runner allow-list omitted that host, so the step failed with a connection refused on the v0.9.6 cut. The sibling Verify Published job already allowed it; the two lists now agree. The published artifacts were never affected: v0.9.6's .deb verifies cleanly against the same attestation from off-runner, and a tampered copy fails, so the check discriminates correctly. Only the in-CI verification was blocked. * fix(ci): sync the checked-in branch protection with the live ruleset (#164) apply-branch-protection.sh declared six required contexts while the live ruleset had grown to ten. The script updates the ruleset in place, so running it would have silently removed Go CI / Qlty Check, Security: Secrets, Dependency Review, and CodeQL Analysis. Its header also still documented Dependency Review as a deliberate exclusion, which stopped being true when that context was required. Verified the regenerated list against ruleset 17620625 field by field: the ten contexts match exactly, as do enforcement, the empty bypass list, the pull_request parameters, and the code_scanning thresholds. --------- Co-authored-by: biggest-littlest <[email protected]>
* docs: refresh stale version references for v0.9.4 (#95) * docs: update stale version references to v0.9.4 STABILITY.md, ROADMAP.md, README.md, COMPATIBILITY.md, the mirrored stability-policy doc, and llms.txt still pointed at v0.8.x/v0.9.2 as the current release. v0.9.3 and v0.9.4 only touched CI and process, so the described product behavior is unchanged. * chore: gitignore .planning/ in the tracked file Local planning docs were only excluded via this clone's .git/info/exclude, which doesn't propagate to other clones. drydock and sockguard already carry this entry in their tracked .gitignore. * chore: bump package release config contract to v0.9.4 The contract test still hardcoded release_version 0.9.2 and previous_version 0.9.1, so it had only been passing because the surfaces it checks were stale in exactly the way it expected. Move the pins to 0.9.4/0.9.3 and bring every named surface (site-config, get-started, installation.mdx, verification.mdx, openapi.yaml, the observability compose example) up to match. Also drop a literal "v0.9.3" mention from the README release note that the script's stale-previous-version grep was catching, without losing the point it was making. * fix(release): derive release-config-test version from CHANGELOG.md (#97) * fix(release): derive release-config-test version from CHANGELOG.md The contract's release_version, release_date, and previous_version were hand-set constants that only ever agreed with the docs they were written to expect. They sat pinned at v0.9.2 through the v0.9.3 and v0.9.4 cuts and stayed green the whole time because the docs were stale in exactly the shape the constants expected. Derive all three from CHANGELOG.md's two newest dated release headings instead, the same source release-cut.yml already requires to match the tag before it will push one, so there is no separate constant left to drift. * ci(release): tie the cut to the newest changelog entry Deriving the contract's version from CHANGELOG.md removes the constant nobody remembered to bump, but release-cut's own check finds the tag's entry anywhere in the file. So cutting a tag whose notes sit under newer ones would pass both gates while they policed different releases, which is the same self-agreeing failure the derivation was meant to end. Require the tag to BE the newest dated heading, and run the contract script during the cut instead of only on PRs, so the docs are verified against the release actually being tagged. * style(release): apply shfmt to the release contract script * fix(release): report a missing changelog heading instead of dying bare * ci(qlty): allow the objects.githubusercontent.com release CDN (#98) The qlty job's egress allowlist carried release-assets.githubusercontent.com but not objects.githubusercontent.com, GitHub's older release-asset host. python-build-standalone's tarballs still redirect there, and harden-runner blocking a redirect mid-transfer surfaces as 'Unexpected EOF' rather than a refused connection, so four separate runs read as flake before anyone looked at the allowlist. Fixes: #94 * test(auth): fuzz request verification (#99) * ci(workflows): align verification filename (#100) * ci(workflows): align verification filename * fix(ci): fail closed on unresolved commit ranges Pin the golangci-lint binary so the SHA-pinned action does not resolve the latest release at runtime. * style(scripts): format commit-range test * ci(checks): remove emoji from required job names (#101) * ci(checks): remove emoji from required job names * test(ci): reject retired protection contexts * fix(license): restore AGPL detection (#102) * fix(license): restore AGPL detection * test(license): enforce canonical template * ci(hooks): enforce qlty before push (#103) * ci(hooks): enforce qlty before push * test(hooks): reject qlty config lookalikes * fix(ci): close promotion review gaps (#105) * fix(ci): close promotion review gaps * test(ci): harden release contract matching * test(ci): verify release harness failures * fix(security): bump Go toolchain to 1.26.6 * fix(ci): allow stable Go fallback downloads * fix(ci): make egress contract runner-portable * test(ci): harden promotion contract isolation * test(ci): exercise egress contract failures * test(ci): propagate fixture setup failures (#106) * fix(ci): analyze dev pushes with CodeQL (#107) * fix(ci): analyze dev pushes with CodeQL * test(ci): enforce CodeQL source triggers * fix(ci): preserve CodeQL analysis identity (#108) Pin CodeQL uploads to the legacy default-branch category and enforce the category, trigger, and step scope with fail-closed fixtures. * feat(analytics): add privacy-first PostHog telemetry (#109) * feat(analytics): add privacy-first PostHog telemetry * test(web): calibrate marketing budget to CI * test(web): calibrate docs budget to CI * fix(web): harden analytics performance contracts * fix(analytics): restore buffered web vitals * fix(web): close Lighthouse server on setup failure * fix(analytics): close promotion review gaps (#111) * fix(analytics): close promotion review gaps * fix(quality): resolve mounted root assets * fix(analytics): buffer Next.js web vitals (#112) * fix(analytics): buffer Next.js web vitals * fix(analytics): bind vitals to page paths * fix(analytics): canonicalize web vitals buffer paths (#114) * fix(analytics): canonicalize web vitals buffer paths * test(analytics): cover trailing slash vitals paths * fix(analytics): scope web vitals to page loads (#115) * fix(website): remove Go Report Card badge Removes the Go Report Card badge and preserves the source/runtime regression contract. * ci(workflows): canary reusable CI (#118) * ci(workflows): canary reusable CI * fix(ci): isolate the local lint cache * fix(ci): grant reusable CodeQL permission * fix(ci): allow Go module storage redirects * style(ci): format reusable CI contract * fix(ci): close reusable workflow review gaps * fix(ci): close promotion review gaps (#120) * fix(ci): close promotion review gaps * style(ci): format promotion contract * test(ci): harden promotion contract * fix(ci): close reusable workflow review gaps (#121) * fix(ci): close reusable workflow review gaps * style(ci): format coverage validation * fix(ci): scope reusable inputs to mappings --------- Co-authored-by: scttbnsn <[email protected]> * ci: remove temporary X1 bridge jobs (#122) * ci: remove temporary X1 bridge jobs Branch protection required both the legacy plain-name contexts and the new reusable "Go CI / ..." contexts while the X1 canary was rolling out. The ruleset now requires only the six reusable contexts, so the bridge jobs that mirrored the old names (Build & Test, Lint, Govulncheck, Workflow Security, Commit Message, GoReleaser Config) are dead weight. Update the workflow contract tests to reject reintroduction of those context names instead of requiring their presence. * test(ci): drop unneeded if-line from bridge reintroduction fixture Silences a biome noTemplateCurlyInString false positive on the literal ${{ always() }} YAML text; the line wasn't needed for the assertion. * ci: align branch-protection IaC with the narrowed ruleset apply-branch-protection.sh still listed the six retired plain-name contexts (Build & Test, Lint, ...) as required status checks, even though the live "Main branch protection" ruleset was already narrowed to the six reusable "Go CI / ..." contexts. Re-running the script as written would have reintroduced the retired contexts. Point it at the same six reusable contexts the ruleset now requires; every other rule (approvals, code-owner review, last-push approval, CodeQL gate) is unchanged. Update the package release contract to require the reusable contexts and reject the retired plain names in apply-branch-protection.sh too, mirroring the reject added for ci-verify.yml. --------- Co-authored-by: scttbnsn <[email protected]> * fix(analytics): carry the cookieless envelope fields ingestion requires (#124) PostHog's cookieless server-hash step reads $raw_user_agent and $host straight off event.properties and silently drops any event missing either one (cookieless_missing_user_agent / cookieless_missing_host ingestion warnings, zero rows ingested). posthog-js attaches both by default, but before_send rebuilt properties from an allowlist that never carried them through, so every cookieless event from the public sites was dropped at ingestion despite leaving the browser well-formed. Forward both fields verbatim; drop the event client-side if either is missing rather than let it hash on the wrong ingredients. $ip is deliberately left out — posthog-js never sends it, and PostHog fills it in server-side from the request's own connection IP. Co-authored-by: scttbnsn <[email protected]> * docs(readme): add warpchart growth chart (#126) * docs(readme): add warpchart growth chart * docs(readme): center warpchart chart to match star history - docs(readme): inline HTML anchor/img in a centered div for section consistency - docs(changelog): record the README addition * test(compose): surface ComposeResponse.Error when merged output is empty (#128) * ci: re-scope the compose x/crypto grype ignore after the Wolfi v5.4.0 bump (#130) Wolfi's docker-compose moved v5.3.1 -> v5.4.0 (x/crypto v0.53.0 -> v0.54.0), un-matching the version-scoped GO-2026-5932 ignore for the compose binary — code-scanning alert 191. Re-audited the shipped binary (openpgp still not linked), re-scoped the ignore to v0.54.0, and dropped the GO-2026-5841 klauspost/compress entry as dead config (v1.19.1 is past the v1.18.7 fix line). * docs: true up the unreleased changelog, coverage snapshot, and stray report (#132) Records the PostHog telemetry addition, cookieless-ingestion fix, buffered Web Vitals rework, and grype re-scope in [Unreleased]; refreshes COVERAGE.md to the measured 96.4% (0.4 percentage points of headroom); removes the orphaned security_best_practices_report.md. * ci: suppress the OpenSSL OCSP leak and stage the v0.9.5 release docs (#133) Suppresses CVE-2026-54876 for the bundled libcrypto3/libssl3 (opt-in OCSP client feature nothing in the image can enable; no fixed Wolfi package exists; version-scoped, review by 2026-09-15), stages the v0.9.5 CHANGELOG entry, and bumps every version-locked doc surface to v0.9.5 per the release contract. * fix(security): re-scope CVE-2026-54876 suppressions to openssl 3.6.3-r4 (#138) * ci(security): land the house-audit hardening batch (#141) * ci(security): add the static-site ZAP baseline and close audit polish items (#145) * ci(security): run the secrets gate with base-ref policy on PRs (#146) * chore(security): drop the trivy qlty plugin in favor of Grype Fixes #135 * ci(coverage): upload Go coverage to Codecov via OIDC * ci(review): wire the Greptile second-opinion summon behind a label Fixes #134 * ci(release): attest GoReleaser artifacts and sign release tags * docs(readme): migrate to the codified README shape Fixes #136 * fix(security): fail the ZAP baseline scan on untriaged findings (#153) Drop cmd_options: '-I' from security-zap-baseline.yml. Any finding not already in .zap/rules.tsv defaults to WARN, and -I suppressed WARN from failing the job, so a brand-new finding would report green every week instead of failing for a human to triage, matching how the existing ten entries were handled. Flagged by CodeRabbit on PR #152's first real review of the ZAP files, which merged during the 2026-08-17 GitHub outage without one. * docs(readme): point badges at the default branch The CI and Codecov badges got repointed at dev/v0.9 during PR #151 review. Fine for that PR, wrong for a README that ships on main: drop the branch qualifier from the Codecov badge entirely and match the other workflow badges' ?branch=main convention for CI. * ci(coverage): allow the Codecov ingest endpoint through the egress policy (#156) * chore(release): prepare v0.9.6 * fix(website): drop the third-party star-history embed (#160) The marketing homepage embedded star-history.com's chart directly via <img src="https://api.star-history.com/svg?...">, so every visitor's browser made a request straight to that third party, leaking their IP. That contradicts the org's cookieless-analytics posture. Separately, star-history.com is broken upstream anyway — GitHub restricted stargazer API access, so the chart now just renders an error card. Removes the StarHistory component and its render call with no replacement embed. Also drops the now-dead "star_history" CTA placement from the analytics contract, since it was only used by the removed component. * docs(changelog): fold the star-history fix into v0.9.6 (#161) The star-history removal (#160) landed under [Unreleased] while the v0.9.6 section was already staged. Moving it into v0.9.6 so the release carries the privacy fix rather than shipping process-only changes. * ci(release): allow the attestation bundle host through the egress policy (#163) gh attestation verify fetches provenance bundles from Azure blob storage, but the Verify Native Packages job's harden-runner allow-list omitted that host, so the step failed with a connection refused on the v0.9.6 cut. The sibling Verify Published job already allowed it; the two lists now agree. The published artifacts were never affected: v0.9.6's .deb verifies cleanly against the same attestation from off-runner, and a tampered copy fails, so the check discriminates correctly. Only the in-CI verification was blocked. * fix(ci): sync the checked-in branch protection with the live ruleset (#164) apply-branch-protection.sh declared six required contexts while the live ruleset had grown to ten. The script updates the ruleset in place, so running it would have silently removed Go CI / Qlty Check, Security: Secrets, Dependency Review, and CodeQL Analysis. Its header also still documented Dependency Review as a deliberate exclusion, which stopped being true when that context was required. Verified the regenerated list against ruleset 17620625 field by field: the ten contexts match exactly, as do enforcement, the empty bypass list, the pull_request parameters, and the code_scanning thresholds. * docs(readme): retire the dead star-history chart, unblock the page-weight gate (#166) * docs(readme): retire the dead star-history chart The embed returned an SVG rendering "GitHub restricted access to star data" while still answering HTTP 200, so no status check caught it. It sat directly above the working Warpchart block, which stays. Confirmed dead rather than assumed: the endpoint returns byte-identical 60,125-byte bodies for different repositories, so it serves one generic error card to everyone. Verified Warpchart is genuinely live by the same test in reverse: its responses differ per repository. * perf(website): downscale the oversized ecosystem logos sockguard-logo.png shipped at 1023x1023 (1.5 MB) and drydock-logo.png at 1041x694 (472 KB), both rendered at 128x128 by ecosystem.tsx. Downscaled to 256px, matching sockguard-logo-dark.png which already sat beside them at that size. Lighthouse median total byte weight drops from 2556783 to 1927134 against a 2180000 ceiling, back under the 2039127 baseline. The overage was failing the web pre-push lane and blocking every local push. --------- Co-authored-by: biggest-littlest <[email protected]>
* docs: refresh stale version references for v0.9.4 (#95) * docs: update stale version references to v0.9.4 STABILITY.md, ROADMAP.md, README.md, COMPATIBILITY.md, the mirrored stability-policy doc, and llms.txt still pointed at v0.8.x/v0.9.2 as the current release. v0.9.3 and v0.9.4 only touched CI and process, so the described product behavior is unchanged. * chore: gitignore .planning/ in the tracked file Local planning docs were only excluded via this clone's .git/info/exclude, which doesn't propagate to other clones. drydock and sockguard already carry this entry in their tracked .gitignore. * chore: bump package release config contract to v0.9.4 The contract test still hardcoded release_version 0.9.2 and previous_version 0.9.1, so it had only been passing because the surfaces it checks were stale in exactly the way it expected. Move the pins to 0.9.4/0.9.3 and bring every named surface (site-config, get-started, installation.mdx, verification.mdx, openapi.yaml, the observability compose example) up to match. Also drop a literal "v0.9.3" mention from the README release note that the script's stale-previous-version grep was catching, without losing the point it was making. * fix(release): derive release-config-test version from CHANGELOG.md (#97) * fix(release): derive release-config-test version from CHANGELOG.md The contract's release_version, release_date, and previous_version were hand-set constants that only ever agreed with the docs they were written to expect. They sat pinned at v0.9.2 through the v0.9.3 and v0.9.4 cuts and stayed green the whole time because the docs were stale in exactly the shape the constants expected. Derive all three from CHANGELOG.md's two newest dated release headings instead, the same source release-cut.yml already requires to match the tag before it will push one, so there is no separate constant left to drift. * ci(release): tie the cut to the newest changelog entry Deriving the contract's version from CHANGELOG.md removes the constant nobody remembered to bump, but release-cut's own check finds the tag's entry anywhere in the file. So cutting a tag whose notes sit under newer ones would pass both gates while they policed different releases, which is the same self-agreeing failure the derivation was meant to end. Require the tag to BE the newest dated heading, and run the contract script during the cut instead of only on PRs, so the docs are verified against the release actually being tagged. * style(release): apply shfmt to the release contract script * fix(release): report a missing changelog heading instead of dying bare * ci(qlty): allow the objects.githubusercontent.com release CDN (#98) The qlty job's egress allowlist carried release-assets.githubusercontent.com but not objects.githubusercontent.com, GitHub's older release-asset host. python-build-standalone's tarballs still redirect there, and harden-runner blocking a redirect mid-transfer surfaces as 'Unexpected EOF' rather than a refused connection, so four separate runs read as flake before anyone looked at the allowlist. Fixes: #94 * test(auth): fuzz request verification (#99) * ci(workflows): align verification filename (#100) * ci(workflows): align verification filename * fix(ci): fail closed on unresolved commit ranges Pin the golangci-lint binary so the SHA-pinned action does not resolve the latest release at runtime. * style(scripts): format commit-range test * ci(checks): remove emoji from required job names (#101) * ci(checks): remove emoji from required job names * test(ci): reject retired protection contexts * fix(license): restore AGPL detection (#102) * fix(license): restore AGPL detection * test(license): enforce canonical template * ci(hooks): enforce qlty before push (#103) * ci(hooks): enforce qlty before push * test(hooks): reject qlty config lookalikes * fix(ci): close promotion review gaps (#105) * fix(ci): close promotion review gaps * test(ci): harden release contract matching * test(ci): verify release harness failures * fix(security): bump Go toolchain to 1.26.6 * fix(ci): allow stable Go fallback downloads * fix(ci): make egress contract runner-portable * test(ci): harden promotion contract isolation * test(ci): exercise egress contract failures * test(ci): propagate fixture setup failures (#106) * fix(ci): analyze dev pushes with CodeQL (#107) * fix(ci): analyze dev pushes with CodeQL * test(ci): enforce CodeQL source triggers * fix(ci): preserve CodeQL analysis identity (#108) Pin CodeQL uploads to the legacy default-branch category and enforce the category, trigger, and step scope with fail-closed fixtures. * feat(analytics): add privacy-first PostHog telemetry (#109) * feat(analytics): add privacy-first PostHog telemetry * test(web): calibrate marketing budget to CI * test(web): calibrate docs budget to CI * fix(web): harden analytics performance contracts * fix(analytics): restore buffered web vitals * fix(web): close Lighthouse server on setup failure * fix(analytics): close promotion review gaps (#111) * fix(analytics): close promotion review gaps * fix(quality): resolve mounted root assets * fix(analytics): buffer Next.js web vitals (#112) * fix(analytics): buffer Next.js web vitals * fix(analytics): bind vitals to page paths * fix(analytics): canonicalize web vitals buffer paths (#114) * fix(analytics): canonicalize web vitals buffer paths * test(analytics): cover trailing slash vitals paths * fix(analytics): scope web vitals to page loads (#115) * fix(website): remove Go Report Card badge Removes the Go Report Card badge and preserves the source/runtime regression contract. * ci(workflows): canary reusable CI (#118) * ci(workflows): canary reusable CI * fix(ci): isolate the local lint cache * fix(ci): grant reusable CodeQL permission * fix(ci): allow Go module storage redirects * style(ci): format reusable CI contract * fix(ci): close reusable workflow review gaps * fix(ci): close promotion review gaps (#120) * fix(ci): close promotion review gaps * style(ci): format promotion contract * test(ci): harden promotion contract * fix(ci): close reusable workflow review gaps (#121) * fix(ci): close reusable workflow review gaps * style(ci): format coverage validation * fix(ci): scope reusable inputs to mappings --------- Co-authored-by: scttbnsn <[email protected]> * ci: remove temporary X1 bridge jobs (#122) * ci: remove temporary X1 bridge jobs Branch protection required both the legacy plain-name contexts and the new reusable "Go CI / ..." contexts while the X1 canary was rolling out. The ruleset now requires only the six reusable contexts, so the bridge jobs that mirrored the old names (Build & Test, Lint, Govulncheck, Workflow Security, Commit Message, GoReleaser Config) are dead weight. Update the workflow contract tests to reject reintroduction of those context names instead of requiring their presence. * test(ci): drop unneeded if-line from bridge reintroduction fixture Silences a biome noTemplateCurlyInString false positive on the literal ${{ always() }} YAML text; the line wasn't needed for the assertion. * ci: align branch-protection IaC with the narrowed ruleset apply-branch-protection.sh still listed the six retired plain-name contexts (Build & Test, Lint, ...) as required status checks, even though the live "Main branch protection" ruleset was already narrowed to the six reusable "Go CI / ..." contexts. Re-running the script as written would have reintroduced the retired contexts. Point it at the same six reusable contexts the ruleset now requires; every other rule (approvals, code-owner review, last-push approval, CodeQL gate) is unchanged. Update the package release contract to require the reusable contexts and reject the retired plain names in apply-branch-protection.sh too, mirroring the reject added for ci-verify.yml. --------- Co-authored-by: scttbnsn <[email protected]> * fix(analytics): carry the cookieless envelope fields ingestion requires (#124) PostHog's cookieless server-hash step reads $raw_user_agent and $host straight off event.properties and silently drops any event missing either one (cookieless_missing_user_agent / cookieless_missing_host ingestion warnings, zero rows ingested). posthog-js attaches both by default, but before_send rebuilt properties from an allowlist that never carried them through, so every cookieless event from the public sites was dropped at ingestion despite leaving the browser well-formed. Forward both fields verbatim; drop the event client-side if either is missing rather than let it hash on the wrong ingredients. $ip is deliberately left out — posthog-js never sends it, and PostHog fills it in server-side from the request's own connection IP. Co-authored-by: scttbnsn <[email protected]> * docs(readme): add warpchart growth chart (#126) * docs(readme): add warpchart growth chart * docs(readme): center warpchart chart to match star history - docs(readme): inline HTML anchor/img in a centered div for section consistency - docs(changelog): record the README addition * test(compose): surface ComposeResponse.Error when merged output is empty (#128) * ci: re-scope the compose x/crypto grype ignore after the Wolfi v5.4.0 bump (#130) Wolfi's docker-compose moved v5.3.1 -> v5.4.0 (x/crypto v0.53.0 -> v0.54.0), un-matching the version-scoped GO-2026-5932 ignore for the compose binary — code-scanning alert 191. Re-audited the shipped binary (openpgp still not linked), re-scoped the ignore to v0.54.0, and dropped the GO-2026-5841 klauspost/compress entry as dead config (v1.19.1 is past the v1.18.7 fix line). * docs: true up the unreleased changelog, coverage snapshot, and stray report (#132) Records the PostHog telemetry addition, cookieless-ingestion fix, buffered Web Vitals rework, and grype re-scope in [Unreleased]; refreshes COVERAGE.md to the measured 96.4% (0.4 percentage points of headroom); removes the orphaned security_best_practices_report.md. * ci: suppress the OpenSSL OCSP leak and stage the v0.9.5 release docs (#133) Suppresses CVE-2026-54876 for the bundled libcrypto3/libssl3 (opt-in OCSP client feature nothing in the image can enable; no fixed Wolfi package exists; version-scoped, review by 2026-09-15), stages the v0.9.5 CHANGELOG entry, and bumps every version-locked doc surface to v0.9.5 per the release contract. * fix(security): re-scope CVE-2026-54876 suppressions to openssl 3.6.3-r4 (#138) * ci(security): land the house-audit hardening batch (#141) * ci(security): add the static-site ZAP baseline and close audit polish items (#145) * ci(security): run the secrets gate with base-ref policy on PRs (#146) * chore(security): drop the trivy qlty plugin in favor of Grype Fixes #135 * ci(coverage): upload Go coverage to Codecov via OIDC * ci(review): wire the Greptile second-opinion summon behind a label Fixes #134 * ci(release): attest GoReleaser artifacts and sign release tags * docs(readme): migrate to the codified README shape Fixes #136 * fix(security): fail the ZAP baseline scan on untriaged findings (#153) Drop cmd_options: '-I' from security-zap-baseline.yml. Any finding not already in .zap/rules.tsv defaults to WARN, and -I suppressed WARN from failing the job, so a brand-new finding would report green every week instead of failing for a human to triage, matching how the existing ten entries were handled. Flagged by CodeRabbit on PR #152's first real review of the ZAP files, which merged during the 2026-08-17 GitHub outage without one. * docs(readme): point badges at the default branch The CI and Codecov badges got repointed at dev/v0.9 during PR #151 review. Fine for that PR, wrong for a README that ships on main: drop the branch qualifier from the Codecov badge entirely and match the other workflow badges' ?branch=main convention for CI. * ci(coverage): allow the Codecov ingest endpoint through the egress policy (#156) * chore(release): prepare v0.9.6 * fix(website): drop the third-party star-history embed (#160) The marketing homepage embedded star-history.com's chart directly via <img src="https://api.star-history.com/svg?...">, so every visitor's browser made a request straight to that third party, leaking their IP. That contradicts the org's cookieless-analytics posture. Separately, star-history.com is broken upstream anyway — GitHub restricted stargazer API access, so the chart now just renders an error card. Removes the StarHistory component and its render call with no replacement embed. Also drops the now-dead "star_history" CTA placement from the analytics contract, since it was only used by the removed component. * docs(changelog): fold the star-history fix into v0.9.6 (#161) The star-history removal (#160) landed under [Unreleased] while the v0.9.6 section was already staged. Moving it into v0.9.6 so the release carries the privacy fix rather than shipping process-only changes. * ci(release): allow the attestation bundle host through the egress policy (#163) gh attestation verify fetches provenance bundles from Azure blob storage, but the Verify Native Packages job's harden-runner allow-list omitted that host, so the step failed with a connection refused on the v0.9.6 cut. The sibling Verify Published job already allowed it; the two lists now agree. The published artifacts were never affected: v0.9.6's .deb verifies cleanly against the same attestation from off-runner, and a tampered copy fails, so the check discriminates correctly. Only the in-CI verification was blocked. * fix(ci): sync the checked-in branch protection with the live ruleset (#164) apply-branch-protection.sh declared six required contexts while the live ruleset had grown to ten. The script updates the ruleset in place, so running it would have silently removed Go CI / Qlty Check, Security: Secrets, Dependency Review, and CodeQL Analysis. Its header also still documented Dependency Review as a deliberate exclusion, which stopped being true when that context was required. Verified the regenerated list against ruleset 17620625 field by field: the ten contexts match exactly, as do enforcement, the empty bypass list, the pull_request parameters, and the code_scanning thresholds. * docs(readme): retire the dead star-history chart, unblock the page-weight gate (#166) * docs(readme): retire the dead star-history chart The embed returned an SVG rendering "GitHub restricted access to star data" while still answering HTTP 200, so no status check caught it. It sat directly above the working Warpchart block, which stays. Confirmed dead rather than assumed: the endpoint returns byte-identical 60,125-byte bodies for different repositories, so it serves one generic error card to everyone. Verified Warpchart is genuinely live by the same test in reverse: its responses differ per repository. * perf(website): downscale the oversized ecosystem logos sockguard-logo.png shipped at 1023x1023 (1.5 MB) and drydock-logo.png at 1041x694 (472 KB), both rendered at 128x128 by ecosystem.tsx. Downscaled to 256px, matching sockguard-logo-dark.png which already sat beside them at that size. Lighthouse median total byte weight drops from 2556783 to 1927134 against a 2180000 ceiling, back under the 2039127 baseline. The overage was failing the web pre-push lane and blocking every local push. * perf(website): downscale the mascot and org logos on both sites (#168) portwing.png shipped at 1102x1102 (616 KB) against a 200px maximum render, and codeswhat-logo.png at 830x835 (364 KB) against a 26px footer coin. Each is tracked twice, once per site. This bites here specifically because next.config sets output: export with images: { unoptimized: true }, so next/image never resizes and the source file size is the delivered size. Lighthouse median total byte weight: marketing 1927134 -> 1548014 (ceiling 2180000), docs -> 1444340 against a 2466239 baseline. The docs site had been carrying the same ~980 KB while sitting just under its own ceiling, so this was never only a marketing-side problem. --------- Co-authored-by: biggest-littlest <[email protected]>
…173) * docs: refresh stale version references for v0.9.4 (#95) * docs: update stale version references to v0.9.4 STABILITY.md, ROADMAP.md, README.md, COMPATIBILITY.md, the mirrored stability-policy doc, and llms.txt still pointed at v0.8.x/v0.9.2 as the current release. v0.9.3 and v0.9.4 only touched CI and process, so the described product behavior is unchanged. * chore: gitignore .planning/ in the tracked file Local planning docs were only excluded via this clone's .git/info/exclude, which doesn't propagate to other clones. drydock and sockguard already carry this entry in their tracked .gitignore. * chore: bump package release config contract to v0.9.4 The contract test still hardcoded release_version 0.9.2 and previous_version 0.9.1, so it had only been passing because the surfaces it checks were stale in exactly the way it expected. Move the pins to 0.9.4/0.9.3 and bring every named surface (site-config, get-started, installation.mdx, verification.mdx, openapi.yaml, the observability compose example) up to match. Also drop a literal "v0.9.3" mention from the README release note that the script's stale-previous-version grep was catching, without losing the point it was making. * fix(release): derive release-config-test version from CHANGELOG.md (#97) * fix(release): derive release-config-test version from CHANGELOG.md The contract's release_version, release_date, and previous_version were hand-set constants that only ever agreed with the docs they were written to expect. They sat pinned at v0.9.2 through the v0.9.3 and v0.9.4 cuts and stayed green the whole time because the docs were stale in exactly the shape the constants expected. Derive all three from CHANGELOG.md's two newest dated release headings instead, the same source release-cut.yml already requires to match the tag before it will push one, so there is no separate constant left to drift. * ci(release): tie the cut to the newest changelog entry Deriving the contract's version from CHANGELOG.md removes the constant nobody remembered to bump, but release-cut's own check finds the tag's entry anywhere in the file. So cutting a tag whose notes sit under newer ones would pass both gates while they policed different releases, which is the same self-agreeing failure the derivation was meant to end. Require the tag to BE the newest dated heading, and run the contract script during the cut instead of only on PRs, so the docs are verified against the release actually being tagged. * style(release): apply shfmt to the release contract script * fix(release): report a missing changelog heading instead of dying bare * ci(qlty): allow the objects.githubusercontent.com release CDN (#98) The qlty job's egress allowlist carried release-assets.githubusercontent.com but not objects.githubusercontent.com, GitHub's older release-asset host. python-build-standalone's tarballs still redirect there, and harden-runner blocking a redirect mid-transfer surfaces as 'Unexpected EOF' rather than a refused connection, so four separate runs read as flake before anyone looked at the allowlist. Fixes: #94 * test(auth): fuzz request verification (#99) * ci(workflows): align verification filename (#100) * ci(workflows): align verification filename * fix(ci): fail closed on unresolved commit ranges Pin the golangci-lint binary so the SHA-pinned action does not resolve the latest release at runtime. * style(scripts): format commit-range test * ci(checks): remove emoji from required job names (#101) * ci(checks): remove emoji from required job names * test(ci): reject retired protection contexts * fix(license): restore AGPL detection (#102) * fix(license): restore AGPL detection * test(license): enforce canonical template * ci(hooks): enforce qlty before push (#103) * ci(hooks): enforce qlty before push * test(hooks): reject qlty config lookalikes * fix(ci): close promotion review gaps (#105) * fix(ci): close promotion review gaps * test(ci): harden release contract matching * test(ci): verify release harness failures * fix(security): bump Go toolchain to 1.26.6 * fix(ci): allow stable Go fallback downloads * fix(ci): make egress contract runner-portable * test(ci): harden promotion contract isolation * test(ci): exercise egress contract failures * test(ci): propagate fixture setup failures (#106) * fix(ci): analyze dev pushes with CodeQL (#107) * fix(ci): analyze dev pushes with CodeQL * test(ci): enforce CodeQL source triggers * fix(ci): preserve CodeQL analysis identity (#108) Pin CodeQL uploads to the legacy default-branch category and enforce the category, trigger, and step scope with fail-closed fixtures. * feat(analytics): add privacy-first PostHog telemetry (#109) * feat(analytics): add privacy-first PostHog telemetry * test(web): calibrate marketing budget to CI * test(web): calibrate docs budget to CI * fix(web): harden analytics performance contracts * fix(analytics): restore buffered web vitals * fix(web): close Lighthouse server on setup failure * fix(analytics): close promotion review gaps (#111) * fix(analytics): close promotion review gaps * fix(quality): resolve mounted root assets * fix(analytics): buffer Next.js web vitals (#112) * fix(analytics): buffer Next.js web vitals * fix(analytics): bind vitals to page paths * fix(analytics): canonicalize web vitals buffer paths (#114) * fix(analytics): canonicalize web vitals buffer paths * test(analytics): cover trailing slash vitals paths * fix(analytics): scope web vitals to page loads (#115) * fix(website): remove Go Report Card badge Removes the Go Report Card badge and preserves the source/runtime regression contract. * ci(workflows): canary reusable CI (#118) * ci(workflows): canary reusable CI * fix(ci): isolate the local lint cache * fix(ci): grant reusable CodeQL permission * fix(ci): allow Go module storage redirects * style(ci): format reusable CI contract * fix(ci): close reusable workflow review gaps * fix(ci): close promotion review gaps (#120) * fix(ci): close promotion review gaps * style(ci): format promotion contract * test(ci): harden promotion contract * fix(ci): close reusable workflow review gaps (#121) * fix(ci): close reusable workflow review gaps * style(ci): format coverage validation * fix(ci): scope reusable inputs to mappings --------- Co-authored-by: scttbnsn <[email protected]> * ci: remove temporary X1 bridge jobs (#122) * ci: remove temporary X1 bridge jobs Branch protection required both the legacy plain-name contexts and the new reusable "Go CI / ..." contexts while the X1 canary was rolling out. The ruleset now requires only the six reusable contexts, so the bridge jobs that mirrored the old names (Build & Test, Lint, Govulncheck, Workflow Security, Commit Message, GoReleaser Config) are dead weight. Update the workflow contract tests to reject reintroduction of those context names instead of requiring their presence. * test(ci): drop unneeded if-line from bridge reintroduction fixture Silences a biome noTemplateCurlyInString false positive on the literal ${{ always() }} YAML text; the line wasn't needed for the assertion. * ci: align branch-protection IaC with the narrowed ruleset apply-branch-protection.sh still listed the six retired plain-name contexts (Build & Test, Lint, ...) as required status checks, even though the live "Main branch protection" ruleset was already narrowed to the six reusable "Go CI / ..." contexts. Re-running the script as written would have reintroduced the retired contexts. Point it at the same six reusable contexts the ruleset now requires; every other rule (approvals, code-owner review, last-push approval, CodeQL gate) is unchanged. Update the package release contract to require the reusable contexts and reject the retired plain names in apply-branch-protection.sh too, mirroring the reject added for ci-verify.yml. --------- Co-authored-by: scttbnsn <[email protected]> * fix(analytics): carry the cookieless envelope fields ingestion requires (#124) PostHog's cookieless server-hash step reads $raw_user_agent and $host straight off event.properties and silently drops any event missing either one (cookieless_missing_user_agent / cookieless_missing_host ingestion warnings, zero rows ingested). posthog-js attaches both by default, but before_send rebuilt properties from an allowlist that never carried them through, so every cookieless event from the public sites was dropped at ingestion despite leaving the browser well-formed. Forward both fields verbatim; drop the event client-side if either is missing rather than let it hash on the wrong ingredients. $ip is deliberately left out — posthog-js never sends it, and PostHog fills it in server-side from the request's own connection IP. Co-authored-by: scttbnsn <[email protected]> * docs(readme): add warpchart growth chart (#126) * docs(readme): add warpchart growth chart * docs(readme): center warpchart chart to match star history - docs(readme): inline HTML anchor/img in a centered div for section consistency - docs(changelog): record the README addition * test(compose): surface ComposeResponse.Error when merged output is empty (#128) * ci: re-scope the compose x/crypto grype ignore after the Wolfi v5.4.0 bump (#130) Wolfi's docker-compose moved v5.3.1 -> v5.4.0 (x/crypto v0.53.0 -> v0.54.0), un-matching the version-scoped GO-2026-5932 ignore for the compose binary — code-scanning alert 191. Re-audited the shipped binary (openpgp still not linked), re-scoped the ignore to v0.54.0, and dropped the GO-2026-5841 klauspost/compress entry as dead config (v1.19.1 is past the v1.18.7 fix line). * docs: true up the unreleased changelog, coverage snapshot, and stray report (#132) Records the PostHog telemetry addition, cookieless-ingestion fix, buffered Web Vitals rework, and grype re-scope in [Unreleased]; refreshes COVERAGE.md to the measured 96.4% (0.4 percentage points of headroom); removes the orphaned security_best_practices_report.md. * ci: suppress the OpenSSL OCSP leak and stage the v0.9.5 release docs (#133) Suppresses CVE-2026-54876 for the bundled libcrypto3/libssl3 (opt-in OCSP client feature nothing in the image can enable; no fixed Wolfi package exists; version-scoped, review by 2026-09-15), stages the v0.9.5 CHANGELOG entry, and bumps every version-locked doc surface to v0.9.5 per the release contract. * fix(security): re-scope CVE-2026-54876 suppressions to openssl 3.6.3-r4 (#138) * ci(security): land the house-audit hardening batch (#141) * ci(security): add the static-site ZAP baseline and close audit polish items (#145) * ci(security): run the secrets gate with base-ref policy on PRs (#146) * chore(security): drop the trivy qlty plugin in favor of Grype Fixes #135 * ci(coverage): upload Go coverage to Codecov via OIDC * ci(review): wire the Greptile second-opinion summon behind a label Fixes #134 * ci(release): attest GoReleaser artifacts and sign release tags * docs(readme): migrate to the codified README shape Fixes #136 * fix(security): fail the ZAP baseline scan on untriaged findings (#153) Drop cmd_options: '-I' from security-zap-baseline.yml. Any finding not already in .zap/rules.tsv defaults to WARN, and -I suppressed WARN from failing the job, so a brand-new finding would report green every week instead of failing for a human to triage, matching how the existing ten entries were handled. Flagged by CodeRabbit on PR #152's first real review of the ZAP files, which merged during the 2026-08-17 GitHub outage without one. * docs(readme): point badges at the default branch The CI and Codecov badges got repointed at dev/v0.9 during PR #151 review. Fine for that PR, wrong for a README that ships on main: drop the branch qualifier from the Codecov badge entirely and match the other workflow badges' ?branch=main convention for CI. * ci(coverage): allow the Codecov ingest endpoint through the egress policy (#156) * chore(release): prepare v0.9.6 * fix(website): drop the third-party star-history embed (#160) The marketing homepage embedded star-history.com's chart directly via <img src="https://api.star-history.com/svg?...">, so every visitor's browser made a request straight to that third party, leaking their IP. That contradicts the org's cookieless-analytics posture. Separately, star-history.com is broken upstream anyway — GitHub restricted stargazer API access, so the chart now just renders an error card. Removes the StarHistory component and its render call with no replacement embed. Also drops the now-dead "star_history" CTA placement from the analytics contract, since it was only used by the removed component. * docs(changelog): fold the star-history fix into v0.9.6 (#161) The star-history removal (#160) landed under [Unreleased] while the v0.9.6 section was already staged. Moving it into v0.9.6 so the release carries the privacy fix rather than shipping process-only changes. * ci(release): allow the attestation bundle host through the egress policy (#163) gh attestation verify fetches provenance bundles from Azure blob storage, but the Verify Native Packages job's harden-runner allow-list omitted that host, so the step failed with a connection refused on the v0.9.6 cut. The sibling Verify Published job already allowed it; the two lists now agree. The published artifacts were never affected: v0.9.6's .deb verifies cleanly against the same attestation from off-runner, and a tampered copy fails, so the check discriminates correctly. Only the in-CI verification was blocked. * fix(ci): sync the checked-in branch protection with the live ruleset (#164) apply-branch-protection.sh declared six required contexts while the live ruleset had grown to ten. The script updates the ruleset in place, so running it would have silently removed Go CI / Qlty Check, Security: Secrets, Dependency Review, and CodeQL Analysis. Its header also still documented Dependency Review as a deliberate exclusion, which stopped being true when that context was required. Verified the regenerated list against ruleset 17620625 field by field: the ten contexts match exactly, as do enforcement, the empty bypass list, the pull_request parameters, and the code_scanning thresholds. * docs(readme): retire the dead star-history chart, unblock the page-weight gate (#166) * docs(readme): retire the dead star-history chart The embed returned an SVG rendering "GitHub restricted access to star data" while still answering HTTP 200, so no status check caught it. It sat directly above the working Warpchart block, which stays. Confirmed dead rather than assumed: the endpoint returns byte-identical 60,125-byte bodies for different repositories, so it serves one generic error card to everyone. Verified Warpchart is genuinely live by the same test in reverse: its responses differ per repository. * perf(website): downscale the oversized ecosystem logos sockguard-logo.png shipped at 1023x1023 (1.5 MB) and drydock-logo.png at 1041x694 (472 KB), both rendered at 128x128 by ecosystem.tsx. Downscaled to 256px, matching sockguard-logo-dark.png which already sat beside them at that size. Lighthouse median total byte weight drops from 2556783 to 1927134 against a 2180000 ceiling, back under the 2039127 baseline. The overage was failing the web pre-push lane and blocking every local push. * perf(website): downscale the mascot and org logos on both sites (#168) portwing.png shipped at 1102x1102 (616 KB) against a 200px maximum render, and codeswhat-logo.png at 830x835 (364 KB) against a 26px footer coin. Each is tracked twice, once per site. This bites here specifically because next.config sets output: export with images: { unoptimized: true }, so next/image never resizes and the source file size is the delivered size. Lighthouse median total byte weight: marketing 1927134 -> 1548014 (ceiling 2180000), docs -> 1444340 against a 2466239 baseline. The docs site had been carrying the same ~980 KB while sitting just under its own ceiling, so this was never only a marketing-side problem. * perf(website): re-record the Lighthouse budgets against the current sites (#170) The budgets still described the pages as they were before the oversized logos came out in #166 and #168, so they sat about a megabyte above what the sites actually ship and could not have caught a regression back to that state. Re-recorded from five-run medians, and fixed the reason the old numbers drifted in the first place: the gate runs in two environments that do not measure the same page, and the old values only described one of them. Marketing total byte weight is ~144 KB higher locally than on a GitHub runner (script bytes are identical, so the delta is non-script assets), while both performance scores are lower on the runner. The old baseline recorded the runner's 2039127 while this machine measured 2556783, above the old 2180000 ceiling, which is why the local pre-push hook was failing on a budget CI reported as green. Each field now records the worst case across both environments: byte weight from local, performance floor from the runner. Ceilings keep the ~7% margin over baseline they always had. - perf(website): re-record marketing to 1548017 bytes / 0.71 - perf(website): re-record docs to 1444340 bytes / 0.70 - test(website): update the recorded GitHub runner baselines both budgets must admit, and spell the docs one out literally instead of spreading config.baseline so a config change cannot move its own goalposts performanceMin rises to 0.66 and 0.65 to satisfy the existing within-0.05-of-baseline assertion. That is more headroom than the old 0.67/0.64 pair carried, against a five-run median. Verified: both budgets pass locally, all five config tests pass, and each of the six ceilings rejects at +1 byte or -0.01 while both recorded baselines are admitted. * ci: converge job names off emoji and gate gosec + grype on PRs (#171) Two changes that have to ship together because both move the required context list on main, and it takes one atomic ruleset PATCH to swap them. The house standard is no emoji in CI. All 57 emoji occurrences across the 12 workflow files are gone: workflow names, job names, run-name expressions, and one step's summary echo. Renaming a job renames its check-run context, so three required contexts change with it. The seven "Go CI / ..." contexts do NOT change: that prefix comes from the caller job's own name in ci-verify.yml, which has been emoji-free since #101, and five of the seven suffixes are defined in the upstream reusable workflow and are not ours to rename. - ci: strip emoji from all workflow, job, and run-name strings - ci(security): drop the paths filter from security-grype.yml's pull_request trigger so its jobs report on every PR shape - chore(security): require Security: Gosec SAST and Security: Grype Dependency Scan (Go + npm), taking the ruleset from 10 checks to 12 - test(ci): reject reintroduction of the retired emoji contexts, fail on any emoji under .github/workflows, and fail if security-grype.yml path-filters its pull_request trigger again The de-path-filter is a prerequisite, not a nicety: a path-filtered workflow produces no check run at all on a PR it does not match, so requiring one of its jobs would leave every docs-only PR waiting forever on a status that never arrives. The container scan stays excluded because it carries `if: github.event_name != 'pull_request'` and always skips on PRs; a skipped check is not a passing one. Security: Govulncheck stays excluded as a duplicate of the already-required Go CI / Govulncheck. Also moves that trigger's branch filter from dev/* to dev/** to match ci-verify.yml, so a nested dev branch cannot run one gate without the other. Verified: yaml parses, actionlint clean, zizmor no findings, the package release contract test passes, and the ruleset JSON parses to exactly the intended 12 contexts. The ruleset itself is NOT touched here; that PATCH lands with the promotion to main. * docs(release): document the required checks and the promotion order (#172) The two rules that keep the required-context list from wedging the repo were only in commit messages and a shell script comment, which is not where anyone looks before applying branch protection. - a required check must report on every PR shape, so the workflow behind one cannot be path-filtered and a job that always skips cannot be required - renaming a job renames its check-run context, so the rename has to reach main before the ruleset is PATCHed, or every other open PR targeting main wedges This change is also the positive control for the de-path-filter in #171: it touches only RELEASING.md, which matches none of the paths the old security-grype.yml filter listed, so under the old config that workflow would not have run at all. If Security: Gosec SAST and Security: Grype Dependency Scan report on this PR, the filter is genuinely gone. * docs(release): correct the rename/PATCH ordering (#174) The text added in #172 said to land the rename on main first and then PATCH the ruleset, which is an order that cannot happen. The promotion PR posts only the new context names while the ruleset still demands the old ones, so it is blocked until the PATCH lands. Following it literally means waiting on a merge that can never go green. Replaced with the sequence that works, and promoted the real precondition to its own numbered step: no other PR may target main when the ruleset flips, because those still post the old names from their own head branch. That is the check that decides whether the flip is safe, not the rename's position relative to main. --------- Co-authored-by: biggest-littlest <[email protected]>
Evidence
All four CodesWhat public sites emit PostHog envelopes through the managed proxy
https://e.codeswhat.comwith the correct project token, verified against PostHog project 558033 (US Cloud). Browser captures confirm well-formedPOST /e/batches leave the browser. The project has zero ingested events; its only ingestion warning iscookieless_missing_user_agent(7 events / 30 days, matching synthetic verification visits). A captured$web_vitalsevent's properties were only:schema_version, site, surface, path, $web_vitals_FCP_value, $web_vitals_LCP_value, token, $cookieless_mode, $process_person_profile, distinct_id— no$raw_user_agent, no$host.Root cause (source-verified)
PostHog's cookieless server-hash step computes the anonymous distinct id from
day + team_id + $ip + $host + $raw_user_agent, reading$raw_user_agentand$hoststraight offevent.properties— not headers. Missing either drops the event withcookieless_missing_user_agent/cookieless_missing_hostand zero PostHog-side error beyond the ingestion warning.Citation:
PostHog/posthog@e87e55a,nodejs/src/ingestion/common/cookieless/cookieless-manager.ts:getProperties()(~L735-754):userAgent = event.properties['$raw_user_agent'],ip = event.properties['$ip'],host = event.properties['$host'].doBatchInner()(~L389-424): if any of the three is falsy,drop('cookieless_missing_ua' | 'cookieless_missing_ip' | 'cookieless_missing_host', ...), checked in that order — which is why onlycookieless_missing_user_agentever showed up even though$hostwas also absent (UA is checked first and short-circuits the rest).$ipis the one exception: posthog-js never sends it, and PostHog fills it in server-side from the request's own connection IP when absent —nodejs/src/common/utils/event.tsL120-122 (sanitizeEvent()), which runs inevent-preprocessing/parse-kafka-message.ts, upstream of the cookieless step inevent-preprocessing/apply-cookieless-processing.ts. That ordering is exactly why we never sawcookieless_missing_ipwarnings. Confirmed against PostHog's own runbook (products/ingestion/skills/resolving-ingestion-warnings/references/fixing-cookieless-warnings.md): "posthog-js sends$raw_user_agentand$hoston every event;$ipis never sent by the client — capture records the connection's client IP and ingestion attaches it as$ipwhen the property is absent."posthog-js does attach both by default on every envelope (
PostHog/posthog-jspackages/browser-common/src/utils/event-utils.ts,getEventProperties(), lines setting$host: location?.hostand$raw_user_agent: userAgent...). The break is entirely local:analytics/src/contract.ts'sbefore_sendhook (sanitizeEvent) rebuildspropertiesfrom a strict allowlist (baseProperties()+ a few explicit fields) that never carried$raw_user_agentor$hostthrough, so they were stripped before the request left the browser. This is a client-side bug, not a proxy or PostHog project-setting issue — both fields travel as JSON body properties, never as headers, sohttps://e.codeswhat.comstripping headers is not implicated.Fix
sanitizeEventnow reads$raw_user_agentand$hostoff the incoming envelope, requires both (drops the event client-side if either is missing/empty — same "can't hash it, don't send it" posture as the existing token/cookieless-flag guards), and forwards them verbatim in the rebuiltoutput.properties.$ipis deliberately not added client-side — posthog-js doesn't have a trustworthy source for it and PostHog already fills it in from the connection IP.Privacy contract is otherwise unchanged: no query params, hash, referrer, or title leave the browser.
Tests
analytics/src/contract.test.tsassertions failed against the pre-fixsanitizeEvent(missing$raw_user_agent/$hostin output).before_send requires and forwards the cookieless server-hash fields(drops the event if either field is missing) plus updated allowlist/web-vitals assertions.scripts/web-analytics-source.test.mjsassertingcontract.tsstill references$raw_user_agent/$hostand the reason comment, so a future refactor that silently drops them again fails CI, not just a runtime symptom.npm run test:web: 44/44 pass (was 42/42 before this branch).lefthookpre-push gate: goreleaser snapshot, go-lint, qlty,go test -race -count=1 ./..., govulncheck, go-fuzz,npm run check:web(test/lint/build/budget/lighthouse) — all green.Rollout note
This is the reference fix for the shared
@codeswhat/public-analyticsbefore_sendcontract. drydock, sockguard, and the CodesWhat org website all consume the same pattern and will need the equivalent fix once this merges.