Skip to content

chore(ci): wire check-pr-agent-fingerprints into commit-checks - #1058

Merged
c-vigo merged 2 commits into
devfrom
feature/1052-wire-pr-agent-fingerprints
Jul 14, 2026
Merged

c-vigo merged 2 commits into
devfrom
feature/1052-wire-pr-agent-fingerprints

Conversation

@c-vigo

@c-vigo c-vigo commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Summary

Implements #1052 per the decision recorded there: the previously dead check-pr-agent-fingerprints entry point now runs as a step in the commit-checks job — devkit's ci.yml and the scaffold's (independent copies, both edited; verified not manifest-linked).

  • The step passes the PR title and body via env: only — never interpolated into the run: script — mirroring the injection-safe pattern of the sibling validate-commit-range step, and reusing its exact toolchain invocation so vig-utils resolves in both devkit and scaffolded consumers.
  • validate-commit-range already guards the title (which becomes the merge-commit subject); this adds the body as defense-in-depth — it is visible in the UI and notifications even though it never enters git history.
  • Entry point unchanged; it already reads the env vars and greps the blocklist.
  • This closes the last documented-but-uncalled guard in the [BUG] Wrong identity tags in commits & PR messages #163 pipeline.

TDD: new workflow-shape test (parametrized over both copies), RED then GREEN.

Test evidence

  • uv run pytest tests/test_workflow_pr_agent_fingerprints.py → 2 passed (9 passed combined with the entry-point suite)
  • actionlint clean; prek run --all-files → green (re-verified independently before push)
  • This PR's own CI exercises the new step live

Closes #1052
Refs: #163

@c-vigo
c-vigo merged commit 5949a29 into dev Jul 14, 2026
13 checks passed
@c-vigo
c-vigo deleted the feature/1052-wire-pr-agent-fingerprints branch July 14, 2026 11:37
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.

1 participant