Skip to main content

Observability

Every OS call should be traceable. A trace ID connects the request, skill execution, logs, artifacts, approvals, and safe errors. This is what makes local OS supportable and cloud OS auditable.

What gets recorded

RecordPurpose
Call recordShows that the portal received a request.
Execution recordShows which skill ran and what happened.
Trace IDConnects every related record.
Artifact recordShows durable outputs created by the skill.
Approval recordShows human decisions for high-impact steps.
Capability stateShows what was connected or missing.
Safe errorExplains failure without leaking sensitive payloads.

Local observability

Local OS should store execution metadata in SQLite and write logs under the local OS home.
~/.consuelo/os/consuelo.db
~/.consuelo/os/logs/
~/.consuelo/os/runs/
Local mode should still leave evidence. A local run should have a trace ID, status, timestamps, and artifact links.

Cloud observability

Cloud OS should record execution metadata in the app and connect to hosted observability tools for team support. Cloud mode should make it easy to answer: what ran, who requested it, what records were used, what artifacts were created, which approvals happened, and where the error occurred.

Execution record shape

FieldPurpose
executionIdStable execution identifier.
traceIdCross-system trace.
workspaceIdWorkspace scope.
userIdUser who requested the action.
skillNameSkill that ran.
statusCompleted, failed, paused, or waiting for approval.
startedAtStart timestamp.
finishedAtEnd timestamp.
artifactIdsOutputs created.
approvalIdsApproval requests created.
safeErrorMessageHuman-readable failure summary.

Error language

Errors should be product-level whenever possible. Users should see missing capability, validation failed, approval required, or execution failed. Low-level stack traces belong in logs and internal debugging surfaces.