project-brain 0.24.0 → 0.26.0

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.
Files changed (61) hide show
  1. package/README.md +1 -1
  2. package/package.json +6 -6
  3. package/templates/project.claude.md +1 -1
  4. package/templates/skills/brain-audit/SKILL.md +17 -7
  5. package/templates/skills/brain-audit/references/abuse.md +36 -11
  6. package/templates/skills/brain-audit/references/accessibility.md +50 -22
  7. package/templates/skills/brain-audit/references/ai.md +39 -15
  8. package/templates/skills/brain-audit/references/analytics.md +34 -11
  9. package/templates/skills/brain-audit/references/api.md +38 -13
  10. package/templates/skills/brain-audit/references/backend.md +41 -9
  11. package/templates/skills/brain-audit/references/browser.md +146 -0
  12. package/templates/skills/brain-audit/references/complexity.md +22 -12
  13. package/templates/skills/brain-audit/references/concurrency.md +36 -18
  14. package/templates/skills/brain-audit/references/consistency.md +32 -9
  15. package/templates/skills/brain-audit/references/contract-drift.md +34 -16
  16. package/templates/skills/brain-audit/references/cost.md +45 -23
  17. package/templates/skills/brain-audit/references/cross-surface-parity.md +38 -11
  18. package/templates/skills/brain-audit/references/database.md +43 -17
  19. package/templates/skills/brain-audit/references/dependencies-licensing.md +27 -12
  20. package/templates/skills/brain-audit/references/design-system.md +40 -17
  21. package/templates/skills/brain-audit/references/devops.md +32 -17
  22. package/templates/skills/brain-audit/references/documentation.md +38 -16
  23. package/templates/skills/brain-audit/references/failure.md +40 -18
  24. package/templates/skills/brain-audit/references/feature-flags.md +31 -15
  25. package/templates/skills/brain-audit/references/flow-integrity.md +42 -10
  26. package/templates/skills/brain-audit/references/frontend.md +40 -12
  27. package/templates/skills/brain-audit/references/functional.md +31 -11
  28. package/templates/skills/brain-audit/references/future.md +28 -7
  29. package/templates/skills/brain-audit/references/goal.md +15 -6
  30. package/templates/skills/brain-audit/references/i18n.md +30 -8
  31. package/templates/skills/brain-audit/references/idempotency.md +46 -24
  32. package/templates/skills/brain-audit/references/infrastructure.md +43 -13
  33. package/templates/skills/brain-audit/references/mobile.md +37 -15
  34. package/templates/skills/brain-audit/references/multi-tenancy.md +41 -12
  35. package/templates/skills/brain-audit/references/numeric.md +33 -16
  36. package/templates/skills/brain-audit/references/observability.md +43 -19
  37. package/templates/skills/brain-audit/references/packaging.md +39 -13
  38. package/templates/skills/brain-audit/references/performance.md +43 -13
  39. package/templates/skills/brain-audit/references/privacy.md +38 -15
  40. package/templates/skills/brain-audit/references/product.md +29 -10
  41. package/templates/skills/brain-audit/references/prompt-spec-gap.md +34 -10
  42. package/templates/skills/brain-audit/references/reachability.md +38 -18
  43. package/templates/skills/brain-audit/references/repo-history.md +23 -16
  44. package/templates/skills/brain-audit/references/runtime.md +48 -10
  45. package/templates/skills/brain-audit/references/scalability.md +37 -10
  46. package/templates/skills/brain-audit/references/security.md +46 -22
  47. package/templates/skills/brain-audit/references/state-model.md +44 -15
  48. package/templates/skills/brain-audit/references/supply-chain.md +42 -13
  49. package/templates/skills/brain-audit/references/temporal.md +37 -14
  50. package/templates/skills/brain-audit/references/testing.md +38 -14
  51. package/templates/skills/brain-audit/references/tooling-baseline.md +34 -18
  52. package/templates/skills/brain-audit/references/type-safety.md +38 -19
  53. package/templates/skills/brain-audit/references/usability.md +78 -0
  54. package/templates/skills/brain-audit/references/versioning-compatibility.md +34 -12
  55. package/templates/skills/brain-audit/references/visual-design.md +38 -12
  56. package/templates/skills/brain-audit/references/web-metadata.md +47 -19
  57. package/templates/skills/brain-record/SKILL.md +297 -0
  58. package/templates/skills/brain-record/assets/build-video.sh +142 -0
  59. package/templates/skills/brain-record/assets/record.mjs +283 -0
  60. package/templates/skills/brain-record/references/pitfalls.md +233 -0
  61. package/templates/skills/brain-worktree/SKILL.md +103 -0
@@ -6,37 +6,45 @@ Every published thing has consumers you cannot see. This module asks whether a c
6
6
 
7
7
  The gate also fires for a deployed *service* with a release workflow and no package manifest — the discipline transfers with one adjustment. A library's consumers pin a version and choose when to upgrade, so semver's compatibility unit (a versioned public API surface, per [semver.org 2.0.0](https://semver.org/)) applies directly. A service normally has exactly one deployed version running at a time — nobody pins it — so "breaking change" there is really a question of API/endpoint deprecation and sunset discipline (cross-reference `api.md`'s Compatibility section and the Deprecation checks below), not a semver bump on the deployable artefact. Apply the Public-surface and Breaking-change checks below to the service's *API contract* version (`/v1`, a schema version field) rather than to a build number nobody consumes.
8
8
 
9
+ Ownership split with two neighbouring modules: `future.md` owns whether the architecture is ready to grow (a duplicated "old way"/"new way" code path, an API kept around with no removal date, as a design-health question); this module owns the same kind of fact framed as a compatibility *promise to a consumer* — is a deprecated symbol still exercised, does a stated timeline have a removal version. The two can point at the same code from different angles; do not double-count. `packaging.md` owns the artefact-shape checks, including whether declared engine/platform support matches what the code actually requires — see Runtime and platform below.
10
+
9
11
  ## Public surface
10
12
 
11
13
  - [ ] What is public is stated. `search_code` the manifest's `exports` map, its `main`/`module`/`types` fields, Python's `__all__`, or a dedicated barrel file re-exporting a curated subset. If none exists, that absence is the finding itself — everything exported is public by accident, and every internal rename becomes a breaking change nobody planned for.
12
14
  - [ ] Internal-only exports are marked internal, or not exported. `find_callers` on each export — one with only in-repo callers is a candidate to unexport; one still called from outside the package is genuinely public and stays.
13
- - [ ] Types and schemas that appear in public signatures are part of the contract, including their optional fields. `find_symbol` each type referenced by an exported function's signature and confirm whether it is itself exported. A type that is structurally reachable through a public function but never separately exported is an accidental contract surface — a consumer can still extract it with `ReturnType`/`Parameters`, even though nobody declared it public.
15
+ - [ ] Types and schemas that appear in public signatures are part of the contract, including their optional fields. `find_symbol` each type referenced by an exported function's signature and confirm whether it is itself exported. A type that is structurally reachable through a public function but never separately exported is an accidental contract surface — a consumer can still extract it with `ReturnType`/`Parameters`, even though nobody declared it public. Semver's own Rule 1 requires a public API to be declared "in the code itself or in accompanying documentation" (Tom Preston-Werner, official spec, current, https://semver.org/) — a structurally-reachable type is part of that surface even when nobody separately exported it.
14
16
  - [ ] Configuration keys, CLI flags, environment variables, and on-disk formats are public surface too. `search_code` the CLI argument parser or config schema definition, then cross-check each key against the README and CHANGELOG — an undocumented flag is still a promise the moment one consumer starts depending on it, documented or not.
15
17
 
16
18
  ## Breaking-change discipline
17
19
 
18
- - [ ] Version numbers follow a stated scheme, and breaking changes actually bump the breaking component. Read CONTRIBUTING, README, or the manifest itself for a stated semver policy. Under semver 2.0.0 itself, a `0.x` package has made no compatibility promise at all — say so rather than holding it to a discipline it never adopted. Note that an ecosystem's tooling may still layer its own convention on top of the spec's silence (npm and Cargo's default caret range treats `0.x.y` as compatible with `0.x.z` for `y ≥ z`, patch-like) — check the actual range operator consumers use rather than assuming the spec settles it; this is a genuine, unresolved point of disagreement among practitioners, not a mistake to flag on sight.
19
- - [ ] For each recent change to public surface, classify it: added (minor), fixed (patch), removed or narrowed (major). The probe is an actual diff, not memory: `find_symbol` the current exported signature against what the previous git tag's source held, or against the CHANGELOG's own prior entries where tags don't exist, and report any commit whose real diff does not match its claimed classification.
20
- - [ ] These are breaking even when they look small: narrowing an accepted input, adding a required parameter, changing a default, changing an error type, changing a return shape, renaming a config key, tightening validation. Apply this list to every signature the diff above actually touched — a check run with no diff behind it is a guess, not this check.
21
- - [ ] Behavioural breaks count, not only signature breaks. Same types, different meaning is worse — it compiles and misbehaves. This one is necessarily `read`-tier: there is no structural probe for a behaviour change on an identical signature, so read the changelog and PR descriptions for language implying it — "now returns", "previously", "fixed to actually" — and state the lower confidence explicitly in the finding.
20
+ - [ ] Version numbers follow a stated scheme, and breaking changes actually bump the breaking component. Read CONTRIBUTING, README, or the manifest itself for a stated semver policy. Under semver 2.0.0 itself, a `0.x` package has made no compatibility promise at all — say so rather than holding it to a discipline it never adopted. Note that an ecosystem's tooling may still layer its own convention on top of the spec's silence (npm and Cargo's default caret range treats `0.x.y` as compatible with `0.x.z` for `y ≥ z`, patch-like) — check the actual range operator consumers use rather than assuming the spec settles it; this is a genuine, unresolved point of disagreement among practitioners, not a mistake to flag on sight. Semver Rule 4: "0.y.z is initial development... anything MAY change at any time" (Tom Preston-Werner, official spec, current, https://semver.org/); npm's own tooling confirms the caret-range convention layered on top for that ecosystem specifically: `^0.2.3 := >=0.2.3 <0.3.0-0` is patch-only, `^0.0.3 := >=0.0.3 <0.0.4-0` allows no updates at all (npm, Inc. (node-semver), official tooling documentation, current, https://github.com/npm/node-semver) — the Cargo half of this claim was not independently re-verified in this pass.
21
+ - [ ] For each recent change to public surface, classify it: added (minor), fixed (patch), removed or narrowed (major). The probe is an actual diff, not memory: `find_symbol` the current exported signature against what the previous git tag's source held, or against the CHANGELOG's own prior entries where tags don't exist, and report any commit whose real diff does not match its claimed classification. Semver's own rules 6-8 map exactly to this classification: patch = bugfix, minor = backward-compatible addition or deprecation, major = incompatible change (Tom Preston-Werner, official spec, current, https://semver.org/).
22
+ - [ ] Read the diff found above for the following list — each is breaking even when it looks small: narrowing an accepted input, adding a required parameter, changing a default, changing an error type, changing a return shape, renaming a config key, tightening validation. Apply this list to every signature the diff above actually touched — a check run with no diff behind it is a guess, not this check. Google's own API design guide names this exact catalogue as breaking: a new required field, a changed field type, changed default-value serialization, and narrowed validation are all breaking even when a signature otherwise looks unchanged (Google (API Improvement Proposals), official API design guide, current, https://google.aip.dev/180).
23
+ - [ ] Behavioural breaks count, not only signature breaks. Same types, different meaning is worse — it compiles and misbehaves. This one is necessarily `read`-tier: there is no structural probe for a behaviour change on an identical signature, so Read the changelog and PR descriptions for language implying it — "now returns", "previously", "fixed to actually" — and state the lower confidence explicitly in the finding. Google's own compatibility model names this its own axis, separate from source/wire compatibility: "existing client code must not be broken," and a semantic shift — a format, algorithm, or default change — breaks that even with an unchanged signature (Google (API Improvement Proposals), official API design guide, current, https://google.aip.dev/180).
24
+ - [ ] A narrowed `peerDependencies` range is read as a breaking change, not an implementation detail. `search_code` the manifest's `peerDependencies` field at the current tag and at the previous tag (or the CHANGELOG's prior entries where tags don't exist); a range that shrank — `"react": "^17 || ^18"` to `"react": "^18"` — without a corresponding major bump silently breaks every consumer still on the dropped peer version at their next install, with no runtime signal until then. npm's own guidance is to keep a `peerDependencies` range "as broad as possible, and not to lock it down to specific patch versions" (npm, Inc., official CLI documentation, current (v10), https://docs.npmjs.com/cli/v10/configuring-npm/package-json#peerdependencies) — narrowing works directly against that guidance. Refuted if the narrowing corrects a previously-wrong range that never actually worked with the dropped peer (a documented incompatibility bug against that peer) — check the CHANGELOG/commit message for a stated reason before flagging it as an unannounced narrowing.
25
+
26
+ ## Service API version dispatch
27
+
28
+ - [ ] For a service exposing more than one concurrently-supported API version (a URL path segment, an `Accept`/custom version header, or a request-body `version` field), `find_symbol` the dispatch point and `find_callers` on each version's handler to confirm the older label actually reaches logic distinct from the newest one — an old version that silently delegates straight through to the current handler is not really supported, it is a false compatibility promise wearing a version number. Stripe's own model is the precedent this checks against: monthly releases deliberately "use the same name as the last major release" precisely because nothing breaking shipped between them (Stripe, official API documentation, current, https://docs.stripe.com/api/versioning) — the same code path serving two labels is fine when that's true and a lie when it isn't, and only `find_callers` tells the two apart. Refuted if the versions are genuinely identical because no breaking change has shipped between them yet — this is expected and correct, not a finding; confirm via the changelog whether any behavioural difference was ever introduced between the two labels before flagging.
22
29
 
23
30
  ## Deprecation
24
31
 
25
- - [ ] Removals are preceded by a deprecation with a runtime warning and a stated replacement. For a library: `search_code` for `@deprecated`, `console.warn(.*deprecat`, `DeprecationWarning`, or the language equivalent, then read whether the warning text names the replacement. For an HTTP API: `search_code` for a `Deprecation` response header being set (RFC 9745 — a Structured Field date, not free text) rather than only a docs mention. Either way, a warning that only says "this is deprecated" gives the consumer nothing to migrate to.
26
- - [ ] Deprecations have a removal version, not just a label. Read the deprecation message or its doc comment for a stated version. For an HTTP API, the removal date is a `Sunset` header (RFC 8594) — a concrete date, not a version label — and RFC 9745 requires it never predate the `Deprecation` header's own date on the same response; `search_code` both header values together and diff them where both are present. Cross-reference `future.md`: an undated deprecation is kept forever.
32
+ - [ ] Removals are preceded by a deprecation with a runtime warning and a stated replacement. For a library: `search_code` for `@deprecated`, `console.warn(.*deprecat`, `DeprecationWarning`, or the language equivalent, then read whether the warning text names the replacement. For an HTTP API: `search_code` for a `Deprecation` response header being set (RFC 9745 — a Structured Field date, not free text) rather than only a docs mention. Either way, a warning that only says "this is deprecated" gives the consumer nothing to migrate to. RFC 9745 defines the `Deprecation` response header for exactly this HTTP-API case (IETF (S. Dalal et al.), RFC 9745, Standards Track, 2025, https://datatracker.ietf.org/doc/html/rfc9745).
33
+ - [ ] Deprecations have a removal version, not just a label. Read the deprecation message or its doc comment for a stated version. For an HTTP API, the removal date is a `Sunset` header (RFC 8594) — a concrete date, not a version label — and RFC 9745 requires it never predate the `Deprecation` header's own date on the same response; `search_code` both header values together and diff them where both are present. Cross-reference `future.md`: an undated deprecation is kept forever. RFC 8594 defines `Sunset` as a single HTTP-date (IETF (E. Wilde), RFC 8594, Informational, 2019, https://datatracker.ietf.org/doc/html/rfc8594); RFC 9745's own hard rule is that "the timestamp given in the `Sunset` HTTP header field MUST NOT be earlier than the one given in the `Deprecation` header field" (IETF (S. Dalal et al.), RFC 9745, Standards Track, 2025, https://datatracker.ietf.org/doc/html/rfc9745).
27
34
  - [ ] Both paths work during the overlap, and the old one is genuinely equivalent. `find_callers` on the deprecated symbol to confirm it is still exercised — a deprecated path with zero callers cannot regress, but it also means the warning itself is untested. `find_symbol` both the old and new paths and read whether the old one still delegates to working logic or has decayed into a stub returning a stale value.
28
35
  - [ ] Deprecation warnings are emitted once per process, not once per call. Read the warning call site: is it guarded by a memoised flag, or does it fire unconditionally inside the function body? `find_callers` on the containing function to check whether it sits in a loop or a hot path — an unconditional warning there floods the log and trains consumers to ignore every warning, including the ones that matter.
29
36
 
30
37
  ## Data and state compatibility
31
38
 
32
39
  - [ ] Persisted formats carry a version field. `search_code`/`find_symbol` the schema or serialisation definition for a `version`, `schemaVersion`, or `_v` field. Without one, the next reader must guess the shape from content alone.
33
- - [ ] The new version reads state written by the previous version. `find_symbol` the deserialisation or migration function and read whether it branches on the version field or assumes the latest shape unconditionally — an unconditional assumption is the finding, not a hypothetical to flag as risk.
34
- - [ ] Forward compatibility is decided deliberately: does an older version encountering newer state fail loudly or corrupt quietly? Read the deserialiser's fallback branch for an unrecognised version. Silently defaulting or coercing is the finding; throwing is the only acceptable answer — and "no fallback branch at all" means it currently throws an unrelated, confusing error rather than a compatibility message, which is its own smaller finding.
40
+ - [ ] The new version reads state written by the previous version. `find_symbol` the deserialisation or migration function and read whether it branches on the version field or assumes the latest shape unconditionally — an unconditional assumption is the finding, not a hypothetical to flag as risk. Avro's own schema-resolution model is the concrete mechanism this generalizes: records resolve by field name, and where the reader's schema has a field the writer's data lacks, "the reader should use the default value from its field" (Apache Software Foundation, official specification, 1.11.1, https://avro.apache.org/docs/1.11.1/specification/#schema-resolution).
41
+ - [ ] Forward compatibility is decided deliberately: does an older version encountering newer state fail loudly or corrupt quietly? Read the deserialiser's fallback branch for an unrecognised version. Silently defaulting or coercing is the finding; throwing is the only acceptable answer — and "no fallback branch at all" means it currently throws an unrelated, confusing error rather than a compatibility message, which is its own smaller finding. Protobuf names the concrete failure mode behind "corrupt quietly": reusing a deleted field's number is "ambiguous" and can cause "data corruption" or "leaked PII/SPII" (Google (Protocol Buffers team), official language guide, current, https://protobuf.dev/programming-guides/proto3/#updating).
42
+ - [ ] Where the persisted or wire schema is Protocol Buffers, `search_code` for a field deleted since the previous tag with no matching `reserved` statement for its number and name — reuse of a deleted field number is the format's own documented cause of silent data corruption, a stronger and more specific claim than a generic missing-version-field finding (Google (Protocol Buffers team), official language guide, current, https://protobuf.dev/programming-guides/proto3/#updating — reusing a deleted field number is "ambiguous" and risks "leaked PII/SPII"). Where the schema is Avro, `search_code` a renamed field with no `aliases` entry covering the old name, which breaks resolution against data written under the old name (Apache Software Foundation, official specification, 1.11.1, https://avro.apache.org/docs/1.11.1/specification/#schema-resolution). Refuted if the field number/name is already correctly reserved or aliased, or the schema format in use is neither protobuf nor Avro (plain JSON, a custom binary format) — name the actual format found before applying a format-specific rule that doesn't exist for it.
35
43
  - [ ] Migrations of on-disk or cached state are idempotent and recoverable if interrupted. `find_symbol` the migration runner and check whether it tracks applied migrations — a table, log, or marker file — versus re-running everything blindly on every start. No tracking means a crash mid-migration corrupts state on the next boot.
36
44
 
37
45
  ## Runtime and platform
38
46
 
39
- - [ ] Declared engine and platform support matches what the code and dependencies actually require. Read the manifest's `engines` or `python_requires` field, then `search_code` for syntax that needs a newer runtime than declared — optional chaining, top-level `await`, a stdlib call added in a later minor — and cross-check each dependency's own declared minimum against the project's.
47
+ - [ ] Declared engine/platform support matching what the code actually uses — owned by `packaging.md` (Read the manifest's `engines`/`requires-python` field, then `search_code` for syntax that needs a newer runtime than declared); reuse its finding, do not re-report. npm's own `engines` field is exactly this declaration point, and it is "advisory only and will only produce warnings" unless the installer sets `engine-strict` (npm, Inc., official CLI documentation, current (v10), https://docs.npmjs.com/cli/v10/configuring-npm/package-json#engines) — worth surfacing when this cross-references `packaging.md`'s finding.
40
48
  - [ ] Minimum supported versions are tested, not just declared. `search_code` the CI workflow's matrix definition for the runtime version list — a matrix of one entry supports one version, regardless of what the manifest promises.
41
49
  - [ ] Newly used runtime APIs do not silently raise the real minimum below the declared one. `search_code` for recently introduced syntax or stdlib calls and check each against the feature set of the declared minimum version — a single call gated on a newer API narrows support for everyone, whatever the manifest still claims.
42
50
 
@@ -44,7 +52,17 @@ The gate also fires for a deployed *service* with a release workflow and no pack
44
52
 
45
53
  - [ ] Changes are recorded somewhere a consumer will find — changelog, release notes, or migration guide. `search_code` for `CHANGELOG.md`, `HISTORY.md`, or a release-notes directory, then check whether recent merged PRs or tagged commits have a corresponding entry — an untouched changelog next to an active commit log is the finding.
46
54
  - [ ] Breaking changes state the migration, not just the fact. Read changelog entries tagged `BREAKING` or attached to a major bump for concrete migration instructions — "X changed" is not the same disclosure as "X changed, do Y instead".
47
- - [ ] Entries correspond to real commits; a changelog nobody maintains is worse than none because it is trusted. Spot-check a handful of recent entries against the actual git log or diff for the version they claim — a description with no matching commit, or a commit with no matching entry, means the changelog has drifted from the source it claims to summarise.
55
+ - [ ] Entries correspond to real commits; a changelog nobody maintains is worse than none because it is trusted. `Read` the changelog entries and spot-check a handful of recent ones against `repo-history.md`'s commit-log reading for the version they claim — a description with no matching commit, or a commit with no matching entry, means the changelog has drifted from the source it claims to summarise.
56
+
57
+ ## What browser observation closes
58
+
59
+ Applies only when `browser.md` ran; findings here are `observed` and cite the bundle path with a line or step number. This module's compatibility promises are largely static (manifests, schemas, changelogs), but a deployed HTTP service's actual `Deprecation`/`Sunset` headers, and a client-side deprecation warning firing during a real flow, are both externally observable and worth corroborating against the `search_code`-based findings above.
60
+
61
+ | Artefact | Gap it closes | Observed instance earns |
62
+ |---|---|---|
63
+ | `network.jsonl` (response headers per request) | A captured request/response pair for a deployed service shows the actual `Deprecation`/`Sunset` headers (or version header) in use, cross-referenced against the `search_code`-based Communication and Deprecation findings for the same endpoint. Refuted if the header is absent because the client SDK never sends the request-side version override and the server silently defaults it — check the request headers too, not only the response, before treating absence as "never deprecated." | Medium |
64
+ | `console.jsonl` | A runtime deprecation warning (`console.warn`, `DeprecationWarning`) actually fires during a captured flow, corroborating a `search_code`-based Deprecation finding — tier raised from `read` to `observed`. Refuted if the warning text names a different deprecated symbol than the one the static check flagged — match the warning text to the specific symbol before crediting it as confirmation, don't just count "a warning fired." | Medium |
65
+ | `network.jsonl` (both headers on one response) | `Sunset` header dated earlier than the `Deprecation` header on the same live response — the exact RFC 9745 violation this module's severity table already names. Refuted if the dates were parsed with the wrong format — RFC 9745's `Deprecation` value is a Structured-Field date (`@`-prefixed seconds since epoch), not an `HTTP-date` string like `Sunset`; confirm both were parsed per their own RFC before comparing. | High |
48
66
 
49
67
  ## Out of static reach
50
68
 
@@ -53,6 +71,8 @@ The gate also fires for a deployed *service* with a release workflow and no pack
53
71
  - Whether a stated deprecation timeline was honoured in practice, or quietly extended past its own removal version.
54
72
  - Runtime behaviour on a platform or version combination outside the CI matrix.
55
73
  - Whether external documentation (a hosted docs site) still matches the in-repo CHANGELOG.
74
+ - Whether a classified breaking change affects any real caller — most breaking changes are believed to touch surface no client actually calls; this module can prove the surface changed, not who is exposed.
75
+ - Whether a stated `Sunset` date was honoured — this needs a re-check after the date, not a single pass.
56
76
 
57
77
  ## Severity guidance
58
78
 
@@ -62,9 +82,11 @@ The gate also fires for a deployed *service* with a release workflow and no pack
62
82
  | Behavioural break with an unchanged signature | High |
63
83
  | New version cannot read the previous version's persisted state | High |
64
84
  | Persisted format with no version field | High |
85
+ | Service's older API version label silently delegates straight through to the current handler (traced) — not really supported, a false compatibility promise | High |
86
+ | Protobuf field deleted with no matching `reserved` statement, or Avro field renamed with no `aliases` entry covering the old name | High |
65
87
  | Removal with no prior deprecation | Medium |
66
88
  | Deprecation with no removal version | Medium |
67
89
  | `Sunset` header dated earlier than the `Deprecation` header on the same response | High |
68
- | Declared engine support wider than what the code requires | Medium |
69
90
  | No declared public-surface boundary | Medium |
91
+ | `peerDependencies` range narrowed without a corresponding major bump | Medium |
70
92
  | Breaking change documented without a migration path | Low |
@@ -14,11 +14,11 @@ A caution before starting: much of visual quality is genuinely not decidable fro
14
14
  - [ ] Hierarchy survives without colour. Read the primary and secondary action components side by side: if the only declared difference between them is a colour token (`bg-primary` vs `bg-secondary`) with identical size, weight, and border, colour is carrying the whole distinction — readable directly from the class list, no rendering needed. Cross-reference the colour-only check in `accessibility.md`.
15
15
  - [ ] One primary action per view. `search_code` the primary-button variant/class and count occurrences within a single page or view component's render tree — two hits in one view is two competing primaries; read the surrounding markup to confirm both are visible at once rather than in alternate states.
16
16
  - [ ] Secondary and destructive actions are visually subordinate to the primary one, and destructive actions are distinguishable from merely secondary ones by more than colour. `search_code` the destructive-variant class/component and read whether it also differs in icon, copy, or a confirmation step — a destructive button that is only a red version of the secondary button fails the moment the token gets swapped in a redesign.
17
- - [ ] Supporting text is de-emphasised by weight or colour role, not by shrinking below the readable floor. `search_code` the muted/secondary text token or class for its resolved `font-size` — below ~12–14px in a content role it has traded legibility for hierarchy instead of using weight or colour role.
17
+ - [ ] Supporting text is de-emphasised by weight or colour role, not by shrinking below the readable floor. `search_code` the muted/secondary text token or class for its resolved `font-size` — below ~12–14px in a content role it has traded legibility for hierarchy instead of using weight or colour role. This floor is design guidance, not a spec requirement — WCAG sets no numeric minimum font size; the closest authoritative figures are Lighthouse's legibility audit (flags ~12px) and a conventional 16px floor.
18
18
 
19
19
  ## Rhythm and grouping
20
20
 
21
- - [ ] Related elements are closer to each other than to unrelated ones. Read a representative group component's spacing declarations and compare the gap between its own children to the margin separating it from the next group — equal values (`gap-4` inner, `mb-4` outer) means proximity carries no signal; this is a literal comparison, not a judgment call.
21
+ - [ ] Related elements are closer to each other than to unrelated ones. Read a representative group component's spacing declarations and compare the gap between its own children to the margin separating it from the next group — equal values (`gap-4` inner, `mb-4` outer) means proximity carries no signal; this is a literal comparison, not a judgment call (Nielsen Norman Group, current, https://www.nngroup.com/articles/gestalt-proximity/ — proximity is a Gestalt grouping principle; items placed close together read as related, and proximity can override colour/shape similarity as a grouping cue).
22
22
  - [ ] Spacing between sections is consistent for the same level of nesting. `search_code` the section/wrapper component's spacing prop or class across the pages that use it — distinct values at the same nesting depth for the same role is drift, listable straight from the class strings.
23
23
  - [ ] Alignment is deliberate: elements share edges. `search_code` sibling components inside the same container and compare their declared horizontal padding/margin — a one-off asymmetric value on a single sibling among otherwise-matching siblings is the static signature of a near-alignment bug. True pixel-level misalignment arising from box-model interactions still needs a rendered check — note it under Out of static reach.
24
24
  - [ ] Density is consistent within a surface. `search_code` the padding/gap values used by components rendered together on one route (a table and a card on the same dashboard, say) — a dense table (`p-1`, `gap-1`) beside an airy card (`p-6`, `gap-6`) on one screen is readable directly from the two class lists.
@@ -28,17 +28,17 @@ A caution before starting: much of visual quality is genuinely not decidable fro
28
28
 
29
29
  `design-system.md` checks the scale exists. This checks it is used well.
30
30
 
31
- - [ ] Line length lands in 45–90 characters, ideally near 66 for body copy. `search_code` for the prose/body-copy container and check for a `max-width` in `ch` units or an equivalent px value (~600–700px at typical body size) — its absence in a fluid-width layout is a readability defect visible in the container's own declaration.
32
- - [ ] Line height is around 1.5 for body text (1.4–1.6), rising to 1.6–1.7 where the measure runs long, and 1.1–1.25 for headings. `search_code` for `line-height` on the body-text and heading tokens/classes — a single shared value applied to both (common when only one `line-height` token exists) is wrong for one of them by construction.
33
- - [ ] Body text does not go below the project's readable floor. `search_code` the body-text token/class for its resolved `font-size` — anything under ~14px in a content role (not a caption or label role) needs a stated reason, found in the same declaration or flagged by its absence.
31
+ - [ ] Line length lands in 45–90 characters (Butterick's Practical Typography), tightening toward the narrower end of that range for body copy per the print-typography tradition (Bringhurst, ~45–75). `search_code` for the prose/body-copy container and check for a `max-width` in `ch` units or an equivalent px value (~600–700px at typical body size) — its absence in a fluid-width layout is a readability defect visible in the container's own declaration (Matthew Butterick, Practical Typography, current, https://practicaltypography.com/line-length.html — "45–90 characters or 2–3 alphabets"; longer lines make the eye's return-sweep to the next line harder to track).
32
+ - [ ] Line height is around 1.5 for body text (1.4–1.6), rising to 1.6–1.7 where the measure runs long, and 1.1–1.25 for headings. `search_code` for `line-height` on the body-text and heading tokens/classes — a single shared value applied to both (common when only one `line-height` token exists) is wrong for one of them by construction (W3C, WCAG 2.2 Understanding, current, https://www.w3.org/WAI/WCAG22/Understanding/text-spacing.html — SC 1.4.12's 1.5× figure is the override minimum a user must be able to reach without losing content; this module's design-guidance range is layered on top, not derived from it). Body-text line-height is declared as a unitless multiplier (`line-height: 1.5`) or an `em`/`%` value, not a fixed `px` value that stops scaling once the user overrides text spacing — `search_code` the body-text token/class for `line-height:` and flag a `px` value. Rule out a fixed-px line-height on a single-line element (a button label, a badge) where line-height governs vertical centering, not paragraph rhythm — SC 1.4.12 and this check both target multi-line body text.
33
+ - [ ] Body text does not go below the project's readable floor. `search_code` the body-text token/class for its resolved `font-size` — anything under ~14px in a content role (not a caption or label role) needs a stated reason, found in the same declaration or flagged by its absence. As above, this is conventional design guidance rather than a numeric spec minimum.
34
34
  - [ ] Numeric and tabular data uses tabular figures or a monospaced face where columns must align. `search_code` the table/numeric-cell component for `font-variant-numeric` or a monospace font stack — a table rendering right-aligned numeric columns with neither will visibly misalign digit widths.
35
- - [ ] Fluid type via `clamp()` or container queries where the layout spans phone to desktop. `search_code` the type-scale source for `clamp(` — its absence alongside a large declared breakpoint set (four or more, per `design-system.md`) means every size is fixed per breakpoint; worth flagging only at that scale.
35
+ - [ ] Fluid type via `clamp()` or container queries where the layout spans phone to desktop. `search_code` the type-scale source for `clamp(` — its absence alongside a large declared breakpoint set (four or more, per `design-system.md`) means every size is fixed per breakpoint; worth flagging only at that scale (the container-query half is grounded by MDN Web Docs, Mozilla, current, https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_containment/Container_queries — `container-type: inline-size` styles a component by its container's size rather than the viewport; `clamp()` itself remains a practitioner heuristic, no source found).
36
36
 
37
37
  ## State coverage
38
38
 
39
39
  The states a browser gives you free are the ones most often left unstyled:
40
40
 
41
- - [ ] `:hover`, `:focus-visible`, `:active` and `:disabled` are all styled for every interactive element. `search_code` the button/input component's style definitions for each of the four selectors (or their `hover:`/`focus-visible:`/`active:`/`disabled:` utility variants) and list which are absent per component — `:disabled` is the one most often skipped, and the one that most confuses a user.
41
+ - [ ] `:hover`, `:active` and `:disabled` are all styled for every interactive element (`:focus-visible` is `accessibility.md`'s compliance angle — do not re-report it here). `search_code` the button/input component's style definitions for each of the three selectors (or their `hover:`/`active:`/`disabled:` utility variants) and list which are absent per component — `:disabled` is the one most often skipped, and the one that most confuses a user.
42
42
  - [ ] No affordance exists only on hover. `search_code` for `hover:opacity`/`hover:visible`/`:hover { display` patterns that reveal an action, then check the same rule block for a `:focus-within` or `group-focus` counterpart — a reveal driven only by `:hover` has no touch or keyboard path.
43
43
  - [ ] Disabled controls communicate *why*, or the control is not disabled in the first place. `search_code` where the disabled condition is set (`disabled={`) and read the surrounding markup for a tooltip, helper text, or `aria-describedby` explaining it — a bare `disabled` prop with nothing else nearby is a dead end with no stated cause.
44
44
  - [ ] The application states — loading, empty, no-results, error, success, offline — each have a designed treatment, not just a wired one. For each state component `flow-integrity.md` confirms is wired, `find_symbol` it and read what it renders: a bare string (`<p>Loading...</p>`) is wired but undesigned; a skeleton, icon, or illustration matching the content shape is designed.
@@ -49,18 +49,24 @@ The states a browser gives you free are the ones most often left unstyled:
49
49
  ## Responsive behaviour
50
50
 
51
51
  - [ ] Breakpoints sit where the layout actually breaks, not at device names. `design-system.md` already checks the declared breakpoint scale itself; this module's angle is whether one specific layout's column-count change lines up with it — `search_code` the layout component for an inline `@media` query with a value that does not match the declared scale.
52
- - [ ] Every layout that is multi-column at desktop has a defined single-column behaviour. `search_code` the grid/flex container's declarations across its breakpoint variants — a `grid-template-columns` set with three or more columns and no narrower override (no `sm:`/`md:` variant, no matching `@media` rule) will not collapse; confirm from the declarations, not from the assumption that flexbox always wraps.
53
- - [ ] Tables, charts and wide fixed-width content have an explicit small-screen strategy (scroll container, card fallback, column priority). `search_code` the table/chart wrapper for `overflow-x: auto`/`scroll`, a conditional card-fallback render, or a column-priority prop — absent all three, the wrapper overflows on narrow screens, provable straight from its own declarations.
54
- - [ ] Nothing depends on hover or on precise pointer targeting for a core action. Cross-reference the hover-only affordance check above and the target-size check in `accessibility.md` — a core action gated behind either is unreachable to a touch user; report it once, in whichever module surfaced it first.
52
+ - [ ] Every layout that is multi-column at desktop has a defined single-column behaviour. `search_code` the grid/flex container's declarations across its breakpoint variants — a `grid-template-columns` set with three or more columns and no narrower override (no `sm:`/`md:` variant, no matching `@media` rule) will not collapse; confirm from the declarations, not from the assumption that flexbox always wraps (W3C, WCAG 2.2 Understanding, current, https://www.w3.org/WAI/WCAG22/Understanding/reflow.html — SC 1.4.10: content must work without two-dimensional scrolling at 320 CSS px width).
53
+ - [ ] Tables, charts and wide fixed-width content have an explicit small-screen strategy (scroll container, card fallback, column priority). `search_code` the table/chart wrapper for `overflow-x: auto`/`scroll`, a conditional card-fallback render, or a column-priority prop — absent all three, the wrapper overflows on narrow screens, provable straight from its own declarations (W3C, WCAG 2.2 Understanding, current, https://www.w3.org/WAI/WCAG22/Understanding/reflow.html — SC 1.4.10's exception list covers data tables themselves, not individual cells, and surrounding content does not inherit the exception).
54
+ - [ ] Nothing depends on hover or on precise pointer targeting for a core action. Read the hover-only affordance check above and the target-size check in `accessibility.md` for a core action gated behind either — unreachable to a touch user; report it once, in whichever module surfaced it first.
55
55
  - [ ] Content order in the DOM matches the intended reading order at every breakpoint. `search_code` for the CSS `order` property, `grid-area` placement, or `position: absolute` in layout components, and compare against the JSX/template source order — a CSS-driven reorder that diverges from source order is both a visual and a keyboard-order defect, provable by comparing the two orderings directly.
56
+ - [ ] When the project declares RTL locale support (cross-reference `i18n.md`), layout and spacing components use logical properties (`margin-inline-*`, `padding-inline-*`, `inset-inline-*`, `text-align: start/end`) rather than physical ones. `search_code` layout/spacing components for `margin-left`/`margin-right`/`padding-left`/`padding-right`/`text-align: left|right` hardcoded outside a documented LTR-only exception, and list the count against the components that do use logical properties. Rule out: the physical property sits inside a component explicitly scoped LTR-only (an icon glyph, a fixed-direction chevron whose meaning is directional, not textual) — read the surrounding markup for that intent before flagging (MDN Web Docs, Mozilla, current, https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_logical_properties_and_values — logical properties adapt automatically to writing direction; physical properties hard-code the LTR case and misplace spacing under RTL).
57
+ - [ ] A component reused across differently-sized containers (a card rendered in a sidebar and in a full-width feed, say) adapts to its own container rather than only the viewport. `search_code` the component's styles for `@container`/`container-type` — its total absence alongside multiple call sites at different widths on the same page is a static signature of a component that can only ever look right at one width per breakpoint, not per placement. Rule out: the component is only ever rendered at one width across the whole codebase (confirm with `find_callers`) — then a viewport-only media query is not a defect, since there is no second slot to adapt to (MDN Web Docs, Mozilla, current, https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_containment/Container_queries — a component that only reads viewport size cannot tell a narrow sidebar from a wide one, which is exactly the case container queries exist to solve).
56
58
 
57
59
  ## Motion
58
60
 
59
61
  - [ ] Animation has a purpose — continuity, feedback, or direction of attention. `search_code` for `animate-`/`transition-`/`@keyframes` usage and read what triggers each — an animation with no state change, user action, or data arrival driving it (a looping decorative animation on a primary flow) is decorative motion, provable from its trigger, not from taste.
60
62
  - [ ] Durations come from a bounded set, and are short for feedback (roughly 100–200ms) and longer only for transitions that move something across the screen. `search_code` for `duration-`/`transition-duration:` values and list the distinct numbers found — feedback interactions (hover, click, toggle) resolving above ~200ms, or an unbounded spread of one-off durations, is the static signature.
61
- - [ ] `prefers-reduced-motion` is honoured wherever motion exists. `search_code` for it — its absence alongside animation is a finding here as well as in `accessibility.md`; flag it once, in whichever module is running.
63
+ - [ ] `prefers-reduced-motion` is honoured wherever motion exists. `search_code` for it — its absence alongside animation is a finding here as well as in `accessibility.md`; flag it once, in whichever module is running (W3C, WCAG 2.2 Understanding, current, https://www.w3.org/WAI/WCAG22/Understanding/animation-from-interactions.html — SC 2.3.3: interaction-triggered motion must be disposable unless essential; MDN Web Docs, Mozilla, current, https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-reduced-motion — the recommended pattern replaces motion with a muted alternative, opacity/colour change, rather than removing feedback entirely). Where a `prefers-reduced-motion: reduce` block exists, it must actually alter the declarations inside it (removed `transform`/`animation` property, shortened `transition-duration`, or a swapped-in muted alternative) rather than being empty, duplicating the unqueried rule, or overriding an unrelated property — `search_code` each block found and diff its declarations against the unqueried rule for the same selector. Refuted when the animation the block targets is already essential-to-meaning motion exempted by SC 2.3.3 (a loading spinner conveying progress, not decoration) — the block existing but doing nothing is then correct, not a defect.
62
64
  - [ ] Nothing animates layout properties on a hot path where a transform would do. `search_code` for `transition:`/`animate-` rules whose property list includes `top`, `left`, `width`, `height`, or `margin` instead of `transform`/`opacity` — each is a forced-layout animation, verifiable from the property name alone; cross-reference `performance.md` for the runtime cost.
63
65
 
66
+ ## Regression coverage
67
+
68
+ - [ ] When a shared component library exists (the gate `design-system.md` already establishes), a visual-regression mechanism is wired for it. `search_code`/`list_modules` for `.stories.*` files paired with a Chromatic config, or `toHaveScreenshot`/`toMatchSnapshot` calls in a visual (not unit) test file — its total absence across the component directory means a change to a shared component's markup or CSS has no mechanized check before it reaches every consumer. Refuted when the project is small enough (a handful of routes, one team) that manual review each PR is a stated, deliberate substitute — check for that statement in CONTRIBUTING/README before flagging as a gap (Playwright/Microsoft, current, https://playwright.dev/docs/test-snapshots — `toHaveScreenshot()` compares a captured screenshot to a stored baseline via pixelmatch; Storybook/Chromatic, current, https://storybook.js.org/docs/writing-tests/visual-testing — visual tests compare rendered pixels of every story against known baselines, catching regressions markup/unit snapshot tests miss).
69
+
64
70
  ## Out of static reach
65
71
 
66
72
  - Whether the composition is balanced, and whether the visual weight lands where the product wants attention.
@@ -68,9 +74,24 @@ The states a browser gives you free are the ones most often left unstyled:
68
74
  - How the surface degrades at 200% zoom and at 320px, beyond what the declarations promise.
69
75
  - Whether motion feels smooth at runtime, and on a mid-range device — a bounded duration set says nothing about actual frame rate.
70
76
  - Brand fit and tone.
77
+ - Whether the type scale follows a named platform system's exact role/level naming — the canonical docs for that comparison could not be fetched in this research pass; the generic `clamp()`/scale-consistency check in `design-system.md` is what this module can still verify.
78
+ - Whether an RTL layout renders correctly end-to-end — this needs a browser pass with an RTL locale set, not a source-level property audit.
79
+ - Whether visual-regression baselines were actually reviewed versus rubber-stamped — this module can confirm the mechanism exists, not that it was used with rigor.
71
80
 
72
81
  Recommend a browser pass or a visual-regression suite for these rather than asserting them.
73
82
 
83
+ ## What browser observation closes
84
+
85
+ Applies only when `browser.md` ran; findings here are `observed` and cite the bundle path with a line or step number.
86
+
87
+ | Artefact | Gap it closes | Observed instance earns |
88
+ |---|---|---|
89
+ | computed styles via evaluate | Pixel-level alignment and spacing as actually rendered, versus declared values | Medium |
90
+ | `trace.json`/`insights.md` | Long tasks during a motion sequence, as a proxy for frame-rate smoothness | Medium |
91
+ | `steps.md` | Surface degradation across breakpoints, confirmed by a screenshot per breakpoint walked | Low |
92
+ | `screenshots/` + the `scrollWidth`/`clientWidth` `evaluate` result recorded per step | Layout breakage / horizontal overflow at a narrow viewport. Refuted if the overflowing region is one of WCAG 1.4.10's exempted two-dimensional cases — name which exception applies | Medium |
93
+ | `vitals.md`'s per-interaction INP | A feedback interaction (hover/click/toggle) resolves visibly slower than ~200ms. Refuted if the slow-resolving interaction triggers a network request (not pure CSS motion) — the delay is latency, not an authored duration, and belongs to `performance.md` instead. The authored-duration half of this check (animation duration against the module's declared bounded-set ceiling, found via `search_code`) stays a source `read` — no bundle artefact records authored animation durations | Low |
94
+
74
95
  ## Severity guidance
75
96
 
76
97
  | Situation | Severity |
@@ -78,7 +99,7 @@ Recommend a browser pass or a visual-regression suite for these rather than asse
78
99
  | Core action available only on hover | High |
79
100
  | Hierarchy carried by colour alone | High |
80
101
  | No small-screen strategy for content that overflows | High |
81
- | Interactive element with no styled focus or disabled state | High |
102
+ | Interactive element with no styled hover, active, or disabled state | High |
82
103
  | Empty or error state that offers no way forward | Medium |
83
104
  | Two competing primary actions in one view | Medium |
84
105
  | Skeleton whose shape does not match its content | Medium |
@@ -87,3 +108,8 @@ Recommend a browser pass or a visual-regression suite for these rather than asse
87
108
  | One global line height across body and display type | Low |
88
109
  | Near-alignment — edges off by a few pixels | Low |
89
110
  | Decorative motion with no reduced-motion fallback | Low |
111
+ | Physical direction properties under declared RTL locale support | Medium |
112
+ | Component reused at multiple widths with no container-query adaptation | Low |
113
+ | Shared component library with no visual-regression mechanism wired | Medium |
114
+ | `prefers-reduced-motion` block that is empty or a no-op | Medium |
115
+ | Body-text line-height fixed in `px`, not a scalable multiplier | Medium |
@@ -7,39 +7,43 @@ What does this page tell a machine that is not the user's browser? Gate: the pro
7
7
  ## Per-page metadata
8
8
 
9
9
  - [ ] `<title>` and meta description present on every route — `search_code` the templating layer (`generateMetadata`, `<Head>`, a layout's `<title>` block, or the SSG frontmatter convention) for whether these are set at all, and whether a templated route (`/product/[id]`) derives them from the record's own data or falls back to one hardcoded string for every instance.
10
- - [ ] Title and description are unique per route, not merely capable of being unique — read the metadata-generating function itself (`generateMetadata`, the `<Head>` component, or the frontmatter loader) and confirm the strings are built from the route's own params or data record, not returned as one constant reused for every match of that route pattern. Google rewrites both fields against query intent at serve time — an estimated 60–70% of meta descriptions and any title it judges mismatched or oversized — so the audit's job is confirming these are present, unique, and well-formed, never that a given string "will display" in the SERP; that is live behaviour, not a source-level fact.
11
- - [ ] Canonical URL declared, and specifically absent on any page reachable at more than one path (with and without trailing slash, via a query-string variant, via both `www` and bare domain) — `search_code` for `rel="canonical"` or the framework's canonical helper.
12
- - [ ] At most one `rel="canonical"` per page, and paginated routes (page 2 and beyond) never canonicalise back to page 1 — `search_code` for more than one canonical tag rendered on the same route (Google ignores all of them when it finds two) and read the pagination template's canonical logic specifically; a paginated list is not a duplicate of its first page, and canonicalising it away deindexes that page's content entirely.
10
+ - [ ] Title and description are unique per route, not merely capable of being unique — Read the metadata-generating function itself (`generateMetadata`, the `<Head>` component, or the frontmatter loader) and confirm the strings are built from the route's own params or data record, not returned as one constant reused for every match of that route pattern. Google rewrites both fields against query intent at serve time — independent studies put meta-description rewrites at roughly 60–75% — so the audit's job is confirming these are present, unique, and well-formed, never that a given string "will display" in the SERP; that is live behaviour, not a source-level fact.
11
+ - [ ] Canonical URL declared, and specifically absent on any page reachable at more than one path (with and without trailing slash, via a query-string variant, via both `www` and bare domain) — `search_code` for `rel="canonical"` or the framework's canonical helper (Google Search Central, current, https://developers.google.com/search/docs/crawling-indexing/consolidate-duplicate-urls — recommends a self-referential canonical on the canonical page itself, and confirms `rel="canonical"` support per RFC 6596).
12
+ - [ ] At most one `rel="canonical"` per page, and paginated routes (page 2 and beyond) never canonicalise back to page 1 — `search_code` for more than one canonical tag rendered on the same route (Google ignores all of them when it finds two) and read the pagination template's canonical logic specifically; a paginated list is not a duplicate of its first page, and canonicalising it away deindexes that page's content entirely (Google Search Central, current, https://developers.google.com/search/docs/crawling-indexing/consolidate-duplicate-urls — "don't specify different URLs as canonical for the same page using different canonicalization techniques").
13
+ - [ ] `search_code` for `document.title =`, a client-only `<Helmet>`/`next/head` call inside `useEffect`, or any other metadata write that only runs in the browser, and confirm the same route also has a server-side/build-time metadata source (`generateMetadata`, `getServerSideProps`/`getStaticProps` populating the head, or SSG frontmatter). A route whose title, description, or Open Graph tags are set only from client-side JavaScript with no server-rendered equivalent is metadata a crawler may index late, or miss, depending on its own rendering budget. Refuted when the route is confirmed static/SSG-prerendered by a build artifact or framework convention even though the client-side call is also present — the CSR call is a redundant runtime update, not the only source; check for a matching `generateMetadata`/`getServerSideProps`/frontmatter source before flagging (Google Search Central, current, https://developers.google.com/search/docs/crawling-indexing/javascript/javascript-seo-basics — "server-side or pre-rendering is still a great idea"; a JS-added `noindex` tag "may not work as expected" because Google can skip rendering before it is seen, the same rendering-order risk that applies to any metadata that exists only after client-side execution).
13
14
 
14
15
  ## Social and crawler surface
15
16
 
16
- - [ ] The Open Graph protocol's four *required* properties are present — `og:title`, `og:type`, `og:image`, `og:url` — `search_code` for the `og:` prefix in templates or a metadata helper. `og:description` is not part of the spec's required set but is universally expected by unfurlers; treat its absence as a real gap, just a different severity than a missing required property.
17
- - [ ] `og:image` is an absolute URL — `search_code` its construction and confirm it is built against an absolute base URL (a full `https://` origin), not a relative path an unfurler cannot resolve; this one is a hard requirement, unlike the pair below. `og:image:width`/`og:image:height` are optional per spec, not required — their absence just forces the consuming platform to download the image before it can render a preview rather than sizing it immediately, so `search_code` for them and note the gap as a performance/reliability nit, not a spec violation. Where the image dimensions are computable, check they land near 1200×630 (1.91:1) — the size the major unfurlers (Facebook, LinkedIn, Slack, Discord, iMessage, WhatsApp) actually render well, distinct from and not stated by the spec itself.
17
+ - [ ] The Open Graph protocol's four *required* properties are present — `og:title`, `og:type`, `og:image`, `og:url` — `search_code` for the `og:` prefix in templates or a metadata helper. `og:description` is not part of the spec's required set but is universally expected by unfurlers; treat its absence as a real gap, just a different severity than a missing required property (The Open Graph Protocol working group, ogp.me, current, https://ogp.me/ — `og:title`, `og:type`, `og:image`, `og:url` are the four required properties).
18
+ - [ ] `og:image` should be an absolute URL — the spec never states this in so many words, but every documented example uses one and no major unfurler is known to resolve a relative path, so a relative `og:image` is a practical failure even though it is not a literal spec violation. `search_code` its construction and confirm it is built against an absolute base URL (a full `https://` origin), not a relative path an unfurler cannot resolve. `og:image:width`/`og:image:height` are optional per spec, not required — their absence just forces the consuming platform to download the image before it can render a preview rather than sizing it immediately, so `search_code` for them and note the gap as a performance/reliability nit, not a spec violation. Where the image dimensions are computable, check they land near 1200×630 (1.91:1) — the size the major unfurlers (Facebook, LinkedIn, Slack, Discord, iMessage, WhatsApp) actually render well, distinct from and not stated by the spec itself (The Open Graph Protocol working group, ogp.me, current, https://ogp.me/ — `og:image:width`/`og:image:height` are documented as "optional structured properties").
19
+ - [ ] `search_code` the `og:type` value's construction and confirm it is drawn from Open Graph's registered type list (`website`, `article`, `product`, `profile`, etc.) or a properly namespaced custom type, not a free-text string invented for the project. Refuted when the value is a legitimately namespaced extension type per the OGP vocabulary-extension mechanism, not an invalid bare string — check for the namespace declaration before flagging (The Open Graph Protocol working group, ogp.me, current, https://ogp.me/ — `og:type` values are drawn from the spec's registered type list, with a namespacing mechanism for extension types).
18
20
  - [ ] `search_code` for `twitter:card` and confirm its values are derived from the same source as the Open Graph tags, not a second, independently-maintained copy that has drifted. X falls back to `og:title`/`og:description`/`og:image` when `twitter:*` tags are absent entirely, so a page with complete Open Graph tags and no `twitter:*` tags at all is not itself a defect — only flag `twitter:*` values that are present and diverged from their Open Graph counterparts.
19
- - [ ] A route with no custom Open Graph data falls back to a generic, route-appropriate default rather than silently inheriting the homepage's title and image — read the metadata function's fallback branch and confirm it returns a default object distinct from the homepage's own metadata, not the same object reused for both.
21
+ - [ ] A route with no custom Open Graph data falls back to a generic, route-appropriate default rather than silently inheriting the homepage's title and image — Read the metadata function's fallback branch and confirm it returns a default object distinct from the homepage's own metadata, not the same object reused for both.
20
22
 
21
23
  ## Indexing control
22
24
 
23
- - [ ] `robots.txt` present — read `public/robots.txt` (or the framework's `robots.ts`/`robots.js` generator) directly and list every `Disallow` rule; confirm each blocked path is deliberate (an admin path) rather than a rule that blocks the whole site by accident (`Disallow: /`).
24
- - [ ] Per-page `noindex` directives agree with `robots.txt` — `search_code` for `noindex` in templates or a metadata helper, and check whether it is gated by an environment variable. **A `noindex` meta tag hardcoded into a shared layout, meant only for staging, is a silent production traffic outage** — nothing errors, nothing logs, the site simply stops appearing in search results.
25
- - [ ] No path carries both a `robots.txt` `Disallow` and a page-level `noindex`. Cross-reference the `Disallow` rule list from the check above against the `noindex` call sites found by `search_code` — a URL that is disallowed can never have its `noindex` tag read, because the crawler is blocked before it ever fetches the page. Per Google's own documentation, this makes the deindex attempt silently fail: the crawler never sees the instruction, and the URL can still surface in results (address and anchor text) if any external site links to it. The fix is one signal, not both — `noindex` a crawlable page, or `Disallow` a page you accept may still appear by URL alone, never both on the same path.
26
- - [ ] Sitemap generation exists — `search_code` for a sitemap route or build-time generator — and `robots.txt` actually references it. A generated sitemap nothing links to is unreachable by any crawler that respects the standard discovery path. Weigh this against the site's actual shape first: Google's own guidance is that a well-linked site is discoverable by ordinary crawling without a sitemap at all, and a sitemap earns its keep specifically on a large site, a new site with few inbound links, or one carrying rich media (video, images) or News content — read the route count and check for those conditions before treating a missing sitemap as a finding on a small, densely cross-linked project.
27
- - [ ] Sitemap entries match the route table. For a committed static `sitemap.xml`, diff its `<url>` entries against the route definitions found by `search_code`/`repo_map`; for a build-time generator (`sitemap.ts`, `next-sitemap` config), read the generator's route source and confirm it enumerates the app's actual route set rather than a hand-maintained list kept alongside it. These are two different failure modes — say which one you checked.
25
+ - [ ] `robots.txt` present — Read `public/robots.txt` (or the framework's `robots.ts`/`robots.js` generator) directly and list every `Disallow` rule; confirm each blocked path is deliberate (an admin path) rather than a rule that blocks the whole site by accident (`Disallow: /`) (IETF, RFC 9309, 2022, https://www.rfc-editor.org/rfc/rfc9309 — allow/disallow lines "indicate whether accessing a URI that matches the corresponding path is allowed or disallowed"). `search_code`/`Read` how `robots.txt` is served — a static file under `public/`, or a route handler (`robots.ts`/`app/robots.ts`) — and confirm it resolves to exactly `/robots.txt` at the site's root, not a nested or rewritten path. A `robots.txt` reachable only at a non-root path is not the resource any crawler will fetch, and every `Disallow` rule inside it is silently inert. Refuted when the framework's own static-asset convention guarantees root placement by construction (anything under Next.js `public/` is always served at the domain root) — the check is satisfied without further reading; only flag a custom route or rewrite capable of relocating it (RFC 9309 §2.3 scopes a robots.txt to the exact scheme+host+port it is fetched from, at the root path — a file served elsewhere is not in scope of the crawler behaviour the RFC defines).
26
+ - [ ] Per-page `noindex` directives agree with `robots.txt` — `search_code` for `noindex` in templates or a metadata helper, and check whether it is gated by an environment variable. **A `noindex` meta tag hardcoded into a shared layout, meant only for staging, is a silent production traffic outage** — nothing errors, nothing logs, the site simply stops appearing in search results. A hardcoded `noindex` reaching production is `read`-tier evidence, ceiling `High`; an env-gated one is `inferred`-tier for what the deployed value actually is, ceiling `Medium` — only a live check, outside this audit's static/declared-command scope, could confirm the deployed state and license `Critical` (Google Search Central, current, https://developers.google.com/search/docs/crawling-indexing/robots-meta-tag — "if indexing or serving rules must be followed, the URLs containing those rules cannot be disallowed from crawling").
27
+ - [ ] `search_code` for `X-Robots-Tag` in server middleware, edge config, or hosting config (`next.config` `headers()`, `vercel.json`, nginx/Express middleware) and cross-reference its value against any page-level `noindex` meta tag on the same path. A response header and a meta tag disagreeing on the same route is the same silent-failure shape already checked for `robots.txt` vs. `noindex` — Google resolves it by the most restrictive value, not by flagging the conflict to the site owner. Refuted when the header targets a path pattern that never overlaps the meta tag's route (e.g. the header applies to `/api/*` or non-HTML file types, the meta tag applies to HTML pages) — confirm the path globs don't intersect before flagging (Google Search Central, current, https://developers.google.com/search/docs/crawling-indexing/robots-meta-tag — documents `X-Robots-Tag` as the HTTP-header equivalent of the meta robots tag, combined with it under the same rule set).
28
+ - [ ] No path carries both a `robots.txt` `Disallow` and a page-level `noindex`. Cross-reference the `Disallow` rule list from the check above against the `noindex` call sites found by `search_code` — a URL that is disallowed can never have its `noindex` tag read, because the crawler is blocked before it ever fetches the page. Per Google's own documentation, this makes the deindex attempt silently fail: the crawler never sees the instruction, and the URL can still surface in results (address and anchor text) if any external site links to it. The fix is one signal, not both — `noindex` a crawlable page, or `Disallow` a page you accept may still appear by URL alone, never both on the same path (Google Search Central, current, https://developers.google.com/search/docs/crawling-indexing/robots-meta-tag — "if a page is disallowed from crawling through the robots.txt file, then any information about indexing or serving rules will not be found and will therefore be ignored").
29
+ - [ ] Sitemap generation exists — `search_code` for a sitemap route or build-time generator — and `robots.txt` actually references it. A generated sitemap nothing links to is unreachable by any crawler that respects the standard discovery path. Weigh this against the site's actual shape first: Google's own guidance is that a well-linked site is discoverable by ordinary crawling without a sitemap at all, and a sitemap earns its keep specifically on a large site, a new site with few inbound links, or one carrying rich media (video, images) or News content — read the route count and check for those conditions before treating a missing sitemap as a finding on a small, densely cross-linked project (Google Search Central, current, https://developers.google.com/search/docs/crawling-indexing/sitemaps/overview — a sitemap is optional when a site is "small," about 500 pages or fewer, and comprehensively linked internally).
30
+ - [ ] Sitemap entries match the route table. For a committed static `sitemap.xml`, diff its `<url>` entries against the route definitions found by `search_code`/`repo_map`; for a build-time generator (`sitemap.ts`, `next-sitemap` config), read the generator's route source and confirm it enumerates the app's actual route set rather than a hand-maintained list kept alongside it. These are two different failure modes — say which one you checked (sitemaps.org, current, https://www.sitemaps.org/protocol.html — sitemap files must be UTF-8 encoded, entity-escaped, wrapped in `<urlset>`; `loc` is required, must start with the protocol, ≤2048 chars).
28
31
 
29
32
  ## Structured data and locale
30
33
 
31
- - [ ] JSON-LD or microdata structured data present where the content type calls for it (product, article, FAQ, breadcrumb) — `search_code` for `application/ld+json` and confirm the fields it declares (price, availability, author, date) match what the page actually renders. Mismatched structured data is worse than none — it is the kind of thing that gets a listing penalised, not ignored. Schema markup is an eligibility signal for a rich result, never a ranking signal — Google still decides whether to render it, so do not describe present-and-correct structured data as something that "improves ranking."
32
- - [ ] No structured data type the project emits is one Google has stopped consuming. `search_code` the `@type` values inside each `application/ld+json` block and check against the current retirement list — `FAQPage` (rich-result support removed May 2026), and `Book Actions`, `Course Info`, `ClaimReview`, `Estimated Salary`, `LearningVideo`, `SpecialAnnouncement`, and `VehicleListing` (removed June 2025). A hit is not broken code — it still validates and runs — but it is dead investment: nothing on the results page consumes its output any more.
34
+ - [ ] JSON-LD or microdata structured data present where the content type calls for it (product, article, FAQ, breadcrumb) — `search_code` for `application/ld+json` and confirm the fields it declares (price, availability, author, date) match what the page actually renders. Mismatched structured data is worse than none — it is the kind of thing that gets a listing penalised, not ignored. Schema markup is an eligibility signal for a rich result, never a ranking signal — Google still decides whether to render it, so do not describe present-and-correct structured data as something that "improves ranking" (Google Search Central, current, https://developers.google.com/search/docs/appearance/structured-data/sd-policies — "Google does not guarantee that your structured data will show up in search results, even if your page is marked up correctly"; violations "can result in a manual action" affecting rich-result eligibility, not ranking).
35
+ - [ ] `search_code` for more than one `application/ld+json` block declaring the same `@type` on one rendered page, and `Read` both to confirm their fields (price, availability, author, date) agree. Two structured-data blocks describing the same entity that disagree is the same class of problem as structured data contradicting visible content — inconsistent, not merely redundant. Refuted when the two blocks describe genuinely distinct entities that happen to share a `@type` (e.g. a product and a review of it) rather than the same entity twice — confirm the identifying field (`@id`, SKU, URL) differs before flagging (Google Search Central, current, https://developers.google.com/search/docs/appearance/structured-data/sd-policies — ties structured-data accuracy to eligibility and manual-action risk, and prohibits markup that misrepresents the page's own content).
36
+ - [ ] No structured data type the project emits is one Google has stopped consuming. `search_code` the `@type` values inside each `application/ld+json` block and check against the current retirement list — `FAQPage` (rich-result support removed May 2026), and `Course Info`, `ClaimReview`, `Estimated Salary`, `LearningVideo`, `SpecialAnnouncement`, and `VehicleListing` (removed June 2025; `Book Actions` was deprecated alongside these but Google reinstated it in November 2025 — do not flag it). A hit is not broken code — it still validates and runs — but it is dead investment: nothing on the results page consumes its output any more (Google Search Central, current, https://developers.google.com/search/docs/appearance/structured-data/faqpage — "this feature will no longer appear in Google Search starting May 7, 2026"; the June 2025 batch and the Book Actions reinstatement could not be independently re-verified with WebFetch-only research).
33
37
  - [ ] `search_code` for `<html lang=` and confirm the value is bound to a locale variable or route param, not a hardcoded string literal (`lang="en"`) that would be wrong for every non-default locale served.
34
- - [ ] `search_code` for `hreflang` and read the loop or map that generates the tags; confirm it iterates the full locale list — including a self-reference to the current locale and one `x-default` entry, used once per cluster for the fallback page, not per locale — rather than emitting a single hardcoded alternate. Cross-reference `i18n.md` for the locale set itself; this module only checks that the linking logic is complete.
35
- - [ ] `hreflang` is reciprocal. Read the tag-generation logic and confirm every locale variant links to every other variant *and to itself* — a page that declares alternates but is not linked back by them is, by Google's own reporting, the single most common `hreflang` implementation error. Also check the locale codes themselves against a real list (`en-GB` not `en-UK`, `pt-BR` not `pt-BZ`, hyphens not underscores) — malformed codes are not rejected with an error, they are silently ignored, so a typo here fails exactly like the tag being absent.
38
+ - [ ] `search_code` for `hreflang` and read the loop or map that generates the tags; confirm it iterates the full locale list — including a self-reference to the current locale and one `x-default` entry, used once per cluster for the fallback page, not per locale — rather than emitting a single hardcoded alternate. Cross-reference `i18n.md` for the locale set itself; this module only checks that the linking logic is complete (Google Search Central, current, https://developers.google.com/search/docs/specialty/international/localized-versions — `x-default` "is used when no other language/region matches the user's browser setting").
39
+ - [ ] `hreflang` is reciprocal. Read the tag-generation logic and confirm every locale variant links to every other variant *and to itself* — a page that declares alternates but is not linked back by them is, by SEO-tooling consensus (Google itself lists it as one common mistake among several, unranked), the single most common `hreflang` implementation error. Also check the locale codes themselves against a real list (`en-GB` not `en-UK`, `pt-BR` not `pt-BZ`, hyphens not underscores) — malformed codes are not rejected with an error, they are silently ignored, so a typo here fails exactly like the tag being absent (Google Search Central, current, https://developers.google.com/search/docs/specialty/international/localized-versions — "if two pages don't both point to each other, the tags will be ignored"; incorrect language codes must be ISO 639-1, non-standard region codes like "UK"/"EU" are ignored).
36
40
 
37
41
  ## Identity and stability
38
42
 
39
- - [ ] `search_code` for `<link rel="icon"` and a `manifest.json`/`manifest.webmanifest` file, and confirm the manifest's icon set is complete where the project supports "add to home screen."
43
+ - [ ] `search_code` for `<link rel="icon"` and a `manifest.json`/`manifest.webmanifest` file, and confirm the manifest's icon set is complete where the project supports "add to home screen." (W3C, Web App Manifest spec, current, https://www.w3.org/TR/appmanifest/ — the `icons` member specifies iconic representations; `purpose` values are `monochrome`, `maskable`, `any` (default), with specific sizes treated as advisory to the user agent.)
40
44
  - [ ] Redirect and trailing-slash policy applied consistently — `search_code` the framework's `trailingSlash` setting (or equivalent redirect middleware) and confirm internal links match it; a mismatch means every internal link either triggers an extra redirect hop or a duplicate-content path search engines will flag.
41
- - [ ] A "soft 404" — a not-found page that renders correctly but returns HTTP 200 — `search_code` the not-found handler and confirm it sets the actual status code, not just the visible content. This is the standard failure mode of client-side routing in an SPA: the server serves the shell successfully (200) and only the client-side router decides, after the fact, to render a "not found" view — the status line never reflects it. Where the route is SSR- or edge-rendered, confirm the handler returns a real non-200 status directly; where it is a pure client-side fallback with no server-side hook, check for the accepted mitigation instead — a JS redirect to a path the server does 404 on, or an injected `noindex` — and flag it if neither exists. A soft 404 is invisible to monitoring and, since crawlers classify it only after executing the page's JavaScript and inspecting the rendered DOM, it is invisible to a source read alone on any route where that JavaScript's actual runtime behaviour was not itself verified.
42
- - [ ] URL structure changes leave redirects behind — cross-reference `versioning-compatibility.md` for any route renamed or restructured, then read the redirect config or middleware (`next.config` `redirects()`, `vercel.json`, nginx rules) for an entry covering the old path pattern. An indexed URL with no matching redirect entry loses its accumulated search ranking with no way to recover it under the new path.
45
+ - [ ] A "soft 404" — a not-found page that renders correctly but returns HTTP 200 — `search_code` the not-found handler and confirm it sets the actual status code, not just the visible content (Google Search Central, current, https://developers.google.com/search/docs/crawling-indexing/http-network-errors — Search Console flags a "soft 404" when a URL returns a 2xx status but the rendered content "suggests an error for Google Search, an empty page or an error message"). This is the standard failure mode of client-side routing in an SPA: the server serves the shell successfully (200) and only the client-side router decides, after the fact, to render a "not found" view — the status line never reflects it. Where the route is SSR- or edge-rendered, confirm the handler returns a real non-200 status directly; where it is a pure client-side fallback with no server-side hook, check for the accepted mitigation instead — a JS redirect to a path the server does 404 on, or an injected `noindex` — and flag it if neither exists. A soft 404 is invisible to monitoring and, since crawlers classify it only after executing the page's JavaScript and inspecting the rendered DOM, it is invisible to a source read alone on any route where that JavaScript's actual runtime behaviour was not itself verified.
46
+ - [ ] URL structure changes leave redirects behind — cross-reference `versioning-compatibility.md` for any route renamed or restructured, then Read the redirect config or middleware (`next.config` `redirects()`, `vercel.json`, nginx rules) for an entry covering the old path pattern. An indexed URL with no matching redirect entry loses its accumulated search ranking with no way to recover it under the new path.
43
47
 
44
48
  ## Out of static reach
45
49
 
@@ -50,12 +54,31 @@ What does this page tell a machine that is not the user's browser? Gate: the pro
50
54
  - Whether a page's rendered `<title>`, description, or `lang` value in the browser DOM matches what the source-level generator returns — a runtime bug downstream of correct source (a stale cache, a stale build) is invisible to a source read.
51
55
  - Whether the sitemap's `lastmod` values are accurate, or whether a committed static sitemap was actually regenerated after the most recent route change the diff checked against.
52
56
  - Rendered performance of any of the above on a client-side-rendered route where metadata is injected after first paint — some crawlers execute JavaScript, some do not, and this module cannot tell you which matters for a given page without knowing the target platform.
57
+ - Correct, policy-compliant structured data does not guarantee a rich result appears — this module can only confirm the markup is present, accurate, and policy-compliant, never that Google chooses to render it.
58
+ - X's own current Cards documentation is not reachable at a stable public URL as of this research; the fallback-to-Open-Graph behaviour this module checks for is asserted from prior public documentation, not a source this brief could re-verify — treat that specific check as `practitioner heuristic` until re-sourced.
59
+ - Whether a specific page's JS-injected metadata renders inside Google's own crawl-and-render budget for that page — this module can observe one lab render, not Google's rendering queue.
60
+
61
+ ## What browser observation closes
62
+
63
+ Applies only when `browser.md` ran; findings here are `observed` and cite the bundle path with a line or step number.
64
+
65
+ | Artefact | Gap it closes | Observed instance earns |
66
+ |---|---|---|
67
+ | `network.jsonl` | HTTP status actually issued (`301`/`404`) versus what config or a status-code branch claims | High |
68
+ | `final-state.md` | Rendered `<title>`, description, or `lang` in the DOM after hydration, versus what the source-level generator returns | High |
69
+ | `final-state.md` | Open Graph tags as rendered in the DOM after hydration, versus declared values | Medium |
70
+ | `final-state.md` | Canonical URL as rendered after hydration, and that only one is present | High |
71
+ | `network.jsonl` (request/response for `/robots.txt`) | `robots.txt` actually serves HTTP 200 with a real body at `/robots.txt`, not a 404/error page returned under a 200. Refuted if the 200 is a legitimately configured custom document that nonetheless has a real 404 status underneath — check the status code, not the body text, before flagging | Medium |
72
+ | `network.jsonl` | `sitemap.xml` actually serves 200 with a valid XML content-type at the path `robots.txt` declares. Refuted if the site has no sitemap by design on a small, well-linked site — this check only applies once a sitemap reference exists to fetch | Low |
73
+ | `network.jsonl` (response headers on the page's own document request) | `X-Robots-Tag` response header value as actually served, cross-referenced against the page's meta `noindex`. Same refutation as the static check — confirm the header's path scope actually overlaps the page checked | Medium |
74
+ | `final-state.md` compared against a pre-hydration `read_page` output capture of the initial HTML (`network.jsonl`'s response body is not usable here — it is recorded only on 4xx/5xx, and the initial document load is a 200) | Rendered `<title>`/`og:*`/`lang` present only after hydration, with no equivalent in the initial HTML response. Refuted if the tag is present in both the initial response and after hydration — the client-side call is redundant, not the sole source. Not producible when the walker cannot capture page content before hydration completes — report under Coverage Gaps instead | High |
53
75
 
54
76
  ## Severity guidance
55
77
 
56
78
  | Situation | Severity |
57
79
  |---|---|
58
- | `noindex` shipped to production on an indexable route | Critical |
80
+ | `noindex` hardcoded into a shared layout/route reaching production | High |
81
+ | `noindex` gated by an environment variable, production value unconfirmed | Medium |
59
82
  | Page `Disallow`ed in `robots.txt` while also carrying `noindex` — the noindex is never read | High |
60
83
  | No canonical URL on a page reachable at multiple paths | High |
61
84
  | Multiple `rel="canonical"` tags on one page, or a paginated page canonicalising to page 1 | High |
@@ -70,3 +93,8 @@ What does this page tell a machine that is not the user's browser? Gate: the pro
70
93
  | Structured data emitting a type Google no longer consumes (dead investment, not breakage) | Low |
71
94
  | `og:image:width`/`og:image:height` absent (forces a synchronous fetch, not a spec violation) | Low |
72
95
  | Twitter card duplicating Open Graph with drifted values | Low |
96
+ | Metadata set only from client-side JavaScript with no server-rendered equivalent | High |
97
+ | `X-Robots-Tag` header disagreeing with a page-level `noindex` meta tag | Medium |
98
+ | `robots.txt` served at a non-root path, making every `Disallow` inert | Medium |
99
+ | Two `application/ld+json` blocks for the same entity with disagreeing fields | Medium |
100
+ | `og:type` value not drawn from the registered vocabulary or a namespaced extension | Low |