Skip to content

update skill step 11 aborts on a valid snapshot under set -e #253

Description

@realmarcin

From the Codex review of #216.

Where: .claude/skills/update-xmech-page/SKILL.md step 11.

When every entry is allowed, grep -v selects no lines and exits 1. The extra=$(…) assignment takes that status, so a shell running with set -e (bash) or ERR_EXIT (zsh) exits before du and rm, and the snapshot stays.

Fix: build the listing so that "nothing extra" exits 0, for example with a case loop instead of grep -v.

Activity

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