@volter/twin-googlefonts 1.0.1 → 1.0.2

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 (58) hide show
  1. package/api/spec/sources.json +11 -1
  2. package/api/src/semantics/doors.ts +4 -0
  3. package/css/spec/SOURCE.md +3 -1
  4. package/dist/api/spec/sources.json +11 -1
  5. package/dist/api/src/semantics/doors.js +4 -0
  6. package/dist/css/spec/SOURCE.md +3 -1
  7. package/dist/generated/pack-facts.json +68 -0
  8. package/dist/journeys/customer-life.json +81 -0
  9. package/dist/journeys/decisions.json +13 -3
  10. package/dist/journeys/demand.json +34 -0
  11. package/dist/src/cli.js +11 -10
  12. package/dist/src/manifest.js +4 -2
  13. package/dist/src/semantics/seed.js +40 -0
  14. package/generated/pack-facts.json +5 -2
  15. package/journeys/customer-life.json +81 -0
  16. package/journeys/decisions.json +13 -3
  17. package/journeys/demand.json +34 -0
  18. package/package.json +30 -14
  19. package/src/cli.ts +10 -10
  20. package/src/manifest.ts +4 -2
  21. package/src/semantics/seed.ts +40 -0
  22. package/vendor/SOURCE.md +7 -0
  23. package/vendor/inter-variable.json +52 -0
  24. package/dist/api/src/fetch.ts +0 -16
  25. package/dist/api/src/index.ts +0 -3
  26. package/dist/api/src/manifest.ts +0 -31
  27. package/dist/api/src/semantics/doors.ts +0 -131
  28. package/dist/api/src/semantics/index.ts +0 -8
  29. package/dist/api/src/semantics/shared.ts +0 -1
  30. package/dist/api/src/semantics/states.ts +0 -6
  31. package/dist/api/src/semantics/webfonts.ts +0 -32
  32. package/dist/assets/src/fetch.ts +0 -14
  33. package/dist/assets/src/index.ts +0 -3
  34. package/dist/assets/src/manifest.ts +0 -19
  35. package/dist/assets/src/semantics/index.ts +0 -10
  36. package/dist/assets/src/semantics/l.ts +0 -4
  37. package/dist/assets/src/semantics/s.ts +0 -4
  38. package/dist/assets/src/semantics/shared.ts +0 -13
  39. package/dist/css/src/fetch.ts +0 -14
  40. package/dist/css/src/index.ts +0 -3
  41. package/dist/css/src/manifest.ts +0 -19
  42. package/dist/css/src/semantics/css.ts +0 -19
  43. package/dist/css/src/semantics/css2.ts +0 -20
  44. package/dist/css/src/semantics/index.ts +0 -10
  45. package/dist/css/src/semantics/shared.ts +0 -1
  46. package/dist/journeys/customer-life.outline.md +0 -24
  47. package/dist/journeys/customer-life.outline.verdict.json +0 -82
  48. package/dist/journeys/customer-life.verdict.json +0 -149
  49. package/dist/vendor/Inter-OFL.txt +0 -93
  50. package/dist/vendor/OFL.txt +0 -94
  51. package/dist/vendor/SOURCE.md +0 -33
  52. package/dist/vendor/antic.json +0 -93
  53. package/dist/vendor/inputs.json +0 -460
  54. package/dist/vendor/inter.json +0 -44
  55. package/dist/vendor/noto-sans-sc-text.json +0 -24
  56. package/journeys/customer-life.outline.md +0 -24
  57. package/journeys/customer-life.outline.verdict.json +0 -82
  58. package/journeys/customer-life.verdict.json +0 -149
@@ -1,149 +0,0 @@
1
- {
2
- "judge": {
3
- "agent": "Claude journey judge (Opus)",
4
- "name": "Independent journey judge"
5
- },
6
- "authors": [
7
- "yueranyuan",
8
- "Aaron (A-001)",
9
- "Claude Opus 5.5",
10
- "Codex"
11
- ],
12
- "sha256": "972a67216217fd8b66ec8e08aea3ae853be3ed61f79bf5774811cbcead2e56b9",
13
- "judgedAt": "2026-10-15",
14
- "plausible": true,
15
- "rulings": [
16
- {
17
- "id": "resume-never-performed",
18
- "steps": [
19
- 2,
20
- "act 7"
21
- ],
22
- "barItem": "a stated cause that never happens, and a promise never kept",
23
- "reason": "Step 2 is named 'A repeat boot reads the same key', but the life has no repeat boot: it runs without a break from step 0 to step 24. The outline's act 7 ('Resume and read the same catalog/key/bytes without reseeding') is never performed by any step; the life ends on refusals.",
24
- "correction": "Move step 2 after step 24, behind a wait (for example `1d`) and the World's resume. Follow it with the restarted helper's startup catalog fetch (www.googleapis.com/webfonts/v1/webfonts?sort=popularity&key={key}) and one download of a stored font URL, with no reseed. Alternatively, delete step 2 and act 7."
25
- },
26
- {
27
- "id": "key-refusals-without-cause",
28
- "steps": [
29
- 3,
30
- 4
31
- ],
32
- "barItem": "a refusal without a cause the story shows, or the same cause drawn twice; a run of refusals",
33
- "reason": "Step 3 (no key, 403) and step 4 (key=not-issued, 400) are two refusals in a row that no actor causes. The developer API page requires the key on every request (https://developers.google.com/fonts/docs/developer_api: 'including an API key with each request'), and the pinned helper always sends the World's issued key (demand.json, fetchGoogleFonts.ts:62). Nobody in the story sends a request without one or with a foreign key.",
34
- "correction": "Remove steps 3 and 4."
35
- },
36
- {
37
- "id": "discovery-read-back",
38
- "steps": [
39
- 6
40
- ],
41
- "barItem": "a read-back with no need: a list or get of what the story already holds, unless someone who does not hold it reads it",
42
- "reason": "Step 6 reads the same catalog again through the Discovery base webfonts.googleapis.com/v1/webfonts directly after step 5 returned it. No application in demand.json calls that host, and the reader already holds the catalog; the step only shows that a second door exists.",
43
- "correction": "Remove step 6."
44
- },
45
- {
46
- "id": "second-agent-read-back",
47
- "steps": [
48
- 19
49
- ],
50
- "barItem": "a read-back with no need: a list or get of what the story already holds, unless someone who does not hold it reads it",
51
- "reason": "Step 19 repeats step 17's CSS2 request for Inter wght@600 under User-Agent 'undici'. Dub's Open Graph route is the only CSS2 caller and already holds that stylesheet from step 17. No actor in the story sends 'undici'; that the two agents get the same answer is recorded in vendor/inter.json, not an act of the story.",
52
- "correction": "Remove step 19."
53
- },
54
- {
55
- "id": "browser-refused",
56
- "steps": [
57
- 20
58
- ],
59
- "barItem": "vendor behaviour the vendor's documentation contradicts",
60
- "reason": "Step 20 expects 400 when Chrome requests css2?family=Inter:wght@600. Google documents the CSS API as a stylesheet link 'add[ed] to your HTML document' that the browser fetches (https://developers.google.com/fonts/docs/getting_started; https://developers.google.com/fonts/docs/css2 uses the same link form), and Google answers a browser with a stylesheet. No browser acts anywhere in this story, so the refusal also has no cause.",
61
- "correction": "Remove step 20."
62
- },
63
- {
64
- "id": "rallly-text-subset-refused",
65
- "steps": [
66
- 21
67
- ],
68
- "barItem": "vendor behaviour the vendor's documentation contradicts",
69
- "reason": "Step 21 expects 400 for Rallly's demanded request css2?family=Noto+Sans+SC:wght@700&text=%E6%8A%95%E7%A5%A8 (demand.json, opengraph-image.tsx:26-27). Google documents that text= \"also works for international fonts, allowing you to specify UTF-8 characters\" (https://developers.google.com/fonts/docs/css2; https://developers.google.com/fonts/docs/getting_started), so Google answers this request with a truetype stylesheet. The life's title and outline name Rallly as a customer, yet Rallly's only call is refused.",
70
- "correction": "Publish Google's retained CSS2 answer for this query and its truetype file in step 0. Then have step 21 expect 200 with that CSS, followed by Rallly downloading the returned URL. Alternatively, remove Rallly from the life and its outline."
71
- },
72
- {
73
- "id": "closing-refusal-run",
74
- "steps": [
75
- 22,
76
- 23,
77
- 24
78
- ],
79
- "barItem": "a refusal without a cause the story shows, or the same cause drawn twice; a run of refusals",
80
- "reason": "Steps 20 to 24 end the life with five refusals in a row. No actor causes the last three. Step 22 sends text= twice; css2 says \"the 'text=' parameter can only be specified once\" (https://developers.google.com/fonts/docs/css2), but Dub sends no text= and Rallly sends one. Step 23 fetches a gstatic path that no returned CSS named. Step 24 asks /css for an unknown family with no User-Agent, and its name ('Unsupported CSS representation') does not describe that content.",
81
- "correction": "Remove steps 22, 23 and 24."
82
- }
83
- ],
84
- "applied": {
85
- "from": "dce73bf66e60fd8002ddad46300d59d0872d4db74aed76d1317ad2fe5392ef9b",
86
- "wasPlausible": false,
87
- "steps": [
88
- "19",
89
- "2",
90
- "20",
91
- "21",
92
- "22",
93
- "23",
94
- "24",
95
- "3",
96
- "4",
97
- "6",
98
- "act 7"
99
- ],
100
- "rulings": [
101
- {
102
- "steps": [
103
- 2,
104
- "act 7"
105
- ],
106
- "why": "Move step 2 after step 24, behind a wait (for example `1d`) and the World's resume. Follow it with the restarted helper's startup catalog fetch (www.googleapis.com/webfonts/v1/webfonts?sort=popularity&key={key}) and one download of a stored font URL, with no reseed. Alternatively, delete step 2 and act 7."
107
- },
108
- {
109
- "steps": [
110
- 3,
111
- 4
112
- ],
113
- "why": "Remove steps 3 and 4."
114
- },
115
- {
116
- "steps": [
117
- 6
118
- ],
119
- "why": "Remove step 6."
120
- },
121
- {
122
- "steps": [
123
- 19
124
- ],
125
- "why": "Remove step 19."
126
- },
127
- {
128
- "steps": [
129
- 20
130
- ],
131
- "why": "Remove step 20."
132
- },
133
- {
134
- "steps": [
135
- 21
136
- ],
137
- "why": "Publish Google's retained CSS2 answer for this query and its truetype file in step 0. Then have step 21 expect 200 with that CSS, followed by Rallly downloading the returned URL. Alternatively, remove Rallly from the life and its outline."
138
- },
139
- {
140
- "steps": [
141
- 22,
142
- 23,
143
- 24
144
- ],
145
- "why": "Remove steps 22, 23 and 24."
146
- }
147
- ]
148
- }
149
- }
@@ -1,93 +0,0 @@
1
- Copyright 2020 The Inter Project Authors (https://github.com/rsms/inter)
2
-
3
- This Font Software is licensed under the SIL Open Font License, Version 1.1.
4
- This license is copied below, and is also available with a FAQ at:
5
- https://scripts.sil.org/OFL
6
-
7
-
8
- -----------------------------------------------------------
9
- SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
10
- -----------------------------------------------------------
11
-
12
- PREAMBLE
13
- The goals of the Open Font License (OFL) are to stimulate worldwide
14
- development of collaborative font projects, to support the font creation
15
- efforts of academic and linguistic communities, and to provide a free and
16
- open framework in which fonts may be shared and improved in partnership
17
- with others.
18
-
19
- The OFL allows the licensed fonts to be used, studied, modified and
20
- redistributed freely as long as they are not sold by themselves. The
21
- fonts, including any derivative works, can be bundled, embedded,
22
- redistributed and/or sold with any software provided that any reserved
23
- names are not used by derivative works. The fonts and derivatives,
24
- however, cannot be released under any other type of license. The
25
- requirement for fonts to remain under this license does not apply
26
- to any document created using the fonts or their derivatives.
27
-
28
- DEFINITIONS
29
- "Font Software" refers to the set of files released by the Copyright
30
- Holder(s) under this license and clearly marked as such. This may
31
- include source files, build scripts and documentation.
32
-
33
- "Reserved Font Name" refers to any names specified as such after the
34
- copyright statement(s).
35
-
36
- "Original Version" refers to the collection of Font Software components as
37
- distributed by the Copyright Holder(s).
38
-
39
- "Modified Version" refers to any derivative made by adding to, deleting,
40
- or substituting -- in part or in whole -- any of the components of the
41
- Original Version, by changing formats or by porting the Font Software to a
42
- new environment.
43
-
44
- "Author" refers to any designer, engineer, programmer, technical
45
- writer or other person who contributed to the Font Software.
46
-
47
- PERMISSION & CONDITIONS
48
- Permission is hereby granted, free of charge, to any person obtaining
49
- a copy of the Font Software, to use, study, copy, merge, embed, modify,
50
- redistribute, and sell modified and unmodified copies of the Font
51
- Software, subject to the following conditions:
52
-
53
- 1) Neither the Font Software nor any of its individual components,
54
- in Original or Modified Versions, may be sold by itself.
55
-
56
- 2) Original or Modified Versions of the Font Software may be bundled,
57
- redistributed and/or sold with any software, provided that each copy
58
- contains the above copyright notice and this license. These can be
59
- included either as stand-alone text files, human-readable headers or
60
- in the appropriate machine-readable metadata fields within text or
61
- binary files as long as those fields can be easily viewed by the user.
62
-
63
- 3) No Modified Version of the Font Software may use the Reserved Font
64
- Name(s) unless explicit written permission is granted by the corresponding
65
- Copyright Holder. This restriction only applies to the primary font name as
66
- presented to the users.
67
-
68
- 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
69
- Software shall not be used to promote, endorse or advertise any
70
- Modified Version, except to acknowledge the contribution(s) of the
71
- Copyright Holder(s) and the Author(s) or with their explicit written
72
- permission.
73
-
74
- 5) The Font Software, modified or unmodified, in part or in whole,
75
- must be distributed entirely under this license, and must not be
76
- distributed under any other license. The requirement for fonts to
77
- remain under this license does not apply to any document created
78
- using the Font Software.
79
-
80
- TERMINATION
81
- This license becomes null and void if any of the above conditions are
82
- not met.
83
-
84
- DISCLAIMER
85
- THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
86
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
87
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
88
- OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
89
- COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
90
- INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
91
- DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
92
- FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
93
- OTHER DEALINGS IN THE FONT SOFTWARE.
@@ -1,94 +0,0 @@
1
- Copyright (c) 2011, Santiago Orozco (hi@typemade.mx),
2
- with Reserved Font Name "Antic"
3
-
4
- This Font Software is licensed under the SIL Open Font License, Version 1.1.
5
- This license is copied below, and is also available with a FAQ at:
6
- http://scripts.sil.org/OFL
7
-
8
-
9
- -----------------------------------------------------------
10
- SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
11
- -----------------------------------------------------------
12
-
13
- PREAMBLE
14
- The goals of the Open Font License (OFL) are to stimulate worldwide
15
- development of collaborative font projects, to support the font creation
16
- efforts of academic and linguistic communities, and to provide a free and
17
- open framework in which fonts may be shared and improved in partnership
18
- with others.
19
-
20
- The OFL allows the licensed fonts to be used, studied, modified and
21
- redistributed freely as long as they are not sold by themselves. The
22
- fonts, including any derivative works, can be bundled, embedded,
23
- redistributed and/or sold with any software provided that any reserved
24
- names are not used by derivative works. The fonts and derivatives,
25
- however, cannot be released under any other type of license. The
26
- requirement for fonts to remain under this license does not apply
27
- to any document created using the fonts or their derivatives.
28
-
29
- DEFINITIONS
30
- "Font Software" refers to the set of files released by the Copyright
31
- Holder(s) under this license and clearly marked as such. This may
32
- include source files, build scripts and documentation.
33
-
34
- "Reserved Font Name" refers to any names specified as such after the
35
- copyright statement(s).
36
-
37
- "Original Version" refers to the collection of Font Software components as
38
- distributed by the Copyright Holder(s).
39
-
40
- "Modified Version" refers to any derivative made by adding to, deleting,
41
- or substituting -- in part or in whole -- any of the components of the
42
- Original Version, by changing formats or by porting the Font Software to a
43
- new environment.
44
-
45
- "Author" refers to any designer, engineer, programmer, technical
46
- writer or other person who contributed to the Font Software.
47
-
48
- PERMISSION & CONDITIONS
49
- Permission is hereby granted, free of charge, to any person obtaining
50
- a copy of the Font Software, to use, study, copy, merge, embed, modify,
51
- redistribute, and sell modified and unmodified copies of the Font
52
- Software, subject to the following conditions:
53
-
54
- 1) Neither the Font Software nor any of its individual components,
55
- in Original or Modified Versions, may be sold by itself.
56
-
57
- 2) Original or Modified Versions of the Font Software may be bundled,
58
- redistributed and/or sold with any software, provided that each copy
59
- contains the above copyright notice and this license. These can be
60
- included either as stand-alone text files, human-readable headers or
61
- in the appropriate machine-readable metadata fields within text or
62
- binary files as long as those fields can be easily viewed by the user.
63
-
64
- 3) No Modified Version of the Font Software may use the Reserved Font
65
- Name(s) unless explicit written permission is granted by the corresponding
66
- Copyright Holder. This restriction only applies to the primary font name as
67
- presented to the users.
68
-
69
- 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
70
- Software shall not be used to promote, endorse or advertise any
71
- Modified Version, except to acknowledge the contribution(s) of the
72
- Copyright Holder(s) and the Author(s) or with their explicit written
73
- permission.
74
-
75
- 5) The Font Software, modified or unmodified, in part or in whole,
76
- must be distributed entirely under this license, and must not be
77
- distributed under any other license. The requirement for fonts to
78
- remain under this license does not apply to any document created
79
- using the Font Software.
80
-
81
- TERMINATION
82
- This license becomes null and void if any of the above conditions are
83
- not met.
84
-
85
- DISCLAIMER
86
- THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
87
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
88
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
89
- OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
90
- COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
91
- INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
92
- DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
93
- FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
94
- OTHER DEALINGS IN THE FONT SOFTWARE.
@@ -1,33 +0,0 @@
1
- # Antic reference data
2
-
3
- The selected catalog item is the unchanged Antic object in Google's published
4
- Developer API example (family Antic, v19, 2022-09-22), not a claim to reproduce
5
- Google's entire catalog or current popularity. Its enclosing list is a selected
6
- reference-data World catalog. The five CSS representations and seven font files
7
- were retained from Google's public font servers on 2026-10-12, using exactly the
8
- five user agents google-webfonts-helper config.ts selects at ff245dc8. The current
9
- CSS points at v20 while the older published catalog example points at v19; both
10
- source identities are preserved. The SVG URL's fragment is client-side and is
11
- excluded from the stored HTTP asset key. No font was converted or substituted.
12
-
13
- Google Fonts has no create-font operation in its Developer API. The default data
14
- therefore calls the declared publisher door, which stores vendor-shaped items,
15
- the actual CSS and font bytes in the World's resource/blob store. It does not
16
- pretend that a vendor API mutation occurred. Operators may publish other actual
17
- catalog snapshots through the same door. The seven base64 strings are transport
18
- inputs to that door; persisted font bytes live only in the resource blob store.
19
-
20
- The Inter data (vendor/inter.json) is Google's CSS2 answer for Inter at weights
21
- 500, 600 and 700, retained on 2026-10-15 with no User-Agent, "node" and "undici"
22
- (the same bytes for all three), and the three truetype files it names. Inter's
23
- font software is under the SIL Open Font License 1.1 (Inter-OFL.txt).
24
-
25
- The Noto Sans SC data (vendor/noto-sans-sc-text.json) is Google's CSS2 answer for Rallly's
26
- request, Noto Sans SC 700 with text= its title's two glyphs, retained on 2026-10-15 with no
27
- User-Agent, "node" and "undici" (the same bytes for all three), and the truetype subset it names.
28
- Noto Sans SC's font software is under the SIL Open Font License 1.1.
29
-
30
- Antic's font software is under the SIL Open Font License 1.1 (OFL.txt).
31
- Google documentation and its example data are CC BY 4.0, with attribution here:
32
- https://developers.google.com/fonts/docs/developer_api
33
- https://developers.google.com/fonts/docs/getting_started