テーマ切替
Run History
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 a OpenTofu Capsule.
- Run
planto produce aplantype Run and review its proposed changes, warnings, and policy decision. - Apply the reviewed plan to produce an
applytype Run; a successful apply records StateVersion and Output. - Destroy is recorded as a two-phase
destroy_plan-> approval ->destroy_applyflow against the same Capsule, keeping the run ledger append-only. - Connections hold credential references, ProviderBindings resolve each provider (+ optional alias) to an explicit provider connection, and policy resolves provider allowlists, state backend, execution image / resource limits, and Cloudflare Container execution; account-plane concerns (credentials issuance, OIDC clients, billing, domains, dashboard) 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 exposed through Capsule Outputs and Takos runtime contracts. deploy/product-resources.json is the provider-neutral resource authority; deploy/opentofu/cloudflare and deploy/opentofu/takoform are peer adapters. Takosumi runs either ordinary OpenTofu module and records Capsule / Run / StateVersion / Output state, policy decisions, and audit evidence.
API Shape
json
{
"spaceId": "space_1",
"module": {
"url": "https://github.com/example/app.git",
"ref": "main",
"path": "deploy/opentofu/takoform"
}
}An apply targets a reviewed plan type Run and records an apply type Run against the Capsule. Takos product routes should call the Takosumi deploy control plane or the operator account-plane install flow instead of exposing a separate product-local deployment surface.