docs(frontend): add numeric reuse governance#5554
Conversation
|
All contributors have signed the CLA. Thank you! ✅ |
|
I have read the CLA Document and I hereby sign the CLA |
Subagent observation QARan three independent read-only QA agents against this PR branch to observe whether the new frontend governance docs actually steer agents toward reusable design-system primitives. Scenario 1: same
|
Research-backed expressive surface governance follow-upAdded commit Plan applied
New concepts landed
DESIGN.md now requires an Aesthetic Intent BriefFor non-trivial visual surfaces, the agent must declare:
This turns subjective user intent into observable QA targets instead of letting the model default to generic consistency. Research anchors
Verification
|
Summary
Verification
.omo/evidence/frontend-numeric-reuse-budget/red-doc-contract.txtexit=0,numeric reuse governance contract presentexit=0,frontend skill routes to enforceable numeric reuse governanceexit=0,frontend governance docs paths readableexit=0,utf-8 clean; no BOM/mojibake markersgit diff --checkclean for the three edited filesNotes
These numeric thresholds are written as conservative agent-governance defaults. The docs distinguish externally backed design-system limits from pragmatic local controls so reviewers can tune the exact numbers without losing the enforceable workflow.
Summary by cubic
Adds numeric reuse governance and expressive-surface intent to frontend docs and routing so UI stays within clear budgets while allowing intentional campaign/marketing expression. Also syncs the builtin
frontendskill metadata to advertise these rules.New Features
DESIGN.mdreuse budget ledger, adds surface intent selection, reconciles imagegen to existing tokens/components, and checks that expressive layers sit outside reusable budgets.design-system-architecture.md: Section 1 adds an Aesthetic Intent Brief; Section 5 formalizes the reuse budget table and reviewer checklist; motion/depth QA now ties back to intent.frontendskill description inskills-loader-coreto reflect numeric reuse governance and expressive intent.Migration
DESIGN.md: add the Section 5 reuse budget ledger, choose a surface label and intent, and complete the Aesthetic Intent Brief before coding.DESIGN.mdbefore exceeding; collapse imagegen output into existing tokens/components.Written for commit 9c9d484. Summary will update on new commits.