aws-samples / aws-samples/sample-autonomous-cloud-coding-agents
feat(registry): asset lifecycle (publish, deprecate, retire, migrate)
- 主要言語
- 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