mix cohere.packet (Cohere v0.1.0)

Copy Markdown View Source

Prints a work packet — map slices, intent cards, anchored designs (drafts inlined as live intent, accepted as pointers), per-directory agent guidance, related routes, and runtime-verification pointers — for the contexts a task touches.

$ mix cohere.packet deals billing        # contexts named explicitly
$ mix cohere.packet --diff                # contexts touched by this branch
$ mix cohere.packet --diff --base develop # …diffed against a given ref
$ mix cohere.packet deals --out packet.md

With --diff, cohere maps the branch's changed files to the contexts that own them (reflection over compiled modules, not path guessing) and assembles the packet for exactly those — the dispatch integration point: a work loop calls it with no arguments and gets the right slice. --base sets the ref to diff against (default main).

Feed the packet to whatever does the work: paste it into a session, wire it into a dispatch prompt, or hand it to a teammate. Context delivered, not discovered.