Skip to content

Retro #351: prod-text --matches-db, batch-edit pointers - #356

Merged
Kyu-seok merged 4 commits into
masterfrom
retro-351-tooling
Nov 16, 2026
Merged

Kyu-seok merged 4 commits into
masterfrom
retro-351-tooling

Conversation

@Kyu-seok

Copy link
Copy Markdown
Owner

Summary

Fixes from the retro on #351 / #355:

 scripts/prod-text.sh <slug> [--contains <file>]
+scripts/prod-text.sh --matches-db <slug>...   # prod EN+KO title/description/constraints vs CODEBITE_DB
  • --matches-db: --contains needs one text in both languages, so it couldn't guard V590–V592, which replace a different line per language in 48 problems. That check was hand-rolled (96 curls plus Python, and Python's own client got a 403 from production). Now it's one command, run on a database at origin/master's migrations.
  • restate-problem / add-diagram skills point a batch text edit at V590's replace / insertBeforeExample1 and at --matches-db.
  • .claude/settings.json allows scripts/prod-text.sh. The auto-mode classifier had blocked a subagent's reads of the public API.
  • CLAUDE.md: the issue-tracker pointer now names when to read the doc. find-battery-peak: accept any peak with a checker #354 was filed with gh issue create instead of scripts/gh-ticket.sh.

Evidence

  • Before: --matches-db didn't exist, and production was compared by an ad-hoc script.
    After:
    $ CODEBITE_DB=<branch db at V592> scripts/prod-text.sh --matches-db sort-colors lca-bst group-anagrams find-battery-peak
    all 4 problem(s) match production in both languages
    $ CODEBITE_DB=codebite (V200) scripts/prod-text.sh --matches-db sort-colors …
    sort-colors (en): description DIFFERS from production   → exit 1
    
  • scripts/prod-text.test.sh covers a match, a drifted field named per language, a problem missing locally and a malformed slug, against stub curl and docker. scripts/run-script-tests.sh passes and shellcheck is clean.

Merge Danger

Door: two-way

Blast Radius: tooling

It doesn't change application code. The permission rule only skips a prompt for a read-only GET of the public API.

🤖 Generated with Claude Code

Kyu-seok and others added 4 commits November 17, 2026 00:31
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Kyu-seok
Kyu-seok merged commit a4d65ab into master Nov 16, 2026
5 checks passed
@Kyu-seok
Kyu-seok deleted the retro-351-tooling branch November 16, 2026 15: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