scripts/*.generated.*Generated scripts and tools
Workspace scripts implement operations that are too stateful or detailed for portable Make recipes.
When to use
Use this reference when generating, reviewing or operating a Service Architect project.
Behavior
- Merge scripts apply file ownership, mode preservation, diagnostics and post-merge interface validation.
- Kubernetes orchestration manages registry, k3s, infrastructure charts, service releases and verification.
- Dependency-cache scripts bootstrap Nexus, Git mirrors and package-manager environments.
- Temporal scripts initialize PostgreSQL schemas and create the configured namespace idempotently.
- Language scripts encapsulate CMake builds, sanitizers, lint, formatting, integration tests and standalone packaging.
- tools contains pinned or downloaded command wrappers used by generated Make targets.
Common workspace scripts
Scripts present across generated language workspaces.
clone.generated.shGenerated executableRestore independently published components at moduleVersion.
scripts/merge.generated.shGenerated executableMerge a complete archive into an existing workspace.
scripts/merge-overwrite.txtGenerated policyExact public paths that remain generator-owned without generated in the basename.
scripts/merge_validate.generated.pyGenerated validatorVerify generated/business interfaces and emit structured diagnostics.
scripts/merge_file.sh + merge_post.shPreserved hooksOptional project merge extensions.
scripts/kubernetes.generated.shGenerated executableBuild, deploy, test, inspect and remove the local cluster.
scripts/dependency-cache.generated.shGenerated executableManage Nexus and Git mirror lifecycle.
scripts/dependency_cache_bootstrap.generated.pyGeneratedConfigure proxy repositories idempotently.
scripts/git_mirror.generated.cgiGeneratedServe cached Git repositories.
scripts/dependency-source-cache.generated.shGeneratedInvalidate source/CMake state without discarding expensive caches.
scripts/temporal/create-namespace.generated.shGeneratedCreate the graph namespace when absent.
scripts/temporal/setup-postgres.generated.shGeneratedPrepare Temporal PostgreSQL persistence.
Language-specific scripts
Additional generated executables selected by a backend.
scripts/build.generated.shC++Drive the canonical containerized CMake build.
scripts/cmake-docker.generated.shC++Run CMake actions in the reusable toolchain image.
scripts/conan-install.generated.shC++Resolve pinned C++ package dependencies.
scripts/lint.generated.sh + format.generated.shC++Run clang tooling consistently in Docker.
scripts/test.generated.shC++Execute generated unit test targets.
scripts/sanitizer-test.generated.shC++Build and execute ASan/UBSan or TSan variants.
scripts/integration-test.generated.shC++Run generated cross-service transport scenario.
scripts/package-cpp-service.generated.shC++Create independent service trees under dist/.
scripts/package-rust-service.generated.shRustCreate standalone Cargo service repositories.
scripts/package-typescript-service.generated.shTypeScriptCreate standalone npm service repositories.
scripts/run-with-progress.generated.shC++/TypeScriptPrint progress for long silent dependency/build steps.
scripts/node-diagnostics.generated.mjsTypeScript serviceWrite Node reports and heap snapshots on signals.
Tool directory
Pinned tools downloaded or exposed by generated Make targets.
tools/bufSchemasFormat and generate protobuf artifacts.
tools/protoc + protoc-gen-*Go/protobufCompile descriptors and Go protobuf/gRPC bindings.
tools/oapi-codegenGo/OpenAPIGenerate Go HTTP API bindings.
tools/golangci-lintGo qualityRun generated Go lint policy.
tools/actLocal CIExecute GitHub Actions workflows locally.
tools/gh + tools/glabRepository publishingCreate and push GitHub/GitLab component repositories.
tools/userverC++ frameworkPinned/local userver source and patches for C++ generation.
tools/typescript-bufTypeScript schemasPinned TypeScript protobuf generation tool.
Script-backed commands
make merge-check -> scripts/merge.generated.sh --dry-run
make kubernetes-up -> scripts/kubernetes.generated.sh up
make cpp-asan-test -> scripts/sanitizer-test.generated.sh
make typescript-package -> scripts/package-typescript-service.generated.sh