Roadmap
Copy MarkdownThe current release line is 0.4.0 (prepared; not yet published). The
completed feature set is recorded in CHANGELOG.md and the
usage guide. This file tracks only work that is not implemented yet.
Waiting on the compiler
These depend on Elixir shipping native type signatures or typed structs. The internal seams exist, but the syntax is not stable enough to parse.
- Native signature source.
ToolCall.TypeSourceaccepts another source that returnsToolCall.TypeSource.Declaration. Such a source would emitToolCall.TypeExprdirectly instead of typespec AST, and no builder, IR, or emitter change is needed. - Typed struct fields.
ToolCall.Structsreads@type ttoday throughToolCall.LegacyTypespec. Once typed structs carry field types and field docs, that module becomes the replacement point, and struct properties gain descriptions. if_set/not_set. Optional versus nullable keys become distinguishable at the type level, which changesrequiredlists rather than the wire subset.
Deferred by choice
These are implemented partially, or deliberately left for later.
- Set-theoretic projection beyond the exact cases.
ToolCall.TypeExpr.Projectionlowers what JSON Schema can carry exactly: maps, tuples, integer ranges, literals, enums, identical refs and remotes, and string constraint narrowing. A bare complement or a disjoint-kind intersection still reports:unsupportedand warns. Extending that means deciding on more set operations, not turning on something already written. Seeprojection.md. - Diagnostic severity for shipped sources. The builder fails the compile on
an
:errordiagnostic and honours a diagnostic's own@specposition, but every shipped source still reports:warning;:errorexists for sources that cannot skip a declaration.
Later / not scheduled
- Nested or remote typedoc inheritance if a description-composition model is chosen.
Design boundaries
The limits that are intentional rather than planned are documented in
design.md.