Operating an organisation
Keep the organisation running as the team changes. Check progress, adjust roles and access, and understand what happens when seats stop, recover or retire.
Deploy the platform and team
Keep the platform setup separate from the team declaration so each can change at its own pace. The source repository's example uses three stages in order, with roots in examples/:
| Stage | Creates | Typical owner |
|---|---|---|
foundation | Cluster prerequisites: namespaces, Postgres, the secret manager integration, credential Secrets | Platform/infra team |
platform | The Helm chart: CRDs, controller, platform service | Platform/infra team |
organisation | The steadmesh_organization resource and its instruction bundles | Whoever owns the organisation's structure |
| Command | What it does |
|---|---|
make -C examples apply | Plans and applies each stage in order, then runs a fresh orgctl verify. The first failing stage stops the run. |
make -C examples plan | Plans every stage. Later stages need the earlier ones applied. |
make -C examples status | Organisations, seats and readiness. |
make -C examples verify | A fresh readiness check with no Terraform involved. |
make -C examples teardown | Destroys organisation, platform and foundation. The cluster stays. |
make -C examples apply-<stage> | One stage only. |
Every saved plan, rendered plan, log and output goes to examples/out/ for review.
Checking readiness
bin/orgctl status --context kind-steadmesh --namespace steadmesh-example
bin/orgctl verify --context kind-steadmesh --namespace steadmesh-example --timeout 10m
status prints the current conditions, the seats and the representative endpoints. verify asks the controller for a completely fresh pass: it re-verifies connections and re-probes every seat. It exits non-zero unless the organisation is OperationalReady. A no-change terraform apply is not a health check, so run verify after every deploy.
Find the check that needs attention
The conditions are evaluated in this order. The first one that is not True becomes the reason for OperationalReady.
| Condition | True when | Common reasons for False |
|---|---|---|
Configured | The specification compiles, and all instruction digests match their content. | InvalidSpec, digest mismatch |
IdentitiesReady | Every seat has a durable identity in the platform. | PlatformUnavailable |
ConnectionsAuthenticated | Every required connection authenticates. | ConnectionUnauthenticated with the adapter error |
IngressReady | The Slack Socket Mode connection is established. | IngressUnavailable: connecting |
BindingsValid | Every bound human exists in the workspace. | Unknown or deleted user |
StorageReady | Every seat's workspace volume is bound. | Pending PVC, no storage class |
HarnessCompatible | The harness profiles are supported. | Unsupported adapter or capability |
SandboxEnforced | A probe Pod has checked that the NetworkPolicy blocks traffic, and any requested RuntimeClass exists. | CNI without NetworkPolicy support, missing RuntimeClass |
RoutesExecutable | Every seat passed a synthetic probe for its current revision: a tool call, a workspace write/read and, if it has a model connection, a model ping. | ProbePending, ProbeFailed |
A seat that is stopped but has passed its probe still counts as ready. The probe never creates business work and never sends messages to people.
IntegrationsDegraded is informational and is not part of OperationalReady. It is True while an optional connection, such as a work tracker, is failing. Agents keep working without it, and work publication catches up when it recovers. Which connections are optional is described under connections.
Understand a seat's current state
Use the seat state to tell whether it is working, waiting or needs attention. These execution states are separate from a project's status:
| State | Meaning |
|---|---|
Provisioning | The workspace, identity or Pod is being prepared. |
Warm | The runtime is up and waiting for work. |
Executing | The harness is processing a message under an execution lease. |
Quiescing | The runtime is finishing the current turn and checkpointing before it stops. |
Stopped | The Pod is gone, but every durable piece of state remains. |
Recovering | The runtime failed. The old writer is being fenced off before a new one starts. |
Blocked | A dependency or required capability is unavailable. Messages are kept, and the reason is shown. |
Retiring | The seat was removed from the declaration and is winding down. It takes no new messages and is retired when its retirement turn is done or its grace period ends (see Retiring a seat). |
Retired | The seat was removed from the declaration and has retired. Its data is retained by default. |
The controller acts on these rules:
- Wake. A pending message for a stopped seat scales it to one replica. This usually takes a few seconds.
- Idle stop. With
idle_policy = "warm_then_stop", a warm seat with no pending work is stopped onceidle_timeouthas passed since its last activity. Stopping a seat saves its compute; the platform, database, volumes and cluster keep running and can still cost money. - Configuration change. When a seat's configuration revision changes, its Pod is replaced at a safe boundary: the runner finishes or interrupts the turn, checkpoints, then exits.
- Crash. The controller confirms the old Pod is gone, never force-deleting it, before the new runner's lease takes over. Stale writers are rejected by lease generation.
A held lease means a runner owns the seat, which includes a warm, idle runner; it does not by itself mean the model is working. Read it alongside the seat's last progress and queued messages (What does lease held mean?). For what a seat remembers between messages, see Does each agent keep its context?
Change roles, access and team members
- Instructions or templates. The plan's
resolved_seatsshows which seats get a new configuration revision. Each execution records the revision it ran with. - Grants. A revocation takes effect for the next tool call, before the apply reports ready. Information a model has already read cannot be un-read. Revocation stops future access only.
- Seats. Adding a seat creates a new identity. Removing one retires it gracefully (below). Renaming a seat key is a retirement plus a new seat. To carry data over, set
adopt_from = "<old seat id>"on the new seat once the old one has retired. - Harness. Changing
harness_profilekeeps identity, memory, workspace and messages. A native session that cannot be converted is replaced by a portable handoff, with a recovery note.
Retiring a seat
When you remove a seat from the declaration, it gets a bounded wind-down period to finish or hand over its work. The apply returns at once, and retirement proceeds in three steps:
- Retiring. The seat takes no new work. Sending it a message fails with
unavailableand nothing is queued. Messages already waiting for it go back to their senders as not delivered, with the original quoted. Wake schedules and readiness probes stop. Its current turn, if any, carries on, and it keeps its tools, memory and sandbox access. - Wind-down. The seat gets one last message: a retirement notice. It finishes or pauses its work, saves a handoff with
handoff.update, releases or hands over the work items it owns, and tells the seats it works with. This is bounded by the grace period, 10 minutes by default. When the period ends, the running turn is interrupted. - Retired. Once the notice turn is done, or the grace period ends, the platform retires the seat. Whatever it still holds is handed back:
- Unfinished work items it owns are released to
ready, with a log entry pointing at its handoff. - Messages it never handled are returned to their senders.
- The organisation's representatives get a summary: whether it finished, its handoff, the released work items and the returned messages.
- Unfinished work items it owns are released to
Adding the seat back before it retires cancels the retirement. Messages already returned stay returned. The grace period is the platform's RETIREMENT_GRACE: the chart value retirement.grace, or seat_retirement_grace on the modules/platform Terraform module. 0s retires removed seats at once, and what they held is still handed back. Deleting the whole organisation retires every seat immediately.
# Watch a seat wind down
kubectl --context kind-steadmesh -n steadmesh-example get agentseats
kubectl --context kind-steadmesh -n steadmesh-example get agentseat <seat-name> -o jsonpath='{.status.retiringUntil}'
Agents can change the organisation only the way people do: through the infrastructure repository and its deployment workflow, and only if you grant them access to that repository. Seat credentials have no access to the Kubernetes API.
Administrative controls
The stable-key seat commands were introduced in v0.6.0. Install orgctl from the same release as your platform (Go 1.27.1 or newer), or build make orgctl from that release's source:
go install github.com/darcys22/steadmesh/cmd/orgctl@v0.8.0
Use the installed orgctl in place of bin/orgctl in the source-tree examples below. The --name value is the Kubernetes organisation object's name; --seat is its declaration key, not the generated seat name or durable UUID.
Use orgctl to inspect, watch, pause or resume a seat by its stable declaration key, without looking up its generated Kubernetes name. All four commands require an explicit --namespace, --name (the AgentOrganization object name) and --seat. As with the other commands, supply --context or STEADMESH_KUBE_CONTEXT; the ambient Kubernetes context is never used. To change the direction of a seat's work, talk to your representative.
# Inspect the representative_sean seat in this organisation
bin/orgctl inspect --context kind-steadmesh --namespace steadmesh-example \
--name example-company --seat representative_sean
# Print the initial state, then changes, until Ctrl-C
bin/orgctl watch --context kind-steadmesh --namespace steadmesh-example \
--name example-company --seat representative_sean --interval 2s
# Request an administrative pause, then clear that pause
bin/orgctl pause --context kind-steadmesh --namespace steadmesh-example \
--name example-company --seat representative_sean
bin/orgctl resume --context kind-steadmesh --namespace steadmesh-example \
--name example-company --seat representative_sean
Use your organisation's object name and seat key from orgctl status. Inspection includes the durable seat ID, requested suspension, execution state, configured and adopted revisions, observed generation, readiness conditions, probe, workspace claim, checkpoint and retirement deadline when present. Add --output json for structured spec/status data. A JSON watch emits one object per change. Watch polls the selected object (every two seconds by default) and stops with an error if access is lost, the object disappears or its identity changes.
Pausing or blocking a parent also causes its disposable workers to be cancelled. Their Pod cleanup remains asynchronous, and completed results remain durable; see worker completion and cleanup.
pause and resume change only spec.adminSuspended using your existing Kubernetes credentials and permissions. Repeating the same request is a no-op. A concurrent update is rejected rather than overwritten: inspect the seat and retry. These commands report the requested control value immediately; controller reconciliation is asynchronous, so use watch to see the resulting execution state and observed generation. A pause can interrupt execution; it does not retire the seat or delete its workspace. Resume clears administrative suspension only: a retired seat or another blocked dependency will not become runnable just because suspension was cleared.
You need get access to agentorganizations and agentseats, plus patch access to agentseats for pause/resume. These commands do not read Secrets, mint credentials or require the optional console. Inspect/watch show Kubernetes spec/status, not live model activity, message bodies or logs.
# For logs, use the Object and Backend shown by inspect
kubectl --context kind-steadmesh -n steadmesh-example logs <seat-object-name>-0
Upgrade to a matching release
Back up Postgres, seat workspace volumes and your Terraform state before upgrading. Keep the platform chart, controller, platform service, seat images, Terraform provider and orgctl on the same release. Update module ?ref= pins, steadmesh_version and the provider version together; apply platform/ before organisation/, then check readiness with orgctl verify using your explicit context and organisation selection.
v0.6.0 includes database migrations 00002_model_budgets.sql, 00003_task_runs.sql and 00004_run_branches.sql. The platform applies pending migrations automatically when it opens the database. Deploy the complete release in order; do not deploy a standalone feature branch or add a missing lower-numbered migration after later ones have run. If migration fails, inspect the platform logs and migration history before proceeding. There is no built-in backup/restore or documented automatic rollback.
Worker support also depends on the matching controller, chart RBAC and seat image. A provider-only upgrade is not enough. The new model budgets are opt-in; disposable-worker and branch tools are available to active seats without extra Terraform grants, but workers receive no platform tools by default. Read their authority and cleanup limits before use.
Upgrade from v0.6.0 to v0.7.0
Wait for the v0.7.0 release workflow to finish publishing the chart, images and signed provider before using the release-pinned quickstart. Keep the chart, controller, platform, seat images, provider and orgctl on the same release. Back up Postgres, workspace volumes and Terraform state, and follow the permission-hardening rollout below, including a stable credential-ledger encryption key and resyncing every organisation.
Upgrading from v0.6.0 applies all eight pending migrations automatically when the platform opens the database:
00005_issued_credentials.sql: durable issued-credential ledger00006_external_conversations.sql: external representative conversations00007_elastic_teams.sql: elastic-team capacity accounting00008_task_launch_fence.sql: one-shot worker launch fence00009_native_pools.sql: independent native-pool membership00010_participant_context.sql: versioned participant context and history00011_team_coordination.sql: team missions and message execution attribution00012_context_approvals.sql: reviewed instruction proposals and approver attribution
There is no built-in backup/restore or supported automatic rollback. A Helm rollback does not reverse the database migrations. Inspect platform logs and migration history if startup fails; do not remove migrations or roll binaries back against an unverified schema.
Before the migration and restart, stop new worker creation, drain or cancel existing workers and confirm their Pods are gone, then quiesce all old controller replicas. Do not run v0.6.0 controllers alongside v0.7.0: old controllers do not participate in the durable launch fence. Start the matching platform and controller release only after the old controllers and their outstanding Kubernetes API requests cannot issue further creates; recheck worker Pods after quiescence.
Helm does not upgrade existing CRDs from a chart's crds/ directory. Before applying organisations with elastic_teams or native coordination, pool and context policies, update both existing CRDs from the v0.7.0 source checkout using your explicit cluster context; do not delete and recreate them:
kubectl --context YOUR_CONTEXT apply -f charts/platform/crds/
Run that command from a verified v0.7.0 checkout and confirm the CRDs are established before the organisation apply. This requires cluster-scoped CRD update permission.
The launch fence deliberately retains capacity when a controller crashes after acquiring its launch fence but before resolving it, or a Kubernetes create has an ambiguous outcome. A missing Pod alone is not proof that a delayed create cannot still arrive. Such reservations require manual operator recovery after establishing that the original launch can no longer create resources; there is no automatic timeout-based fence reset or supported recovery command. Do not clear the reservation or retry the same launch merely because its Pod is absent.
Elastic teams are opt-in and need positive organisation-daily and execution output-token budgets. Workers inherit the requester's model and runtime restrictions and can receive only the supported read-only tools; these budgets do not cap input tokens or monetary cost. The representative MCP gateway remains disabled by default. See elastic-team configuration and tools and gateway access.
Native pools are a separate opt-in policy: members have independent seat identities, inboxes and ordinary turns under explicit templates, grants and routes. Existing task records and elastic-team policies are not converted to native pools. Omitting native policies preserves declared-team behaviour, and context editing remains disabled by default. Apply positive organisation and execution output-token budgets before enabling pools; review message limits, mission editors, instruction approvers and shared-board permissions separately.
Native retention_seconds = 0 preserves retired private data indefinitely. A positive value enables automatic deletion of retired members' private context, memory, sessions and handoffs after that interval; shared evidence and message audit remain. Choose this destructive retention policy deliberately before applying it. After updating release pins, apply platform/ before organisation/, resync every organisation and run orgctl verify with your explicit context and organisation selection.
Roll out permission hardening
The permission-hardening upgrade adds the automatic database migration 00005_issued_credentials.sql, independent grant clauses and strict adapter target validation. Back up the database and preserve the ledger key separately before rollout.
- Prepare the existing Secret reference for every platform replica before enabling sandbox credential delivery. Do not generate a new key on each start.
- Use a coordinated restart of the matching controller and platform version; avoid a mixed old/new security rollout. Old replicas can still issue untracked tokens or enforce previously flattened, overbroad grants.
- Reconcile/resync every organisation with the upgraded controller so its stored manifests are recompiled into independent grant clauses. Upgrading the binary alone does not repair old flattened manifests. Review the resulting grants and run
orgctl verify. - Tokens delivered before this upgrade existed only in memory and cannot be retroactively recorded. Revoke those GitHub App tokens upstream or allow their expiry before assuming full durable revocation coverage; handle PATs and browser sessions separately.
- Check calls and access profiles that validation now rejects. Remove spoofing or ambiguous parameter fields, use concrete target reads for scoped grants, and split heterogeneous sandbox repository permissions across connections or use platform delivery.
Configure durable sandbox credentials
Set CREDENTIAL_LEDGER_KEY on the platform service to a base64-encoded, randomly generated 32-byte key. The platform uses AES-256-GCM to encrypt issued GitHub App token payloads before storing them in Postgres, alongside their scopes and revocation retry state. There is no command-line flag and no in-memory fallback.
For Helm, provision a Kubernetes Secret in the control-plane namespace outside Helm and Terraform, then reference it:
credentials:
ledgerSecretName: steadmesh-credential-ledger
ledgerSecretKey: key
ledgerSecretKey defaults to key. That Secret entry must contain the base64-encoded 32-byte value consumed by CREDENTIAL_LEDGER_KEY (Kubernetes data encoding is an additional layer; stringData accepts the environment value directly). Put only the Secret name and entry name in chart values or Terraform; never put the key material there or in command-line arguments, source control or logs.
With modules/platform or quickstart/platform, pass credential_ledger_secret_name and, if needed, credential_ledger_secret_key (default key). These inputs carry only references. For a fresh installation where Terraform creates the namespace, apply the platform first with the name empty, provision the Secret outside Terraform, then set the name and reapply before starting work that needs sandbox credentials.
All platform replicas must share the same stable key. Keep it outside the database, back it up separately, and preserve the matching key when restoring the database. Losing it prevents decryption and remote revocation of outstanding tokens. Do not change it while outstanding tokens remain: stop new issuance, drain revocations or wait for expiry, then coordinate the key change and restart all replicas. Connection-secret hot reload does not rotate this key.
A missing key permits broker-only startup, but all sandbox credential delivery is refused, including PATs and stored browser sessions. A configured key that is malformed or does not decode to 32 bytes prevents startup. PATs and browser sessions are not retained in the revocable-token ledger because the platform cannot revoke them; the shared key requirement keeps delivery setup consistently fail-closed.
Durability has an upstream boundary. A token is delivered only after its encrypted record is committed. If storage fails, delivery is withheld and the platform attempts cleanup. GitHub token minting and a database commit cannot be atomic: a process crash after minting can leave an undisclosed token valid upstream until expiry. Provider outages can delay revocation of recorded tokens; their pending state survives restart and retries until success or expiry. Existing untracked tokens need the upgrade precautions above.
Retention and deletion
- Retiring a seat stops new deliveries, revokes its capabilities and removes its Pod. Its workspace volume and database records are kept, because the volume has no garbage-collecting owner.
- Destroying the organisation with
data_retention = "retain"removes the runtime and revokes platform capabilities, but keeps volumes and records. With"delete", the volumes go too. Pending App-token revocations survive organisation deletion in the platform database; keep the platform, database and ledger key available until they succeed or the tokens expire. PATs and browser sessions need separate upstream revocation. - External resources are never deleted. That covers Slack workspaces, Linear projects and accounts, because connections are
ownership = "external". - Deleting a namespace or database from outside the platform bypasses retention and can prevent pending credential revocations from completing. Revoke outstanding tokens upstream or wait for expiry before teardown. Protect storage in the infrastructure repository, and use a
Retainreclaim policy for production storage classes.
Retention is not a backup. This release has no built-in backup or restore (acceptance scenario A26 is deferred). Destroying the platform stage deletes its namespaces and the database in them, and deleting a cluster deletes its volumes. Back up Postgres and the seat workspace volumes yourself, and test a restore, before destroying anything you want to keep; a database dump alone does not include workspaces. See Where is the data stored? and How do I take it down?
Trace messages and spot delays
Every component logs structured JSON. Each line carries organisation, seat, execution and message IDs, so one inbound message can be traced from acceptance, through wake and harness execution, to tool calls and the reply. The platform exports Prometheus metrics on :8080/metrics:
| Metric | Meaning |
|---|---|
steadmesh_ingress_events_total | Inbound events by outcome: accepted, duplicate, unknown user, over cap |
steadmesh_messages_accepted_total, steadmesh_messages_rejected_total | Message acceptance |
steadmesh_inbox_oldest_pending_seconds | Queue age per seat |
steadmesh_seats | Seats by execution state |
steadmesh_deliveries_dead_lettered_total | Poison messages set aside after 5 attempts |
steadmesh_memory_conflicts_total | Stale-revision memory writes |
steadmesh_connector_operations_total, steadmesh_connector_retries_total, steadmesh_connector_unknown_outcomes_total | External operations, retries and outcomes the platform could not confirm |
steadmesh_tool_calls_total, steadmesh_automation_runs_total | Tool usage and automation runs queued |
steadmesh_http_requests_total, steadmesh_http_request_duration_seconds | API traffic |
Follow the team in the console
The Steadmesh Console brings the team's messages, runs, work items and readiness into one read-only browser view. It is off by default. When it is off, nothing is deployed and the platform does not serve the console API. To turn it on, set enable_console in the platform stage and apply:
terraform -chdir=examples/platform apply -var enable_console=true
orgctl console --context kind-steadmesh # forwards http://127.0.0.1:8090
Without orgctl, run kubectl --context kind-steadmesh -n steadmesh-system port-forward deploy/steadmesh-console 8090. The console listens only on its Pod's loopback interface and has no login of its own, so it can be reached only by someone allowed to port-forward in the control-plane namespace.
| View | Shows |
|---|---|
| Organisation | Teams and seats with their role and state (working, queued, waiting, starting, blocked, offline). It shows whether a runner holds each seat's lease separately from when the seat last made progress. Each seat page lists its permanent seat ID, every run across Pod replacements with the lease generation it ran under, its handoff note, its checkpoint and its memory metadata. Memory record contents are never shown. |
| Work | What seats produced: connector operations such as Linear issues, with their receipts, plus artifacts and runs. Failed operations and operations with unknown outcomes appear first, as blockers. |
| Activity | A live timeline of messages, runs, tool calls, errors and connector operations, next to a map of seats and their declared routes. A route lights up only when a message is actually sent on it. Selecting a message opens its conversation: delivery state per recipient, the run it triggered, that run's tool calls and the reply. |
| Readiness | Organisation conditions; for each seat, the requested configuration revision against the one actually running, the probe result, the workspace claim and failing conditions. Connections show only where their secret reference points and whether the last check succeeded, never the secret value. |
For a short guide to what to look at, see How do I see the organisation working?
The console's ServiceAccount can only read AgentOrganizations, AgentSeats, Pods and PersistentVolumeClaims. The platform accepts that one identity on /console/v1, and every route there is a GET. Tool inputs and connector results shown in run details have credential-like fields (token, secret, password, API key, authorization) replaced with [redacted].
Rotating credentials
This section covers connection credentials. The credential ledger encryption key has a separate drain-and-restart procedure; it is not hot-reloaded.
Connections refer to credentials by secret_ref: a Kubernetes Secret in the control-plane namespace (k8s:<name>) or a Vault KV v2 entry (vault:<path>). To rotate one, replace the value in place and keep the reference. You don't need to run Terraform or restart anything.
kubectl -n steadmesh-system patch secret slack-credentials \
-p '{"stringData":{"bot_token":"xoxb-new","app_token":"xapp-new"}}'
vault kv put secret/steadmesh/linear api_key=lin_api_new
| Step | What happens |
|---|---|
| Detection | Kubernetes Secrets are watched, and a change is picked up within seconds. Vault is polled every credentials.refreshInterval (Helm value, default 60s), and a poll of every secret also backs up the watch. orgctl verify refreshes immediately. A change that leaves the values the same, such as a new Vault version with identical data or a label change, does nothing. |
| Validation | The new credential is checked against the service before it is used: auth.test for Slack, a read for Linear, the model endpoint for model connections. |
| Switch-over | New requests use the new credential. Requests and model streams already in progress finish on the old one. Slack's Socket Mode connection is replaced make-before-break: the new socket connects before the old one closes. Events are acknowledged only after they are stored, and duplicates are discarded by event ID, so none are lost or processed twice. |
| Revoked before it was replaced | When a service rejects a request as unauthorised, the platform re-reads the secret straight away, at most once every 30 seconds per connection. If the credential changed, it retries the request once with the new credential. A retry happens only when the rejection proves the request had no effect. An operation whose outcome is unknown is never retried, as before. A reply to a person that is rejected this way stays queued and is retried with backoff instead of being dropped. |
When a replacement is wrong. A new credential that the service rejects is never used. If the previous credential still works, it stays in use for credentials.grace (default 10 minutes). After that, or immediately if the previous credential is also rejected, the connection becomes unavailable and the reason is shown. Putting a valid value in the secret recovers it automatically.
When the secret is deleted, the previous credential stays in use for the grace period, and then the connection becomes unavailable. When the secret store can't be read, for example because Vault is sealed or unreachable, the current credential stays in use for credentials.maxStale (default 24 hours) while refreshes keep retrying.
Status. Each connection's credential state appears in the console's Readiness view and in the platform's verify response; orgctl status and orgctl verify show it in the ConnectionsAuthenticated condition message. The states are current, replacement_rejected, secret_missing, refresh_failing and unavailable, with the secret's version and the reason. While a required connection still works but is degraded, ConnectionsAuthenticated stays true with reason CredentialRefreshDegraded. No secret value is ever shown or logged.
Vault login. The platform's own Vault login is renewed before it expires, and it logs in again if renewal fails. That is separate from reloading the credentials stored in Vault. It is reported by the steadmesh_vault_login_ok and steadmesh_vault_login_expiry_seconds metrics.
Test coverage. The fakes-based example run includes an Anthropic key rotation mid-session. The recorded real-services run skipped that step, so rotation against a real provider has not been recorded yet.
Keeping values out of Terraform. Secrets that Terraform creates (the quickstart's slack_bot_token and similar) keep their values in that stage's state. To avoid that, create the Secrets or Vault entries yourself and pass only references in existing_secret_refs.
Troubleshooting
| Symptom | Cause and fix |
|---|---|
| Apply times out on create, and the next plan wants to replace the organisation | Terraform marks a resource tainted when its create fails. Fix the reported condition, then run terraform -chdir=examples/organisation untaint steadmesh_organization.this. Timeouts on update don't taint. |
SandboxEnforced=False naming the NetworkPolicy | The cluster's CNI doesn't enforce NetworkPolicy, or the probe Pod is still running. Seats are deliberately not started without enforcement. Use a CNI that enforces it (kind's default does). |
IngressReady=False: connecting right after a Slack outage | Socket Mode is reconnecting with backoff. Re-run orgctl verify after a short wait. |
ConnectionUnauthenticated: invalid_auth | A wrong or revoked token in the Secret named by secret_ref. Put a valid value in the Secret; it is picked up without a restart (see Rotating credentials). Run orgctl verify to check immediately. |
| A seat crash-loops, logging "seat directory … is not writable" | The workspace volume's directories belong to another user. Use a storage class that honours fsGroup, or fix ownership on the volume. |
terraform init: "local package … doesn't match any of the checksums" | A rebuilt dev provider. The example Makefile regenerates the lock file on every init; if you run Terraform by hand, delete .terraform.lock.hcl. |
A reply never arrives, and the seat shows Blocked | Read the seat's condition message. The message is kept in its inbox and is delivered once the dependency recovers. |
An external operation shows unknown | The external API may have applied it, but the response was lost and could not be confirmed. The platform does not replay it automatically. The agent sees it in its recovery context so it can check the external result. |