Files
g3/analysis/deps/graph.json
Dhanji R. Prasanna 38da6a56ef analysis: Update dependency graph for commits b6d2582..9443f933
Focused analysis on past 10 commits covering:
- New skills module in g3-core (parser, discovery, prompt, embedded, extraction)
- Research tool externalized to skills/research/ skill
- SkillsConfig added to g3-config
- SDLC pipeline state moved to .g3/sdlc/

Key findings:
- 4 crates changed, 29 files affected (8 added, 2 deleted, 19 modified)
- No dependency cycles detected
- Clean DAG structure in new skills module
- Cross-crate coupling via g3-core::skills and g3-config::SkillsConfig
- Compile-time coupling to skills/research/ via include_str!

Agent: euler
2026-02-05 14:02:44 +11:00

441 lines
12 KiB
JSON

{
"metadata": {
"generated_at": "2025-02-05T14:00:00Z",
"scope": "Changes in commits b6d2582..9443f933 (10 commits)",
"extraction_method": "Static analysis of Rust use/mod statements and Cargo.toml",
"tool_version": "euler-manual-1.0"
},
"nodes": {
"crates": [
{
"id": "g3-core",
"type": "crate",
"path": "crates/g3-core",
"changed_in_scope": true
},
{
"id": "g3-cli",
"type": "crate",
"path": "crates/g3-cli",
"changed_in_scope": true
},
{
"id": "g3-config",
"type": "crate",
"path": "crates/g3-config",
"changed_in_scope": true
},
{
"id": "studio",
"type": "crate",
"path": "crates/studio",
"changed_in_scope": true
},
{
"id": "g3-providers",
"type": "crate",
"path": "crates/g3-providers",
"changed_in_scope": false
},
{
"id": "g3-execution",
"type": "crate",
"path": "crates/g3-execution",
"changed_in_scope": false
},
{
"id": "g3-computer-control",
"type": "crate",
"path": "crates/g3-computer-control",
"changed_in_scope": false
},
{
"id": "g3-planner",
"type": "crate",
"path": "crates/g3-planner",
"changed_in_scope": false
}
],
"files": [
{
"id": "g3-core/src/skills/mod.rs",
"type": "module",
"crate": "g3-core",
"status": "added"
},
{
"id": "g3-core/src/skills/parser.rs",
"type": "file",
"crate": "g3-core",
"status": "added"
},
{
"id": "g3-core/src/skills/discovery.rs",
"type": "file",
"crate": "g3-core",
"status": "added"
},
{
"id": "g3-core/src/skills/prompt.rs",
"type": "file",
"crate": "g3-core",
"status": "added"
},
{
"id": "g3-core/src/skills/embedded.rs",
"type": "file",
"crate": "g3-core",
"status": "added"
},
{
"id": "g3-core/src/skills/extraction.rs",
"type": "file",
"crate": "g3-core",
"status": "added"
},
{
"id": "g3-core/src/prompts.rs",
"type": "file",
"crate": "g3-core",
"status": "modified"
},
{
"id": "g3-core/src/lib.rs",
"type": "file",
"crate": "g3-core",
"status": "modified"
},
{
"id": "g3-core/src/tool_definitions.rs",
"type": "file",
"crate": "g3-core",
"status": "modified"
},
{
"id": "g3-core/src/tool_dispatch.rs",
"type": "file",
"crate": "g3-core",
"status": "modified"
},
{
"id": "g3-core/src/tools/mod.rs",
"type": "file",
"crate": "g3-core",
"status": "modified"
},
{
"id": "g3-core/src/tools/executor.rs",
"type": "file",
"crate": "g3-core",
"status": "modified"
},
{
"id": "g3-core/src/tools/acd.rs",
"type": "file",
"crate": "g3-core",
"status": "modified"
},
{
"id": "g3-core/src/pending_research.rs",
"type": "file",
"crate": "g3-core",
"status": "deleted"
},
{
"id": "g3-core/src/tools/research.rs",
"type": "file",
"crate": "g3-core",
"status": "deleted"
},
{
"id": "g3-cli/src/lib.rs",
"type": "file",
"crate": "g3-cli",
"status": "modified"
},
{
"id": "g3-cli/src/project_files.rs",
"type": "file",
"crate": "g3-cli",
"status": "modified"
},
{
"id": "g3-cli/src/agent_mode.rs",
"type": "file",
"crate": "g3-cli",
"status": "modified"
},
{
"id": "g3-cli/src/interactive.rs",
"type": "file",
"crate": "g3-cli",
"status": "modified"
},
{
"id": "g3-cli/src/commands.rs",
"type": "file",
"crate": "g3-cli",
"status": "modified"
},
{
"id": "g3-cli/src/g3_status.rs",
"type": "file",
"crate": "g3-cli",
"status": "modified"
},
{
"id": "g3-cli/src/ui_writer_impl.rs",
"type": "file",
"crate": "g3-cli",
"status": "modified"
},
{
"id": "g3-cli/src/accumulative.rs",
"type": "file",
"crate": "g3-cli",
"status": "modified"
},
{
"id": "g3-config/src/lib.rs",
"type": "file",
"crate": "g3-config",
"status": "modified"
},
{
"id": "studio/src/main.rs",
"type": "file",
"crate": "studio",
"status": "modified"
},
{
"id": "studio/src/sdlc.rs",
"type": "file",
"crate": "studio",
"status": "modified"
},
{
"id": "skills/research/SKILL.md",
"type": "skill",
"crate": null,
"status": "added"
},
{
"id": "skills/research/g3-research",
"type": "script",
"crate": null,
"status": "added"
},
{
"id": "prompts/system/native.md",
"type": "prompt",
"crate": null,
"status": "modified"
}
]
},
"edges": {
"crate_dependencies": [
{
"from": "g3-cli",
"to": "g3-core",
"type": "cargo_dependency",
"evidence": "crates/g3-cli/Cargo.toml: g3-core = { path = \"../g3-core\" }"
},
{
"from": "g3-cli",
"to": "g3-config",
"type": "cargo_dependency",
"evidence": "crates/g3-cli/Cargo.toml: g3-config = { path = \"../g3-config\" }"
},
{
"from": "g3-cli",
"to": "g3-providers",
"type": "cargo_dependency",
"evidence": "crates/g3-cli/Cargo.toml: g3-providers = { path = \"../g3-providers\" }"
},
{
"from": "g3-cli",
"to": "g3-planner",
"type": "cargo_dependency",
"evidence": "crates/g3-cli/Cargo.toml: g3-planner = { path = \"../g3-planner\" }"
},
{
"from": "g3-cli",
"to": "g3-computer-control",
"type": "cargo_dependency",
"evidence": "crates/g3-cli/Cargo.toml: g3-computer-control = { path = \"../g3-computer-control\" }"
},
{
"from": "g3-core",
"to": "g3-config",
"type": "cargo_dependency",
"evidence": "crates/g3-core/Cargo.toml: g3-config = { path = \"../g3-config\" }"
},
{
"from": "g3-core",
"to": "g3-providers",
"type": "cargo_dependency",
"evidence": "crates/g3-core/Cargo.toml: g3-providers = { path = \"../g3-providers\" }"
},
{
"from": "g3-core",
"to": "g3-execution",
"type": "cargo_dependency",
"evidence": "crates/g3-core/Cargo.toml: g3-execution = { path = \"../g3-execution\" }"
},
{
"from": "g3-core",
"to": "g3-computer-control",
"type": "cargo_dependency",
"evidence": "crates/g3-core/Cargo.toml: g3-computer-control = { path = \"../g3-computer-control\" }"
},
{
"from": "g3-planner",
"to": "g3-core",
"type": "cargo_dependency",
"evidence": "crates/g3-planner/Cargo.toml: g3-core = { path = \"../g3-core\" }"
},
{
"from": "g3-planner",
"to": "g3-config",
"type": "cargo_dependency",
"evidence": "crates/g3-planner/Cargo.toml: g3-config = { path = \"../g3-config\" }"
},
{
"from": "g3-planner",
"to": "g3-providers",
"type": "cargo_dependency",
"evidence": "crates/g3-planner/Cargo.toml: g3-providers = { path = \"../g3-providers\" }"
}
],
"file_imports": [
{
"from": "g3-core/src/skills/discovery.rs",
"to": "g3-core/src/skills/parser.rs",
"type": "use_super",
"evidence": "use super::parser::Skill"
},
{
"from": "g3-core/src/skills/discovery.rs",
"to": "g3-core/src/skills/embedded.rs",
"type": "use_super",
"evidence": "use super::embedded::get_embedded_skills"
},
{
"from": "g3-core/src/skills/prompt.rs",
"to": "g3-core/src/skills/parser.rs",
"type": "use_super",
"evidence": "use super::parser::Skill"
},
{
"from": "g3-core/src/skills/extraction.rs",
"to": "g3-core/src/skills/embedded.rs",
"type": "use_super",
"evidence": "use super::embedded::get_embedded_skill"
},
{
"from": "g3-core/src/skills/mod.rs",
"to": "g3-core/src/skills/parser.rs",
"type": "mod_declaration",
"evidence": "mod parser"
},
{
"from": "g3-core/src/skills/mod.rs",
"to": "g3-core/src/skills/discovery.rs",
"type": "mod_declaration",
"evidence": "mod discovery"
},
{
"from": "g3-core/src/skills/mod.rs",
"to": "g3-core/src/skills/prompt.rs",
"type": "mod_declaration",
"evidence": "mod prompt"
},
{
"from": "g3-core/src/skills/mod.rs",
"to": "g3-core/src/skills/embedded.rs",
"type": "mod_declaration",
"evidence": "mod embedded"
},
{
"from": "g3-core/src/skills/mod.rs",
"to": "g3-core/src/skills/extraction.rs",
"type": "mod_declaration",
"evidence": "pub mod extraction"
},
{
"from": "g3-core/src/prompts.rs",
"to": "g3-core/src/skills/mod.rs",
"type": "use_crate",
"evidence": "use crate::skills::{Skill, generate_skills_prompt}"
},
{
"from": "g3-core/src/lib.rs",
"to": "g3-core/src/skills/mod.rs",
"type": "pub_mod",
"evidence": "pub mod skills"
},
{
"from": "g3-core/src/lib.rs",
"to": "g3-core/src/prompts.rs",
"type": "mod_declaration",
"evidence": "mod prompts"
},
{
"from": "g3-cli/src/project_files.rs",
"to": "g3-core/src/skills/mod.rs",
"type": "use_external",
"evidence": "use g3_core::{discover_skills, generate_skills_prompt, Skill}"
},
{
"from": "g3-cli/src/project_files.rs",
"to": "g3-config/src/lib.rs",
"type": "use_external",
"evidence": "use g3_config::SkillsConfig"
},
{
"from": "g3-cli/src/agent_mode.rs",
"to": "g3-cli/src/project_files.rs",
"type": "use_crate",
"evidence": "use crate::project_files::{..., discover_and_format_skills, ...}"
},
{
"from": "g3-cli/src/lib.rs",
"to": "g3-cli/src/project_files.rs",
"type": "use_crate",
"evidence": "use project_files::{..., discover_and_format_skills, ...}"
},
{
"from": "g3-core/src/skills/embedded.rs",
"to": "skills/research/SKILL.md",
"type": "include_str",
"evidence": "include_str!(\"../../../../skills/research/SKILL.md\")"
},
{
"from": "g3-core/src/skills/embedded.rs",
"to": "skills/research/g3-research",
"type": "include_str",
"evidence": "include_str!(\"../../../../skills/research/g3-research\")"
},
{
"from": "studio/src/main.rs",
"to": "studio/src/sdlc.rs",
"type": "mod_declaration",
"evidence": "mod sdlc"
},
{
"from": "studio/src/main.rs",
"to": "studio/src/git.rs",
"type": "mod_declaration",
"evidence": "mod git"
},
{
"from": "studio/src/main.rs",
"to": "studio/src/session.rs",
"type": "mod_declaration",
"evidence": "mod session"
}
]
}
}