Skip to content

chore(golden): retire the TS golden capture tool (RIG-5901) - #100

Merged
rigel-nemo[bot] merged 1 commit into
mainfrom
go-migration/rig-5901-retire-the-ts-golden-capture-tool
Nov 22, 2026
Merged

rigel-nemo[bot] merged 1 commit into
mainfrom
go-migration/rig-5901-retire-the-ts-golden-capture-tool

Conversation

@rigel-mintaka

@rigel-mintaka rigel-mintaka commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

What does this do

Deletes tools/golden/capture.ts and the moon golden-capture task in moon.yml.

Why do we need it

The goldens are frozen. RIG-8633 (7c11e6b) hand-edited the ts-golden JSON files and corpus inputs after capture, so re-running the tool would undo that edit. The tool also loads packages/comment-scan/<module>, which RIG-8120 (e33ea85) removed, so it cannot run on main. The only caller is the moon task itself. Refs RIG-5901.

Summary

  • Removes the TS capture tool and its single moon task.
  • Checked main at 58fbf74: golden-capture and tools/golden appear only in the two files this commit changes.

Verification

  • jj git fetch: no change on origin.
  • git grep on main 58fbf74 for golden-capture and tools/golden: only moon.yml and tools/golden/capture.ts.

Risks

None known. Six in-flight bookmarks still carry the old moon task; their owners rebase.

Spec impact

Spec-impact: none

Refs RIG-5901

Co-authored-by: Matt Wilkinson matt@rigel.build

The TS scanners that tools/golden/capture.ts loaded were removed in e33ea85 (RIG-8120), and the goldens were hand-edited after capture in 7c11e6b (RIG-8633). Re-running the tool would undo that edit and cannot load its oracle, so it is dead code. Remove the tool and its moon golden-capture task.

Co-authored-by: Matt Wilkinson <matt@rigel.build>
@linear-code

linear-code Bot commented Nov 22, 2026

Copy link
Copy Markdown

RIG-5901

@rigel-mintaka

Copy link
Copy Markdown
Contributor Author

All-clear at b70549a
Base: main

@rigel-nemo

rigel-nemo Bot commented Nov 22, 2026

Copy link
Copy Markdown

Checks read:

@rigel-nemo
rigel-nemo Bot merged commit 362d7c7 into main Nov 22, 2026
1 check passed
@rigel-nemo
rigel-nemo Bot deleted the go-migration/rig-5901-retire-the-ts-golden-capture-tool branch November 22, 2026 22:42
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