jekyll-theme-zer0 1.22.0 → 1.24.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9bb7f0d10a0dcb7cbe5297c6a412db670fc837d5acc43c85b6752baab5acf5a9
4
- data.tar.gz: '0095e82963f7316a63fecdf355f6fb3e8a126c7528666ab540d274175dda515c'
3
+ metadata.gz: f65c3a0d1bdabc361ffa201b1ef8718b51d9d90ac9f562d465cbcf11da23cff3
4
+ data.tar.gz: 5a688bea4feaf4b0408a072cf0d23dea6922aaab810dfea9e71f5e6d55147b29
5
5
  SHA512:
6
- metadata.gz: 0240ae6516cbc159ae33925ad991e74b958ddbbe19c3806fdf6cde01ba7e625ae6a530184cde8a3e51d5e7748944eba105fec439cde7332910bce2e027f2b5d7
7
- data.tar.gz: 80283b4cb1950832efac7b7713f660bab1d106adcc0dbeb320c385570a95cc5fd8e6f88614fd09fabdbc44081369300bc6e4e88ade905125edf5caad4ac14c74
6
+ metadata.gz: 021abbb9996ad7419ce2d27e73ece0234e79f63b8fca7f9ce1619406f91d5e61eabe9ab352257dc09df144c45a75ffa79aa9ff4120c354384fdf3c65420d2557
7
+ data.tar.gz: 01f76088c04901271942a073140c1ab38ac98bb1ed9ec2defa4d20cb532e331589415f341fa62a0dc34e20ad4a6194a6d9e34477e35d601a8e3593e96d830f22
data/CHANGELOG.md CHANGED
@@ -5,6 +5,61 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [1.24.0](https://github.com/bamr87/zer0-mistakes/compare/v1.23.0...v1.24.0) (2026-07-01)
9
+
10
+
11
+ ### Features
12
+
13
+ * **features:** backfill PR/commit/issue provenance + render it ([#264](https://github.com/bamr87/zer0-mistakes/issues/264)) ([03b584a](https://github.com/bamr87/zer0-mistakes/commit/03b584aab91332fd0e91f48210a7455da5bc6d08))
14
+ * **features:** document 16 reconciled features (ZER0-061..076) + governance ([#267](https://github.com/bamr87/zer0-mistakes/issues/267)) ([097e842](https://github.com/bamr87/zer0-mistakes/commit/097e842426d62189d527719d07ac609a970a3084))
15
+
16
+
17
+ ### Bug Fixes
18
+
19
+ * **features:** reconcile registry with the real repo + add validation gate ([#262](https://github.com/bamr87/zer0-mistakes/issues/262)) ([786459c](https://github.com/bamr87/zer0-mistakes/commit/786459cc611bcc829cd81c971dc6cd1a4f3ba82d))
20
+ * **security:** close two DOM-XSS sinks (CodeQL js/xss-through-dom) ([#266](https://github.com/bamr87/zer0-mistakes/issues/266)) ([812f247](https://github.com/bamr87/zer0-mistakes/commit/812f2478e0cc1989f599e32ac2171a0da449567f))
21
+
22
+ ## [1.23.0](https://github.com/bamr87/zer0-mistakes/compare/v1.22.0...v1.23.0) (2026-06-30)
23
+
24
+
25
+ ### Features
26
+
27
+ * **automation:** issue-triage→PR autopilot (off by default) ([#243](https://github.com/bamr87/zer0-mistakes/issues/243)) ([229e076](https://github.com/bamr87/zer0-mistakes/commit/229e07654915a9a0e401b30796c4f6c078eda926))
28
+ * **automation:** verify-and-close lane — autopilot closes human issues fixed on main when CI is green ([#247](https://github.com/bamr87/zer0-mistakes/issues/247)) ([7cc7cb0](https://github.com/bamr87/zer0-mistakes/commit/7cc7cb0cdada7f64d59f46c2f4c3a7e88afbde6b))
29
+ * **layouts:** add color_mode_default config knob with FOUC prevention ([#253](https://github.com/bamr87/zer0-mistakes/issues/253)) ([55bee97](https://github.com/bamr87/zer0-mistakes/commit/55bee970686c10a08aeed15bff43c3b66b5293e7))
30
+
31
+
32
+ ### Bug Fixes
33
+
34
+ * **ci:** make claude-run truly OAuth-first — drop API key whenever an OAuth token is set ([#248](https://github.com/bamr87/zer0-mistakes/issues/248)) ([d2b44d2](https://github.com/bamr87/zer0-mistakes/commit/d2b44d2766f5c8543f4c5d8ddb79015e726f88fd))
35
+ * **ci:** pass -R to gh pr view in the self-repair opt-in gate ([#260](https://github.com/bamr87/zer0-mistakes/issues/260)) ([67d67d7](https://github.com/bamr87/zer0-mistakes/commit/67d67d74146366afe6d495f529ba2c86a4513e18))
36
+ * **includes:** existence-guard component-showcase demo links ([#219](https://github.com/bamr87/zer0-mistakes/issues/219)) ([#256](https://github.com/bamr87/zer0-mistakes/issues/256)) ([ef15e79](https://github.com/bamr87/zer0-mistakes/commit/ef15e79dc64db0dc7e721ca10bb7c1e826612473))
37
+ * **layouts:** existence-gate /authors/ breadcrumb in author.html for remote-theme consumers ([#252](https://github.com/bamr87/zer0-mistakes/issues/252)) ([cae21a7](https://github.com/bamr87/zer0-mistakes/commit/cae21a7107b1875ac876f9e30cf71590ac7b0cc5))
38
+ * **search:** existence-gate search modal form action for remote-theme consumers ([#257](https://github.com/bamr87/zer0-mistakes/issues/257)) ([b915c4d](https://github.com/bamr87/zer0-mistakes/commit/b915c4dead5eff3d6a2986720ebacdcf2bed5e33))
39
+ * **skins:** map dark + contrast skins to their background assets ([#245](https://github.com/bamr87/zer0-mistakes/issues/245)) ([fb8808e](https://github.com/bamr87/zer0-mistakes/commit/fb8808e5ec754785b8239b01bccfab99569b70fa)), closes [#240](https://github.com/bamr87/zer0-mistakes/issues/240)
40
+
41
+ ## [Unreleased]
42
+
43
+ ### Bug Fixes
44
+
45
+ * **includes:** existence-guard component-showcase demo links — breadcrumb and list-group items now render as real links when the target page exists in the build (`/docs/`, `/docs/customization/`, `/categories/`, `/tags/`) and as plain text when absent; removes inert `href="#"` / `onclick="return false;"` workaround ([#219](https://github.com/bamr87/zer0-mistakes/issues/219)) (evidence: [`test/visual/evidence/component-showcase/`](test/visual/evidence/component-showcase/README.md))
46
+
47
+ ### Tests
48
+
49
+ * **navigation:** regression spec for section-sidebar /tags/ existence gate — asserts "Browse All Tags" and "View All Tags" links only render when /tags/ page is present in the build (issue #218, `test/visual/section-sidebar-tags-gate.spec.js`)
50
+ ### Features
51
+
52
+ - **color_mode_default config knob** — new `color_mode_default` setting (`dark` | `light` | `auto`, default `auto`) in `_config.yml` controls Bootstrap's `data-bs-theme` both server-side (in `_layouts/root.html`) and client-side. An early inline script (`_includes/core/color-mode-init.html`, loaded before Bootstrap CSS) applies the correct theme before any `[data-bs-theme]` selector is evaluated, preventing FOUC. `localStorage["theme"]` (the Appearance panel override) always wins over the config default. `auto` follows `prefers-color-scheme` — backward-compatible with the previous behaviour. (evidence: [`test/visual/evidence/color-mode-default/`](test/visual/evidence/color-mode-default/README.md))
53
+ - **feature provenance** — every entry in the feature registry (`_data/features.yml`) gained a `provenance:` block (`introduced_in` / `pr` / `commit` / `issue`) tracing the feature to the change that shipped it, surfaced on `/features/` as a `PR #N · <commit>` line on each card and a new **Provenance** column in the reference table. A registry-validation gate (`scripts/validate-features.rb`, the `features` test suite) now requires provenance on every active feature. (evidence: [`test/visual/evidence/features-provenance/`](test/visual/evidence/features-provenance/README.md))
54
+ - **feature registry coverage** — reconciled the registry against the codebase: added 16 previously-undocumented features (ZER0-061…076 — author profiles, news/section/article layouts, theme-skins customizer, nanobar, setup wizard, table-CSV copy, share actions, archives, component showcase, and the AI-content-review / giscus-digest / evidence-gate / autonomous-pipeline / secret-scan workflows), each with provenance + a regression-test link. Every active feature now also declares a `tests:` block (`scripts/validate-features.rb` hard-enforces both provenance and tests), and the governance in [`features.instructions.md`](.github/instructions/features.instructions.md) requires them on every new entry.
55
+ ### Bug Fixes
56
+
57
+ * **search:** existence-gate search modal form action to `/sitemap/` only when that page is present in the build; falls back to `#` (safe no-op) for remote-theme Pages consumers without a `/sitemap/` stub (closes [#202](https://github.com/bamr87/zer0-mistakes/issues/202))
58
+ * **layouts:** existence-gate `/authors/` breadcrumb link in author.html for remote-theme consumers ([#204](https://github.com/bamr87/zer0-mistakes/issues/204))
59
+ ### Tests
60
+
61
+ * **tests:** add negative-path smoke tests for AI chat render guard — asserts FAB/panel are absent when `proxy_ready: false` and no `api_key` is set (closes #168)
62
+
8
63
  ## [1.22.0](https://github.com/bamr87/zer0-mistakes/compare/v1.21.0...v1.22.0) (2026-06-26)
9
64
 
10
65
 
data/_data/ai.yml ADDED
@@ -0,0 +1,10 @@
1
+ # =============================================================================
2
+ # _data/ai.yml — one place the AI model is configured for zer0-mistakes agents
3
+ # -----------------------------------------------------------------------------
4
+ # Read by .github/actions/claude-run (the issue-autopilot's AI step). Change the
5
+ # model here and every autopilot agent call uses it. Auth is NOT here — it comes
6
+ # from the CLAUDE_CODE_OAUTH_TOKEN (preferred) or ANTHROPIC_API_KEY secret.
7
+ # =============================================================================
8
+ provider: anthropic
9
+ model: claude-opus-4-8
10
+ max_tokens: 8000
data/_data/backlog.yml CHANGED
@@ -62,8 +62,8 @@
62
62
 
63
63
  meta:
64
64
  title: "zer0-mistakes Backlog"
65
- updated: 2026-06-26
66
- next_id: 32
65
+ updated: 2026-06-29
66
+ next_id: 33
67
67
 
68
68
  tasks:
69
69
  # --- Housekeeping (seeded so the loop has work on day one) ------------------
@@ -270,7 +270,7 @@ tasks:
270
270
 
271
271
  - id: T-010
272
272
  title: "Complete v1.9 quickstart docs rewrite with getting-started guide and screenshots"
273
- status: open
273
+ status: done
274
274
  priority: P2
275
275
  area: docs
276
276
  risk: low
@@ -286,9 +286,9 @@ tasks:
286
286
  - "At least one guide beyond `bare-minimum.md` covers the standard fork/remote-theme workflow."
287
287
  - "Each guide includes at least one screenshot stored under `assets/images/docs/quickstart/`."
288
288
  - "All new pages pass `docs-validate.yml` front-matter and link checks."
289
- links: { issue: null, pr: null, roadmap: "1.9" }
289
+ links: { issue: 126, pr: null, roadmap: "1.9" }
290
290
  created: 2026-06-01
291
- updated: 2026-06-01
291
+ updated: 2026-06-29
292
292
 
293
293
  - id: T-011
294
294
  title: "Add Ruby unit tests for uncovered _plugins/ generators"
@@ -358,7 +358,7 @@ tasks:
358
358
 
359
359
  - id: T-013
360
360
  title: "Refresh Playwright snapshot baselines and re-arm the pixel gate"
361
- status: open
361
+ status: done
362
362
  priority: P2
363
363
  area: tests
364
364
  risk: standard
@@ -373,9 +373,9 @@ tasks:
373
373
  - "Baselines under `test/visual/snapshots/` regenerated and committed."
374
374
  - "`continue-on-error: true` removed from the snapshot step in `ci.yml`."
375
375
  - "Snapshot tier passes in CI on an unchanged follow-up commit."
376
- links: { issue: null, pr: null, roadmap: "1.13" }
376
+ links: { issue: 135, pr: null, roadmap: "1.13" }
377
377
  created: 2026-06-10
378
- updated: 2026-06-10
378
+ updated: 2026-06-29
379
379
 
380
380
  - id: T-014
381
381
  title: "Re-arm the docs link-check gate (remove warn-only || true)"
@@ -538,7 +538,7 @@ tasks:
538
538
 
539
539
  - id: T-020
540
540
  title: "CI coverage for installer interactive wizard and upgrade path (coverage rank #2)"
541
- status: open
541
+ status: done
542
542
  priority: P2
543
543
  area: tests
544
544
  risk: standard
@@ -554,13 +554,13 @@ tasks:
554
554
  - "Wizard prompt helpers exercised non-interactively (piped answers) in a test_install_* suite."
555
555
  - "An upgrade fixture covers detect→migrate→verify for at least one version gap."
556
556
  - "Suites run in CI via the standard installer e2e discovery (test_install_*.sh)."
557
- links: { issue: null, pr: null, roadmap: "1.14" }
557
+ links: { issue: 147, pr: null, roadmap: "1.14" }
558
558
  created: 2026-06-12
559
- updated: 2026-06-12
559
+ updated: 2026-06-29
560
560
 
561
561
  - id: T-021
562
562
  title: "Vendor cytoscape.js so the Obsidian graph works without a CDN"
563
- status: open
563
+ status: done
564
564
  priority: P3
565
565
  area: feat
566
566
  risk: standard
@@ -577,9 +577,9 @@ tasks:
577
577
  - "cytoscape.min.js committed under assets/vendor/ and referenced via a local path."
578
578
  - "full-graph.html no longer references cdn.jsdelivr.net."
579
579
  - "The graph page renders nodes/edges with the vendored file (no network)."
580
- links: { issue: null, pr: null, roadmap: null }
580
+ links: { issue: 152, pr: null, roadmap: null }
581
581
  created: 2026-06-13
582
- updated: 2026-06-13
582
+ updated: 2026-06-29
583
583
 
584
584
  # --- 2026-06-15 audit -------------------------------------------------------
585
585
 
@@ -637,7 +637,7 @@ tasks:
637
637
 
638
638
  - id: T-024
639
639
  title: "Unit tests for scripts/content-review.rb scoring engine"
640
- status: open
640
+ status: done
641
641
  priority: P2
642
642
  area: tests
643
643
  risk: standard
@@ -657,13 +657,13 @@ tasks:
657
657
  - "At least one test verifies the `--strict` flag exits non-zero when the fail threshold is crossed."
658
658
  - "Tests run under `LC_ALL=C` (locale-independence parity with T-015 guard)."
659
659
  - "`./scripts/bin/test` stays green with the new tests included."
660
- links: { issue: null, pr: null, roadmap: null }
660
+ links: { issue: 166, pr: null, roadmap: null }
661
661
  created: 2026-06-15
662
- updated: 2026-06-15
662
+ updated: 2026-06-29
663
663
 
664
664
  - id: T-025
665
665
  title: "Playwright smoke tests for the site-wide search modal"
666
- status: open
666
+ status: done
667
667
  priority: P2
668
668
  area: tests
669
669
  risk: standard
@@ -683,13 +683,13 @@ tasks:
683
683
  - "A result-population check: query matching a known post title (e.g. 'Hello World') yields at least one result `<a>` element."
684
684
  - "Mutual-exclusion guard: opening search while Settings offcanvas is open closes the offcanvas first (no stacked backdrops)."
685
685
  - "Spec runs in the smoke project (`npx playwright test --project=smoke`) without a network request to an external index."
686
- links: { issue: null, pr: null, roadmap: null }
686
+ links: { issue: 167, pr: 208, roadmap: null }
687
687
  created: 2026-06-15
688
- updated: 2026-06-15
688
+ updated: 2026-06-29
689
689
 
690
690
  - id: T-026
691
691
  title: "Playwright smoke test for AI chat widget render guard and FAB visibility"
692
- status: open
692
+ status: done
693
693
  priority: P3
694
694
  area: tests
695
695
  risk: standard
@@ -710,9 +710,9 @@ tasks:
710
710
  - "A mock-config test (inject `data-ai-chat-enabled` attribute or use a fixture page with the widget force-enabled) verifies the FAB renders and the chat panel toggles open/closed on click."
711
711
  - "The test passes in the smoke project without a live AI backend."
712
712
  - "`./scripts/bin/test` (including the Playwright smoke tier) stays green."
713
- links: { issue: null, pr: null, roadmap: null }
713
+ links: { issue: 168, pr: 250, roadmap: null }
714
714
  created: 2026-06-15
715
- updated: 2026-06-15
715
+ updated: 2026-06-29
716
716
 
717
717
  # --- Issue intake 2026-06-26: remote-theme 404 cluster + docs ----------------
718
718
  # Cap: 5 of 7 open issues triaged this run. Deferred (next run): #203 (consumer
@@ -721,7 +721,7 @@ tasks:
721
721
 
722
722
  - id: T-027
723
723
  title: "Theme chrome injects unconditional links (/authors/, /news/, /tags/, /posts/, graph) that 404 for remote-theme consumers"
724
- status: open
724
+ status: done
725
725
  priority: P2
726
726
  area: a11y
727
727
  risk: standard
@@ -740,13 +740,13 @@ tasks:
740
740
  - "Theme-injected chrome links render only when their target exists (mirror the footer Quick-Links existence guard)."
741
741
  - "A link check over a built remote-theme `_site` reports no theme-injected 404s."
742
742
  - "No edit to `lib/jekyll-theme-zer0/version.rb` or release files."
743
- links: { issue: 204, pr: null, roadmap: null }
743
+ links: { issue: 204, pr: 252, roadmap: null }
744
744
  created: 2026-06-26
745
- updated: 2026-06-26
745
+ updated: 2026-06-29
746
746
 
747
747
  - id: T-028
748
748
  title: "remote_theme Pages consumers 404 on /search.json and /sitemap/ (generator is plugin-only)"
749
- status: open
749
+ status: done
750
750
  priority: P2
751
751
  area: feat
752
752
  risk: standard
@@ -764,13 +764,13 @@ tasks:
764
764
  - "On a remote-theme Pages build, the navbar search resolves (no /search.json 404) or degrades gracefully."
765
765
  - "The /sitemap/ link resolves (no 404) for a remote-theme consumer."
766
766
  - "No new runtime dependency; no edit to version/release files."
767
- links: { issue: 202, pr: null, roadmap: null }
767
+ links: { issue: 202, pr: 257, roadmap: null }
768
768
  created: 2026-06-26
769
- updated: 2026-06-26
769
+ updated: 2026-06-29
770
770
 
771
771
  - id: T-029
772
772
  title: "Guard the unconditional /tags/ link in section-sidebar.html for remote-theme consumers"
773
- status: open
773
+ status: done
774
774
  priority: P2
775
775
  area: feat
776
776
  risk: low
@@ -786,13 +786,13 @@ tasks:
786
786
  - "The sidebar 'View All Tags' link renders only when the tags index exists (or a documented site flag is set)."
787
787
  - "Remote-theme consumers no longer 404 from the sidebar link; the Jekyll build stays green."
788
788
  - "A `test/visual/*.spec.js` regression asserts the conditional render (theme-ui / visual-evidence)."
789
- links: { issue: 218, pr: null, roadmap: null }
789
+ links: { issue: 218, pr: 254, roadmap: null }
790
790
  created: 2026-06-26
791
- updated: 2026-06-26
791
+ updated: 2026-06-29
792
792
 
793
793
  - id: T-030
794
794
  title: "component-showcase.html hardcodes demo links (/docs/, /pages/, /docs/customization/) that 404 for consumers"
795
- status: open
795
+ status: done
796
796
  priority: P3
797
797
  area: feat
798
798
  risk: low
@@ -809,13 +809,13 @@ tasks:
809
809
  - "The showcase's demo links are parameterized or existence-guarded (no hardcoded absolute paths that can 404)."
810
810
  - "Including the showcase on a consumer site produces no theme-injected 404s; the Jekyll build stays green."
811
811
  - "A `test/visual/*.spec.js` regression covers the parameterized/guarded links (theme-ui / visual-evidence)."
812
- links: { issue: 219, pr: null, roadmap: null }
812
+ links: { issue: 219, pr: 256, roadmap: null }
813
813
  created: 2026-06-26
814
- updated: 2026-06-26
814
+ updated: 2026-06-29
815
815
 
816
816
  - id: T-031
817
817
  title: "Document the safe-mode build-overlay recipe for consumers building outside GitHub Pages"
818
- status: open
818
+ status: done
819
819
  priority: P3
820
820
  area: docs
821
821
  risk: low
@@ -832,6 +832,34 @@ tasks:
832
832
  - "A docs page/section under `pages/_docs/` documents the build-overlay recipe (clone -> overlay -> strip _plugins -> strict build)."
833
833
  - "It is cross-linked from the remote-theme/deploy docs and passes markdownlint + the content-review deterministic tier."
834
834
  - "No code change; docs only."
835
- links: { issue: 220, pr: null, roadmap: null }
835
+ links: { issue: 220, pr: 251, roadmap: null }
836
836
  created: 2026-06-26
837
837
  updated: 2026-06-26
838
+
839
+ - id: T-032
840
+ title: "Add color_mode_default config knob (dark|light|auto) with FOUC prevention"
841
+ status: done
842
+ priority: P2
843
+ area: feat
844
+ risk: low
845
+ effort: S
846
+ source: issue
847
+ route: theme-ui
848
+ summary: >-
849
+ Implement a color_mode_default config key (values dark|light|auto, default auto).
850
+ Server-side: root.html reads site.color_mode_default and sets data-bs-theme
851
+ accordingly (auto resolves to dark as SSR fallback). Client-side: an early inline
852
+ script (_includes/core/color-mode-init.html, before Bootstrap CSS) applies the
853
+ correct theme respecting both the config default and a localStorage["theme"] override,
854
+ preventing FOUC. auto follows prefers-color-scheme — backward-compatible.
855
+ acceptance:
856
+ - "site.color_mode_default: dark|light|auto is documented in _config.yml."
857
+ - "root.html server-renders data-bs-theme from the config (not hardcoded 'dark')."
858
+ - "An early inline script before Bootstrap CSS prevents FOUC for all three modes."
859
+ - "localStorage['theme'] override wins over the config default."
860
+ - "auto follows prefers-color-scheme; backward-compatible with the previous behaviour."
861
+ - "Regression spec test/visual/color-mode-default.spec.js passes (smoke tier)."
862
+ - "Before/after evidence committed under test/visual/evidence/color-mode-default/."
863
+ links: { issue: 241, pr: 253, roadmap: null }
864
+ created: 2026-06-29
865
+ updated: 2026-06-29