MCPcopy Create free account
hub / github.com/T0UGH/codex-self-evolution-plugin / BucketPlan

Class BucketPlan

src/codex_self_evolution/migrate.py:60–82  ·  view source on GitHub ↗

Planned consolidation for a single source bucket.

Source from the content-addressed store, hash-verified

58
59@dataclass
60class BucketPlan:
61 """Planned consolidation for a single source bucket."""
62
63 source_bucket: str
64 source_path: Path
65 source_cwd: Path
66 target_bucket: str
67 target_path: Path
68 target_cwd: Path
69 source_memory_entries: int
70 pending_count: int
71
72 def to_dict(self) -> dict[str, Any]:
73 return {
74 "source_bucket": self.source_bucket,
75 "source_path": str(self.source_path),
76 "source_cwd": str(self.source_cwd),
77 "target_bucket": self.target_bucket,
78 "target_path": str(self.target_path),
79 "target_cwd": str(self.target_cwd),
80 "source_memory_entries": self.source_memory_entries,
81 "pending_count": self.pending_count,
82 }
83
84
85@dataclass

Callers 1

plan_migrationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected