Skip to content

chore(dataflow): pre-bake DataFlow stubs for parallel DF3/DF4 agents#5

Merged
smochan merged 1 commit into
mainfrom
chore/dataflow-stub
Apr 27, 2026
Merged

chore(dataflow): pre-bake DataFlow stubs for parallel DF3/DF4 agents#5
smochan merged 1 commit into
mainfrom
chore/dataflow-stub

Conversation

@smochan

@smochan smochan commented Apr 27, 2026

Copy link
Copy Markdown
Owner

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.

…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.
@smochan smochan merged commit 622d02a into main Apr 27, 2026
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.
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