Authoring
Authoring is where you describe meaning. You declare what your software is (typed structures, what can happen, who may do it, what it emits) and nothing about how any framework represents it. Packs turn that meaning into code.
Both languages describe the same concepts and compile to the same IR, so you can pick the language your team already writes and still use every pack.
What you describe
| Concept | In one line | Reference |
|---|---|---|
| Property | A reusable value type: string.uuid, an enum, a union, a date | Properties |
| Schema | Typed structure built from fields: entities, requests, responses | Schemas |
| Operation | What happens: one input, one output, failures, events | Operations |
| Event | A business occurrence with an optional payload | Events |
| Failure | A named, typed way an operation can fail | Operations |
| Policy | A reusable rule or required context, not a framework guard | Policies |
| Workflow | Orchestration over operations and events | Workflows |
| View | A user-facing composition of parts on a surface | Views |
| Group / feature | Ownership and registration scopes | Groups |
Start with the Quick start, then keep the Cookbook open while you work. The canonical vocabulary is the full reference.
Rules that keep authoring honest
- Register before you reference. A reusable declaration must be registered on a group before another declaration can use it. Registration returns a lightweight typed ref.
- Meaning, not representation. Say "this field is a UUID and is generated by the system", not "this column is
uuidwith a default". Packs decide the representation. - Names are semantic. Group, app and registration names never contain
.; the compiler qualifies identities (users+Userbecomesusers.User). - One input, one output. An operation takes a single input (a schema or named fields) and returns a single output.
- No hidden conventions. If generated code needs a fact, there is a place in the model to state it.
Agents
Authoring is deliberately explicit, so agents do well with it. Run dryv docs authoring for the built-in tips and dryv docs agents for the working rules.