feat(telemetry): query contract and Aspire adapter#567
Conversation
edf3eac to
5c96557
Compare
|
[PHASE: IMPL] [VERDICT: LANDED] TEL-T7 query contract + Aspire adapter landed for issue #408. Slice
Gate Evidence
Command Note
Harness Artifacts
|
|
@openhands-agent model=openrouter/qwen/qwen3.7-max provider=openrouter output=pr-comment iterations=800 use harness IMPL-EVAL — TEL-T7 query contract + aspire-query adapter + ./query subpath (issue #408, PR #567)You are the IMPL-EVAL evaluator (separate session from the Tier-D generator) for one slice of the SKILL
DECISIVE CHECKS — in order; POST verdict after check 4
Rules
OUTPUT CONTRACT (mandatory — verdict first)
|
OpenHands Agent — CompletedOPENHANDS_VERDICT: PASS Model: IMPL-EVAL Summary — TEL-T7 query contract + aspire-query adapterSummaryEvaluated PR #567 ( Changes Verified
Validation
ResponsesN/A — first IMPL-EVAL pass for this slice. Remaining risks
OPENHANDS_VERDICT: PASS Run: https://github.com/rickylabs/netscript/actions/runs/28903913431 |
|
[PHASE: IMPL-EVAL] [VERDICT: PASS] IMPL-EVAL: TEL-T7 query contract + aspire-query adapter + ./query subpathPR: #567 | Base: c8f6872 | Slice: 5c96557 Decisive Checks✅ Check 1 — SCOPE FENCE (D-6)Pass. Diff contains ONLY: ✅ Check 2 — Contract soundnessPass. ✅ Check 3 —
|
…o feat/408-telemetry-t7-query
|
[PHASE: IMPL] [VERDICT: MERGE_CONFLICT_RESOLVED] Resolved PR #567 after Conflicts
Resolution
Commit
Gates
PR state
|
Summary
Lands TEL-T7 as a contract-only telemetry query slice:
@netscript/telemetry/querynow exposes the read-side query contract, Standard Schema filter validators, and a thin Aspire dashboard HTTP adapter. Dashboard panels, UI integration, and data-layer switching remain out of scope.Scope
packages/telemetryDefinition of Done
application/querycontract compiles and is the single typed query seam. Evidence: wrapper check exit 0 (filesSelected=91,totalOccurrences=0);TelemetryQueryPortand query read models exported through@netscript/telemetry/query.adapters/aspire-queryimplements the contract against Aspire/OTLP, wrapping upstream Aspire dashboard HTTP endpoints. Evidence:AspireTelemetryQueryimplementsTelemetryQueryPort; focused tests pass 8/8 including trace grouping, logs/resources/metrics, API key/filter params, and absent-Aspire degradation../querysubpath is exported and type-checks. Evidence:packages/telemetry/deno.jsonmaps./queryto./query.ts; wrapper check exit 0../queryis doc-lint clean across the full export set. Evidence:deno task doc:lint --root packages/telemetry --prettyexit 0, summarytotalErrors=0,./query.ts total=0; raw full exportdeno doc --lint ...exit 0,Checked 11 files.deno publish --dry-runexits 0 without--allow-slow-types. Evidence:deno publish --dry-run --allow-dirtyfrompackages/telemetryexit 0, dry run complete.deno.lockchurn was reverted; final status clean after commit.deno task e2e:cli; it was interrupted immediately with Ctrl-C, exited 130, and is recorded indrift.md.Slices
5c965573Validation
deno run --allow-read --allow-run .llm/tools/run-deno-check.ts --root packages/telemetry --ext ts,tsx --pretty- exit 0; filesSelected=91; failedBatches=0; totalOccurrences=0.deno run --allow-read --allow-run .llm/tools/run-deno-lint.ts --root packages/telemetry --ext ts,tsx --pretty- exit 0; filesSelected=91; totalOccurrences=0.deno run --allow-read --allow-run .llm/tools/run-deno-fmt.ts --root packages/telemetry --ext ts,tsx --ignore-line-endings --pretty- exit 0; filesSelected=91; failedBatches=0; findings=0.deno test --allow-env --allow-read packages/telemetry/tests/query/aspire_query_test.ts packages/telemetry/tests/layering_test.ts- exit 0; 8 passed / 0 failed.deno task testfrompackages/telemetry- exit 0; 45 passed / 0 failed.deno task doc:lint --root packages/telemetry --pretty- exit 0; totalErrors=0;./query.tstotal=0.deno doc --lint ./attributes.ts ./config.ts ./context.ts ./instrumentation.ts ./mod.ts ./orpc.ts ./query.ts ./registry.ts ./src/adapters/otel/mod.ts ./src/testing/mod.ts ./tracer.tsfrompackages/telemetry- exit 0;Checked 11 files.deno publish --dry-run --allow-dirtyfrompackages/telemetry- exit 0; no--allow-slow-types; dry run complete.deno run --allow-read .llm/tools/fitness/check-doctrine.ts --root packages/telemetry --pretty- exit 0; FAIL=0; remaining WARN rows are pre-existing telemetry package debt.Harness
.llm/runs/beta6-nondash--supervisor/.llm/runs/beta6-nondash--supervisor/worklog-408.md.llm/runs/beta6-nondash--supervisor/context-pack.mdDrift / Debt
.llm/runs/beta6-nondash--supervisor/drift.md: