aws-samples / aws-samples/sample-autonomous-cloud-coding-agents
feat(registry): asset versioning and immutability
- Vorherrschende Sprache
- TypeScript
- Sterne
- 146
- Forks
- 46
- Ø Merge
- 3 T. 10 Std.
- Gemergte PRs (30 T.)
- 24
Beschreibung
**Context:** ROADMAP.md → Asset versioning and immutability
---
## Component
CDK / infrastructure
## Describe the feature
Every registry asset version is **immutable** once published. Blueprints pin versions explicitly (**no floating `latest` in production**). Version resolution follows **semver constraints**. Rollback is **re-pin to prior version**, not mutation.
Enables reproducible agent executions and safe rollout without affecting **running tasks**.
**Asset kinds** (parent #246): skills, plugins, MCP servers, capabilities (verification strategies, knowledge tools), prompt fragments, Cedar policy modules.
## Use case
Reproducible agent runs and safe rollout of new tool versions without affecting in-flight tasks require immutable version artifacts.
## Proposed solution
1. S3 object versioning + write-once metadata in DynamoDB registry table.
2. Publish API rejects overwrites for existing `(asset_id, version)`.
3. Blueprint schema: `asset_ref@^1.2.0` pin semantics.
4. Task start resolves to concrete version; record on task record.
5. Tests: publish, resolve, re-pin rollback.
## Other information
- Child of #246 central asset registry epic.
- Design context: `docs/design/ARCHITECTURE.md` (registry section when added).
- [ ] This might be a breaking change
Beitragsleitfaden
Rechercherichtung
Beginne mit ROADMAP.md und dem registry-Abschnitt von docs/design/ARCHITECTURE.md und prüfe anschließend das übergeordnete Issue #246 auf die Grenzen des Asset-Registry. Verwende die vorgeschlagenen Rollback-Tests für publish, resolve und re-pin als Akzeptanzpfad; abgeschlossen bedeutet, dass veröffentlichte Versionen nicht überschrieben werden können, blueprint-Referenzen Semver-Bedingungen in konkrete Versionen auflösen, Rollbacks frühere Versionen erneut anpinnen und Task-Datensätze die aufgelöste Version bewahren.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- aws, typescript
- Bereich
- backend-api-design, cloud, infrastructure
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Ruhig
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 38/100