@alis-build/design-system 0.52.0 → 0.52.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alis-build/design-system",
3
- "version": "0.52.0",
3
+ "version": "0.52.1",
4
4
  "description": "The AlisX design system for coding agents: tokens, product CSS, component markup, capability marks, words and rules.",
5
5
  "keywords": ["alisx", "design-system", "design-tokens", "css"],
6
6
  "homepage": "https://alisx.com",
@@ -40,9 +40,9 @@ Cite by ID in review. Each is a defect that has shipped in an Alis product.
40
40
  themed or wrapped.
41
41
 
42
42
  - **C5 a second manual**: how the platform works, written into a screen, a dialog,
43
- a help panel or a command, where it drifts from the docs and no search finds it.
44
- One sentence and a "How *thing* works" link instead ([register.md](register.md)
45
- § Show it or explain it).
43
+ a help panel or a command, about nothing on the screen, where it drifts from the
44
+ docs and no search finds it. Explain what is shown, beside it, and link the rest
45
+ with "How *thing* works" ([register.md](register.md) § Show it or explain it).
46
46
 
47
47
  ## D · Config holes
48
48
 
@@ -76,9 +76,10 @@ Seven questions, about a minute. **Run this before handing work back.**
76
76
  6. **Have you looked at it in dark?** Set `data-theme="dark"` on the page. Text
77
77
  that vanishes, a white box, a shadow doing an edge's job → a colour that isn't
78
78
  a role ([themes.md](themes.md)).
79
- 7. **Is anything here written once, for everyone, beyond one sentence?** Concepts,
80
- how-it-works steps, conventions, gotchas → C5: it is the docs; link it. A page
81
- called a Glass view that reads nothing of yours is the docs too.
79
+ 7. **Point at what each explanation is about.** One that points at nothing on the
80
+ screen (concepts, how-it-works steps, conventions, a gotchas list) → C5: it is
81
+ the docs; link it. A page called a Glass view that reads nothing of yours is
82
+ the docs too.
82
83
 
83
84
  ## The agent failure mode
84
85
 
@@ -86,4 +87,4 @@ A developer under-reads a system and invents locally (C3). An agent does the
86
87
  opposite: it **over-produces**. Linters catch shapes, not this. Before handing
87
88
  work back, look for **B6** (a card where spacing would have done), **B1** (a
88
89
  second primary), **B9** (an outline on every card), a fourth type role, a section
89
- nobody asked for, a section explaining how it works (C5), and a colour that is not a role.
90
+ nobody asked for, a section explaining nothing on the screen (C5), and a colour that is not a role.
package/rules/register.md CHANGED
@@ -33,18 +33,24 @@ platform when you open it, or was it written once, for everyone?**
33
33
  deployment stands, the arithmetic behind your score): a product screen.
34
34
  - **Written once, for everyone** (what a workstation is, how a release moves, a
35
35
  Makefile's conventions, what to do when a deploy hangs): the docs, where search,
36
- `alis docs` and every agent find it, and where it is written once rather than
37
- drifting in two places. The screen links to it.
38
- - **A page that does both** is a product screen: the live part stays, the
39
- explanation moves to the docs, and the screen links to it.
40
-
41
- How much a screen explains, so the line is not a judgment:
42
-
43
- - **One sentence that says what a thing is, where you first meet it**: an empty
44
- state's line, a field's supporting line, a dialog's line. Then the link.
45
- - **Never a section of explanation**: no concepts, how-it-works steps, lifecycle,
46
- conventions, worked examples, gotchas or FAQ on a screen, a tab, a dialog or a
47
- help panel; and no screen or dialog that holds only explanation.
36
+ `alis docs` and every agent find it, written in full once. The screen links to
37
+ it.
38
+ - **A page that does both** is a product screen: the live part stays, and so
39
+ does the explanation of what it shows (below). The rest moves to the docs.
40
+
41
+ How much a screen explains is decided by what the person is looking at. The test:
42
+ **can you point at the thing on the screen each explanation is about?**
43
+
44
+ - **Beside the thing it explains, as much as helps**: a line under a state, a
45
+ value, a field or a section, saying what it means, why your thing is like this,
46
+ and what to do. "Production deploys only from `main`; this build came from
47
+ `fix-login`." It may say what the docs also say: the screen holds what this
48
+ thing needs, the docs the whole account. An empty state's line and a field's
49
+ supporting line are the same case.
50
+ - **About nothing on the screen, it is the docs**: a section of concepts, how it
51
+ works, a lifecycle, conventions, worked examples, gotchas or an FAQ, and a
52
+ screen, tab, dialog or help panel of explanation alone. A gotcha your thing has
53
+ now ("Asleep. It wakes when you connect.") points at its state, so it stays.
48
54
  - **The link reads "How *thing* works"** ("How workstations work"): a text
49
55
  button with a trailing `open_in_new` that opens the docs page in a new tab
50
56
  ([buttons.md](buttons.md) § The form). Never "Learn more", "Explain …" or
@@ -71,8 +77,12 @@ result as it lands.
71
77
  - **The product register throughout**: the title bar, sections, tables and
72
78
  states every screen has. No hero, no display type, no petrol band; it is a
73
79
  working screen, and the person on it asked a question.
74
- - **Its explanation is a docs link** ("How build environments work"), by the
75
- rule above.
80
+ - **It explains your thing**, by the rule above: why each part is as it is and
81
+ what to do next, beside that part, built from its state. The person on it is
82
+ working, and this is the most useful explanation they can have. How the
83
+ platform works in general is a docs link ("How build environments work").
84
+ - **An agent sees what you see**: the same data, from the same service, through
85
+ the CLI ([terminal.md](terminal.md)).
76
86
  - **Smaller evidence stays in place**: the arithmetic behind one score, in a
77
87
  dialog from the stat it explains, is part of that screen, not a Glass view.
78
88
 
package/rules/terminal.md CHANGED
@@ -31,7 +31,9 @@ The line in [register.md](register.md) § Show it or explain it holds here too.
31
31
  A command or a key shows your things; what it prints about how the platform works
32
32
  is the docs page's address and `alis docs <topic>`, never an explanation of its
33
33
  own, so there is one manual for people and agents. Where it shows the live inside
34
- of one thing, it calls that the **Glass view**.
34
+ of one thing, it calls that the **Glass view**, and its `--json` carries the
35
+ same data the console's Glass view shows, from the same service, so an agent
36
+ working beside you sees what you see.
35
37
 
36
38
  ## Command and flag names
37
39
 
package/words.json CHANGED
@@ -46,7 +46,7 @@
46
46
  {
47
47
  "name": "docs",
48
48
  "product": "all",
49
- "means": "How the platform works, written once for everyone: the docs site, and `alis docs` in the terminal, the one manual for people and agents. A screen says what a thing is in one sentence and links to its page with \"How *thing* works\", a text button with a trailing open_in_new (register.md § Show it or explain it).",
49
+ "means": "How the platform works, written once for everyone: the docs site, and `alis docs` in the terminal, the one manual for people and agents. A screen explains what it shows, beside it, and links the rest with \"How *thing* works\", a text button with a trailing open_in_new (register.md § Show it or explain it).",
50
50
  "retired": ["Learn more"],
51
51
  "avoid": ["Explain (as a label for a link to the docs)", "Documentation (as a link label)", "help centre", "knowledge base"]
52
52
  },