Skip to content

fix(portable): stop shipping the upstream agents/ folder - #12

Merged
yxhta merged 1 commit into
mainfrom
fix/drop-shadowed-agents-dir
Oct 16, 2026
Merged

yxhta merged 1 commit into
mainfrom
fix/drop-shadowed-agents-dir

Conversation

@yxhta

@yxhta yxhta commented Oct 16, 2026

Copy link
Copy Markdown
Owner

Claude Code の /plugin Errors に、pstack が「Default agents/ folder is ignored because the manifest sets "agents"」と表示されていました。thermos も同じ構成です。

上流の agents/*.md は、すでに skills/poteto-mode/references/portable-agents/ (thermos は skills/thermos/references/agents/) にコピーされています。manifest には runtime-agents/ のラッパーが登録されているので、パッケージ直下の agents/ はどこからも読まれず、警告を出すだけでした。そこで prepare.py でコピーをやめて移動に変え、ガイド内の Comment Sicko へのリンクも移動先に向けました。

検証

  • claude --plugin-dir ./portable/pstack --debug-file を変更前後で実行しました。警告は 2 件から 1 件に減り、残った 1 件はインストール済みの旧キャッシュ版から出ています。ローカル版からは 12 個の runtime-agents が読み込まれました。
  • python3 tools/portable/validate.py は成功しました。
  • unittest の失敗は変更前の main と同じ 12 件 (mods_evidence、install、codex_discovery など、ローカル環境由来) です。今回の変更で増えた失敗はありません。

🤖 Generated with Claude Code

Claude Code reports "Default agents/ folder is ignored because the
manifest sets agents" for pstack and thermos. The upstream agents/*.md
were already copied into skill references and the manifests register
the runtime-agents wrappers, so the root agents/ copy was dead weight
that only produced the warning. Move the files instead of copying them,
and point the guide's Comment Sicko link at the moved file.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@yxhta
yxhta merged commit 733cccb into main Oct 16, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant