Skip to content

[bug] push copies resources but reports no changes and never creates a PR #331

Closed

Description

@jeff-r2026

Environment

  • [email protected] from the npm beta dist-tag
  • macOS arm64, Node.js 22
  • Reproduced against GitHub, self-hosted GitLab, and generic Git (Gitea)
  • Project scope with primary role backend

Reproduction

  1. Initialize and pull a team repo containing skills/backend/beta-proof/SKILL.md.
  2. Modify the installed copy at .claude/skills/beta-proof/SKILL.md.
  3. Confirm dry-run detects it:
teamai --dry-run push \
  --skill .claude/skills/beta-proof \
  --role backend --all
  1. Run the real push:
teamai push \
  --skill .claude/skills/beta-proof \
  --role backend --all

Actual behavior

The CLI first reports one modified resource, then says:

Found 1 resource(s) to push:
  [skills] beta-proof (modified)
...
✔ No changes to push (files already up to date)

However the cloned team repo is left dirty:

 M skills/backend/beta-proof/SKILL.md
?? skills/backend/beta-proof/CONTRIBUTORS

No branch is pushed and no PR/MR is created. The same behavior reproduced on all three providers.

Expected behavior

  • Commit the copied resource and contributor metadata on a generated branch.
  • Push the branch and create the provider PR/MR.
  • If any step fails, return a non-zero exit code and do not leave an unexplained dirty worktree.

Acceptance criteria

  • Add a dist-CLI E2E that modifies an installed role-scoped skill and verifies commit + branch + PR/MR creation.
  • Cover GitHub and GitLab; generic Git should return its documented unsupported-PR error rather than a false No changes success.

Activity

  1. added
    bug
    on Aug 26, 2026
  2. self-assigned this
    on Aug 26, 2026
  3. jeff-r2026 commented on Aug 26, 2026

    @jeff-r2026
    CollaboratorAuthor

    Verified fixed with the published npm package [email protected].

    Regression results:

    The original false No changes to push behavior did not reproduce.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions