Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

feat(cli): emit portable Markdown agents under .agents/agents

オープン
#916 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
65/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
markdown, typescript, yaml

調査の方向性

Look at the aidd translate command in the CLI, likely in src/cli/translate.ts or similar. Examine the existing flat build logic that writes to .codex/agents/ and .agents/skills/. The task is to extend this to also write a Markdown file with YAML frontmatter to .agents/agents/<name>/agent.md. Check the existing collision and --force handling. Run the existing tests for the flat build to understand the output format and add new tests for the portable agent generation.

索引モデルが issue の本文から書いたものです。

説明

Problem

Kimi Code and Antigravity both discover project agents under .agents/agents/, but AIDD does not emit a portable agent there.

The existing Codex flat build already writes portable Skills under .agents/skills/, while agents are emitted only as Codex TOML under .codex/agents/. Reusing that output on Kimi or Antigravity therefore loses the agents.

The two hosts accept one common shape: .agents/agents/<name>/agent.md. Kimi also accepts a flat <name>.md, but Antigravity ignores it silently, falls back to its default agent, and can still report a successful plugin validate result.

Outcome

As a developer using AIDD across Kimi Code and Antigravity, I want one generated Markdown agent projection under .agents/agents/<name>/agent.md, so both hosts discover and execute the same agent without separate Kimi and Antigravity copies or silent fallback.

Codex's existing TOML projection remains an intentional host-specific output.

Scope

  • Extend aidd translate <src> --to codex --as flat to emit each source agent twice:
    • the existing .codex/agents/aidd-<plugin>-<agent>.toml;
    • .agents/agents/aidd-<plugin>-<agent>/agent.md.
  • Use aidd-<plugin>-<agent> as both the portable directory identity and generated YAML name, preserving a non-empty source description.
  • Keep .agents/skills/ and the existing Codex TOML projection behavior unchanged.
  • Never emit the flat .agents/agents/<name>.md shape.
  • Use the flat build's existing collision contract: reject an occupied canonical destination unless --force applies. Never remove or rewrite a different user-owned flat agent path.
  • Document the portable path, the retained Codex projection, Kimi's accepted shapes, Antigravity's directory-only constraint, and why agy plugin validate is not execution evidence.

Acceptance criteria

  • A source Markdown agent produces .agents/agents/aidd-<plugin>-<agent>/agent.md and the existing .codex/agents/aidd-<plugin>-<agent>.toml in one Codex flat build.
  • The portable file parses as YAML-frontmatter Markdown; name and description are non-empty and match the normalized source identity and source description.
  • No .agents/agents/<name>.md file is generated.
  • Existing .agents/skills/ output and the contents of the Codex TOML projection remain compatible, covered by regression assertions.
  • An occupied canonical portable destination follows the existing flat-build collision and --force behavior; unrelated user-owned files remain untouched.
  • An isolated live fixture agent emits a unique AIDD_PORTABLE_AGENT_OK marker when invoked through both Kimi Code and Antigravity.
  • Each live proof records the host version, exact invocation, fixture revision, exit status, and shortest output proving discovery and execution from the generated project path.
  • The Antigravity proof includes an invented-agent negative control, so silent fallback to the default agent cannot pass.
  • Compatibility documentation records the shared shape, Codex exception, and host limitations.

Initial evidence was captured with Kimi Code 2.0.2 and Antigravity agy 1.2.5. A newer version may replace either witness only when the new version and result are recorded.

Out of scope

  • Hook declarations or telemetry host support.
  • Global configuration mutation or global installation.
  • New Kimi Code or Antigravity tool profiles.
  • Deleting or migrating user-authored flat agents.

References

  • Source investigation: #859
  • Kimi Code host delivery: #733
  • Antigravity host delivery: #511
主要言語
TypeScript
スター
481
フォーク
45
平均マージ
19時間 38分
マージ済み PR(30日)
108

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ai-driven-dev/framework のほかの issue

ai-driven-dev/framework の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。