Diene Go library template

Diene's reproducible development environment is managed by Nix. Run direnv allow once, then use pls tasks from the loaded shell.
This repository inherits the all-features workspace baseline: split CI/CD,
secrets, release configuration, validators, standards, and vendored agent-skill
synchronization.
Commands
pls setup — synchronize installed diene package skills.
pls lint — run every pre-commit gate.
pls secret:scan — scan tracked content for secrets.
pls skills:sync — rebuild .claude/skills/vendor/ from installed packages.
Publishable Go module
github.com/AtomiCloud/diene.go-lib is the reusable parent for the
github.com/AtomiCloud/diene.go-* module family. It demonstrates small public
packages, a consumer-facing testhelper package, strict black-box tests, and
tag-based publication through the Go proxy.
go get github.com/AtomiCloud/diene.go-lib@latest
value := note.New("Living Documentation", "pkg.go.dev examples stay executable")
Go commands
pls build — build every package in the module.
pls typecheck — compile every source package without running tests.
pls test / pls test:coverage — run unit, integration, and active meta tiers.
pls deadcode — run strict whole-repository and production passes plus the LLM-lax report.
pls up / pls down — start or stop local Redis.
./scripts/ci/pkg-validate.sh all — run module-path, vet, API, docs, and example validators.
See the Go baseline for the language contract and
template-maintenance boundary.
See the Go library baseline for promotion,
testing, compatibility, and publication policy.
Standards
Shared standards
Domain-specific documentation belongs under docs/domain/.
The docs/standards/contracts/ location is reserved for the separately owned C0
contracts standard.
Go language variants