Workshop: Type System Rationalization

This workshop is now mostly complete. The implemented design has been promoted into ADRs, and the exploratory notes that led to those decisions have been removed from the active workshop.

Accepted outcomes

Together these ADRs capture the settled design:

  • types are structural
  • traits route semantic review
  • frontmatter type identifies artifact kind
  • directory-local types/ directories scope definition lookup rather than replacing type identity
  • bare type names remain acceptable while unambiguous
  • machine-readable type definitions are authored JSON Schema in YAML syntax

What remains in this workshop

Only the parts that are still deferred or intentionally not implemented:

Why these parts remain local

The remaining work is mostly operational sequencing, not unresolved type-system theory.

In particular, recursive sweep expansion under kb/notes/** is intentionally deferred because changing the review base while the DB and review tooling are still moving would create unnecessary churn.

Historical note

This workshop originally reconciled three competing signals:

  • frontmatter type
  • directory-scoped types/ templates
  • path-based conventions and exemptions

That design work is now captured by the ADRs above. The workshop stays only as a holding area for the deferred review-side follow-up.