Skip to content

Add Claw.Spec.AgentFiles to seed files stored outside of the CR #232

Description

@xcoulon

The upstream operator has spec.workspace.files for seeding individual files into the agent workspace, but enterprise deployments need to seed entire directory trees — agent configuration files (SOUL.md, AGENTS.md, TOOLS.md), project scaffolds, and shared templates. These trees live in Git repositories or ConfigMap archives and need to be injected at pod start time with control over overwrite behavior and file protection.

Without spec.agentFiles, administrators must either embed large file trees inline in the CR (impractical), build custom init containers (unsupported), or manually copy files into PVCs (doesn't scale). The existing spec.workspace.files is designed for small, individual files — not for the "seed an entire agent profile from a Git repo" use case that enterprise onboarding requires.

see https://github.com/redhat-et/claw-operator/tree/main/openspec/changes/add-agent-files

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions