HUB
Sign inSign up
krci-agent-harness logo

epamedp/krci-agent-harness

By epamedp

•Updated about 14 hours ago

Turn loop of KubeRocketCI issue agents. A static binary mounted into each actor; not run directly.

Image
Developer tools
0

825

epamedp/krci-agent-harness repository overview

⁠krci-agent-harness

The harness of KubeRocketCI⁠ issue agents: the agent loop that runs inside every agent actor.

The krci-agent-dispatcher⁠ receives GitLab issue and comment events and drives one isolated actor per issue. Each actor runs an agent image (for example krci-agent-go) with this harness mounted into it. Per turn the harness:

  • reads the issue comments;
  • clones or fetches the project and runs the profile's setup;
  • runs Claude Code on the turn;
  • runs the profile's verify, then pushes the issue branch agent/issue-<iid> and opens a draft merge request;
  • posts one reply with a turn marker.

⁠Image

PropertyValue
Basescratch
Contentone static Go binary at /krci-agent-harness
Platformslinux/amd64, linux/arm64
User65532:65532

The image is not run as a container. The dispatcher mounts it read-only at /opt/krci-agent in each actor and starts /opt/krci-agent/krci-agent-harness run.

⁠Usage

Set it in the krci-agent-dispatcher Helm chart, pinned by digest:

harnessImage: epamedp/krci-agent-harness:<version>@sha256:<digest>

Use the harness from the same release as the dispatcher.

⁠Check an agent image

selftest checks that an agent image meets the harness contract: claude, git and sh on PATH, uid 1000 with writable /home/agent gent free, and a valid optional/etc/krci-agent/profile.yaml`.

docker create --name harness epamedp/on> noop
docker cp harness:/krci-agent-harness ./krci-agent-harness
docker rm harness
docker run --rm -v ./krci-agent-harness:/tmp/krci-agent-harness:ro <agent-image>
/tmp/krci-agent-harness selftest

⁠Tags

Tag summary

Content type

Image

Digest

sha256:1e4652482…

Size

7.6 MB

Last updated

about 14 hours ago

docker pull epamedp/krci-agent-harness:0.1.0-SNAPSHOT.42