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

feat(blueprint): RepoConfig parity (max_budget_usd, memory_token_budget)

Aperta
#447 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
enhancement infra-cdk
Lingua principale
TypeScript
Stelle
143
Fork
46
Merge medio
3g 9h
PR unite (30g)
20

Descrizione

**Context:** ROADMAP.md → Blueprint RepoConfig parity

---

## Component

CDK / infrastructure

## Describe the feature

Extend Blueprint construct to persist per-repo default **`max_budget_usd`** and **`memory_token_budget`** in DynamoDB. Orchestrator already merges `max_budget_usd` when present; hydration uses a fixed memory token cap today.

## Use case

Operators configure budgets in CDK Blueprint but memory cap and defaults are not fully persisted/merged—surprising behavior vs documentation.

## Proposed solution

1. Blueprint props → RepoTable fields for both values.
2. Orchestrator + hydration read merged config (task override > repo > blueprint default).
3. CLI `bgagent repos` shows effective limits.
4. Migration: backfill existing repos with platform defaults.
5. Tests: construct snapshot + handler unit tests.

## Other information

- Design context: `docs/design/REPO_ONBOARDING.md`.

- [ ] This might be a breaking change

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia da docs/design/REPO_ONBOARDING.md, quindi segui le Blueprint props attraverso RepoTable, l’orchestrator e gli hydration paths, oltre al punto di ingresso della CLI `bgagent repos`. Esamina i test construct snapshot e handler unit menzionati nell’issue; il lavoro è completato quando entrambi i limits persistono e vengono uniti con la precedenza indicata, i repos esistenti vengono popolati retroattivamente e i limits effettivi compaiono nella CLI.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
aws, typescript
Ambito
backend, cli, cloud, infrastructure
Tipo di issue
Funzionalità
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Tranquilla
Chiarezza
Abbastanza chiara
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.