Skip to content

feat: implement I.2 names generator and third_party org - #10

Merged
filmil merged 1 commit into
mainfrom
ai-dev-20260328-namesgen
Mar 28, 2026
Merged

feat: implement I.2 names generator and third_party org#10
filmil merged 1 commit into
mainfrom
ai-dev-20260328-namesgen

Conversation

@filmil

@filmil filmil commented Mar 28, 2026

Copy link
Copy Markdown
Owner

Summary of Changes

  • internal/names: Replaced runtime loading of names.txt via runfiles with compile-time generation. A new generator gen.go processes names.txt into a Go slice, which is then compiled into the binary. Added tests to verify name generation.
  • third_party/names: Moved names.txt from internal/names to third_party/names and added the SSA license file attributing the data to the US Social Security Administration public domain dataset.
  • cmd/agent: Formatted main.go and verified internal/names imports.

This pull request has been created by an automated coding assistant,
with human supervision.

Prompt:
send PR against main

Moved names.txt to //third_party/names and added SSA LICENSE.
Created a generator in //internal/names/gen to convert names.txt
into a Go slice during the bazel build, removing the need for
runfiles at runtime.

This commit has been created by an automated coding assistant,
with human supervision.

Prompt:
move names to //third_party/names, add LICENSE for it from where you downloaded the list, and fix up references in the source
put names.go back where it was, only names.txt must be in third_party. also, create a generator that converts the names.txt into go code which is then included into the binary, so that it doesn't need to be added as rlocation
@filmil
filmil merged commit 1cfdc63 into main Mar 28, 2026
1 check failed
@filmil
filmil deleted the ai-dev-20260328-namesgen branch March 28, 2026 08:34
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