docs: move the design system's decisions into the repository - #92
Merged
Merged
Conversation
Goals, ranked principles, scope, patterns, the content guide and the new-surface steps existed only in the design-system artifact, so coding agents reading AGENTS.md never saw them. They now live in docs/design-system/, with a one-source-per-question index, a changelog, and a list of decisions not made yet (ownership, communication, feedback, metrics, deprecation). No screen changes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
The Device Console's goals, ranked principles, scope, recurring-task patterns and content guide were written on 23–24 Sep for the design-system artifact and existed only there. Coding agents read
AGENTS.md→UI_UX.md, so they never saw them: of the seven principles, only "affordance before instruction" had reached the repo, and none of the goals or the scope table.Change
docs/design-system/:DIRECTION.md(goals, principles in the order they win, scope),DESIGN.md(visual language and "one way per repeated thing"),PATTERNS.md,CONTENT.md,BUILDING-A-SURFACE.md, copied from the artifact. Every path and the checked specifics (fonts,--primaryvalues, skeleton names,max-w-6xlshell) were verified against70aaba0; artifact-only references (component cards,bundle.css,tokens.json) were rewritten for the repo.docs/design-system/README.md: one source per question.UI_UX.mdstays the owner of the information architecture, so nothing competes with it. It also lists what is not decided yet (ownership, communication, feedback, metrics, deprecation) so agents flag those instead of assuming.docs/design-system/CHANGELOG.md: first entry, with change classes.AGENTS.md,UI_UX.mdanddocs/README.md.Docs only; no screen, token or component changes.
Open decisions (not in this PR)
Which goal each principle serves, what is deferred in scope, who approves a design-system change, how system work is prioritised, and which number shows the system works.
🤖 Generated with Claude Code