Skip to content

[T-225] ingest_telemetry:self_update 說明不再教成員去讀回(取代 #473) - #507

Draft
8thEdition wants to merge 2 commits into
mainfrom
t225-redo-473
Draft

8thEdition wants to merge 2 commits into
mainfrom
t225-redo-473

Conversation

@8thEdition

Copy link
Copy Markdown
Collaborator

Why

The ingest_telemetry description told callers to "call get_monitoring when you need to read the entry back" for self_update. That entry lives only in the server's in-memory telemetry store: no read tool returns it, the receipt does not echo it, and it is gone on re-exec. An agent following the sentence silently concludes there is no update record.

This supersedes #473, which made the same correction (hand-written source, then regenerated) but no longer applies cleanly to main.

How

  • Rewrote the self_update field description in the spec/openapi.json legacy descriptor; regenerated spec/mcp-catalog.json.
  • No behaviour change.

Verification

  • All drift-* targets rc=0; bin/tests/mcp-catalog-generator.sh green.
  • Independent review: every claim checked against the code, no must-fix.

🤖 Generated with Claude Code

8thEdition and others added 2 commits September 15, 2026 14:07
… back

[why]
The self_update field description ended with "Call get_monitoring when you
need to read the entry back", but the server only writes entry["self_update"]
into the in-memory telemetry store and logs one stderr line; no read path
(get_monitoring included) returns it, and it is lost on re-exec. Redo of
PR #473 on current main, which conflicted.

[how]
Rewrite the field description in the x-mcp legacy descriptor in
spec/openapi.json and regenerate spec/mcp-catalog.json. Compared with #473:
say no read tool at all returns it (not only get_monitoring), keep the
misspelled-sub-key consequence, and list the reporter id the stderr line
prints. gen-ocapi and gen:api produce no change.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
[why] Independent review: the server's stderr line prints ? for a missing
sub-key, so the server side can see it; only the caller cannot.

[how] Narrow the clause to the caller in the openapi legacy descriptor and
regenerate spec/mcp-catalog.json.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant