テーマ切替
Multi-Service 構成
Takosumi runs plain OpenTofu Capsules. It registers a Git Source, creates a Capsule, records plan/apply/destroy Runs, and captures StateVersion / Output evidence. Module metadata comes from generic repository information such as Git URL, ref, commit, tag, module path, and well-known OpenTofu outputs.
Current Flow
- Create a Capsule from a Git URL/ref pointing at an OpenTofu module.
- Trigger a plan; Takosumi records a plan Run against the reviewed module and ProviderConnection / ProviderBinding / policy.
- Apply the reviewed plan; Takosumi records an apply Run and, on success, updates StateVersion and Output.
- ProviderConnections hold credential references, ProviderBindings resolve each provider (plus optional alias) the module uses, and policy resolves provider allowlists, state backend, and Cloudflare Container execution for each run.
- Account-plane policy, credentials, OIDC clients, billing, and domains belong to the Takosumi Accounts plane.
Takos Boundary
Takos owns the user-facing workspace experience: chat, agents, memory, Workspaces, and app launcher. Git, storage, agent runtime, file handlers, UI surfaces, and MCP are projected from Capsule outputs and Takos runtime contracts. Takosumi records Run, StateVersion, Output, policy, and audit evidence and policy decisions. Takosumi Accounts plane owns account-plane policy, billing, OIDC, and the dashboard.
API Shape
json
{
"spaceId": "space_1",
"module": {
"gitUrl": "https://github.com/example/app.git",
"ref": "main",
"modulePath": "deploy/opentofu/takoform"
}
}Creating the Capsule records the module reference; subsequent typed Runs record plan type Run / apply type Run entries against the bound ProviderConnection / ProviderBinding / policy. Takos product routes should call the Takosumi deploy control plane or Takosumi account-plane flow instead of exposing a separate product-local deployment surface.