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

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

Đang mở
#478 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
enhancement registry
Ngôn ngữ chính
TypeScript
Star
146
Fork
46
Merge trung bình
3 ngày 10 giờ
Pull request đã merge (30 ngày)
24

Mô tả

**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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Bắt đầu với mục Asset lifecycle management trong ROADMAP.md và xem xét bản nháp về versioning asset mà mục này phụ thuộc vào. Truy vết đường đi của createTask, telemetry của task, API registry và các lệnh CLI của bgagent registry được nêu trong đề xuất. Được xem là hoàn thành khi flow publish/deprecate/retire, cảnh báo deprecation, việc từ chối asset đã retired, endpoint migration hàng loạt và các action của CLI được định nghĩa và có coverage.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
typescript
Lĩnh vực
api, backend, cli
Loại issue
Tính năng
Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.