Repository navigation
Conversation
|
GitHub failed this run before it could start. Pullfrog runs on many other repositories failed to start at the same time, so nothing in this repository caused it. Nothing was billed for it. |
There was a problem hiding this comment.
2 issues found across 17 files
Reply with feedback, questions, or to request a fix.
Re-trigger cubic
Prompt for AI agents (unresolved issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name="apps/web/src/lib/analytics-consent.d.mts">
<violation number="1" location="apps/web/src/lib/analytics-consent.d.mts:8">
P3: The declaration accepts any string for `siteHost` and `measurementId`, but the implementation throws for anything except `ooxml.dev`/`docxcorp.us` and `G-…` IDs. Narrow those types to the accepted literals, and type the return value as the controller shape instead of `any`, so TypeScript catches invalid configuration at compile time.</violation>
</file>
<file name="apps/web/src/lib/analytics-consent.mjs">
<violation number="1" location="apps/web/src/lib/analytics-consent.mjs:40">
P2: `publicSurface` still enables Google Analytics on credential-bearing `access_token`/`id_token` queries and OAuth-style fragments. Reject those parameter names in both the query and hash before allowing the provider to load.</violation>
</file>
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes — Reviewed the supplied incremental changes from 489f18a to 4865840.
- Blocked credential-bearing URLs using decoded query/fragment parameter names and URL userinfo checks.
- Narrowed consent API types for configuration, saved choices, and the controller.
- Strengthened regression coverage for OAuth URLs, future timestamps, and consent-gated CTA events without navigation changes.
All 27 consent/attribution tests and workspace type-checks passed.
gpt-6.1-sol | 𝕏
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes — Reviewed the incremental delta from 4865840 to 5337a29.
- Hardened credential fragment parsing so literal question marks cannot hide credential keys, and blocked OAuth 1.0 callback parameters.
- Added regression coverage for credential variants, exact history navigation targets, and benign public fragments.
- Documented privacy release checks and linked the maintained runbook from
README.md.
All 37 consent/attribution tests and workspace type-checks passed.
gpt-6.1-sol | 𝕏

Direct visitors previously loaded Google Analytics before making a choice. This gates the existing tag and bounded referral event behind affirmative consent on ooxml.dev. It adds accept/reject/preferences controls, a persistent settings link and matching privacy HTML/Markdown with footer, sitemap and agent-discovery links.
DNT, GPC, opt-out, expired choices, private routes and credential-bearing URLs keep analytics off. Decoded query names, complete fragments and hash-router queries are checked independently, so a literal question mark cannot hide an earlier credential key. OAuth 1.0 oauth_token/oauth_verifier are private as well as OAuth 2 fields. Withdrawal stops the loaded provider with a reload; private SPA transitions preserve their exact destination. The shared controller remains byte-identical to docx-corpus PR32. README and the maintained runbook carry the same regression/release checks.
Validation at 53011a2: all 37 focused tests, full native CI (format/lint/types, migration/PDF/MCP/CLI tests, CLI build and web/prerender build), Cubic and Pullfrog checks pass. New credential regressions failed before the fix; consent-removal mutation fails the CTA negative test. Public anchors, refusal/withdrawal, DNT/GPC, bounded payloads and exact navigation remain covered. No test events were sent to production. Local dependency-backed commands stalled and were stopped; native exact-head results are the build proof.
Ready for independent maintainer review and normal release. No production deployment, live-tracking verification, dependency refresh, homepage change, access bypass or Slack notification was performed by this follow-up.