Cybersecurity-Projects/PROJECTS/beginner/canary-token-generator/backend/internal/token/generators
CarterPerez-dev ceec4d37d1 feat(canary): register kubeconfig generator in registry
Fifth entry in the registry map. Cardinality bumps 4 → 5; pending list
shrinks to {envfile, mysql} (2 remaining).

  - registry.go: adds the import + token.TypeKubeconfig: kubeconfig.New()
  - registry_test.go:
      - TestBuild_RegistersKubeconfig added (mirrors RegistersPDF)
      - TypeKubeconfig removed from TestBuild_PendingTypesNotYetRegistered
      - TestBuild_OnlyExpectedTypesPresentInPhase5 renamed → InPhase6,
        cardinality assertion bumped 4 → 5

Pre-audit gate clean at HEAD: go build ./... + go vet ./... + go test
-race -timeout=60s ./... + go test -tags=integration -race -timeout=300s
./internal/token/... ./internal/event/... + golangci-lint run ./...
all pass with 0 issues.
2026-05-13 14:22:32 -04:00
..
docx fix(canary-phase4): address audit nits before rollup 2026-05-13 03:19:13 -04:00
kubeconfig feat(canary): kubeconfig fake K8s API handler (forbidden response) 2026-05-13 14:22:19 -04:00
pdf feat(canary): pdf generator (byte-replace fixed-width URI action) 2026-05-13 13:54:24 -04:00
pixel fix(canary-phase2): address audit findings before rollup 2026-05-12 02:56:29 -04:00
registry feat(canary): register kubeconfig generator in registry 2026-05-13 14:22:32 -04:00
slowredirect fix(canary-phase3): address audit findings before rollup 2026-05-12 06:46:45 -04:00
webbug fix(canary-phase2): address audit findings before rollup 2026-05-12 02:56:29 -04:00
generator.go fix(canary): clear pre-audit lint debt + migrate golangci config to v2 2026-05-12 02:49:56 -04:00