Repository navigation
Conversation
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
|
@copilot otel specs are duplicated - keep authoritative in docs |
|
✅ Test Quality Sentinel completed test quality analysis. Test Quality SentinelOutcome: The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|
|
✅ PR Specification Reviewer completed successfully!
|
|
✅ Ponytail Reviewer completed successfully! Ponytail ReviewerOutcome: The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|
|
🧠 Matt Pocock Skills Reviewer has completed the skills-based review. ✅
|
|
✅ PR Code Quality Reviewer completed the code quality review. PR Code Quality ReviewerOutcome: The agent completed and reported one or more actions. The no-op output is a completion signal, not a claim that no action was taken. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|
There was a problem hiding this comment.
Reviewed the changed specification and compliance documentation. I found no actionable correctness, regression, or maintainability issues in the changed lines.
🔎 Code quality review by PR Code Quality Reviewer · copilot · gpt50 · ~2 AIC · ⌖ ~2 AIC · ⊞ 1.6K
Comment /review to run again
There was a problem hiding this comment.
Overview
Reviewed head 156e67d2f36023fa6a31f31e96167adc9785b075 against the affected ledger, OTel 0.7.0, and replace-label contracts.
Key issue
- RL-007 evidence is insufficient: the new mapping cites a compiler configuration test (
Sanitize: true) rather than evidence that runtime label values are sanitized before use. Please document this as an explicit gap or add a conformance test at the actual sanitization boundary, keeping both indexes consistent.
No specification synchronization or branch update was applied.
References:
specs/replace-label-spec.md§9.4specs/replace-label-compliance/README.md§Normative MUST Evidence Index
Generated by PR Specification Reviewer for #79825 · copilot · gpt50 · ~3 AIC · ⌖ ~1 AIC · ⊞ 1.7K
Comment /review-specs to run again
| | RL-004 | T-RL-001, T-RL-003; `TestFormalSchemaRequiredFields` | | ||
| | RL-005 | T-RL-002, T-RL-004; `TestFormalSchemaRequiredFields` | | ||
| | RL-006 | T-RL-005; `TestFormalRepoMaxLength` | | ||
| | RL-007 | `TestFormalReplaceLabelP3_ValidationConfigFields` verifies sanitization is enabled for both label fields. | |
There was a problem hiding this comment.
RL-007 is mapped to TestFormalReplaceLabelP3_ValidationConfigFields, but that test only verifies the compiler emits Sanitize: true; it does not demonstrate that the handler sanitizes label_to_remove and label_to_add before use as RL-007 requires. The existing T-RL-006 only checks acceptance of a valid message and likewise is not runtime sanitization evidence. Please mark RL-007 as an explicit evidence gap (with an owner/closure condition) or add a conformance test that exercises the actual sanitization boundary, then keep the compliance README mapping consistent.
Comment MemoryPeek at saved memory (review-history)History |
Comment MemoryPeek at saved memory (spec-review-history)History |
There was a problem hiding this comment.
🟡 Changes recommended
The documentation still misstates built-in job metrics as opt-in when OTLP is configured and fails to identify character-class matching conformance as a gap despite contradictory test evidence.
2 open issues
What changed in this PR
This documentation-only PR aligns gh-aw specifications with current contracts and verification limits. It addresses the spec-sync work in #79824; the outcomes TLC rerun remains pending.
Changes:
- Updates OTel compatibility wording and adds the 0.7.0 changelog entry.
- Expands replace-label requirement mappings and records dated reviews of accepted credential gaps.
- Clarifies finite ledger model bounds and distinguishes safety checks from liveness proofs.
| File | Description |
|---|---|
specs/replace-label-spec.md |
Adds requirement mappings and dated accepted-gap reviews. |
specs/replace-label-compliance/README.md |
Expands the evidence index and refreshes credential-gap reviews. |
specs/otel-observability-spec.md |
Aligns compatibility references and records 0.7.0 metrics features. |
specs/ledger/README.md |
Documents model bounds, proof limitations, and the updated sync date. |
Review effort: Balanced (adaptive)
| @@ -1314,7 +1318,7 @@ which has no release tag, and semantic-conventions v1.45.0. | |||
| `gen_ai.workflow.name` and `gen_ai.client.token.usage` are compatibility names, still supported and on by default | |||
| (not deprecated, §6.7); with the opt-in, the agent span | |||
| is `invoke_agent` (`INTERNAL`) and `gen_ai.usage.input_tokens` includes cache tokens. | |||
| - **Added**: Opt-in built-in job metrics and the `logMetric()` API (§11.5, §12.6), including a separate local metrics mirror. | |||
| - **Added**: Opt-in built-in job metrics (§11.5), including a separate local metrics mirror. | |||
| | Requirement | Test ID(s) or documented gap | | ||
| |---|---| | ||
| | §5 ordered processing pipeline | `replace_label.test.cjs`: “executes the label pipeline in order and stops before writes on a gate skip.” | | ||
| | RL-001 | `rl-001-glob-semantics.yaml`; `TestFormalGlobSemantics` | |
There was a problem hiding this comment.
Skills-Based Review 🧠
Applied /grill-with-docs and /tdd to this documentation-only sync. Requesting changes on one contradiction and on evidence that overstates what the tests cover.
I verified the ledger finite bounds against the .cfg files, the OTel 0.4.0 to 0.7.0 wording, and the RL-001 to RL-007 test names. Those hold.
📋 Key Themes and Highlights
Key Themes
- Changelog contradiction: the Unreleased entry still says metrics are opt-in, but §11.5 and the 0.7.0 entry say default-on.
- Evidence overstated: RL-005 and RL-006 cite helper-level tests as if they exercised the production validator.
- Scope drift: the compliance index heading still says §§5–8 after the body was broadened.
- Unverified attestations: owner-review sign-offs dated 2026-11-21 are not evidenced in this PR.
Positive Highlights
- ✅ Every normative RL code now has a row in both §9.4 and the compliance index.
- ✅ The ledger finite-bound statements match the bounded .cfg configurations.
- ✅ Version references to 0.7.0 are consistent across §5.6, §7.2, §17.3, and T-OT-011.
@copilot please address the review comments above.
🧠 Reviewed using Matt Pocock's skills by Matt Pocock Skills Reviewer · copilot · routed: haiku55 xhigh · ~10 AIC · ⌖ ~2 AIC · ⊞ 6.6K
Comment /matt to run again
| | RL-049a | `TestFormalBlockedLabelAddedViaReplaceLabelMidBlocklistChange_NoWriteAPI` | | ||
| | RL-050 | T-RL-070–072; `TestFormalCrossRepoRestriction` | | ||
| | RL-051 | **Accepted gap:** target-repository token grants are enforced by GitHub when `issues.setLabels` runs; the offline suite cannot verify an issued token's target-repository grant. A denied API call is a hard error, but there is no preflight permission check. | | ||
| | RL-051 | **Accepted gap:** target-repository token grants are enforced by GitHub when `issues.setLabels` runs; the offline suite cannot verify an issued token's target-repository grant. A denied API call is a hard error, but there is no preflight permission check. **Owner review — replace-label maintainers (2026-11-21):** the grant remains unverified before the write; close when workflow-level credential integration verifies the target-repository grant, or retain the documented server-side enforcement limitation. | |
There was a problem hiding this comment.
[/grill-with-docs] The text "Owner review — replace-label maintainers (2026-11-21)" records a maintainer sign-off that this PR does not evidence. The same attestation appears in the compliance README at lines 256 and 260.
💡 Suggested fix
Reword as a pending request (for example, "Owner review requested") until a maintainer confirms it, or link the review that supports the date.
@copilot please address this.
| or to a specific evidence gap. This index is complete when every requirement in | ||
| §§5–8 of `specs/replace-label-spec.md` appears below with a test mapping or an | ||
| explicit gap; completion does not depend on an owner or a review date. | ||
| Each numbered MUST-level requirement is mapped to a test ID and its |
There was a problem hiding this comment.
[/grill-with-docs] Scope drift: the body now says every requirement code in replace-label-spec.md is indexed, but the heading on line 188 still reads "Normative MUST Evidence Index (§§5–8)". The spec §9.4 heading was broadened to match, so the two disagree.
💡 Suggested fix
Rename the heading to match §9.4 (for example, "Normative Requirement Evidence Index") so readers do not assume the index covers only §§5–8.
@copilot please address this.
| | RL-002 | `rl-002-allowlist-enforcement.yaml`; `TestFormalAllowlistEnforcement` | | ||
| | RL-003 | `rl-003-blocklist-ordering.yaml`; `TestFormalBlocklistOrdering` | | ||
| | RL-004 | T-RL-001, T-RL-003; `TestFormalSchemaRequiredFields` | | ||
| | RL-005 | T-RL-002, T-RL-004; `TestFormalSchemaRequiredFields` | |
There was a problem hiding this comment.
[/tdd] RL-005 and RL-006 map to TestFormalSchemaRequiredFields and TestFormalRepoMaxLength, but those tests check test-local helpers (formalRequiredNonEmptyLabel, formalLabelAndRepoLengthsValid), not the production validator. The Required and MaxLength settings are checked by TestFormalReplaceLabelP3_ValidationConfigFields, so the evidence is partial.
💡 Suggested fix
Add or cite a test that runs the production validation path with empty, whitespace-only, 129-character, and 256-character inputs. Otherwise, label these rows as helper-level checks so the index does not overstate coverage.
@copilot please address this.
| shard-ID coverage; physical compaction is not represented or verified. | ||
| - The model MUST NOT be cited as evidence of liveness or | ||
| distributed-serializability. Production tests cover separate obligations. | ||
| - These bounded safety checks are not a liveness proof. TLC results MUST NOT be |
There was a problem hiding this comment.
[/grill-with-docs] The normative subject changed: the liveness prohibition now covers only "TLC results" rather than the model. Confirm the narrower scope is intended, since a MUST covering fewer artifacts leaves other liveness claims unrestricted.
💡 Suggested fix
If the prohibition should still cover the bounded model itself, restore "the model" or add "or any model-checking output". Otherwise, state the narrowed scope explicitly.
@copilot please address this.
| @@ -1314,7 +1318,7 @@ which has no release tag, and semantic-conventions v1.45.0. | |||
| `gen_ai.workflow.name` and `gen_ai.client.token.usage` are compatibility names, still supported and on by default | |||
| (not deprecated, §6.7); with the opt-in, the agent span | |||
| is `invoke_agent` (`INTERNAL`) and `gen_ai.usage.input_tokens` includes cache tokens. | |||
| - **Added**: Opt-in built-in job metrics and the `logMetric()` API (§11.5, §12.6), including a separate local metrics mirror. | |||
| - **Added**: Opt-in built-in job metrics (§11.5), including a separate local metrics mirror. | |||
There was a problem hiding this comment.
[/grill-with-docs] Changelog contradiction: this Unreleased entry says "Opt-in built-in job metrics (§11.5)", but §11.5 is now titled "Default-on Job Metrics" and the new 0.7.0 entry above says metrics are enabled by default when configured.
💡 Suggested fix
Remove this Unreleased bullet, or mark it superseded by 0.7.0, so the changelog gives one description of the metrics default.
@copilot please address this.
The current docs OpenTelemetry page is a user guide, while |
|
@copilot otel spec should be in the docs side by side with user docs |
|
Hey @gh-aw-bot 👋 — thanks for syncing the specs with current contracts and verification evidence! The spec updates for OTel 0.7.0, replace-label requirement mappings, and ledger safeguard bounds look well-documented. Here's what would help this cross the finish line:
The documentation is clear and the rationale is solid. Once tests are added to verify the spec changes are enforced, this will be ready to merge. If you'd like a hand, you can assign this prompt to your coding agent:
|
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Moved the authoritative specification alongside the OpenTelemetry user docs and updated current references. Commit: |
| - 'scripts/**' | ||
| - 'specs/**' | ||
| - 'docs/src/content/docs/specs/**' | ||
| - 'docs/src/content/docs/reference/open-telemetry-specification.md' |
|
🍳 A little prep to help this PR along! Copilot assignment requested for the following outstanding work:
Keeping the changes focused; human review and CI get the final taste test. No merging or CI triggering. Structured data{
"completed_task": 0,
"head": "92e9046b26dac4a07456b63d945c94a039f54c60",
"kind": "requested",
"schema_version": "1",
"state": "62de85adbfdd8cd6f2e2e92eb9da96fafa7feb4fc50c6c5ba3d090d369087ed0",
"work": [
"0bb4aebff707dafb9b2a3c387447d1a4d3e910256cfb94ec3047cb70e2f767a0",
"5cc61dcd7236884ed79abae5bc89af4373a1f6aa3b510aff353199ccee320ef6",
"82eb5dc2996e412a45c463aab75a413024bf1e4a92834f6f481e1445c15f623c",
"979f63497b1eb014b3d49a2765a75fa839c1ce347fcc08006ed17e2288e342a0",
"a0bd35b942d5cd515df089e857ce75f14f266022c141e6b6fae56134931a6886",
"a9faad2731a9ef6eb28d9281d2d08a868556670cd51b8d114bb5d71d8953ef59",
"c6742576cc5db68df34f283e35573fd62b2added8e6cb856a3d9500c627e33a1",
"cd543135717f64764eec37b40d5b6b273b0a49b7889922b72195e5042c8442a4",
"ce57f9073247a261781ad6c3b00a75006b3f185c2a62f38b9c9705eb834ccdb4",
"f7883e8c8105930e955354caa741d783bcca067e66097fe9612fb72b90823998"
],
"workflow": "pr-sous-chef"
}
|

The spec review found OTel 0.4.0 references under a 0.7.0 header, missing replace-label requirement mappings and dated gap reviews, and ledger safeguards needing clearer bounds. The 95-case outcomes corpus is verified, but its TLC rerun remains pending.