docs(d-u28): component-scope UNS topics (retire main)#6
Merged
Conversation
telemetry-processor is a single-instance component, so under D-U28 all of
its own UNS topics are component-scope: drop the retired `main` segment.
The core library already emits these at component scope (events/data/app,
gg.uns(), the state keepalive, the messaging metric target, and the cmd
inbox all resolve to `.../telemetry-processor/{class}` — no instance
token), so this is a docs + code-comment + config-example accuracy change
with no functional code change.
- Topics: `.../telemetry-processor/main/{state,cmd,metric,data,evt}` →
`.../telemetry-processor/{state,cmd,metric,data,evt}` across README,
docs/, the recipe, and the test config example.
- Corrected stale comments claiming the `events()` facade is "bound to the
`main` instance" — it is component scope under D-U28.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01628gPY2czyDFVkkeEdkRZr
The docs already describe component-scope topics; this makes the built component emit them — the heartbeat/facades/command-inbox go through the library, which at the D-U28 core omits the instance token. cargo test green (48). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01628gPY2czyDFVkkeEdkRZr
mbreissi
marked this pull request as ready for review
July 16, 2026 19:06
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Phase-5 D-U28 alignment
Retires the
maininstance sentinel for telemetry-processor. As a single-instancecomponent, all of its own UNS topics are now component-scope — the component token is
followed directly by the class, with no instance segment:
.../telemetry-processor/main/state→.../telemetry-processor/state.../telemetry-processor/main/cmd/<verb>→.../telemetry-processor/cmd/<verb>.../telemetry-processor/main/metric/pipeline→.../telemetry-processor/metric/pipeline.../telemetry-processor/main/data/downsampled→.../telemetry-processor/data/downsampled.../telemetry-processor/main/evt/{severity}/{type}→.../telemetry-processor/evt/{severity}/{type}Scope
../core/libs/rust, now D-U28) alreadyemits these at component scope:
gg.events()/data()/app()/uns(), thestatekeepalive, the messaging
metrictarget, and thecmdinbox all resolve to.../telemetry-processor/{class}with no instance token. telemetry-processor just callsthose accessors, so the wire topics change automatically.
README.md,docs/,recipe.yaml, andtest-configs/config.json(so a user copying an example getsthe D-U28 topic).
events()facade is "bound to themaininstance" are now accurate — it is component scope under D-U28.main/instance position; onlycomments/docs/config-example strings changed. The
local-output identity restamp(
with_instance(&route.id)) is unrelated — it stamps the data product's envelopeidentity, not the component's own topics.
Validation
cargo checkgreen from the sibling worktree against the D-U28 core dep.🤖 Generated with Claude Code