Conversation
Add codex/ directory with TOML agent definitions and skill markdown for OpenAI Codex CLI integration. Simplify install-codex.sh to use ~/.flow/bin/ as the canonical flowctl path. Update plugin.json with full interface metadata and streamlined README instructions. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…ex, and --dry-run support Introduce three foundational improvements inspired by IWE reference: 1. Changes pattern: All mutation operations (task/epic create, reset, skip, split, dep add/rm) now return a declarative Changes struct instead of writing directly. ChangesApplier persists to JSON + libSQL with auto audit logging to events table. 2. Bidirectional dependency index: task_reverse_deps table with SQL triggers on task_deps INSERT/DELETE. O(1) reverse lookups replace O(N×M) BFS scan. DepRepo gains list_dependents() and list_all_dependents() methods. 3. --dry-run CLI flag: Global flag on all mutation commands. Computes changes and outputs JSON preview without persisting. 2 integration tests verify no side effects. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.
Summary
Changesstruct (creates/updates/removes) instead of writing directly.ChangesApplierpersists to JSON + libSQL with automatic audit logging to the events table.task_reverse_depstable with SQL triggers maintains O(1) reverse lookups, replacing O(N×M) BFS scan.DepRepogainslist_dependents()andlist_all_dependents().--dry-runCLI flag: Global flag on all 9 mutation commands. Computes changes and outputs JSON preview without persisting.Inspired by IWE reference implementation's Changes pattern.
Test plan
cargo test --all)cargo clippy --all-targets -- -D warningscleanflowctl --dry-run task create --epic <id> --title "test"outputs JSON preview🤖 Generated with Claude Code