You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Make agent containers discoverable and publish telemetry snapshot examples #239
Every container built from the agent image becomes discoverable by a dashboard without operator configuration, and the repository publishes the telemetry snapshot contract (schema v1) with synthetic example snapshots. A dashboard can then build and test against the contract before the agent serves telemetry.
Acceptance criteria
The image carries the label io.github.lbacik.simple-coding-agent.role="agent" (set in the image, not in compose), visible with docker inspect on any container built from it.
Repository documentation describes telemetry snapshot schema v1 as decided: top-level fields, the figure object (value + basis, with basis one of measured, estimated, configured, sdk_assumed, unavailable; unavailable always has value: null and may carry reason), "missing field = unavailable" vs "null section = not applicable", the versioning rules (integer major; additive changes do not bump), the stable fields, the 256 KiB cap with trimming and truncated, and the agentctl telemetry --json outputs (bare snapshot on success; {"ok": false, "error": {"code", "message"}} on stdout with codes agent_unreachable, unsupported_operation, snapshot_failed and their exit codes).
Synthetic example snapshots, each a valid JSON file, cover: an idle agent with no attempt but a last finished attempt; an attempt in progress with a partly estimated budget and running subagents; soft threshold crossed with handoff in progress; a recovery hold with its next action; a truncated snapshot. Example error replies cover each of the three error codes.
Examples are synthetic: no data captured from live instances (the dashboard repository is public and copies them).
A test parses every example and checks the stable fields (schema_version, generated_at, identity.repository, identity.agent_version) and that every figure object has value: null exactly when its basis is unavailable.
Operator onboarding docs mention the discovery label.
Activity
lbacik commentedon Oct 14, 2026
Agent Attempt Result: complete
Branch: agent/issue-239
PR: #248
Evidence
UV_PROJECT_ENVIRONMENT=/home/agent/venv-py311 uv run --python 3.11 --extra dev ruff check && UV_PROJECT_ENVIRONMENT=/home/agent/venv-py311 uv run --python 3.11 --extra dev pytest && UV_PROJECT_ENVIRONMENT=/home/agent/venv-py313 uv run --python 3.13 --extra dev pytest→ exit code 0Details
Claude SDK completed the implementation workflow.