| id | 206 |
|---|---|
| title | Document cue/ in architecture layering map |
| status | ✅ |
| summary | cue/types was added as a public Go package outside internal/ and pkg/, but is not in the layering map. Also add the required exemption comment to cue/types.Source(). |
| model | |
| depends-on |
cue/types/types.go was added and is
imported by internal/schema/shortcuts.go.
It sits outside both internal/ and
pkg/, analogous to pkg/markdown but
for CUE consumers. Two gaps need fixing:
cue/is absent from the layering diagram indocs/development/architecture/index.md.Source()is a trivial accessor that qualifies for the test exemption but lacks the required comment.
- Update the layering diagram in
docs/development/architecture/index.mdto showcue/typesat the bottom layer alongsidepkg/markdown. - Add one sentence in the layering
prose explaining
cue/types. - Add the comment
// no test by design: trivial embed accessortofunc Source()incue/types/types.go. - Run
go run ./cmd/mdsmith check ..
- The layering diagram in
docs/development/architecture/index.mdshowscue/types. -
Source()has a "no test by design" comment. -
go run ./cmd/mdsmith check .reports no issues.