Repository navigation
Add a CI job that checks the AGENTS.md claims against the tree with dokimi - #275
Open
antonwolfy wants to merge 7 commits into
Open
antonwolfy wants to merge 7 commits into
antonwolfy wants to merge 7 commits into
Conversation
antonwolfy
requested review from
jharlow-intel,
ndgrigorian,
vlad-perevezentsev and
xaleryb
as code owners
December 1, 2026 13:01
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues require changes.
No open issues 🎉
What changed in this PR
Adds a dokimi CI check to detect stale claims in AGENTS.md files as the repository changes. Manifest validation is blocking; guidance scans remain report-only.
Changes:
- Adds a pinned reusable workflow for pull requests, pushes to
master, and manual runs. - Defines a manifest targeting all
AGENTS.mdfiles, without model or secret requirements. - Excludes dokimi from Dependabot updates and documents manual updates of both matching pins.
| File | Description |
|---|---|
AGENTS.md |
Adds the guidance check to the workflow list. |
.github/workflows/agent-guidance.yml |
Configures triggers, read-only permissions, and the pinned dokimi workflow. |
.github/dokimi/repo.yaml |
Defines the repository manifest and guidance-file glob. |
.github/dependabot.yml |
Excludes dokimi reusable workflows from automatic updates. |
.github/AGENTS.md |
Documents the check and coordinated manual pin updates. |
Review effort: Balanced
antonwolfy
commented
Dec 1, 2026
…f naming them in backticks
antonwolfy
commented
Dec 1, 2026
…s use in .dokimi/scan.toml The scan's 10 unresolved claims all name things outside this repository: sibling packages (mkl_umath, mkl_random), the NumPy C API (PyArray_Resize, array_tobytes), CPython buffer flags (PyBUF_*) and a Python builtin (ImportError). An [[ignore]] entry with a reason for each lets a new unresolved claim stand out from them.
Since intel/dokimi#1486 the reusable workflow installs the dokimi of its own commit when `dokimi-ref` is empty, so the `uses:` SHA is the only pin left. The new commit also counts an ignored claim apart from unresolved (intel/dokimi#1497).
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 and workflow files. 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 6 AGENTS.md files and writes the report to the job summary. It never fails the job.tasks-checkjob does not run.With this PR on master (
046333c), the scan finds 154 claims: 151 ok, 3 unresolved, all 3 ignored by.dokimi/scan.toml, and 0 fail.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)..dokimi/scan.toml: an[[ignore]]entry, with its reason, for each name the AGENTS.md files take from outside this repository: the sibling packagesmkl_umathandmkl_random, the NumPy C namesPyArray_Resizeandarray_tobytes, the CPythonPyBUF_*flags and the builtinImportError. The scan lists a matching claim as ignored and never fails on it, so a new unresolved claim stands out. dokimi reads this file only at the repository root..github/dependabot.yml: thegithub-actionsentry ignoresintel/dokimi/*(Dependabot names a reusable workflow by its path, sointel/dokimialone would not match).AGENTS.md,.github/AGENTS.md: the new workflow added to the workflow lists, and the Dependabot note says dokimi is bumped by hand.AGENTS.md,.github/AGENTS.md,conda-recipe/AGENTS.md:actions/cacheandconda-forge/mkl-service-feedstockbecome plain links instead of backticked spans, which the scan read as paths (onefail, fourunresolved).The
uses:line pins theintel/dokimimain commit of 2026-12-03 (599fcad), with a# main, 2026-12-03comment; no release has it yet. It is the only pin: with nodokimi-refinput, the workflow installs the dokimi of its own commit.dependabot.ymlignores dokimi, so the pin is bumped by hand.One dokimi issue is still open at this pin, intel/dokimi#1487: the scan reads
.dokimi/scan.tomlas code, so the five entries that spell out a whole name resolve their own claims. Those 7 claims readok, and only the threePyBUF_*claims are listed as ignored. Once its fix (intel/dokimi#1498) is merged and the pin moves past it, all 10 are listed as ignored, each with its reason.The scan stays report-only. Making it blocking needs a gate in the reusable workflow:
repo scan --fail-ontakes onlyfail, andrepo-eval.ymlhas no input to pass it.