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

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

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

説明

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

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

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

調査の方向性

docs/design/REPO_ONBOARDING.md から始め、Blueprint props を RepoTable、orchestrator、hydration paths、および `bgagent repos` CLI エントリポイントまで追跡します。Issue で言及されている construct snapshot と handler unit tests を確認します。完了とは、両方の limits が保持され、指定された優先順位でマージされ、既存の repos にバックフィルされ、実効 limits が CLI に表示されることです。

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

評価

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

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

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