Skip to content

feat: agent contract generated from component source — props, princip… - #17

Merged
acaspx merged 1 commit into
mainfrom
feat/generated-contract
Jul 27, 2026
Merged

feat: agent contract generated from component source — props, princip…#17
acaspx merged 1 commit into
mainfrom
feat/generated-contract

Conversation

@acaspx

@acaspx acaspx commented Jul 27, 2026

Copy link
Copy Markdown
Owner

…les, dense mode at /r/contract.json

What

Why

Definition of done (components only)

  • Single-file registry component (React + Tailwind + Motion only)
  • Interactive demo showing every state
  • Doc page (intro, when to use, behavior, usage)
  • Registered in lib/nav.ts and scripts/build-registry.mjs
  • Header comment cites the principles applied
  • npm run build passes clean

Principle check

  • State is never communicated by color alone
  • Failures keep their inputs visible
  • Nothing irreversible happens without consent
  • Any confidence display uses bands, not decimals

@acaspx
acaspx merged commit 9204d7e into main Jul 27, 2026
1 check passed
@acaspx
acaspx deleted the feat/generated-contract branch July 27, 2026 21:04
@acaspx
acaspx restored the feat/generated-contract branch July 28, 2026 01:01
@acaspx
acaspx deleted the feat/generated-contract branch July 29, 2026 06:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant