chore: migrate gcgcca references to capture-agent - #260
Merged
Conversation
The article-generation prompt asserted "code identifiers keep the gcgcca name", which stopped being true when capture-agent's identifiers were migrated on 2026-07-30. A false statement in the prompt propagates into generated articles, so this is a content bug, not just a stale label. Also fixes a dead remote URL (github.com/ojfbot/gcgcca) in the README repo table and flips two ROADMAP entries to lead with the current name. The repo-token lists in src/build-api.ts and src/backfill-*.ts intentionally keep BOTH 'gcgcca' and 'capture-agent': those scanners match historical article text, and dropping the old token would stop them matching posts written before the rename. Verified: pnpm exec tsc --noEmit clean. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
AI Code ReviewTo request a Claude code review on this PR:
Claude will post a review comment here when done. You can also mention 🤖 Claude Code |
Contributor
|
Skill audit skipped: this repo does not ship |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Companion to capture-agent#6.
The one that actually mattered
src/generate-article.ts:46told the article generator that "code identifiers keep the gcgcca name." That stopped being true on 2026-07-30. A false statement in the generation prompt propagates into published articles, so this is a content bug rather than a stale label.Also
README.md— dead remote URLgithub.com/ojfbot/gcgccain the repo table (the remote is nowojfbot/capture-agent).ROADMAP.md— two entries led with the old name; now lead withcapture-agent.Deliberately unchanged
The repo-token lists in
src/build-api.tsandsrc/backfill-{tags,code-refs}.tskeep both'gcgcca'and'capture-agent'. Those scanners match historical article text — dropping the old token would stop them matching the ~25 posts written before the rename.Published articles in
_articles/and their generatedapi/*.jsonare not rewritten: they were accurate on their publication dates.Verification
pnpm exec tsc --noEmitclean. (Worth noting: the first attempt at thegenerate-article.tsedit put raw backticks inside a template literal and broke the build — caught by tsc, fixed with escaping.)🤖 Generated with Claude Code