Skip to content

refactor: graphify as an External Tool (Tools → External Tools) - #31

Merged
thecodeassassin merged 1 commit into
mainfrom
refactor/graphify-external-tool
Jul 1, 2026
Merged

thecodeassassin merged 1 commit into
mainfrom
refactor/graphify-external-tool

Conversation

@thecodeassassin

Copy link
Copy Markdown
Contributor

Moves graphify from a Settings toggle to Tools → External Tools (per request). Same behavior — selecting it auto-installs the /graphify skill into compatible agents; deselecting removes it — but it now lives where the other installable tools (Bun, GitHub CLI) do.

Changes

  • Removed the Settings.Graphify toggle: config field + default, the Settings-step wizard checkbox, the --build-arg INSTALL_GRAPHIFY base-image gate + Dockerfile block, and the EXITBOX_GRAPHIFY run env.
  • Added Graphify to AllExternalTools (Packages: [py3-pip], InstallStep: pip install graphifyy). It now installs in the tools image layer (not the published base image), and ToolsHash already includes ExternalTools, so selecting/deselecting auto-rebuilds just that layer.
  • setup_graphify now keys on command -v graphify (CLI present = tool selected) instead of an env flag: present → graphify install --platform <agent>; absent → remove the skill dir. Simpler and matches the External-Tool build-time model.

Compatible agents unchanged: claude, codex, opencode, copilot, pi (qwen/kimi/cursor excluded as before).

Tests

setup_graphify entrypoint test updated to the CLI-presence gating (install when present, remove when absent, skip incompatible agent). go build, go test ./..., go vet, golangci-lint green; entrypoint suite 112 pass / 2 pre-existing failures (unrelated codex env leak).

@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Merging this branch will not change overall coverage

Impacted Packages Coverage Δ 🤖
github.com/Cloud-Exit/ExitBox/cmd 0.00% (ø)
github.com/Cloud-Exit/ExitBox/internal/config 0.00% (ø)
github.com/Cloud-Exit/ExitBox/internal/image 0.00% (ø)
github.com/Cloud-Exit/ExitBox/internal/run 0.00% (ø)
github.com/Cloud-Exit/ExitBox/internal/wizard 0.00% (ø)

Coverage by file

Changed files (no unit tests)

Changed File Coverage Δ Total Covered Missed 🤖
github.com/Cloud-Exit/ExitBox/cmd/run.go 0.00% (ø) 0 0 0
github.com/Cloud-Exit/ExitBox/internal/config/defaults.go 0.00% (ø) 0 0 0
github.com/Cloud-Exit/ExitBox/internal/config/types.go 0.00% (ø) 0 0 0
github.com/Cloud-Exit/ExitBox/internal/image/base.go 0.00% (ø) 0 0 0
github.com/Cloud-Exit/ExitBox/internal/run/run.go 0.00% (ø) 0 0 0
github.com/Cloud-Exit/ExitBox/internal/wizard/roles.go 0.00% (ø) 0 0 0
github.com/Cloud-Exit/ExitBox/internal/wizard/tui.go 0.00% (ø) 0 0 0
github.com/Cloud-Exit/ExitBox/internal/wizard/wizard.go 0.00% (ø) 0 0 0

Please note that the "Total", "Covered", and "Missed" counts above refer to code statements instead of lines of code. The value in brackets refers to the test coverage of that file in the old version of the code.

@thecodeassassin
thecodeassassin merged commit 7cea45f into main Jul 1, 2026
7 checks passed
@thecodeassassin
thecodeassassin deleted the refactor/graphify-external-tool branch July 1, 2026 10:15
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