Skip to content

hook-telemetry: actionlint schema hook id must match emitted envelope (emit_tel "actionlint") #959

Description

@kyle-sexton

Lane: merge-drive (review-deferral, rule 7 / rule 11b standalone stream)

Deferred from a codex P2 review thread on PR #945 (docs/conventions/hook-telemetry/data/actionlint-check.schema.json), so the deferral can cite a tracked issue.

Finding (codex P2)

"Point actionlint telemetry at the emitted hook id" — the actionlint producer emits telemetry envelopes with hook: "actionlint" on every path (actionlint-check.sh calls emit_tel "actionlint"), but the new hook-telemetry schema keys/validates against a different hook id, so real emitted envelopes would not validate against the schema as written.

Classification

P2, non-DEFER-FORBIDDEN: schema-vs-producer consistency in the hook-telemetry convention data. Not data-loss, not a fail-open safety/merge gate, not security-posture, not silently-wrong output feeding an irreversible action. Telemetry-schema validation only.

Deferral rationale

Deferred (not fixed-on-branch in #945) to end the codex re-review treadmill on the schema cluster (repeated fix-pushes each drew fresh P2 schema findings). #945's exec-bit + closed-enum findings were already fixed; this remaining consistency item is tracked here so #945 can land and the schema/producer alignment is followed up independently.

Fix direction

Align the actionlint hook-telemetry schema's hook id with what actionlint-check.sh's emit_tel actually emits ("actionlint"), or adjust the producer — whichever the hook-telemetry convention intends as canonical.

Category: bug (schema/producer consistency) · priority: needs-triage.

Metadata

Metadata

Assignees

Labels

priority: mediumReal value, no hard deadline; normal backlog flow.status: readyTriaged, unblocked, and fully specified; eligible to pick up.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions