Skip to content

Tighten trace-context v1 wording held back from #9084 #9174

Closed

Description

@dhshah13

Wording and comment fixes from the last review round of #9084, held back because each push reran E2E. None changes behaviour. Line numbers are at 6c933d7.

docs/normative/trace-context/v1/README.md

  • 94: the third statement of the fallback rule still reads "When no admissible stored context exists". The other two were corrected in refactor(telemetry): establish authenticated trace-context foundation #9084: a resolved identity with no admissible stored context gets the derived context, and an unresolved identity postpones dispatch (see Admission).
  • 56-57: Go's netip prints IPv4-mapped addresses in mixed notation but not other embedded-IPv4 forms, so "RFC 5952 form" should be "RFC 5952 section 4 form, with IPv4-mapped addresses in mixed notation". The same phrase is in internal/telemetry/tracecontext/identity.go:134 and :185.
  • Instance section: say once that normalization fixes spelling only. An IP literal and its hostname, DNS aliases, and [::ffff:192.0.2.1] and 192.0.2.1 are different instances.
  • 151: provenance fields are nonzero (Parse rejects zero source and scenario IDs).
  • 231-232: "can never alter or inject a context" sits beside "no freshness check"; "can never forge or inject a context" states what holds.
  • 81-82 state forge behaviour without a source. Make it a rule: a transfer that keeps the database ID keeps identity; one that changes it is a new binding.
  • 20, Container row: a change proposal's container is the GitHub base repository or the GitLab target project, never the fork.

docs/reference/trace-context.md

  • 69-70: zones are rejected, not canonicalized: "IPv6 spelling canonicalization and zone rejection".

Code comments

  • internal/telemetry/tracecontext/envelope.go:404 (OutcomeFallback) and :476 (Admit): "carrier" where the text means a decoded candidate.
  • internal/telemetry/tracecontext/envelope_test.go:472: "cannot inject or select one"; use the README's wording.
  • internal/forge/jira/client.go:454: searchFields "lists the issue fields the poller actually consumes", but the poller does not read project, which refactor(telemetry): establish authenticated trace-context foundation #9084 added for container identity; only GetIssue reads it, through its own request. Say why it is requested.

Activity

  1. fullsend-ai-triage commented on Nov 6, 2026

    @fullsend-ai-triage

    🤖 Finished Triage · ✅ Success · Started 7:47 PM UTC · Completed 7:49 PM UTC

    Commit: 6c933d7 · View workflow run →

    Runtime: claude · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $0.17

  2. fullsend-ai-triage commented on Nov 6, 2026

    @fullsend-ai-triage

    This is a docs and comment cleanup with no behaviour change, so it is ready to implement. The referenced files exist at the current HEAD, and spot checks of the cited lines match your description. #9084 is merged, and no open PR or other issue overlaps.

    Notes for the implementer:

    • Line numbers are against 6c933d7. Locate each item by its text rather than the number.
    • The Go changes are comments only. The comment-only edits in identity.go, envelope.go, envelope_test.go and jira/client.go should not need any logic changes.
    • Keep the README, reference doc and code comments consistent with each other. In particular, use one phrasing for the RFC 5952 section 4 form everywhere it appears.

    Suggested verification: confirm the old phrases are gone by grep, and run the tracecontext and jira package tests and the doc lint.


    Next steps:

    • /fs-code — agent creates a PR to implement this issue
    • /fs-code <your instruction> — agent implements with your specific guidance
  3. fullsend-ai-coder commented on Nov 6, 2026

    @fullsend-ai-coder
    Contributor

    🤖 Finished Code · ✅ Success · Started 7:51 PM UTC · Completed 7:57 PM UTC

    Commit: 6c933d7 · View workflow run →

    Runtime: claude · Model: opus → claude-opus-5-5 · Effort: high · Cost: $1.20

  4. added 2 commits that reference this issue on Nov 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationready-to-code

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions