Skip to content

feat(harness-ops): reusable stock Claude Code baseline in an isolated config root #6459

Closed as not planned

Description

@kyle-sexton

Problem

Several jobs need a fresh, stock Claude Code install to compare against or to work in:

  • Seeing what a release ships: built-in skills, agents, default settings, and any auto-added marketplace.
  • Checking whether a local setting only restates a shipped default.
  • Reproducing a problem without plugins.
  • Backing up the current setup and working under a fresh install, then restoring.

These are done by hand today.

Verified so far (2026-10-05, Claude Code 2.1.289)

  • An isolated CLAUDE_CONFIG_DIR gives an empty plugin list and an empty marketplace list. No marketplace is auto-added.
  • An unauthenticated session stops at "Not logged in". A turn needs claude setup-token (CLAUDE_CODE_OAUTH_TOKEN) from the user. Never copy credential files.
  • A stock session lists 13 built-in skills and 5 agents.
  • The user's ~/.claude/CLAUDE.md still loads when the working directory is under the user profile. The baseline must start from a directory outside the profile.
  • --bare is too stripped to count as stock.
  • claude config list is not a subcommand.

Proposed

A skill that:

  1. creates the isolated root
  2. reuses a setup-token login
  3. snapshots what the release ships (plugins, marketplaces, skills, agents, default settings) to a dated file, re-run per release
  4. optionally backs up the current setup and runs under the fresh install, with a restore step

Open: which plugin owns it (harness-ops or claude-ops), and how it relates to the plugin profiles design (a "vanilla" profile).

🤖 Generated with Claude Code

Activity

  1. added
    needs-triage
    on Oct 5, 2026
  2. github-actions commented on Oct 5, 2026

    @github-actions
    Contributor

    Thanks for the report. Automated triage handed this issue to a maintainer.

    Automated triage. A maintainer reviews it.

  3. added
    needs-human
    on Oct 5, 2026
  4. kyle-sexton commented on Oct 5, 2026

    @kyle-sexton
    MemberAuthor

    Constraint (2026-10-05): the owner rotates Claude Code through several accounts with an account-rotation tool. A separate CLAUDE_CONFIG_DIR holds its own credentials, so the baseline must not fight the rotation.

    • Never copy or move credentials between config roots, and never write to the default root's credential files.
    • A setup-token login pins the baseline to one account, outside the rotation. Its usage draws on that account only. Make that choice explicit, and show which account the baseline uses.
    • Check how the rotation tool finds the active config root. If it reads CLAUDE_CONFIG_DIR, a baseline session must not trigger a rotation or have its state recorded against the main root.
    • Plugin profiles don't need a separate root: they use --settings against the normal root, so rotation is unaffected. Only the stock baseline uses a separate root.

    🤖 Generated with Claude Code

  5. removed
    needs-triage
    on Oct 12, 2026
  6. kyle-sexton commented on Oct 18, 2026

    @kyle-sexton
    MemberAuthor

    Decision recorded.

    Question: A request for a fresh-install Claude Code baseline in its own config directory: what each release ships, reproducing a problem without plugins, and backup. Options: (a) a harness-ops skill that snapshots each release in an isolated root; (b) a vanilla profile in the plugin-profiles design (#6462), with no separate root; (c) don't build it.

    Owner's answer: (b) for reproduction, and /harness-ops:inventory for what a release ships. No isolated-root skill. inventory already reads built-ins from the binary, and a second config root brings credential and account-rotation hazards. Basis: harness-ops inventory SKILL.md:55-56; 2026-10-05 issue comment.

    The owner accepted this recommendation as item D14 of a 32-decision batch in an attended backlog-shaping session on 2026-10-18. The batch question: "Accept all 32 recommendations, including the four flagged above (D2 close the relearn, D26 cross-repo sync without per-repo confirm, D10 narrow hook, D23 delete guard only)?" The owner answered: "Accept all 32 (Recommended)".

    Posted by AI from the owner's answer in that session.

  7. kyle-sexton commented on Oct 18, 2026

    @kyle-sexton
    MemberAuthor

    This was generated by AI during backlog shaping.

    Closing as not planned. Owner decision D14 (2026-10-18) chose option (b) and ruled out the isolated-root skill this issue proposes. The reproduction need is carried by the vanilla profile already listed in #6462's requirements, and release contents by /harness-ops:inventory, which reads built-ins from the binary (plugins/harness-ops/skills/inventory/SKILL.md:55-56 on origin/main). Nothing left to build here.

    The owner approved this close in an attended backlog-shaping session on 2026-10-18 (question: "Close the 9 issues ...?"; answer: "Close all 9 (Recommended)").

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

    needs-human

    Fields

    No fields configured for Feature.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions