Changelog
Unreleased
Breaking
- Removed in-repository
layout/; generated service templates, generated service Makefile behavior, deploy manifest templates, layout docs and smoke tests now belong toaisphereio/kernel-layout. - Removed in-repository
validation/; scenario validation should live in independent validation projects, generated service tests or CI temporary generated projects. - Removed root
buf.gen.deploy.yaml; generated-servicemake deploybelongs tokernel-layout. - Removed legacy
errors/package completely. - Removed orphan
third_party/errors/errors.proto; no Kernel proto imports it. - Marked
grpcgatewayxas not-mainline; use upstream grpc-gateway generator,protoc-gen-go-gatewayandgatewayx. - Kept
aisphere/access/v1/access.protoonly as a compatibility wrapper; new proto files must importapi/aisphere/access/v1/access.proto.
Changed
kernel newnow resolves service templates through explicit sources only:--repo,KERNEL_LAYOUT, thenhttps://github.com/aisphereio/kernel-layout.git.- Kernel root
Makefilenow focuses on Kernel runtime/tooling verification; generated service workflow is documented askernel-layoutresponsibility. - Clarified
authzvsaccessx:authzis the provider contract, whileaccessxis the request-time guard/orchestrator. - Clarified
authn.IdentityAdminvsiamx.Directory:IdentityAdminmanages external IdP projections, whileDirectorystores Kernel IAM control-plane facts. - Clarified
resourcex.Grantvsauthz.Relationship: grant is the durable control-plane fact, relationship is the query-optimized authorization projection.
Added
- Added Kernel package boundary index and runtime-boundary documentation.
- Added Windows-first toolchain wrappers:
scripts/tools.cmd,scripts/test-cmd.cmd. - Added HTTP
ErrorResponseshape based on stable businesscodeand safe public metadata. - Added gRPC adapter for converting
errorxtostatus.Statusand remotestatus.Statusback intoerrorx. - Added error-code validation helpers:
ValidateCode,MustCode,MustValidCodes. - Added sensitive-key redaction for public metadata.
Migration notes
- For Kernel repository development, run:
make tools
make api
make proto-check
make verify
- For generated service projects, run the generated service Makefile from
kernel-layout:
make tools
make api
make deploy
make proto-check
make verify
- Do not import
cmd/*,layout/*,validation/*or deprecated paths from business code.