Repository navigation
Description
Context & Rationale
ai harness status renders AgentHarness.create_default() (src/devops_cli/commands/ai_harness.py:60): claude/claude-3-7-sonnet, every slot attached (src/devops_cli/ai/harness/slots.py:709-764), not the configured ollama/gemma4:26b (src/devops_cli/config/defaults.py:63-64). harness run and offload call no model: execute_tiered templates Tier 1 "Decomposed" and Tier 3 "Verified" text (slots.py:785, 682-686), tokens are len(text)//4 (slots.py:142), offload passes frontier_tokens=0 (ai_harness.py:88), and is_target_met (slots.py:610) alone backs Principle 5's "85%+". register_task (src/devops_cli/ai/controller/manager.py:169) has no src caller, each CLI call builds a fresh manager (src/devops_cli/commands/ai_controller.py:119), and is_quiesced()/get_active_route() (manager.py:408, 412) have no consumer. telemetry profile <command> sets a child TRACEPARENT (src/devops_cli/commands/telemetry.py:349) that run_subprocess overwrites (src/devops_cli/core/process.py:264), reads only its in-process buffer (telemetry.py:361), and otherwise renders sample.* spans naming qwen2.5-coder (telemetry.py:362-367). --last (telemetry.py:299) is never read; the MCP tool's --command (src/devops_cli/ai/mcp/server.py:1118) is rejected. vibes worktree_arbiter.py main() likewise formats a default SwarmFleetStatus().
Scope & Deliverables
- Context & Rationale*:
ai harness statusrendersAgentHarness.create_default()(src/devops_cli/commands/ai_harness.py:60):claude/claude-3-7-sonnet, every slotattached(src/devops_cli/ai/harness/slots.py:709-764), not the configuredollama/gemma4:26b(src/devops_cli/config/defaults.py:63-64).harness runandoffloadcall no model:execute_tieredtemplates Tier 1 "Decomposed" and Tier 3 "Verified" text (slots.py:785, 682-686), tokens arelen(text)//4(slots.py:142), offload passesfrontier_tokens=0(ai_harness.py:88), andis_target_met(slots.py:610) alone backs Principle 5's "85%+".register_task(src/devops_cli/ai/controller/manager.py:169) has no src caller, each CLI call builds a fresh manager (src/devops_cli/commands/ai_controller.py:119), andis_quiesced()/get_active_route()(manager.py:408, 412) have no consumer.telemetry profile <command>sets a childTRACEPARENT(src/devops_cli/commands/telemetry.py:349) thatrun_subprocessoverwrites (src/devops_cli/core/process.py:264), reads only its in-process buffer (telemetry.py:361), and otherwise renderssample.*spans namingqwen2.5-coder(telemetry.py:362-367).--last(telemetry.py:299) is never read; the MCP tool's--command(src/devops_cli/ai/mcp/server.py:1118) is rejected. vibesworktree_arbiter.pymain()likewise formats a defaultSwarmFleetStatus(). - Deliverable*: First, a Typer CliRunner test per command that changes the source it should read (settings,
quiesce.json, child spans) and asserts the output changes; these fail today. Harness:statusshows the configured provider and model labelled "configured" and no uncheckedattached; drop "sandbox state" fromai_harness_status(docs/MCP_TOOLS.md:20, server.py:2511). DeleteTokenSavingsSummaryand its output rows;execute_tieredreports the AST/glob search it ran and its match counts, naming no uncontacted model; Principle 5 stays an unmeasured target until paired runs are compared withdevops ai runs compare. Constellation: default to deleting task registration and per-task fields, rewording quiesce/failover/resume as flag-only, unless a consumer is named;ai_gateway_failoveralready reroutes. Telemetry:profile <command>opens its span on the trace it hands the child, fetches child spans viaquery_jaeger_trace(src/devops_cli/telemetry/waterfall.py:159) with a bounded poll, and exits non-zero without a collector or a trace/command; delete thesample.*fallback and--last; the MCP tool passes the command positionally. Follow-ups: real model tiers;trace_spanon logfire's OpenTelemetryTracerProviderwithW3CBaggagePropagator(unowned since feat(telemetry): opentelemetry w3c traceparent context propagation, metric sdk & span waterfall optimization research #319); per-span token and tier columns plus delegation spans (src/devops_cli/ai/harness/workflow.py:280), tier fromLLMResponse.served_by(feat(ai): llm gateway calls record their serving backend in the spend ledger #474). - Constraint*: Build-then-read-back tests prove only the serializer:
test_status_suspended_task_count_reporting(tests/test_ai_controller.py:365) passes because it callsregister_taskitself. A zero-baseline percentage certifies the target where no model ran; a smaller figure or another hard-coded model keeps the false claim, and a waterfall cannot supply the baseline. AGENTS.md:382 allowsNonefor sourceless scores; "wire it or remove it" for status fields is a new, stricter rule, stated as one. Port nothing from vibes' synthetic trace session. Out of scope: persona reply outcomes,evaluation_duration_avg,TLSEnablementSummary.k8s_secrets,K8sSummary.services. - Measured*:
grep -rn '\.register_task(' src tests: 11 calls, all in tests/test_ai_controller.py.devops ai harness status --format json: providerclaude, modelclaude-3-7-sonnet, every slotattached.devops ai harness offload --repo <probe repo> --symbol alpha --format json:frontier_tokens0,savings_percentage100.0,is_target_mettrue.devops telemetry profile --command "echo hi", the MCP tool's argv, exited 2;devops telemetry profile "echo hi"printed "No telemetry spans recorded for the specified trace." - Source*: vibes
examples/worktree-swarm-arbiter/worktree_arbiter.py,examples/worktree-swarm-arbiter/README.md,examples/agent-telemetry-trace-generator/README.md,examples/agent-telemetry-trace-generator/generator.py,examples/agent-telemetry-trace-generator/test_generator.py,observations/systems/01-distributed-telemetry-and-agent-waterfalls.md,observations/systems/09-multi-agent-epistemic-loss-and-delegation-boundary-distortion.md,observations/systems/21-hierarchical-subagent-slot-offloading-and-epistemic-loss.md,tools/subagent_orchestrator.py,observations/systems/33-typed-epistemic-seams-and-lossless-subagent-handshakes.md,examples/epistemic-context-handshake/context_handshake.py(cited as not ported)
Strategic Alignment
- Milestone:
v0.2.24(Reactive Workstation Command Center, Interactive TUI & Unified Operations Hub) - Roadmap Reference:
docs/ROADMAP.md
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
feat(telemetry): constellation and telemetry profile report only what…
feat(ai): the agent harness reports only what ran (#710)
feat(telemetry): constellation and telemetry profile report only what…
feat(ai): the agent harness reports only what ran (#710)
feat(telemetry): constellation and telemetry profile report only what…
feat(telemetry): harness, constellation and telemetry profile report …
dan-petty commentedon Oct 1, 2026
Closed by #801, merged into
release/v0.2.24.GitHub only acts on closing keywords when a pull request merges into the default branch, so this was closed by
devops gh issues close-merged.feat(release): v0.2.24 (#905)