Skip to content

Remove egg-specific hardcoding from agent CLAUDE.md rules #603

Closed

Description

@jwbron

Refined Scope

After investigation, the SDLC pipeline already has solid multi-repo support:

  • Per-repo check commands: Fully implemented via repositories.yaml → EGG_REPO_CHECKS env var → orchestrator lookup → checker prompt. Works end-to-end.
  • Generic repo mounting: Gateway entrypoint, worktree manager, and orchestrator all use dynamic repo paths — no hardcoded "egg" dependency in pipeline code.
  • Dynamic repo resolution: get_repo_path() resolves repos from pipeline metadata, not assumptions.

Remaining gap: agent CLAUDE.md hardcodes egg-specific paths

The agent rules in sandbox/.claude/rules/mission.md reference ~/repos/egg/docs/index.md in 4 places. These rules get baked into every agent container's ~/CLAUDE.md regardless of which repo the pipeline targets. If the egg repo isn't mounted, agents waste tool calls looking for a nonexistent path.

Similarly, the context sources table points agents to egg-specific locations that may not exist when working on other repos.

What needs to change

  1. Make agent CLAUDE.md rules repo-agnostic — remove hardcoded ~/repos/egg/docs/index.md references
  2. If a repo has its own docs index, let the agent discover it dynamically rather than being told a fixed path

Original description (for reference)

I've been working only in this repo, so let's make sure we're properly supporting other repos in the local sdlc pipeline, including mounting multiple repos at once.

In particular, ensure we don't have issues if we don't mount the egg repo.

One thing that's definitely required is supporting a list of checks to run during the check step in the implementation phase. This list of commands should be added to repositories.yaml (e.g. install dependencies, lint, run tests).

Activity

  1. changed the title [-]check multi-repo support[/-] [+]Remove egg-specific hardcoding from agent CLAUDE.md rules[/+] on Feb 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions