Files
settled-reach/tooling/atlas-names
T
jpmschweitzerandClaude Opus 4.6 73c81c1217 chore(tooling): consolidate atlas tooling + harden pre-push hook
- Rewrite atlas-verify as proper Python script (was inline Python in
  bash with path injection risk). Adds star_type/spectral_class
  consistency check. Supports multiple files via glob.
- Add atlas-names and atlas-systems-done query helpers (clean versions
  of what the copy branch created — supersedes atlas-helpers.sh)
- Wire atlas-verify into Makefile (make atlas-verify, pre-pr-content)
- Update atlas skill references to point to the script
- Merge diff-based skip into pre-push hook: only lint client/ or
  server/ when those dirs actually changed in the push. Combined with
  existing directory-existence guards for cold worktrees.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-26 08:06:44 +01:00

18 lines
499 B
Bash
Executable File

#!/usr/bin/env bash
# List all existing proper names in the atlas DB (for collision avoidance).
# Usage: tooling/atlas-names
set -euo pipefail
cd "$(dirname "$0")/.."
{
tooling/atlas list-bodies 2>/dev/null | python3 -c "
import sys, json
for b in json.load(sys.stdin):
if b.get('proper_name'): print(b['proper_name'])
"
tooling/atlas list-stations 2>/dev/null | python3 -c "
import sys, json
for s in json.load(sys.stdin):
if s.get('proper_name'): print(s['proper_name'])
"
} | sort -u