Repository navigation
Add a CI job that checks the AGENTS.md claims against the tree with dokimi - #2434
Open
antonwolfy wants to merge 1 commit into
Open
antonwolfy wants to merge 1 commit into
antonwolfy wants to merge 1 commit into
Conversation
antonwolfy
requested review from
ndgrigorian and
vlad-perevezentsev
as code owners
December 1, 2026 12:29
|
View rendered docs @ https://intelpython.github.io/dpctl/pulls/2434/index.html |
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues remain for the guidance-checking CI configuration.
No open issues 🎉
What changed in this PR
Adds dokimi-based CI checks to detect stale claims in AGENTS.md guidance. The configuration is ready to pick up the guidance planned in #2402; until then, there are no claims to scan.
Changes:
- Adds a workflow for pull requests, pushes to
master, and manual runs, with blocking manifest validation and report-only scanning. - Adds a manifest matching
**/AGENTS.md, with no evaluation tasks. - Pins the reusable workflow and dokimi installation to the same commit, excluding dokimi from Dependabot updates so both pins remain synchronized manually.
| File | Description |
|---|---|
.github/workflows/agent-guidance.yml |
Calls the pinned dokimi workflow with read-only repository access. |
.github/dokimi/repo.yaml |
Defines the repository manifest and guidance-file glob. |
.github/dependabot.yml |
Excludes dokimi reusable workflows from automated dependency updates. |
Review effort: Balanced
Collaborator
8 tasks
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
An AGENTS.md file names commands, paths, CMake targets and pre-commit hooks. A change elsewhere in the tree can make such a claim stale without touching the guidance, and nothing checks for that today. This PR brings to dpctl the check that IntelPython/dpnp#3150 adds to dpnp.
It adds the
Check agent guidance (dokimi)workflow, which calls the reusablerepo-eval.ymlworkflow of intel/dokimi:repo validatechecks the manifest (eval check --schema-only). It fails the job only when the manifest is broken.repo scanchecks every claim in the AGENTS.md files and writes the report to the job summary. It never fails the job.tasks-checkjob does not run.master has no AGENTS.md yet (#2402 adds one), so for now the scan has no claims to check. The manifest matches
**/AGENTS.md, so the scan picks up the file once #2402 merges, with no change here.Files:
.github/workflows/agent-guidance.yml: runs on pull requests, on pushes to master and on manual dispatch. Top-levelpermissions: {}, and the job getscontents: read..github/dokimi/repo.yaml: the manifest. It names the guidance files (**/AGENTS.md)..github/dependabot.yml: thegithub-actionsentry ignoresintel/dokimi/*(Dependabot names a reusable workflow by its path, sointel/dokimialone would not match).Both pins (
uses:anddokimi-ref) are theintel/dokimimain commit of 2026-12-01, with a# main, 2026-12-01comment, the same pin as in dpnp; no release has it yet. Dependabot would bump only theuses:line and leavedokimi-refon the old commit, sodependabot.ymlignores dokimi and both pins are bumped together by hand. The dpnp PR also adds this rule and the workflow to its AGENTS.md files; that belongs in dpctl's AGENTS.md once #2402 lands.The scan stays report-only for now. It can be made blocking once its unresolved claims are settled.