Skip to content

docs(kiloclaw): add infrastructure specs and fix stale RAM value#1098

Open
kilo-code-bot[bot] wants to merge 1 commit intomainfrom
session/agent_d0387f52-15bd-428b-ae25-015019b794dc
Open

docs(kiloclaw): add infrastructure specs and fix stale RAM value#1098
kilo-code-bot[bot] wants to merge 1 commit intomainfrom
session/agent_d0387f52-15bd-428b-ae25-015019b794dc

Conversation

@kilo-code-bot
Copy link
Contributor

@kilo-code-bot kilo-code-bot bot commented Mar 14, 2026

Summary

  • Added kiloclaw/docs/infrastructure-specs.md documenting all hosting and instance specifications for KiloClaw, derived from the actual codebase configuration files with source-of-truth references for each value.
  • Fixed a stale value in kiloclaw/AGENTS.md: the default machine spec stated "4GB RAM" but the actual code in src/config.ts defines memory_mb: 3072 (3 GB).

Verification

  • Verified the RAM value against src/config.ts:31-35 (DEFAULT_MACHINE_GUEST.memory_mb = 3072)
  • Cross-referenced all spec values in the new doc against their source files (config.ts, machine-config.ts, instance-config.ts, wrangler.jsonc, Dockerfile, deploy workflow)

Visual Changes

N/A

Reviewer Notes

The infrastructure specs doc covers: Fly.io machine defaults (shared-cpu-2x, 3 GB RAM), configurable machine size range (1-8 vCPUs, 256 MB-16 GB RAM, shared/performance CPU), volume specs (10 GB NVMe), regions (dfw/ewr/iad/lax/sjc/eu), per-user app isolation, networking config, health checks, CI/CD pipeline, and the Cloudflare Workers control plane. No Terraform/Kubernetes/IaC manifests exist — all Fly resources are managed imperatively via the Machines REST API.

…GENTS.md

- Add kiloclaw/docs/infrastructure-specs.md documenting all hosting and
  instance specs (Fly.io machine sizes, volumes, regions, networking,
  CI/CD pipeline, Cloudflare control plane, etc.)
- Fix AGENTS.md default machine spec: 4GB -> 3 GB (3072 MB) to match
  the actual DEFAULT_MACHINE_GUEST in src/config.ts
| --------------------- | ------------------------------------ | -------------- |
| App name pattern | `acct-{hash}` | `dev-{hash}` |
| Shared image registry | `kiloclaw-machines` | `kiloclaw-dev` |
| Legacy fallback app | `kiloclaw-machines` (`FLY_APP_NAME`) | — |
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SUGGESTION: Development fallback app is documented as absent

The worker still uses FLY_APP_NAME as the legacy fallback in development, and kiloclaw/.dev.vars.example sets that value to kiloclaw-dev. Leaving the dev column blank makes this matrix inaccurate for local/dev setups.

Suggested change
| Legacy fallback app | `kiloclaw-machines` (`FLY_APP_NAME`) | |
| Legacy fallback app | `kiloclaw-machines` (`FLY_APP_NAME`) | `kiloclaw-dev` (`FLY_APP_NAME`) |

@kilo-code-bot
Copy link
Contributor Author

kilo-code-bot bot commented Mar 14, 2026

Code Review Summary

Status: 1 Issue Found | Recommendation: Address before merge

Overview

Severity Count
CRITICAL 0
WARNING 0
SUGGESTION 1
Issue Details (click to expand)

SUGGESTION

File Line Issue
kiloclaw/docs/infrastructure-specs.md 112 Development fallback app is documented as absent even though local dev still sets FLY_APP_NAME=kiloclaw-dev.

Fix these issues in Kilo Cloud

Other Observations (not in diff)

N/A

Files Reviewed (2 files)
  • kiloclaw/AGENTS.md - 0 issues
  • kiloclaw/docs/infrastructure-specs.md - 1 issue

Reviewed by gpt-5.4-20260305 · 833,750 tokens

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants