@ssheleg/sheleg-dev 0.11.7 → 0.11.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,24 @@
1
+ ## v0.11.8 — a Contents entry pointing nowhere is depth the file does not have
2
+
3
+ The family audit's second round (2026-09-07) read the eight reference files that
4
+ carry tables of contents and found the class the first round had walked past:
5
+
6
+ - **`error-tracking/references/setup.md` listed a section that never existed at any
7
+ commit** — `git log -S'## Find what already exists'` is empty; the entry was born
8
+ dangling when the skill was created. Removed.
9
+ - **Eight files carried TWO tables of contents**: the generated `## Contents` (v0.3.1)
10
+ sat on top of the older hand-kept `## Table of Contents`, which is where the one
11
+ genuinely broken anchor lived — `google-auth`'s `#fedcm-migration` pointed at a
12
+ heading reworded to *FedCM — mandatory, not a migration you are planning*. The
13
+ stale lists are gone; the generated one stays.
14
+ - **The class is closed, not just the instances**: `check_reference_anchors_resolve`
15
+ reads every shipped `references/*.md` and `SKILL.md`, strips fenced code, and
16
+ resolves each intra-document `](#anchor)` against headings slugged by GitHub's
17
+ NON-collapsing rule (an em-dash heading anchors with two hyphens — the umbrella
18
+ measured 22 false failures from a collapsing slugger on 2026-08-14). Watched
19
+ firing on the replanted setup.md entry before being believed; a workflow negative
20
+ keeps it honest from here. Validator: 26 → **27 checks**.
21
+
1
22
  ## v0.11.7 — the fifth version surface is retired, and one audit finding is refused by a guard that already knew
2
23
 
3
24
  > **v0.11.6 is a burned tag.** It was pushed before the release PR merged, in a repository
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ssheleg/sheleg-dev",
3
- "version": "0.11.7",
3
+ "version": "0.11.8",
4
4
  "description": "Seven integration skills for the layer a product reaches once it has users: Stripe subscription billing and cancellation retention, crypto payments, ad and conversion tracking under Consent Mode v2, Google sign-in and the wider Google auth surface, error tracking, and Core Web Vitals. This package is the installer CLI.",
5
5
  "bin": {
6
6
  "sheleg-dev": "bin/sheleg-dev.js"
@@ -3,7 +3,7 @@
3
3
  "name": "sheleg-dev",
4
4
  "displayName": "Sheleg Dev",
5
5
  "description": "The integration layer a product needs once it has users: Stripe subscription billing reconciled into your own database, crypto payments that survive over-payment and duplicate webhooks, ad and conversion tracking under Consent Mode v2, Google sign-in with the account-linking guards, the wider Google auth surface, and Core Web Vitals work that moves the score, and Sentry error tracking wired so it does not forward your own credentials to a third party and so a stack trace names the commit that caused it.",
6
- "version": "0.11.7",
6
+ "version": "0.11.8",
7
7
  "author": {
8
8
  "name": "ssheleg",
9
9
  "url": "https://x.com/sshlg93"
@@ -5,7 +5,6 @@
5
5
 
6
6
  ## Contents
7
7
 
8
- - [Table of Contents](#table-of-contents)
9
8
  - [Status check — 2026](#status-check--2026)
10
9
  - [Advanced vs Basic Mode](#advanced-vs-basic-mode)
11
10
  - [All Consent Types](#all-consent-types)
@@ -18,17 +17,6 @@
18
17
  - [Ads Data Redaction](#ads-data-redaction)
19
18
  - [Verification](#verification)
20
19
 
21
- ## Table of Contents
22
-
23
- - [Advanced vs Basic Mode](#advanced-vs-basic-mode)
24
- - [All Consent Types](#all-consent-types)
25
- - [Region-Specific Defaults](#region-specific-defaults)
26
- - [Granular Consent](#granular-consent)
27
- - [Consent Update Flow](#consent-update-flow)
28
- - [GTM Implementation](#gtm-implementation)
29
- - [Tag Behavior When Denied](#tag-behavior-when-denied)
30
- - [Verification](#verification)
31
-
32
20
  ## Status check — 2026
33
21
 
34
22
  Consent Mode v2 has been required since **March 2024** for anyone using Google
@@ -5,19 +5,6 @@
5
5
 
6
6
  ## Contents
7
7
 
8
- - [Table of Contents](#table-of-contents)
9
- - [Event Types](#event-types)
10
- - [Recommended Events](#recommended-events)
11
- - [Custom Events](#custom-events)
12
- - [Parameter Rules](#parameter-rules)
13
- - [Ecommerce Events](#ecommerce-events)
14
- - [SaaS / Subscription Events](#saas--subscription-events)
15
- - [trackEvent Wrapper Pattern](#trackevent-wrapper-pattern)
16
- - [User identification](#user-identification)
17
- - [UTM Attribution](#utm-attribution)
18
-
19
- ## Table of Contents
20
-
21
8
  - [Event Types](#event-types)
22
9
  - [Recommended Events](#recommended-events)
23
10
  - [Custom Events](#custom-events)
@@ -6,7 +6,6 @@ Source: [Google Tag Platform — gtag.js](https://developers.google.com/tag-plat
6
6
 
7
7
  ## Contents
8
8
 
9
- - [Table of Contents](#table-of-contents)
10
9
  - [Overview](#overview)
11
10
  - [Installation](#installation)
12
11
  - [Tag ID Formats](#tag-id-formats)
@@ -17,22 +16,6 @@ Source: [Google Tag Platform — gtag.js](https://developers.google.com/tag-plat
17
16
  - [Next.js / React Integration](#nextjs--react-integration)
18
17
 
19
18
 
20
- ## Table of Contents
21
-
22
- - [Overview](#overview)
23
- - [Installation](#installation)
24
- - [Tag ID Formats](#tag-id-formats)
25
- - [Commands](#commands)
26
- - [config](#config)
27
- - [event](#event)
28
- - [set](#set)
29
- - [get](#get)
30
- - [consent](#consent)
31
- - [Parameter Scope & Precedence](#parameter-scope--precedence)
32
- - [Data Routing](#data-routing)
33
- - [Multi-Product Configuration](#multi-product-configuration)
34
- - [Next.js / React Integration](#nextjs--react-integration)
35
-
36
19
  ## Overview
37
20
 
38
21
  The Google tag (`gtag.js`) API consists of a single function:
@@ -5,7 +5,6 @@
5
5
 
6
6
  ## Contents
7
7
 
8
- - [Table of Contents](#table-of-contents)
9
8
  - [Script Loading Strategies](#script-loading-strategies)
10
9
  - [Content Security Policy](#content-security-policy)
11
10
  - [Next.js / React Integration](#nextjs--react-integration)
@@ -15,16 +14,6 @@
15
14
  - [Multi-Page Consistency](#multi-page-consistency)
16
15
  - [Troubleshooting](#troubleshooting)
17
16
 
18
- ## Table of Contents
19
-
20
- - [Script Loading Strategies](#script-loading-strategies)
21
- - [Content Security Policy](#content-security-policy)
22
- - [SPA (Single Page Application) Handling](#spa-single-page-application-handling)
23
- - [Debug & Testing](#debug--testing)
24
- - [Common Mistakes](#common-mistakes)
25
- - [Multi-Page Consistency](#multi-page-consistency)
26
- - [Troubleshooting](#troubleshooting)
27
-
28
17
  ## Script Loading Strategies
29
18
 
30
19
  ### Standard Async (default)
@@ -8,7 +8,6 @@ refused and you need to tell a policy problem from an auth problem.
8
8
  - [Install](#install)
9
9
  - [Authenticate](#authenticate)
10
10
  - [Token taxonomy — which kind can do what](#token-taxonomy--which-kind-can-do-what)
11
- - [Find what already exists](#find-what-already-exists)
12
11
  - [Create a project](#create-a-project)
13
12
  - [Get the DSN and wire it in](#get-the-dsn-and-wire-it-in)
14
13
  - [Declare the MCP server](#declare-the-mcp-server)
@@ -3,19 +3,6 @@
3
3
 
4
4
  ## Contents
5
5
 
6
- - [Table of Contents](#table-of-contents)
7
- - [ADC Overview](#adc-overview)
8
- - [ADC Search Order](#adc-search-order)
9
- - [Setting Up ADC](#setting-up-adc)
10
- - [Using ADC in Code](#using-adc-in-code)
11
- - [Service Account Keys (JWT)](#service-account-keys-jwt)
12
- - [Compute Credentials](#compute-credentials)
13
- - [Impersonated Credentials](#impersonated-credentials)
14
- - [Downscoped Client](#downscoped-client)
15
- - [ID Tokens](#id-tokens)
16
- - [Environment Variables](#environment-variables)
17
-
18
- ## Table of Contents
19
6
  - [ADC Overview](#adc-overview)
20
7
  - [ADC Search Order](#adc-search-order)
21
8
  - [Setting Up ADC](#setting-up-adc)
@@ -3,7 +3,6 @@
3
3
 
4
4
  ## Contents
5
5
 
6
- - [Table of Contents](#table-of-contents)
7
6
  - [Prerequisites](#prerequisites)
8
7
  - [Step 1: Set Authorization Parameters](#step-1-set-authorization-parameters)
9
8
  - [Step 2: Redirect to Google](#step-2-redirect-to-google)
@@ -18,20 +17,6 @@
18
17
  - [Complete FastAPI Example](#complete-fastapi-example)
19
18
  - [Scopes Reference](#scopes-reference)
20
19
 
21
- ## Table of Contents
22
- - [Prerequisites](#prerequisites)
23
- - [Step 1: Set Authorization Parameters](#step-1-set-authorization-parameters)
24
- - [Step 2: Redirect to Google](#step-2-redirect-to-google)
25
- - [Step 3: Handle Callback](#step-3-handle-callback)
26
- - [Step 4: Use Access Token](#step-4-use-access-token)
27
- - [Refreshing Tokens](#refreshing-tokens)
28
- - [Revoking Tokens](#revoking-tokens)
29
- - [Incremental Authorization](#incremental-authorization)
30
- - [Error Reference](#error-reference)
31
- - [Complete Express Example](#complete-express-example)
32
- - [Complete Flask Example](#complete-flask-example)
33
- - [Complete FastAPI Example](#complete-fastapi-example)
34
-
35
20
  ## Prerequisites
36
21
 
37
22
  1. Enable APIs in [Google Cloud Console](https://console.developers.google.com/apis/library)
@@ -3,7 +3,6 @@
3
3
 
4
4
  ## Contents
5
5
 
6
- - [Table of Contents](#table-of-contents)
7
6
  - [Overview](#overview)
8
7
  - [Client-Side Integration](#client-side-integration)
9
8
  - [Server-Side ID Token Verification](#server-side-id-token-verification)
@@ -17,19 +16,6 @@
17
16
  - [FedCM — mandatory, not a migration you are planning](#fedcm--mandatory-not-a-migration-you-are-planning)
18
17
  - [Sign Out](#sign-out)
19
18
 
20
- ## Table of Contents
21
- - [Overview](#overview)
22
- - [Client-Side Integration](#client-side-integration)
23
- - [Server-Side ID Token Verification](#server-side-id-token-verification)
24
- - [CSRF Protection](#csrf-protection)
25
- - [Nonce Verification](#nonce-verification)
26
- - [ID Token Payload Fields](#id-token-payload-fields)
27
- - [Account Linking Flows](#account-linking-flows)
28
- - [Next.js / React Integration Pattern](#nextjs--react-integration-pattern)
29
- - [FastAPI Integration Pattern](#fastapi-integration-pattern)
30
- - [Flask Integration Pattern](#flask-integration-pattern)
31
- - [FedCM Migration](#fedcm-migration)
32
-
33
19
  ## Overview
34
20
 
35
21
  Sign In with Google (part of Google Identity Services / GIS) provides:
@@ -3,19 +3,6 @@
3
3
 
4
4
  ## Contents
5
5
 
6
- - [Table of Contents](#table-of-contents)
7
- - [Overview](#overview)
8
- - [AWS Federation](#aws-federation)
9
- - [Azure Federation](#azure-federation)
10
- - [OIDC Provider Federation](#oidc-provider-federation)
11
- - [Custom Subject Token Supplier](#custom-subject-token-supplier)
12
- - [Workforce Identity Federation](#workforce-identity-federation)
13
- - [Executable-Sourced Credentials](#executable-sourced-credentials)
14
- - [Using External Identities](#using-external-identities)
15
- - [Configurable Token Lifetime](#configurable-token-lifetime)
16
- - [Security Considerations](#security-considerations)
17
-
18
- ## Table of Contents
19
6
  - [Overview](#overview)
20
7
  - [AWS Federation](#aws-federation)
21
8
  - [Azure Federation](#azure-federation)