Repository navigation
Add a CI job that checks the AGENTS.md claims against the tree with dokimi - #3150
Open
antonwolfy wants to merge 14 commits into
Open
antonwolfy wants to merge 14 commits into
antonwolfy wants to merge 14 commits into
Conversation
There was a problem hiding this comment.
🟡 Changes recommended
The workflow’s concurrency key uses github.head_ref, so unrelated fork PRs with the same branch name can cancel each other’s guidance checks; use the PR number to scope cancellation correctly.
1 open issue
What changed in this PR
Adds a report-only CI scan to detect stale claims in dpnp’s agent guidance files.
Changes:
- Calls a pinned dokimi reusable workflow on pull requests, pushes to
master, and manual dispatch. - Adds a task-free manifest selecting all
AGENTS.mdfiles. - Documents the new check as non-required.
| File | Description |
|---|---|
AGENTS.md |
Lists the guidance check in the CI reference table. |
.github/workflows/agent-guidance.yml |
Configures dokimi execution, read-only permissions, and concurrency. |
.github/dokimi/repo.yaml |
Defines the repository manifest and guidance-file glob. |
Review effort: Balanced
Collaborator
antonwolfy
marked this pull request as ready for review
November 3, 2026 18:04
antonwolfy
requested review from
ndgrigorian and
vlad-perevezentsev
as code owners
November 3, 2026 18:04
The reusable workflow installs the dokimi of its own commit since intel/dokimi#1486, so the `uses:` SHA is the only pin. Signed-off-by: Anton Volkov <antonwolfy@gmail.com>
…dokimi-guidance-check
This was referenced Dec 2, 2026
Open
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.

The AGENTS.md files name 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 no check notices today.
This PR 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 9 AGENTS.md files and writes the report to the job summary. It never fails the job.tasks-checkjob does not run.On master (
4be83d01470), with this PR, the scan finds 309 claims: 302 ok, 7 unresolved, 0 fail. The 7 unresolved claims are build outputs that.gitignoreignores, such as the generated files the rootAGENTS.mdsays not to edit; the scan reports such paths as unresolved rather than failed.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).AGENTS.md: the new workflow added to the "Where the checks live" table, as not required..github/dependabot.yml: thegithub-actionsentry ignoresintel/dokimi/*(Dependabot names a reusable workflow by its path, sointel/dokimialone would not match; the pin is a main commit, which Dependabot does not move)..github/AGENTS.md: the Dependabot rule says dokimi is bumped by hand.The
uses:line is the only pin: it is theintel/dokimimain commit of 2026-12-02 (00a761c, with a# main, 2026-12-02comment). The reusable workflow now installs the dokimi of its own commit (a change of 2026-12-01), so nodokimi-refinput is passed. No release has that change yet, and Dependabot follows releases, so the pin is bumped by hand until one does.The scan stays report-only:
repo-eval.ymlhas no option to fail the job on a claim.