Skip to content

Conversation

@gmickel
Copy link
Owner

@gmickel gmickel commented Jan 21, 2026

Summary\n- port runtime state store (flow-state), state-path/migrate-state commands, checkpoint v2\n- include task specs in plan reviews + consistency checks + task-spec sync loop\n- add task set-spec --file and update docs/README/usage\n\n## Testing\n- python3 -m py_compile .opencode/bin/flowctl.py

@coderabbitai
Copy link

coderabbitai bot commented Jan 21, 2026

Important

Review skipped

Auto reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@gmickel gmickel merged commit be7a1aa into main Jan 21, 2026
4 checks passed
@gmickel gmickel deleted the chore/port-upstream-0.17.1 branch January 21, 2026 23:16
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5d5b145cb9

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +4036 to +4040
runtime = {k: definition[k] for k in RUNTIME_FIELDS if k in definition}
if not runtime or runtime.get("status") == "todo":
# No runtime state to migrate
skipped.append(task_id)
continue

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Clean migration skips todo tasks, leaving runtime fields tracked

In cmd_migrate_state, tasks whose legacy status is todo are skipped entirely (continue) before the --clean block runs. That means flowctl migrate-state --clean leaves runtime fields like status, assignee, etc. in .flow/tasks/*.json for all todo tasks, which contradicts the documented intent of --clean and leaves stale runtime data in tracked files once state moves to .git/flow-state. This shows up when most tasks are still todo—--clean reports success but the JSONs remain polluted.

Useful? React with 👍 / 👎.

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.

2 participants