Skip to content

update-agent-context.sh seems to be failing on macOS #154

@vzarytovskii

Description

@vzarytovskii

When executed by claude, it produces the following:

⏺ Bash(./scripts/update-agent-context.sh claude)
  ⎿  === Updating agent context files for feature 001-create-a-console ===               
     Updating Claude Code context file: /Users/u/code/project/CLAUDE.md
     Creating new Claude Code context file...
     ✅ Claude Code context file updated successfully

     Summary of changes:

     Usage: ./scripts/update-agent-context.sh [claude|gemini|copilot]
       - No argument: Update all existing agent context files
       - claude: Update only CLAUDE.md
       - gemini: Update only GEMINI.md
       - copilot: Update only .github/copilot-instructions.md
     sed: 1: "s/^**Language\/Version* ...": RE error: repetition-operator operand invalid
     sed: 1: "s/^**Primary Dependenci ...": RE error: repetition-operator operand invalid
     sed: 1: "s/^**Testing**: //
     ": RE error: repetition-operator operand invalid
     sed: 1: "s/^**Storage**: //
     ": RE error: repetition-operator operand invalid
     sed: 1: "s/^**Project Type**: //
     ": RE error: repetition-operator operand invalid

I presume that's because macOS' sed is not GNU sed?

Metadata

Metadata

Assignees

Labels

needs-verificationPull request or bug report that requires validation and testing before it can be acted on.stale

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions