aws-samples / aws-samples/sample-autonomous-cloud-coding-agents

feat(registry): asset lifecycle (publish, deprecate, retire, migrate)

オープン
#478 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
enhancement registry
主要言語
TypeScript
スター
143
フォーク
46
平均マージ
3日 10時間
マージ済み PR(30日)
24

説明

**Context:** ROADMAP.md → Asset lifecycle management

---

## Component

API or orchestration

## Describe the feature

**Publish, deprecate, retire** flow for registry assets. Deprecation warnings in task telemetry for pinned versions nearing EOL. Retirement blocks new tasks referencing the asset. Operator API for **bulk migration** (re-pin all blueprints v1 → v2).

## Use case

Operators must sunset vulnerable or obsolete MCP servers/skills without breaking running tasks or manually editing every Blueprint.

## Proposed solution

1. State machine: `published → deprecated → retired`.
2. Task telemetry `asset_deprecated_warning` when pinned version deprecated.
3. `createTask` rejects retired assets with clear error.
4. `POST /registry/migrate` bulk re-pin operator action.
5. CLI: `bgagent registry deprecate|retire|migrate`.

## Other information

- Child of #246.
- Depends on asset versioning draft.

- [ ] This might be a breaking change

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

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

調査の方向性

ROADMAP.md の Asset lifecycle management エントリから始め、それが依存するアセットのバージョニング案を確認します。createTask のパス、タスクテレメトリ、レジストリ API、および提案で指定されている bgagent registry CLI コマンドを追跡します。publish/deprecate/retire フロー、非推奨警告、retired asset の拒否、バルク移行エンドポイント、CLI アクションが定義され、カバーされていれば完了です。

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

評価

技術スタック
typescript
領域
api, backend, cli
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

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

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