feat(cli): land Slice 0 foundation walking skeleton - #50
Merged
Conversation
added 6 commits
July 10, 2026 14:03
Pin the supported Go baseline, minimal runtime dependencies, and strict formatting, linting, and security checks for Slice 0. GSTACK-Checkpoint: 2026-07-10/slice-0-foundation#1 Signed-off-by: Gnani Rahul <gnani.nutakki@gmail.com>
Implement build metadata, fail-safe config precedence, structured logging, and the source-abstract FleetResult stub seam with table-driven tests. GSTACK-Checkpoint: 2026-07-10/slice-0-foundation#2 Signed-off-by: Gnani Rahul <gnani.nutakki@gmail.com>
Wire Cobra commands to the stub fleet source, provide deterministic text and JSON output, and verify the real binary boundary with subprocess smoke tests. GSTACK-Checkpoint: 2026-07-10/slice-0-foundation#3 Signed-off-by: Gnani Rahul <gnani.nutakki@gmail.com>
Run module verification, formatting, vet, pinned lint, build, race tests, coverage, and process-level e2e checks with least-privilege action permissions. GSTACK-Checkpoint: 2026-07-10/slice-0-foundation#4 Signed-off-by: Gnani Rahul <gnani.nutakki@gmail.com>
Replace the planning-only README with runnable build guidance and capture implementation, validation, review, and commit checkpoints in the GSTACK journal. GSTACK-Checkpoint: 2026-07-10/slice-0-foundation#5 Signed-off-by: Gnani Rahul <gnani.nutakki@gmail.com>
The v9 action invokes golangci-lint run itself, so provide only the ./... package pattern and record the failed remote run in the GSTACK journal. GSTACK-Checkpoint: 2026-07-10/slice-0-foundation#6 Signed-off-by: Gnani Rahul <gnani.nutakki@gmail.com>
6 tasks
Exercise the real make build path with deterministic ldflags and assert the compiled binary reports the injected version, commit, and date. GSTACK-Checkpoint: 2026-07-10/slice-0-foundation#7 Signed-off-by: Gnani Rahul <gnani.nutakki@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
make build, structured logging, and fail-safe configuration precedencefleet.Source/FleetResultseam with a typed emptyStubSourcesith version,sith clusters,sith ui, andsith hubwith deterministic text/JSON behaviorSecurity and maintenance corrections to the draft spec
go.yaml.in/yaml/v3v3.0.4 instead of the archivedgopkg.in/yaml.v3sourceValidation
make ciwith Go 1.25.12 and golangci-lint v2.12.22628d29go test -race -count=1 -coverprofile=coverage.out ./...go test -race -count=1 -tags=e2e ./tests/e2e, including deterministic Makefile/ldflags metadata injectiongovulncheck ./...: no vulnerabilities foundThe process-level e2e suite is the meaningful integration boundary for this stub-only slice. The required two-real-cluster kind proof starts in Slice 1, where kubeconfig fan-out and Kubernetes API behavior exist; adding client-go here would violate Slice 0's explicit non-goals.
The authoritative build-plan/spec PR remains separate; this change includes only the session scaffold required by #47 and does not duplicate plan documents.
Closes #47