chore(dataflow): pre-bake DataFlow stubs for parallel DF3/DF4 agents#5
Merged
Conversation
…trace stubs Reserve the public surface for v0.2 DF3 (URL stitcher) + DF4 (trace query) on main BEFORE the parallel agents start. Both functions return None as stubs; A1 fills match_route(), A2 fills trace(). Edits are non-overlapping inside the same file so git merge is clean. Contract: - DataFlow.entry / DataFlow.hops / DataFlow.confidence - FlowHop layered as frontend|backend|db with method/path/args/kwargs/role - match_route(graph, url, method) -> (handler_qn, confidence) | None - trace(graph, entry, max_depth=6) -> DataFlow | None Tests: 426 still pass. Ruff + mypy --strict clean.
2 tasks
smochan
added a commit
that referenced
this pull request
May 30, 2026
The "Extra ignore patterns" free-text prompt was a footgun — a user typed `y` thinking it was yes/no and got `ignore: [- y]` in their YAML. Init now sniffs the repo for `pyproject.toml`, `package.json` (with React Native detection via dependencies/devDependencies), `go.mod`, `Cargo.toml`, `pom.xml`, `build.gradle`, and pre-fills the matching ignore patterns. The user confirms with a single yes/no. Extras prompt remains for project-specific paths. New module: `codegraph/init_presets.py` with `detect_ignore_presets`. Patterns auto + extras get de-duplicated in insertion order. v0.1.2 backlog item #5.
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.
Reserve the public surface for v0.2 DF3 (URL stitcher) + DF4 (trace query) before dispatching parallel agents. Stubs only; agents fill non-overlapping function bodies.