Skip to content

Add manifest-defined metrics for trusted plugin scripts - #38238

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/1e2f221b9f2c3d7faffe578c7a8499ad4ed933ca
Aug 12, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/1e2f221b9f2c3d7faffe578c7a8499ad4ed933ca

Conversation

@copyberry

@copyberry copyberry Bot commented Aug 12, 2026 •

Copy link
Copy Markdown

Add manifest-defined metrics for trusted plugin scripts

What changed

  • Load version 1 analytics.yaml manifests from trusted plugin roots and map declared operations, measurements, and enum dimensions to exact script paths.
  • Expose resolution types and bind a declared operation to the plugin identity returned by fresh command attribution.
  • Reject malformed, oversized, ambiguous, or unsafe manifests without disabling normal script attribution.

Testing

  • Cover exact script resolution, measurement names shared across operations, and invalid manifests including duplicate keys, path traversal, symlink escapes, invalid identifiers, and oversized files.

## What changed

- Load version 1 `analytics.yaml` manifests from trusted plugin roots and map declared operations, measurements, and enum dimensions to exact script paths.
- Expose resolution types and bind a declared operation to the plugin identity returned by fresh command attribution.
- Reject malformed, oversized, ambiguous, or unsafe manifests without disabling normal script attribution.

## Testing

- Cover exact script resolution, measurement names shared across operations, and invalid manifests including duplicate keys, path traversal, symlink escapes, invalid identifiers, and oversized files.

GitOrigin-RevId: 1e2f221b9f2c3d7faffe578c7a8499ad4ed933ca
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/1e2f221b9f2c3d7faffe578c7a8499ad4ed933ca branch from b436774 to dc8562d Compare August 12, 2026 19:11
@copyberry
copyberry Bot merged commit dc8562d into main Aug 12, 2026
26 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/1e2f221b9f2c3d7faffe578c7a8499ad4ed933ca branch August 12, 2026 19:12
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 12, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant