Phase 3: Config revisions with rollback for ADF
まだ誰も着手していません。
評価
調査の方向性
Start with the terraphim_orchestrator config handling and the ADF CLI bin crate, using orchestrator.toml and the requested config_history directory as the entry points. Review the referenced Paperclip files for revision patterns. Done means snapshots, listing, rollback, diff, pruning, and the running-agent safety rule all satisfy the acceptance criteria.
索引モデルが issue の本文から書いたものです。
説明
Parent Epic
#637
Summary
Version the orchestrator TOML config before each change, with CLI rollback capability.
Changes Required
terraphim_orchestrator
- New
config_history/directory alongsideorchestrator.toml - Before applying any config change, snapshot current TOML to
config-history/YYYY-MM-DDTHH:MM:SS.toml - Keep last N snapshots (configurable, default 10)
- Prune older snapshots on each save
ADF CLI (bin crate)
adf config history-- list available snapshots with timestampsadf config rollback <timestamp>-- restore config from snapshotadf config diff <timestamp>-- show diff between current and snapshot- Safety: refuse rollback if agents are actively running (or add
--forceflag)
Config
[config_history]
max_snapshots = 10
history_dir = "/opt/ai-dark-factory/config-history"
Reference
- Paperclip config revisions:
packages/db/src/schema/agent_config_revisions.ts - Paperclip agent service:
server/src/services/agents.ts(buildConfigSnapshot, config revision tracking)
Acceptance Criteria
- Config snapshots saved before each change
-
adf config historylists available snapshots -
adf config rollbackrestores from snapshot - Old snapshots pruned automatically
- Rollback blocked when agents running (unless --force)
- 主要言語
- Rust
- スター
- 62
- フォーク
- 5
- 平均マージ
- 2時間 27分
- マージ済み PR(30日)
- 1
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
terraphim/terraphim-ai のほかの issue
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
terraphim/terraphim-ai#885 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
terraphim/terraphim-ai#871 ·
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
terraphim/terraphim-ai#810 · コメント 2 件 ·
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
terraphim/terraphim-ai#729 ·
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
terraphim/terraphim-ai#728 ·
terraphim/terraphim-ai の issue をすべて見る
似ている issue
-
bug github_actions
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
registrystack/registry-stack#1393 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
longbridge/gpui-kit#3223 ·
-
bug engine
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
rocky-data/rocky#2181 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
oasisprotocol/oasis-sdk#2523 ·
-
[indexer] [QA] Add a focused test for the new NonRetryableError / assertSocketAlive() behavior. オープンbot:ai-assisted component:indexer QA-roadmap status:untriaged
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
midnightntwrk/midnight-indexer#1557 ·