Skip to content

fix linting - #5

Merged
JRojowski merged 2 commits into
mainfrom
work/dev-kit-bootstrap
Jul 16, 2026
Merged

fix linting#5
JRojowski merged 2 commits into
mainfrom
work/dev-kit-bootstrap

Conversation

@JRojowski

Copy link
Copy Markdown
Collaborator

What

Bootstraps the dev-kit spec-driven pipeline into this repo so every teammate gets it on git pull with no per-user setup. Vendored runtime v0.5.5.

Vendored runtime (.claude/)

  • skills/{dev-kit,work-research,work-tests,work-plan,work-execute,work-docs}
  • agents/{coder,e2e-tester}, hooks/quality-gate.sh, dev-kit.manifest

Quality gate — routed (polyglot repo)

.claude/quality-gate.routes runs only the service that changed:

Service Build Test
src/shippingservice go build ./... go test ./...
src/productcatalogservice go build ./... go test ./...
src/frontend go build ./... go test ./...
src/checkoutservice go build ./... go test ./...
src/cartservice dotnet build …sln dotnet test …
protos/ composite build of consumers composite test

Scope confirmed with the team: Go + C# only — what CI unit-tests (.github/workflows/ci-pr.yaml) and the only stacks that build/test fast without Docker/a cluster. Node/Python/Java (adservice) changes fall to each task's acceptance check + the full skaffold e2e.

Config

  • CLAUDE.md — workflow anchor (orchestrator discipline), per-service Commands, Structure.
  • docs/test/README.md — e2e runbook: full-stack skaffold bring-up + per-service browser smokes.
  • Branch-per-unit → squash PR → manual merge.

Also included

  • fix(checkoutservice): status.Errorf(codes.Internal, err.Error())%s verb — a pre-existing go-1.26 vet failure surfaced while wiring the gate (CI never tested checkout).

Verification

  • Every route's build + test green on a clean checkout (Go: 15/4/100/67 tests; C#: 3).
  • Routing proven: a shipping change runs only the shipping route and blocks on a compile error (exit 2); a clean tree no-ops; docs/work/ artifacts only produce a non-blocking NOTE.
  • Hook timeout 600s (cold-start headroom); .claude/ and docs/ not gitignored.

Note for reviewers

The pipeline activates only when Claude Code starts with this repo as root. After merge, restart in the repo dir to use it. Native-Windows devs need bash on PATH (Git Bash/WSL) for the gate hook.

go 1.26's go vet rejects passing a non-constant string (err.Error()) as the
format argument to status.Errorf. Pass it via %s so the error can never be
misinterpreted as a format string. Surfaced while wiring the dev-kit quality
gate (go test ./... runs vet).
…igure quality gate, workflow anchor, e2e runbook)

Vendor the dev-kit runtime (v0.5.5) into the repo so every teammate gets the
pipeline on git pull with no per-user setup:
- .claude/skills/{dev-kit,work-*}, .claude/agents/{coder,e2e-tester},
  .claude/hooks/quality-gate.sh, dev-kit.manifest
- Routed quality gate (.claude/quality-gate.routes): per-service Go + C# build/test
  (shipping, productcatalog, frontend, checkout, cartservice) + protos composite;
  Node/Python/Java left to each task's acceptance check (not CI-tested).
- CLAUDE.md workflow anchor + per-service Commands + Structure.
- docs/test/README.md e2e runbook: full-stack skaffold bring-up + per-service smokes.
- Branch-per-unit + squash-PR policy.
@JRojowski
JRojowski merged commit e341ed3 into main Jul 16, 2026
@JRojowski
JRojowski deleted the work/dev-kit-bootstrap branch July 16, 2026 10:22
@JRojowski JRojowski changed the title chore(dev-kit): bootstrap spec-driven pipeline fix linting Jul 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant