mix cohere.design (Cohere v0.1.0)

Copy Markdown View Source

The start verb of the feature loop — and, with no arguments, the listing.

$ mix cohere.design                                    # list designs + statuses
$ mix cohere.design deal-reversals --contexts deals,billing
$ mix cohere.design deal-reversals                     # contexts from the branch diff
$ mix cohere.design deal-reversals --base develop      # …diffed against a given ref

Scaffolds cohere/design/deal-reversals.md (status: draft) and assembles its Existing ground: for each anchored context, the current API from the map plus the invariants and decisions from its intent card — the constraints the design should be shaped against, delivered onto the page where the designing happens.

With --contexts omitted, the anchors are inferred from the branch diff, the way mix cohere.packet --diff maps changed files to the contexts that own them. Design-first stays the primary path — the flag is explicit intent; inference serves the retrofit, where the change is underway before anyone admits it deserved a design.

Anchoring a context that doesn't exist yet is fine — the design may be the thing that introduces it; mix cohere.complete verifies it landed.

Iterate with mix cohere.check; land with mix cohere.complete <slug>.