@alis-build/design-system 0.57.0 → 0.61.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.
- package/README.md +10 -2
- package/alisx.css +233 -2
- package/check.mjs +70 -4
- package/classes.json +18 -0
- package/components/AppCard.md +37 -2
- package/components/AppCodeField.md +3 -1
- package/components/AppSignIn.md +2 -2
- package/components/AppTurn.md +1 -1
- package/components/CapabilityMark.md +9 -9
- package/components/README.md +1 -1
- package/email/shell.html +3 -2
- package/email/shell.txt +1 -1
- package/hosts/README.md +18 -0
- package/hosts/teams.json +368 -0
- package/hosts/teams.md +178 -0
- package/marks.json +22 -6
- package/package.json +2 -1
- package/rules/README.md +5 -4
- package/rules/branding.md +3 -0
- package/rules/colour.md +1 -1
- package/rules/email.md +6 -0
- package/rules/hosts.md +172 -0
- package/rules/icons.md +17 -11
- package/rules/known-gaps.md +5 -1
- package/rules/motion.md +3 -2
- package/rules/quick-start.md +2 -1
- package/rules/register.md +6 -0
- package/rules/spacing.md +4 -0
- package/rules/styling.md +4 -1
- package/rules/surfaces.md +6 -0
- package/rules/themes.md +94 -7
- package/tokens.css +84 -0
- package/tokens.json +176 -7
- package/words.json +108 -10
package/marks.json
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"marks": [
|
|
13
13
|
{
|
|
14
14
|
"name": "alis_projects",
|
|
15
|
-
"label": "Ideate
|
|
15
|
+
"label": "Alis Ideate Projects",
|
|
16
16
|
"tone": "ideate",
|
|
17
17
|
"dot": [12, 12],
|
|
18
18
|
"strokes": ["M12 3.8A8.2 8.2 0 0 1 18.28 17.27", "M16.1 19.1A8.2 8.2 0 0 1 4.3 14.8", "M3.8 12A8.2 8.2 0 0 1 9.2 4.3"],
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
},
|
|
21
21
|
{
|
|
22
22
|
"name": "alis_interviews",
|
|
23
|
-
"label": "Ideate
|
|
23
|
+
"label": "Alis Ideate Interviews",
|
|
24
24
|
"tone": "ideate",
|
|
25
25
|
"dot": [5.2, 6.8],
|
|
26
26
|
"strokes": ["M8.8 6.8h6.2", "M10.2 12h8.6", "M5.2 17.2h6.2"],
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
},
|
|
29
29
|
{
|
|
30
30
|
"name": "alis_artifacts",
|
|
31
|
-
"label": "Ideate
|
|
31
|
+
"label": "Alis Ideate Artifacts",
|
|
32
32
|
"tone": "ideate",
|
|
33
33
|
"dot": [17.3, 17.3],
|
|
34
34
|
"dotR": 1.4,
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
},
|
|
38
38
|
{
|
|
39
39
|
"name": "alis_skills",
|
|
40
|
-
"label": "Skill
|
|
40
|
+
"label": "AlisX Skill Store",
|
|
41
41
|
"tone": "forge",
|
|
42
42
|
"dot": [15.16, 14.52],
|
|
43
43
|
"strokes": ["M18.5 7.5C15.5 7.5 8.5 16.5 5.5 16.5", "M5.5 16.5A4.5 4.5 0 0 1 5.5 7.5", "M18.5 16.5A4.5 4.5 0 0 0 18.5 7.5", "M5.5 7.5C6.55 7.5 8.09 8.6 9.78 10.04", "M18.5 16.5C17.6 16.5 16.4 15.66 15.16 14.52"],
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
},
|
|
46
46
|
{
|
|
47
47
|
"name": "alis_environments",
|
|
48
|
-
"label": "Build
|
|
48
|
+
"label": "Alis Build Environments",
|
|
49
49
|
"tone": "build",
|
|
50
50
|
"dot": [11.8, 12.15],
|
|
51
51
|
"strokes": ["M7.2 18.4h9.2a3.9 3.9 0 0 0 .5-7.77 5.4 5.4 0 0 0-10.3-1.5A3.94 3.94 0 0 0 7.2 18.4Z"],
|
|
@@ -53,12 +53,28 @@
|
|
|
53
53
|
},
|
|
54
54
|
{
|
|
55
55
|
"name": "alis_workstations",
|
|
56
|
-
"label": "
|
|
56
|
+
"label": "Alis Build Workstations",
|
|
57
57
|
"tone": "build",
|
|
58
58
|
"dot": [14.2, 12],
|
|
59
59
|
"strokes": ["M6 5h12a3.2 3.2 0 0 1 3.2 3.2v7.6A3.2 3.2 0 0 1 18 19H6a3.2 3.2 0 0 1-3.2-3.2V8.2A3.2 3.2 0 0 1 6 5Z", "M7.6 9.6 10 12 7.6 14.4"],
|
|
60
60
|
"motion": { "className": "app-mark app-mark--workstations", "strokeClasses": { "1": "app-mark__prompt" }, "dotClass": "app-mark__dot", "live": true }
|
|
61
61
|
},
|
|
62
|
+
{
|
|
63
|
+
"name": "alis_activity",
|
|
64
|
+
"label": "Activity",
|
|
65
|
+
"tone": "build",
|
|
66
|
+
"dot": [17.75, 5.51],
|
|
67
|
+
"strokes": ["M3.4 19.6h17.2", "M3.4 15.4 7.6 11.2l3.4 3.4 4.6-6.2"],
|
|
68
|
+
"motion": { "className": "app-mark app-mark--activity", "strokeClasses": { "1": "app-mark__trace" }, "dotClass": "app-mark__dot", "live": true }
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"name": "alis_support",
|
|
72
|
+
"label": "Support",
|
|
73
|
+
"tone": "all",
|
|
74
|
+
"dot": [12.2, 20.4],
|
|
75
|
+
"strokes": ["M4.6 13.4V12a7.4 7.4 0 0 1 14.8 0v1.4", "M4.6 12.8h1.6v4.8H4.6a1.2 1.2 0 0 1-1.2-1.2v-2.4a1.2 1.2 0 0 1 1.2-1.2Z", "M19.4 12.8h-1.6v4.8h1.6a1.2 1.2 0 0 0 1.2-1.2v-2.4a1.2 1.2 0 0 0-1.2-1.2Z", "M19.4 17.6a2.8 2.8 0 0 1-2.8 2.8h-1.8"],
|
|
76
|
+
"motion": { "className": "app-mark app-mark--support", "strokeClasses": { "3": "app-mark__boom" }, "dotClass": "app-mark__dot", "live": true }
|
|
77
|
+
},
|
|
62
78
|
{
|
|
63
79
|
"name": "alis_glass",
|
|
64
80
|
"label": "Glass view",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alis-build/design-system",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.61.0",
|
|
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,6 +40,7 @@
|
|
|
40
40
|
"rules",
|
|
41
41
|
"components",
|
|
42
42
|
"email",
|
|
43
|
+
"hosts",
|
|
43
44
|
"assets",
|
|
44
45
|
"NOTICE"
|
|
45
46
|
],
|
package/rules/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# AlisX
|
|
2
2
|
|
|
3
|
-
The design system for **Alis Exchange**, the
|
|
3
|
+
The design system for **Alis Exchange**, the team behind the **AlisX Platform**: the agent-native workbench that industrialises how you and your organisation collaborate, build and innovate with AI. AlisX is not a model and not an IDE. It is the structure around whichever coding agent a team already uses.
|
|
4
4
|
|
|
5
5
|
It is framework-neutral: plain tokens, plain CSS classes, component markup in plain HTML, and rules that say what to build rather than how a library builds it. This package covers the **product register**: the screens people work in.
|
|
6
6
|
|
|
@@ -18,7 +18,7 @@ Read only what the job needs.
|
|
|
18
18
|
| [register.md](register.md) | Which register a surface is in, what a screen shows and what the docs explain (Glass views), and the voice |
|
|
19
19
|
| [glass.md](glass.md) | The Glass view: the way in, the pane and the field, picture forms, what may move |
|
|
20
20
|
| [colour.md](colour.md) | Roles, the one action colour, status, categories |
|
|
21
|
-
| [themes.md](themes.md) | Light and
|
|
21
|
+
| [themes.md](themes.md) | Light, dark and a host's contrast: asking for a theme, who picks it on each surface, the modes (forced colours, reduced motion), what changes, what doesn't |
|
|
22
22
|
| [branding.md](branding.md) | Client identity, account-to-portal inheritance, permitted role overrides and embedding |
|
|
23
23
|
| [type.md](type.md) | Type roles, weights, the shapes text takes |
|
|
24
24
|
| [surfaces.md](surfaces.md) | Ground, statement, instrument, lattice; depth |
|
|
@@ -35,6 +35,7 @@ Read only what the job needs.
|
|
|
35
35
|
| [words.md](words.md) | One name per thing (`words.json`), who speaks, labels, the verbs for getting rid of something |
|
|
36
36
|
| [icons.md](icons.md) | Material Symbols and the capability marks |
|
|
37
37
|
| [shortcuts.md](shortcuts.md) | How a key is written, where it shows, the sheet, the keys that mean the same everywhere |
|
|
38
|
+
| [hosts.md](hosts.md) | Teams, Copilot and every other product we appear inside: native or ours, what we send (our conversation, translated), onboarding a host, and each host's profile in `hosts/` |
|
|
38
39
|
| [terminal.md](terminal.md) | The CLI and its TUI: what carries over, command and flag names, how text and keys are written |
|
|
39
40
|
| [styling.md](styling.md) | What your own CSS may set |
|
|
40
41
|
| [anti-patterns.md](anti-patterns.md) | A1–D6, and the smell test to run before handing back |
|
|
@@ -66,11 +67,11 @@ Which applies is decided by the surface, never by preference ([register.md](regi
|
|
|
66
67
|
|
|
67
68
|
How the platform works is neither: it is the docs, and a screen links to it ([register.md](register.md) § Show it or explain it).
|
|
68
69
|
|
|
69
|
-
**The platform.** **Alis Ideate**: discovery, AI-led interviews, context and shareable artifacts. **Alis Build**: delivery, secure build environments in your own Google Cloud. **Skill
|
|
70
|
+
**The platform.** **Alis Ideate**: discovery, AI-led interviews, context and shareable artifacts. **Alis Build**: delivery, secure build environments in your own Google Cloud. **AlisX Skill Store**: the app store for know-how, at four levels (me, my team, the community, the platform). **AlisX Specialists**: vetted human expertise, inside the session.
|
|
70
71
|
|
|
71
72
|
The product has **no product tones**: the navigation pane and the page say which product you are in, in ink. Colour goes to actions, states and data ([colour.md](colour.md)).
|
|
72
73
|
|
|
73
|
-
**Names.** Product names are title case and always full: *Alis Ideate*, *Alis Build*, *Skill
|
|
74
|
+
**Names.** *Alis* is the agent; the *AlisX Platform* is the product (*AlisX* for short); *Alis Exchange* is the maker, the team that builds it. Product names are title case and always full: *Alis Ideate*, *Alis Build*, *AlisX Skill Store*, *AlisX Specialists*. A product of the platform takes the platform's name; a tool inside a product takes the product's, also in title case: *Alis Ideate Projects*, *Alis Ideate Interviews*, *Alis Ideate Artifacts*, *Alis Build Environments*, *Alis Build Workstations*. What you make in a tool stays a common noun: a project, an interview. `words.json` holds each name.
|
|
74
75
|
|
|
75
76
|
## Tokens
|
|
76
77
|
|
package/rules/branding.md
CHANGED
|
@@ -52,6 +52,9 @@ component. A product with existing brand variables maps them once in its adapter
|
|
|
52
52
|
- Brand and light/dark preference are separate. Set `data-theme` as in
|
|
53
53
|
[themes.md](themes.md). A profile supplies both modes, or the unsupported mode
|
|
54
54
|
inherits a validated system/account theme. Do not infer mode from the logo.
|
|
55
|
+
- Contrast and forced colours outrank a brand: under either, apply no role
|
|
56
|
+
override from the profile; the logo stays, on a transparent ground
|
|
57
|
+
([themes.md](themes.md) § Contrast and forced colours).
|
|
55
58
|
- CSS custom properties do not cross an iframe. The embedded portal resolves
|
|
56
59
|
the same profile as its hosted page. A host theme preference may cross a
|
|
57
60
|
validated integration channel; accept only the documented values from the
|
package/rules/colour.md
CHANGED
|
@@ -79,7 +79,7 @@ alone; a chip or an alert carries the status ([chips-alerts.md](chips-alerts.md)
|
|
|
79
79
|
## Categories
|
|
80
80
|
|
|
81
81
|
**Six hues from the brand, each a Material 3 tonal palette.** alisx.com colours
|
|
82
|
-
its products violet (Build), mint (Specialists), apricot (Skill
|
|
82
|
+
its products violet (Build), mint (Specialists), apricot (the AlisX Skill Store) and cyan
|
|
83
83
|
(Ideate). Spaced 60° apart from the brand cyan, those land on the spokes of a
|
|
84
84
|
six-hue wheel; rose and lime fill the other two. That wheel is the category set,
|
|
85
85
|
in this order:
|
package/rules/email.md
CHANGED
|
@@ -170,6 +170,12 @@ Never a category.
|
|
|
170
170
|
- **Fonts**: Nunito Sans where the mail app loads it, then Arial.
|
|
171
171
|
- **A plain-text twin of every email** (`shell.txt`): the same words, the link
|
|
172
172
|
written out.
|
|
173
|
+
- **Always sent as UTF-8.** A mail service sends a message whose characters all
|
|
174
|
+
fit Latin-1 (a "·", an "é" in a name) as ISO-8859-1, and Gmail then shows
|
|
175
|
+
"[Message clipped]" under an email it has shown in full. The shell's preview
|
|
176
|
+
line and the last line of `shell.txt` each carry an invisible character
|
|
177
|
+
outside Latin-1, which keeps both parts UTF-8. Keep them as characters, never
|
|
178
|
+
as entities; `make generate` fails without them.
|
|
173
179
|
- **Colours come from the roles.** `source/email/` writes `[[role]]` and
|
|
174
180
|
`[[role:dark]]`, and `[[role/12]]` for an alert's tint (the role at 12% over
|
|
175
181
|
`surface`); `make generate` resolves them, and fails on a name that isn't a
|
package/rules/hosts.md
ADDED
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
# Hosts
|
|
2
|
+
|
|
3
|
+
**A host is a product whose look wins over ours:** Microsoft Teams, Microsoft
|
|
4
|
+
365 Copilot, ChatGPT, Claude, Slack. The host draws the chrome, the type and the
|
|
5
|
+
colour. We supply the words, the decisions, the states and what happens when
|
|
6
|
+
someone presses a button, and those are what make it Alis. A mail app and a
|
|
7
|
+
terminal are hosts too, with rules of their own ([email.md](email.md),
|
|
8
|
+
[terminal.md](terminal.md)); this file is every other one.
|
|
9
|
+
|
|
10
|
+
Each host has a profile in [hosts/](../hosts/README.md): one page and one data
|
|
11
|
+
file. This rule holds everything that is the same in every host; a profile holds
|
|
12
|
+
only where its host differs.
|
|
13
|
+
|
|
14
|
+
## The stance
|
|
15
|
+
|
|
16
|
+
**Native or ours, never a blend.** What sits inside the host's conversation (a
|
|
17
|
+
described card, a framed view) is native: the host's components, type, colour
|
|
18
|
+
and spacing. A framed page is wholly ours: the product register, on the host's
|
|
19
|
+
theme. Nothing mixes the two. Inside the conversation, Alis shows through:
|
|
20
|
+
|
|
21
|
+
- **Alis named**, and the words from `words.json` ([words.md](words.md)).
|
|
22
|
+
- **The decisions**: one action that matters, states said in words, what was
|
|
23
|
+
done read back with its counts.
|
|
24
|
+
- **The glyphs**: a thing's glyph by name ([AppAttachment](../components/AppAttachment.md)),
|
|
25
|
+
in the host's own icon set.
|
|
26
|
+
- **Our accent on the filled action**, and only where the profile says the host
|
|
27
|
+
allows it.
|
|
28
|
+
|
|
29
|
+
The host draws our name and icon above what we send. Never draw the mark, the
|
|
30
|
+
wordmark or a logo inside a card or a widget.
|
|
31
|
+
|
|
32
|
+
## Names
|
|
33
|
+
|
|
34
|
+
Alis is the agent; the AlisX Platform is the product; Alis Exchange is the
|
|
35
|
+
maker. In a host they read:
|
|
36
|
+
|
|
37
|
+
| What | Reads | Never |
|
|
38
|
+
| --- | --- | --- |
|
|
39
|
+
| **The listing**, in every store | **AlisX**, published by **Alis Exchange**. One AlisX listing per store | Alis Agent, AlisX Agent Companion, a host's product in the name ("for Microsoft 365") |
|
|
40
|
+
| **The listing's description** | What it offers, speaking of the AlisX Platform, and of Alis for the agent: "AlisX connects Microsoft Teams to the AlisX Platform, so you can hand work to Alis". *Agent* goes here, never in a name | |
|
|
41
|
+
| **Who answers** | **Alis**, writing "I". The first message says who: "Hi, I'm Alis, the agent on the AlisX Platform." | the Alis agent, your Alis agent, your agent, the agent, it |
|
|
42
|
+
| **Who signs in** | **your AlisX account**: "Connect your AlisX account", "Signed in to AlisX as thandi@acme.com" | your Alis account, an Alis Build account |
|
|
43
|
+
| **Where it goes** | The thing itself ("Open interview"); in a sentence, **the AlisX console** | the console: in a host that is the host's own, or nothing |
|
|
44
|
+
| **A product or a tool** | Only on what belongs to it, in full: "your Alis Ideate projects", "a deploy in Alis Build", "Open Alis Ideate Interviews" | AlisX projects; Ideate or Build doing something |
|
|
45
|
+
|
|
46
|
+
Every one of these is in `words.json`. A host's own words for its own things
|
|
47
|
+
stay the host's: in Claude, Alis is "the AlisX connector", because Claude
|
|
48
|
+
calls it a connector.
|
|
49
|
+
|
|
50
|
+
## Which kind of host
|
|
51
|
+
|
|
52
|
+
```
|
|
53
|
+
Who draws what we send?
|
|
54
|
+
├─ The host, from a description we send
|
|
55
|
+
│ (an Adaptive Card, Slack blocks) → DESCRIBED
|
|
56
|
+
├─ Our own small view, in the host's frame,
|
|
57
|
+
│ inside the conversation (an MCP app widget) → FRAMED VIEW
|
|
58
|
+
└─ Our own page, filling the host's frame
|
|
59
|
+
(a Teams tab, a dialog with a page) → FRAMED PAGE
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
| | Described | Framed view | Framed page |
|
|
63
|
+
| --- | --- | --- | --- |
|
|
64
|
+
| **We send** | Structure and roles by meaning; the profile names the host's word for each | HTML and CSS in a sandboxed frame | A product page |
|
|
65
|
+
| **Colour** | The host's, picked by role. Never a hex value | The host's variables, our roles mapped onto them (the profile's table). Our accent on the filled action only where allowed | The product roles ([colour.md](colour.md)) |
|
|
66
|
+
| **Type** | The host's | The host's font and scale | Ours ([type.md](type.md)) |
|
|
67
|
+
| **Theme** | The host's, contrast included | The host's, from what it sends; the profile's fallback when it sends nothing | The host's, through the profile's map ([themes.md](themes.md) § Who picks the theme) |
|
|
68
|
+
| **Components** | The host's elements | Plain HTML on the host's variables; no `.app-*` component | `.app-*`, the whole product register |
|
|
69
|
+
|
|
70
|
+
A framed page doesn't draw what the host already draws: no second title bar, no
|
|
71
|
+
navigation pane, no sign-in screen when the host has signed the person in.
|
|
72
|
+
|
|
73
|
+
## What we send
|
|
74
|
+
|
|
75
|
+
A host gets the conversation the console has, translated: nothing is invented
|
|
76
|
+
for one host. Five things, each from a component the system already has.
|
|
77
|
+
|
|
78
|
+
| What | From | In a host |
|
|
79
|
+
| --- | --- | --- |
|
|
80
|
+
| **Alis's reply** | [AppTurn](../components/AppTurn.md) | A message, the default. It streams where the host streams, and Alis writes "I". Thumbs are the host's own reactions where it has them. A card only when a press or a structure is needed |
|
|
81
|
+
| **Alis needs you** | [AppAsk](../components/AppAsk.md), any kind | A card. The question is its title; up to four fields say what will happen. Options are rows you press to answer, never buttons. Choose several is the host's own checklist, then the verb. Then Not now and the verb named by its outcome, in AppAsk's order; AppAsk's wider scope ("Allow for this session") isn't offered in a host, so an ask keeps two actions. A press or an answer typed in the host's composer closes it: "yes, go ahead" allows it. It then reads back as AppAsk's record ("Allowed: Send 6 invites", "Not now: …") and loses its actions. Connect is AppAsk's Connect |
|
|
82
|
+
| **A thing** | [AppAttachment](../components/AppAttachment.md) | A card, or a row in one: its glyph, its name, its kind and a detail, up to four fields. The whole tile opens it, so rows of things need no button each |
|
|
83
|
+
| **Work** | AppTurn's steps, with the composer's Stop | The task card: the task's name, its state in words (Queued, Working, Stopping, Stopped, Failed, Finished), at most three steps; once finished, what was done with its counts ("Interview created, 0 people invited") |
|
|
84
|
+
| **Too big for a card** | [AppFilePane](../components/AppFilePane.md), a page | The expanded view: a framed page beside or over the conversation, where the host has one. *Open task* opens a task there; *Open interview* (the thing's name) opens a thing in the console |
|
|
85
|
+
|
|
86
|
+
**The task card carries the composer's controls**, because in a host the
|
|
87
|
+
composer is the host's. Two at most, by state: *Stop* while it works; *Try
|
|
88
|
+
again* and *Open task* when it failed; *Open task*, and *Open* and the kind of
|
|
89
|
+
thing it made ("Open interview"), once finished. Stop acts at once: stopping is
|
|
90
|
+
your choice, never confirmed and never red ([AppTurn](../components/AppTurn.md)). The card updates
|
|
91
|
+
in place where the host can; where it can't, its last line says how to check:
|
|
92
|
+
"Ask Alis how it's going."
|
|
93
|
+
|
|
94
|
+
**Order in a turn**: Alis's words first, then an ask or the task card after
|
|
95
|
+
them. Nothing interrupts the words; a host draws a card only once a stream has
|
|
96
|
+
closed.
|
|
97
|
+
|
|
98
|
+
A new kind of card is a decision for this file, never a card built in one host.
|
|
99
|
+
|
|
100
|
+
## Every host
|
|
101
|
+
|
|
102
|
+
These hold everywhere, and a profile never repeats them:
|
|
103
|
+
|
|
104
|
+
1. **Two actions at most, the verb last**, in the order of [buttons.md](buttons.md).
|
|
105
|
+
An ask's options and rows that open what they name are answers and ways in,
|
|
106
|
+
not actions.
|
|
107
|
+
2. **Nothing scrolls inside a card.** No tabs, no menus, no drill-in, no paging,
|
|
108
|
+
no search inside a card. Long content goes to the expanded view.
|
|
109
|
+
3. **No message box of our own.** The host's composer is the only one: no note
|
|
110
|
+
field inside an ask, because what you type in the composer is the note.
|
|
111
|
+
4. **Every state said in words**, and loading, finished, stopped and failed each
|
|
112
|
+
drawn ([loading.md](loading.md)). A failure says what to do next, in a
|
|
113
|
+
sentence, never a command to type ([errors.md](errors.md)).
|
|
114
|
+
5. **Narrow first.** Everything works at 320 wide.
|
|
115
|
+
6. **Every theme the host has.** A described card takes the host's own themes,
|
|
116
|
+
contrast included. A framed view or page maps the host's theme names through
|
|
117
|
+
its profile ([themes.md](themes.md)).
|
|
118
|
+
7. **A text twin.** Every described card carries fallback text saying the same
|
|
119
|
+
thing in a sentence, for a host or a reader that can't draw it.
|
|
120
|
+
8. **An icon names a thing or a state, never decorates.** A thing's glyph, or a
|
|
121
|
+
state's icon in its state's role. Never one beside a title for its own sake,
|
|
122
|
+
never a colour for a kind of thing, never an emoji or a hand-drawn icon: the
|
|
123
|
+
host's icon set, through the profile's name map ([icons.md](icons.md)).
|
|
124
|
+
9. **The words of the product**, and the names in § Names. Alis is named,
|
|
125
|
+
never "your agent", "the agent" or "the assistant". The work is a *task*; *session* is only a coding-agent
|
|
126
|
+
session; never *workspace*. Never tell someone to type a command ("Send
|
|
127
|
+
/status"): say what to do. A host is named as its maker names it: Microsoft
|
|
128
|
+
Teams, Microsoft 365 Copilot, Cowork ([words.md](words.md)).
|
|
129
|
+
10. **The console is one link away**: *Open* and the kind of thing ("Open
|
|
130
|
+
interview") lands on the thing itself, never the console's home
|
|
131
|
+
([page.md](page.md)).
|
|
132
|
+
|
|
133
|
+
## Onboarding a host
|
|
134
|
+
|
|
135
|
+
A host is onboarded once and re-checked on a date. Its profile has five
|
|
136
|
+
sections, in this order:
|
|
137
|
+
|
|
138
|
+
1. **Sources and evidence.** What the host can do, each claim with its link, the
|
|
139
|
+
date it was checked and a tag: **limit** (the host enforces it), **advice**
|
|
140
|
+
(the host recommends it) or **observed** (we saw it happen). When the host's
|
|
141
|
+
pages disagree, say so and test it. A probe (a card and a view that report
|
|
142
|
+
what the host sends and draws) outranks the docs.
|
|
143
|
+
2. **Jobs here.** Which jobs this host serves, which it hands to another surface,
|
|
144
|
+
and the limit from section 1 that forces each hand-off. A host serves jobs
|
|
145
|
+
from the product's one list; it never grows a strategy of its own.
|
|
146
|
+
3. **Differences.** Only where this host differs from this file, as data in the
|
|
147
|
+
profile's `.json` first and a line of prose second: its surfaces and their
|
|
148
|
+
kind, its store's rules for a listing's name, its limits, its words for our roles, its icon names, its theme map, and
|
|
149
|
+
how far our accent may go.
|
|
150
|
+
4. **Proof.** Each card rendered as the host draws it: from the host's own
|
|
151
|
+
renderer with the host's own settings, and a screenshot of the real host,
|
|
152
|
+
light and dark. Something built before the rule is not proof.
|
|
153
|
+
5. **Re-check.** Who owns the profile, when it was checked, and what makes it due
|
|
154
|
+
again: a date, or the host's changelog.
|
|
155
|
+
|
|
156
|
+
**What already ships stays until it conforms.** When a host is onboarded, the
|
|
157
|
+
cards it already shows go into a baseline and are brought to this file over
|
|
158
|
+
time; anything new follows it from the start. A host with no profile gets only
|
|
159
|
+
the probe.
|
|
160
|
+
|
|
161
|
+
## Before you hand it back
|
|
162
|
+
|
|
163
|
+
1. Is it one of the five things above, from its component, with no more than
|
|
164
|
+
two actions and the verb last?
|
|
165
|
+
2. Does it use the host's colours by role, with no hex value, no logo and no
|
|
166
|
+
decorative icon?
|
|
167
|
+
3. Does every state say itself in words, and does a described card carry its
|
|
168
|
+
text twin?
|
|
169
|
+
4. Does it hold at 320 wide, in every theme the host has?
|
|
170
|
+
5. Is every word from `words.json`, with Alis named and no command to type, and
|
|
171
|
+
is the listing AlisX, published by Alis Exchange?
|
|
172
|
+
6. Did the profile's check pass on the host's own rendering of it?
|
package/rules/icons.md
CHANGED
|
@@ -28,19 +28,21 @@ icons, not brand marks: each names its tool wherever a symbol would.
|
|
|
28
28
|
|
|
29
29
|
| Name | Tool |
|
|
30
30
|
| --- | --- |
|
|
31
|
-
| `alis_projects` | Ideate
|
|
32
|
-
| `alis_interviews` | Ideate
|
|
33
|
-
| `alis_artifacts` | Ideate
|
|
34
|
-
| `alis_environments` | Build
|
|
35
|
-
| `alis_skills` | Skill
|
|
36
|
-
| `alis_workstations` |
|
|
31
|
+
| `alis_projects` | Alis Ideate Projects |
|
|
32
|
+
| `alis_interviews` | Alis Ideate Interviews |
|
|
33
|
+
| `alis_artifacts` | Alis Ideate Artifacts |
|
|
34
|
+
| `alis_environments` | Alis Build Environments |
|
|
35
|
+
| `alis_skills` | AlisX Skill Store |
|
|
36
|
+
| `alis_workstations` | Alis Build Workstations |
|
|
37
|
+
| `alis_activity` | Activity: a place in the console, not a tool. What people and agents are doing, and have done |
|
|
38
|
+
| `alis_support` | Support: the console's heading for AlisX Specialists. Your conversations with a specialist |
|
|
37
39
|
| `alis_glass` | The Glass view: not a tool, a way of seeing every tool's things ([glass.md](glass.md)) |
|
|
38
40
|
|
|
39
41
|
- **Use one by name, exactly like a symbol**: route every `alis_` name in your
|
|
40
42
|
icon layer to the mark's geometry, so a site writes the name and never imports
|
|
41
43
|
the `CapabilityMark` component or inlines the SVG.
|
|
42
|
-
- **A mark means its tool.** Never reuse one for something else, and never
|
|
43
|
-
|
|
44
|
+
- **A mark means its tool.** Never reuse one for something else, and never draw
|
|
45
|
+
one to this spec for a feature: a new mark is a brand decision. The Glass mark is the one exception to
|
|
44
46
|
"a mark names a tool": it names the Glass view, and leads only its button, its
|
|
45
47
|
row in a menu, the Glass line, the peek and a Glass view's reading.
|
|
46
48
|
- **The geometry is the system's**, keyed by these names. A revision replaces it
|
|
@@ -69,6 +71,8 @@ never animates a mark.
|
|
|
69
71
|
| `alis_skills` | The dot runs the loop once and comes back to its place | A skill is in use: the dot keeps running it (`loop-orbit`) |
|
|
70
72
|
| `alis_environments` | The cloud floats up, the dot just behind | Deploying: a gap runs round the cloud's edge (`loop-trace`) |
|
|
71
73
|
| `alis_workstations` | The prompt nudges forward | The workstation is on: the cursor blinks (`loop-blink`) |
|
|
74
|
+
| `alis_activity` | The trace pulls back and draws out again to now, and the dot lands | Someone is working now: the dot rises and settles at the tip (`loop-tick`) |
|
|
75
|
+
| `alis_support` | The mic swings in to the mouth | A person is replying to you: the mic talks (`loop-speak`) |
|
|
72
76
|
| `alis_glass` | The light slides along the rim | The view reads something running: the live part looks about inside the lens (`loop-look`) |
|
|
73
77
|
|
|
74
78
|
- **Reach** is the button, link, menu row or navigation row holding the mark,
|
|
@@ -89,9 +93,11 @@ never animates a mark.
|
|
|
89
93
|
|
|
90
94
|
## Auxiliary areas
|
|
91
95
|
|
|
92
|
-
Activity
|
|
93
|
-
|
|
94
|
-
|
|
96
|
+
Activity and Support have their own marks, so every destination in the
|
|
97
|
+
navigation pane is drawn the same way and answers a reach the same way. An
|
|
98
|
+
auxiliary group is still told apart by its container (Support sits in the pane's
|
|
99
|
+
foot, with the account), never by its glyph. Home stays `home`: it is not a
|
|
100
|
+
tool, and the wordmark above it leads there too.
|
|
95
101
|
|
|
96
102
|
## Brand marks are not icons
|
|
97
103
|
|
package/rules/known-gaps.md
CHANGED
|
@@ -7,7 +7,7 @@ What the system doesn't decide yet, in one place. When you hit one, take the qui
|
|
|
7
7
|
- **Date and time pickers**. Use a text field with a format hint.
|
|
8
8
|
- **A bar of actions for several chosen rows** ("3 selected"). [AppCheckbox](../components/AppCheckbox.md) chooses them; what acts on them has no pattern yet. When some of the chosen are beyond the person's role, how the bar counts and reports them is already settled ([access.md](access.md) § Several at once).
|
|
9
9
|
- **The marketing components** (`.ax-*`, alisx.com) are not in this package: it covers the product register. A layout class for a grid of lattices is missing too.
|
|
10
|
-
- **What the Skill
|
|
10
|
+
- **What the AlisX Skill Store and AlisX Specialists offer**, beyond their one-line descriptions in [README.md](README.md). Marketing copy about them needs a product brief.
|
|
11
11
|
- **A standalone bulk uploader**, beyond conversation attachments. Conversation uploads are covered by [AppAttachment](../components/AppAttachment.md) and [AppComposer](../components/AppComposer.md).
|
|
12
12
|
- **A dismissible alert**.
|
|
13
13
|
- **A full-size view** ([page.md](page.md) § A full-size view) has no classes yet: build its bar from the title bar's parts and its ground from `machine-surface`'s black stage or `surface`, and mark it `GAP`.
|
|
@@ -20,6 +20,10 @@ What the system doesn't decide yet, in one place. When you hit one, take the qui
|
|
|
20
20
|
- **An account's own roles, and seats.** `words.json` names the roles on a thing (Owner, Editor, Viewer); an account's roles (an admin, a builder, a curator) and its seats are not in it yet. Say what the person needs in the screen's own words ("ask an admin of Acme"), and add the entries with the first change.
|
|
21
21
|
- **Admin's words.** `words.json` names what Alis Ideate, Build and every product share; Admin's own things are not in it yet. Name them as the screen already does, and add the entry with the first change ([words.md](words.md)).
|
|
22
22
|
- **A terminal's drawn text.** `alisx-check words --text` reads the CLI's words file: its help, `alis docs`, the TUI's views and actions, tips, the tour and errors. Text the TUI writes straight into a screen (column headers, intros, empty states) is not in that file yet; review it by eye against `words.json` ([terminal.md](terminal.md)).
|
|
23
|
+
- **Hosts.** The checks a host profile asks for (`alisx-check cards`, a profile past its date) and the card templates aren't built yet ([hosts.md](hosts.md)).
|
|
24
|
+
- **Increase contrast** (`prefers-contrast: more`) has no answer; nothing writes a rule for it yet ([themes.md](themes.md) § Modes).
|
|
25
|
+
- **A chart in contrast or under forced colours** loses its series colours: the categories collapse to ink. Label every series directly, or give it a pattern, until charts have a contrast answer ([themes.md](themes.md)).
|
|
26
|
+
- **A Glass view in contrast or under forced colours** hasn't been looked at: its rim and grid drop away and its edge takes the contrast edge, but nobody has checked it reads ([glass.md](glass.md), [themes.md](themes.md) § Contrast and forced colours).
|
|
23
27
|
- **A log viewer.** "View logs" goes to the logs' own screen; there is no pattern for showing logs inside a pane.
|
|
24
28
|
- **Each product's destinations** (the rows under its heading in the rail) are product content, not part of this system. Use the capability marks for the tools they name.
|
|
25
29
|
|
package/rules/motion.md
CHANGED
|
@@ -93,11 +93,12 @@ on every screen.
|
|
|
93
93
|
| `loop-dots` | 1.2s | The working dots, the Alis mark's loader, the recording dot |
|
|
94
94
|
| `loop-pulse` | 1.6s | Something live or running: a live dot, a running state |
|
|
95
95
|
| `loop-breathe` | 3.2s, there and back | A large, calm glow: the composer's light, the voice orb; a Glass theme still forming |
|
|
96
|
-
| `loop-orbit` | 3.2s, even | A capability mark's dot going round its path while live: the Skill
|
|
96
|
+
| `loop-orbit` | 3.2s, even | A capability mark's dot going round its path while live: the AlisX Skill Store's |
|
|
97
97
|
| `loop-flow` | 4s, even | A particle on a Glass view's field: an event happening now |
|
|
98
98
|
| `loop-look` | 5s, there and back | The Glass mark's live part looking about while a Glass view reads live |
|
|
99
|
-
| `loop-speak` | 1.3s | The Interviews mark's first line talking while someone answers |
|
|
99
|
+
| `loop-speak` | 1.3s | The Interviews mark's first line talking while someone answers; the Support mark's mic while a person replies |
|
|
100
100
|
| `loop-trace` | 2.2s, even | A gap running round the Environments mark's cloud while it deploys |
|
|
101
|
+
| `loop-tick` | 1.8s | The Activity mark's dot rising and settling at its trace's tip while someone is working now |
|
|
101
102
|
| `loop-blink` | 1.1s, on and off | The red cursor; the Workstations mark's cursor while a workstation is on |
|
|
102
103
|
|
|
103
104
|
**On a Glass view, motion means something is live** and nothing else: a particle
|
package/rules/quick-start.md
CHANGED
|
@@ -56,11 +56,12 @@ AppShell
|
|
|
56
56
|
| A form | `.app-form` of fields, one filled action last (see § Forms) |
|
|
57
57
|
| A form in named steps | `AppStepper` at the top of the form's card; Back on the leading edge, one filled forward action ([page.md](page.md) § A form in steps) |
|
|
58
58
|
| Text | `AppTextField` (with `action` for one that collects several values, shown as input `AppChip`s below) |
|
|
59
|
-
| A code from an email or a device | `AppCodeField`: one input drawn as cells; it
|
|
59
|
+
| A code from an email or a device | `AppCodeField`: one input drawn as cells; it sends itself once, when the last character lands |
|
|
60
60
|
| One choice from a list | `AppSelect`; past about ten options, or to choose several, `AppCombobox` |
|
|
61
61
|
| An on/off setting | `AppSwitch` |
|
|
62
62
|
| Several of a list, or something to agree to | `AppCheckbox`; one of a few short options is its radio ([page.md](page.md) § Which control) |
|
|
63
63
|
| A choice among cards, labelled | `AppSelectTile`s in an `AppFieldset` |
|
|
64
|
+
| Things a person browses and opens (skills, projects, templates) | `.app-card-grid` of `AppCard`s you open, in five zones with the foot at the bottom ([AppCard](../components/AppCard.md) § In a collection) |
|
|
64
65
|
| A person, an organisation, or an icon leading a row | `AppAvatar`: a person round, a thing a square tile; 24, 36 or 80 |
|
|
65
66
|
| Detail few people need | `AppDisclosure`, closed by default |
|
|
66
67
|
| Views that switch in place inside a pane or a dialog | `AppSegmented` at its head; never tabs |
|
package/rules/register.md
CHANGED
|
@@ -20,6 +20,12 @@ What am I building?
|
|
|
20
20
|
│ (Show it or explain it)
|
|
21
21
|
├─ An email → PRODUCT, built from the
|
|
22
22
|
│ email shell (email.md)
|
|
23
|
+
├─ A card or a widget inside another product's
|
|
24
|
+
│ conversation (Teams, Copilot, ChatGPT, Slack) → THE HOST'S look, by
|
|
25
|
+
│ hosts.md and its profile
|
|
26
|
+
├─ A page filling another product's frame
|
|
27
|
+
│ (a Teams tab) → PRODUCT, on the host's
|
|
28
|
+
│ theme (hosts.md)
|
|
23
29
|
└─ alisx.com, a landing page, a deck → NARRATIVE
|
|
24
30
|
```
|
|
25
31
|
|
package/rules/spacing.md
CHANGED
|
@@ -94,6 +94,10 @@ short paragraphs read in bursts, so the print range of 45 to 75 doesn't apply;
|
|
|
94
94
|
|
|
95
95
|
- Lay out sibling groups with flex or grid and `gap`. Never margins on each child,
|
|
96
96
|
never whitespace between inline elements.
|
|
97
|
+
- **Spacing is set once, by the container.** A part of a card, a row or a pane
|
|
98
|
+
that pads itself adds to the container's gap, and the sum lands off the scale
|
|
99
|
+
(8 + 12 + 8 is 28). Where two parts need a different gap, the component draws
|
|
100
|
+
it (AppCard's 16 around its cover and foot); a site never does.
|
|
97
101
|
- **A fixed height on anything containing text is a defect.** Let it grow.
|
|
98
102
|
- Nothing is positioned absolutely except decoration and overlays.
|
|
99
103
|
- Mobile is in scope for every rule here.
|
package/rules/styling.md
CHANGED
|
@@ -112,7 +112,10 @@ The package ships what can be linted, so every app checks the same things
|
|
|
112
112
|
- **`alisx-check names`** fails on a system class or a custom property the
|
|
113
113
|
installed version doesn't have (`classes.json`): a misspelt class renders
|
|
114
114
|
unstyled and says nothing. A property that arrives at run time (a client's
|
|
115
|
-
theme) is known once the file that declares it is named.
|
|
115
|
+
theme) is known once the file that declares it is named. The
|
|
116
|
+
`--contrast-*` properties `classes.json` lists are the contrast block's own
|
|
117
|
+
slots: never use them in your CSS; use the roles, and the block draws high
|
|
118
|
+
contrast ([themes.md](themes.md) § Contrast and forced colours).
|
|
116
119
|
|
|
117
120
|
Check by hand what a linter can't see: a computed style binding, a value behind
|
|
118
121
|
a variable of your own, a case transform in code (`toUpperCase()` on
|
package/rules/surfaces.md
CHANGED
|
@@ -35,6 +35,12 @@ heading or a divider.
|
|
|
35
35
|
instrument, and its hover is the link's state layer, never a lift.
|
|
36
36
|
- **Cards in a collection are coplanar**: the same resting elevation and the same
|
|
37
37
|
left and right edges.
|
|
38
|
+
- **A card's parts bring no padding of their own**: the card's padding and gap
|
|
39
|
+
space them. **Cards in a collection share one shape**: `.app-card-grid` and the
|
|
40
|
+
five zones in [AppCard](../components/AppCard.md) § In a collection, so a new
|
|
41
|
+
fact fits a zone or goes on the thing's page, never a new row.
|
|
42
|
+
- **A card you open holds nothing else to press**: no menu, no button. What you
|
|
43
|
+
might do to one item lives on its page, or once in the section's heading row.
|
|
38
44
|
- **A table, a skeleton and a list paint no surface.** Each takes the one it sits
|
|
39
45
|
on: the ground on a page, white in a card, a dialog or a menu. So a list in a
|
|
40
46
|
pane, the rail, a statement or a card is transparent, and a table or skeleton
|