Skip to content

Sync specs with current contracts and verification evidence - #79825

Closed
gh-aw-bot wants to merge 3 commits into
mainfrom
copilot/spdd-daily-spec-work-plan-2026-11-21
Closed

gh-aw-bot wants to merge 3 commits into
mainfrom
copilot/spdd-daily-spec-work-plan-2026-11-21

Conversation

@gh-aw-bot

@gh-aw-bot gh-aw-bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Collaborator

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.

  • OTel: Align compatibility wording and T-OT-011 with 0.7.0; add a 0.7.0 changelog entry.
  • Replace-label: Map all normative requirement codes and record dated reviews for RL-051 and RL-055.
  • Ledger: State finite model bounds and clarify that bounded safety checks are not a liveness proof.
  • Outcomes: Keep the 77-case TLC results marked historical until the pinned-tool run verifies the current 95-case corpus.

Copilot AI linked an issue Nov 21, 2026 that may be closed by this pull request
1 of 8 tasks
@gh-aw-bot gh-aw-bot changed the title [WIP] Update OTel spec version and refresh outcomes TLC verification Sync specs with current contracts and verification evidence Nov 21, 2026
@pelikhan
pelikhan marked this pull request as ready for review November 21, 2026 16:32
Copilot AI adaptive review requested due to automatic review settings November 21, 2026 16:32
@pelikhan

Copy link
Copy Markdown
Collaborator

@copilot otel specs are duplicated - keep authoritative in docs

@github-actions

github-actions Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

✅ Test Quality Sentinel completed test quality analysis.

Test Quality Sentinel

Outcome: reported_no_action

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.

🧪 Test quality analysis by Test Quality Sentinel · copilot · routed: haiku55 xhigh · ~2 AIC · ⌖ ~2 AIC · ⊞ 7.2K · ◷

@github-actions

github-actions Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

✅ PR Specification Reviewer completed successfully!

Generated by PR Specification Reviewer for #79825 · copilot · gpt56 · ~3 AIC · ⌖ ~1 AIC · ⊞ 1.7K · ◷

@github-actions

github-actions Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

✅ Ponytail Reviewer completed successfully!

Ponytail Reviewer

Outcome: reported_no_action

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.

Generated by Ponytail Reviewer for #79825 · codex · routed: gpt61 medium · ~4 AIC · ⌖ ~1 AIC · ⊞ 185 · ◷

@github-actions

github-actions Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

🧠 Matt Pocock Skills Reviewer has completed the skills-based review. ✅

🧠 Reviewed using Matt Pocock's skills by Matt Pocock Skills Reviewer · copilot · routed: haiku55 xhigh · ~10 AIC · ⌖ ~2 AIC · ⊞ 6.6K · ◷

@github-actions

github-actions Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

✅ PR Code Quality Reviewer completed the code quality review.

PR Code Quality Reviewer

Outcome: reported_action

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.

🔎 Code quality review by PR Code Quality Reviewer · copilot · gpt56 · ~2 AIC · ⌖ ~2 AIC · ⊞ 1.6K · ◷

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.4
  • specs/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. |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@github-actions

Copy link
Copy Markdown
Contributor

Comment Memory

Peek at saved memory (review-history)
{"id":"ldg-750b35d8-1257-44df-b40a-851390d8b47c","parents":[],"payload":{"id":"ldg-59339eeb-b46d-4c00-a9b3-06a2569fdb48","operation":"append","value":{"finding_count":0,"head_sha":"156e67d2f36023fa6a31f31e96167adc9785b075","outcome":"no_findings"}},"sha":"sha256:eea693a812e24a84e6e91c5fcc65312857ddef0d73988c55e92f1022ac0494ac","timestamp":"2026-11-21T16:39:40.804Z","type":"ledger_append","version":1}
History

@github-actions

Copy link
Copy Markdown
Contributor

Comment Memory

Peek at saved memory (spec-review-history)
{"id":"ldg-c1968615-70dc-48e5-a668-deeccab91cc6","parents":[],"payload":{"id":"ldg-9160259a-2a0d-448b-87ad-2bffb1328d06","operation":"append","value":{"finding_count":1,"head_sha":"156e67d2f36023fa6a31f31e96167adc9785b075","outcome":"regression"}},"sha":"sha256:01d2ae07413aefd070bbeaf9644170ed93d1a1b56755c6e03b83d69dd91515e6","timestamp":"2026-11-21T16:40:22.144Z","type":"ledger_append","version":1}
History

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 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` |

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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. |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[/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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[/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` |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[/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.

Comment thread specs/ledger/README.md
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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[/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.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[/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.

Copilot AI commented Nov 21, 2026

Copy link
Copy Markdown
Contributor

@copilot otel specs are duplicated - keep authoritative in docs

The current docs OpenTelemetry page is a user guide, while /specs/otel-observability-spec.md contains the separate full normative contract. Do you want me to move that complete contract into the docs site (and update its references), keeping the guide as-is?

@pelikhan

Copy link
Copy Markdown
Collaborator

@copilot otel spec should be in the docs side by side with user docs

@github-actions

Copy link
Copy Markdown
Contributor

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:

  • Add verification tests — the specification updates (OTel backward-compatibility in T-OT-011, replace-label requirement mappings RL-001–RL-007, ledger bounded-state documentation) don't have new test coverage yet. Even lightweight integration or validation tests that verify the spec changes are reflected in the implementation would strengthen this PR.

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:

Add verification tests for the specification updates in this PR, covering the OTel T-OT-011 compatibility attributes, the replace-label requirements RL-001 through RL-007, and the ledger model bounds.

Generated by ✅ Contribution Check · copilot · routed: haiku55 xhigh · ~23 AIC · ⌖ ~2 AIC · ⊞ 5.4K · ◷

Co-authored-by: copilot-swe-agent[bot] <[email protected]>

Copilot AI commented Nov 21, 2026

Copy link
Copy Markdown
Contributor

@copilot otel spec should be in the docs side by side with user docs

Moved the authoritative specification alongside the OpenTelemetry user docs and updated current references. Commit: 92e9046b.

- 'scripts/**'
- 'specs/**'
- 'docs/src/content/docs/specs/**'
- 'docs/src/content/docs/reference/open-telemetry-specification.md'
@gh-aw-bot

Copy link
Copy Markdown
Collaborator Author

@copilot

🍳 A little prep to help this PR along! Copilot assignment requested for the following outstanding work:

  1. Update this branch with the latest main using make merge-main, resolving any conflicts and preserving the intended changes.
  2. Review (specs/replace-label-spec.md:693): address unresolved feedback - Review comment
  3. Review (docs/src/content/docs/reference/open-telemetry-specification.md:1323): address unresolved feedback - Review comment
  4. Review (specs/replace-label-spec.md:687): address unresolved feedback - Review comment
  5. Review (specs/replace-label-spec.md:739): address unresolved feedback - Review comment
  6. Review (specs/replace-label-compliance/README.md:190): address unresolved feedback - Review comment
  7. Review (specs/replace-label-spec.md:691): address unresolved feedback - Review comment
  8. Review (specs/ledger/README.md:130): address unresolved feedback - Review comment
  9. Review (docs/src/content/docs/reference/open-telemetry-specification.md:1323): address unresolved feedback - Review comment
  10. Fix failing check build (FAILURE): Check run.
  11. Fix failing check JS Tests (shard 4/8) (FAILURE): Check run.

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"
}

Generated by 👨🍳 PR Sous Chef · pi · routed: haiku55 xhigh · ~3 AIC · ⌖ ~2 AIC · ⊞ 7K · ◷
Comment /souschef to run again

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.

[spdd] Daily spec work plan - 2026-11-21

5 participants