Skip to content

Clarify 0087 directive-order harness comments#226

Merged
chris-colinsky merged 2 commits into
mainfrom
chore/0087-harness-comment-fixes
Jul 21, 2026
Merged

Clarify 0087 directive-order harness comments#226
chris-colinsky merged 2 commits into
mainfrom
chore/0087-harness-comment-fixes

Conversation

@chris-colinsky

Copy link
Copy Markdown
Member

Follow-up to #225. Both CoPilot review threads on #225 were resolved
with these edits, but they landed after the squash-merge, so main
didn't carry them yet.

  • test_observability.py: reword the fixture 135 support-comment from
    "key order" to "document (dict insertion) order", matching the loader
    guard-comment and removing the sorted-by-key ambiguity.
  • test_fixture_parsing.py: correct the 135 parse-deferral reason. It
    read "not implemented", which is misleading — 0087 is implemented;
    only the parse shape is deferred, because 135 reuses the
    augment_metadata / capture_invocation_metadata_into directive shapes
    the cross-capability parser deliberately does not model (the same
    reason its siblings 043-046 are deferred at that layer). Runtime
    coverage is via test_observability.

Comment-only, no behavior change. Full suite green.

Address CoPilot review on #225 (both threads resolved there but the
edits landed after the squash-merge).

- test_observability.py: reword the 135 support-comment from "key
  order" to "document (dict insertion) order", matching the loader
  guard-comment and removing the sorted-by-key ambiguity.
- test_fixture_parsing.py: correct the 135 parse-deferral reason. It
  read "not implemented", but 0087 is implemented -- only the parse
  shape is deferred, because 135 reuses the augment/capture directive
  shapes the cross-cap parser does not model (as siblings 043-046),
  runtime-driven in test_observability.

Comment-only; no behavior change.
Copilot AI review requested due to automatic review settings July 21, 2026 01:33

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR updates conformance-test comments to more precisely describe Proposal 0087’s within-node directive execution order and why fixture 135 is parse-deferred at the cross-capability parser layer (while still being runtime-covered).

Changes:

  • Reword fixture 135’s harness comment to clarify it relies on fixture document (dict insertion) order rather than a sorted key ordering interpretation.
  • Correct fixture 135’s parse-deferral rationale to reflect that 0087 is implemented, but the cross-cap parser does not model the reused directive shapes.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
tests/conformance/test_observability.py Clarifies the fixture 135 harness comment around directive execution ordering.
tests/conformance/test_fixture_parsing.py Updates the deferred-parse reason for fixture 135 to match current implementation reality.

Comment thread tests/conformance/test_observability.py
Address CoPilot review on #226: the _SUPPORTED_FIXTURES comment points
readers at _apply_metadata_directives for the document-order behavior,
but that function's own comment still said "IN KEY ORDER" / "YAML key
order" -- the sorted-by-key ambiguity this branch removes at the call
site. Reword it to "document order" so both spots agree.

Comment-only; no behavior change.
@chris-colinsky
chris-colinsky merged commit 1a5f68a into main Jul 21, 2026
5 checks passed
@chris-colinsky
chris-colinsky deleted the chore/0087-harness-comment-fixes branch July 21, 2026 01:39
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.

2 participants