Repository navigation
docs(#9174): tighten trace-context v1 wording held back from #9084 - #9175
Conversation
Apply the wording and comment fixes from the last review round of #9084. None changes behaviour; Go edits are comments only. Normative README: - Fallback derivation applies only to a resolved identity; an unresolved identity postpones dispatch (see Admission). - IPv6 hosts take the RFC 5952 section 4 form, with IPv4-mapped addresses in mixed notation, matching what netip prints. - State that normalization fixes spelling only: IP literal vs hostname, DNS aliases, and IPv4-mapped vs IPv4 are distinct. - Provenance fields are nonzero, as Parse enforces. - "forge or inject" replaces "alter or inject" beside the no-freshness-check statement. - Container transfers become a rule (same database ID keeps identity; a changed ID is a new binding) instead of an unsourced claim about forge behaviour. - A change proposal's container is the base repository / target project, never the fork. Reference doc: zones are rejected, not canonicalized. Code comments: use the same RFC 5952 phrase in identity.go; say "decoded candidate" rather than "carrier" for OutcomeFallback and Admit; reuse the README wording in envelope_test.go; explain why Jira searchFields requests "project" though the poller does not read it. Note: pre-commit could not fetch remote hook repos (TLS error in sandbox). Ran applicable hooks directly: gofmt, go vet, lint-broken-symlinks, lint-docs-links, lychee, whitespace checks, and scan-secrets in place of gitleaks/detect-private-key. Closes #9174 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
🤖 Finished Review · ✅ Success · Started 7:59 PM UTC · Completed 8:09 PM UTC Commit: Runtime: pi · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $1.35 |
Site previewPreview: https://9d952ad9-site.fullsend-ai.workers.dev Commit: |
|
Risk Assessment: moderate (2/5) DetailsLow-risk wording and comment cleanup authored by bot with no protected paths or behavior changes, elevated to moderate risk by high recent churn and regression history across touched trace-context and forge files. Previous runRisk Assessment: moderate (2/5) DetailsLow-risk wording and comment cleanup authored by bot with no protected paths or behavior changes, elevated to moderate risk by high recent churn and regression history on touched trace-context and forge files. |
|
Looks good to me Previous run<!-- fullsend:review-findings-v2:eyJ2ZXJzaW9uIjoyLCJhY3Rpb24iOiJhcHByb3ZlIiwiZmluZGluZ3MiOltdfQ== --> Looks good to me |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
|
/fs-fix In // searchFields lists the issue fields SearchIssues requests. Of these,
// the poller reads only "created", "labels", and "reporter". "project"
// carries the immutable project database ID, the Jira container identity
// for trace binding (ADR 0154), so search results hold the same identity
// as issue reads; GetIssue fetches it through its own request. |
|
🤖 Finished Fix · ✅ Success · Started 8:39 PM UTC · Completed 8:43 PM UTC Commit: Runtime: claude · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $0.16 |
Correct the searchFields comment in internal/forge/jira/client.go: the poller reads only created, labels and reporter from search results, so the previous claim that all but "project" are consumed was false. The searchFields list itself is unchanged. Note: pre-commit hooks were not run; pre-commit could not fetch hook repositories (TLS verification failure). gofmt and go test for ./internal/forge/jira passed. Addresses #9175 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
🔧 Fix agent — iteration 1 (human-triggered)Corrected the searchFields comment per the /fs-fix instruction; comment-only change, list unchanged. Fixed (1):
Tests: passed CI inspections (1):
Conflict update: skipped; strategy
|
|
🤖 Finished Review · ✅ Success · Started 8:45 PM UTC · Completed 8:53 PM UTC Commit: Runtime: pi · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $1.27 |
Superseded by updated review
Summary
Applies the wording and comment fixes held back from the last review round of #9084 to the trace-context v1 normative spec, the reference doc, and four Go comments. Nothing changes behaviour: the Go edits are comments only.
Related Issue
#9174
Changes
docs/normative/trace-context/v1/README.mdnetipprints.Parsealready enforces.docs/reference/trace-context.mdCode comments
identity.go: the same RFC 5952 phrase in theNormalizeInstancedoc and the inline comment.envelope.go:OutcomeFallbackandAdmitsay "decoded candidate" instead of "carrier".envelope_test.go:TestAdmit_AppendedJunkForcesFallbackuses the README wording ("can never forge or inject a context").jira/client.go: thesearchFieldscomment now explains thatprojectis requested for the immutable container identity (ADR 0154). The poller does not read it, andGetIssuefetches it through its own request.Testing
go test ./internal/telemetry/tracecontext/... ./internal/forge/jira/...passes.go vetandgofmtare clean on the changed packages.pre-commitcould not fetch its remote hook repos in the sandbox (TLS certificate error). I ran the applicable hooks directly instead: gofmt, go vet,lint-broken-symlinks,lint-docs-links,lychee --offline, the whitespace and EOF checks, andscan-secretsin place of gitleaks and detect-private-key. All passed.docs/andinternal/.Checklist
docs, no breaking change)🤖 Generated with Claude Code
Closes #9174
Post-script verification
agent/9174-trace-context-wording)6c933d7539abfe5cc21d12d66e539371bce680ea..HEAD)