[STORY] ripwire as an interactive Foreman agent tool
Maintainers usually reply within 1 day
Assessment
This issue has not been assessed yet.
Description
Goal
A Foreman agent can call ripwire mid-task for callers, blast radius, and tests-to-run, as a whitelisted tool.
Definition of done
- Observable: an Agent with
ripwireinspec.toolscan invoke it and receive ripwire output; a model-supplied argument cannot escape the fixed verb set or the workspace. - Negative: an Agent without
ripwirein its whitelist getsErrToolNotInWhitelist, unchanged.
Scope
- A new tool in
pkg/foreman/agent/toolsimplementing theToolinterface, exposing a fixed verb set (for,callers,impact,tests). - Wire the name into
tools/buildall.goandtools/catalog/catalog.go(theTestBuildAllMatchesCatalogdrift guard holds both in step). - Tests: dispatch per allowed verb; argv construction rejects an unexpected flag; output is capped; timeout enforced.
Out of scope
- Any edit verbs (ripwire
--apply). Read-only verbs only.
Consumers and surfaces touched
- The agent tool surface and the Agent admission webhook's
spec.toolscatalog. The model controls tool args, so argv is a fixed array, no shell, with a hard timeout and an output cap.
Verification
make fmt vet lint test
# tool dispatched with each allowed verb; output capped
# argv construction rejects an unexpected flag
Falsification
- Edit: pass model args through a shell instead of an argv array.
- Expected failure: the injection/escaping test FAILS.
- Edit: drop
ripwirefromcanonicalToolNames. - Expected failure:
TestBuildAllMatchesCatalogFAILS.
Risks
- Model-controlled args on a third-party binary is an adversarial surface (see AGENTS.md security-sensitive invariants). Keep read-only, fixed-verb, argv-array, timeout, output cap.
- Dominant language
- Go
- Stars
- 232
- Forks
- 37
- Avg merge
- 21h 42m
- Merged PRs (30d)
- 244
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from defilantech/LLMKube
-
component/metal-agent documentation
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
defilantech/LLMKube#2581 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
defilantech/LLMKube#2578 ·
Maintainers usually reply within 1 day
-
documentation helm priority/low size/small
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
defilantech/LLMKube#2420 ·
Maintainers usually reply within 1 day
-
component/metal-agent enhancement priority/low size/medium
Difficulty 4/5 3-5 days Newbie friendliness 48/100
defilantech/LLMKube#2597 ·
Maintainers usually reply within 1 day
-
[BUG] Docs and comments describe InsufficientMemory only as a start refusal, but a serving engine can now carry itPossibly taken @defilan-agent claimed this today. Openbug component/metal-agent documentation priority/low size/small
Difficulty 2/5 1-3 hours Newbie friendliness 25/100
defilantech/LLMKube#2596 ·
Maintainers usually reply within 1 day
All issues in defilantech/LLMKube
Similar issues
-
☢️ Bug v3
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
area/import-export area/projects concern/ux
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
go-vikunja/vikunja#4455 · 1 comment ·
Maintainers usually reply within 2 days
-
Dependabot PRs no longer merge automaticallyPossibly taken @dwisiswant0 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
projectdiscovery/urlfinder#160 ·
Maintainers usually reply within 1 day
-
database
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
chnm/legal-modernism#450 ·
Maintainers usually reply within 1 day
-
tech-debt
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day