Skip to content

fix(forker): remove unused Checkpoint.Goal field - #18

Open
rune-oai wants to merge 1 commit into
loop-eng:mainfrom
rune-oai:fix/15-remove-checkpoint-goal
Open

rune-oai wants to merge 1 commit into
loop-eng:mainfrom
rune-oai:fix/15-remove-checkpoint-goal

Conversation

@rune-oai

@rune-oai rune-oai commented Sep 4, 2026

Copy link
Copy Markdown

Summary

Checkpoint.Goal was never set by ExtractCheckpoint. Goal text is passed separately into WriteGoalFile, so the struct field was dead code.

Remove it.

Fixes #15

Test plan

  • go test ./internal/forker/ -run 'ExtractCheckpoint|WriteGoal|MaterializeCheckpoint$'

ExtractCheckpoint never populated Goal; WriteGoalFile takes the goal as
a separate argument. Drop the dead field.

Fixes loop-eng#15
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.

Checkpoint.Goal field is dead code

1 participant