Repository navigation
Conversation
Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com> (cherry picked from commit 2d6a9cb77346cecaee684587d82b4752b1aa760f) Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>
Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>
Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>
CLI interface change detectedThis PR changes dokimi's user-facing CLI surface (commands and/or options): + added command `dokimi release`
+ option `--help/-h`
+ added command `dokimi release check`
+ argument `spec`
+ option `--help/-h`
+ option `--json`
+ option `--out`
~ `dokimi runs list` parameters changed:
~ changed option `--kind`: choices: ["'agent_run'", "'answer_key'", "'answers'", "'arms'", "'arms_reps'", "'baseline_manifest'", "'catalog_eval'", "'checklist'", "'cli_routes'", "'cross_judge'", "'dashboard'", "'delivery'", "'docling_sources'", "'docs_run'", "'dokimi_config'", "'effective_instructions'", "'eval'", "'eval_controls'", "'eval_coverage'", "'explore_runs'", "'grounding'", "'guidance_reach'", "'headroom'", "'judge_validity'", "'judge_wording'", "'leak'", "'matrix_rollup'", "'need_graph'", "'novelty'", "'novelty_atoms'", "'novelty_retest'", "'opportunities'", "'pairwise'", "'persona_analysis'", "'personas'", "'plan'", "'plugin_delta'", "'question_panel'", "'question_quality'", "'questions'", "'ragas'", "'reach_matrix'", "'redteam'", "'repo_budget'", "'repo_environment'", "'repo_hits_judged'", "'repo_ledger'", "'repo_readiness'", "'report_qa'", "'report_summary'", "'result'", "'run'", "'run_context'", "'security_report'", "'skill_coverage'", "'skill_discovery'", "'skill_evidence'", "'subject_scorecard'", "'task_inspect'", "'task_runs'", "'tool_preference'"] -> ["'agent_run'", "'answer_key'", "'answers'", "'arms'", "'arms_reps'", "'baseline_manifest'", "'catalog_eval'", "'checklist'", "'cli_routes'", "'cross_judge'", "'dashboard'", "'delivery'", "'docling_sources'", "'docs_run'", "'dokimi_config'", "'effective_instructions'", "'eval'", "'eval_controls'", "'eval_coverage'", "'explore_runs'", "'grounding'", "'guidance_reach'", "'headroom'", "'judge_validity'", "'judge_wording'", "'leak'", "'matrix_rollup'", "'need_graph'", "'novelty'", "'novelty_atoms'", "'novelty_retest'", "'opportunities'", "'pairwise'", "'persona_analysis'", "'personas'", "'plan'", "'plugin_delta'", "'question_panel'", "'question_quality'", "'questions'", "'ragas'", "'reach_matrix'", "'redteam'", "'release_check'", "'release_check_spec'", "'repo_budget'", "'repo_environment'", "'repo_hits_judged'", "'repo_ledger'", "'repo_readiness'", "'report_qa'", "'report_summary'", "'result'", "'run'", "'run_context'", "'security_report'", "'skill_coverage'", "'skill_discovery'", "'skill_evidence'", "'subject_scorecard'", "'task_inspect'", "'task_runs'", "'tool_preference'"]Updated on every push; the |
There was a problem hiding this comment.
🟡 Changes recommended
Report destinations and their .rejected siblings can overwrite or remove local evidence files, including through symlink or hard-link aliases.
6 open issues
Prevent output paths from aliasing evidence inputs · New Handle malformed URLs as evidence errors · New Bound streamed evidence downloads by size and total time · New Reject non-regular files and limit local evidence reads · New Ignore HTML comments when checking visible Markdown content · New Support valid Markdown fence formatting · New
What changed in this PR
7 findings identified.
This PR adds dokimi release check to collect AI-Ready Level 1 release evidence without model calls.
Changes:
- Checks published installation steps, retirements, listings and documentation.
- Adds versioned specifications, reports and CLI exit statuses.
- Integrates run discovery, regression tests and usage documentation.
| File | Description |
|---|---|
README.md |
Introduces release checks. |
dokimi/tests/test_runs_show.py |
Checks artifact item counts. |
dokimi/tests/test_runs_scan.py |
Checks artifact discovery. |
dokimi/tests/test_release_check.py |
Tests checks and CLI outcomes. |
dokimi/tests/test_import_architecture.py |
Registers the scorecard layer. |
dokimi/tests/test_cli_routes.py |
Checks release command grouping. |
dokimi/tests/test_cli_output.py |
Covers release usage errors. |
dokimi/tests/fixtures/artifacts/release_check.v1.json |
Adds a report fixture. |
dokimi/tests/fixtures/artifacts/release_check_spec.v1.json |
Adds a specification fixture. |
dokimi/tests/cli_faults.py |
Adds release input fault coverage. |
dokimi/dokimi/scorecard/release.py |
Implements checks and verdicts. |
dokimi/dokimi/scorecard/release_sources.py |
Reads and parses evidence sources. |
dokimi/dokimi/scorecard/__init__.py |
Introduces the scorecard package. |
dokimi/dokimi/schemas/release_check.v1.json |
Defines report structure. |
dokimi/dokimi/schemas/release_check_spec.v1.json |
Defines specification structure. |
dokimi/dokimi/runs/kinds.py |
Registers run metadata. |
dokimi/dokimi/commands/release_check.py |
Implements CLI input, output and exits. |
dokimi/dokimi/cli.py |
Registers the release command. |
dokimi/dokimi/cli_routes.py |
Declares the free release route. |
dokimi/dokimi/artifacts.py |
Registers versioned artifact kinds. |
dokimi/dokimi/__init__.py |
Documents the scorecard package. |
dokimi/docs/start/automation.md |
Explains specifications and usage. |
dokimi/docs/reference/cli-interface.json |
Updates the CLI reference snapshot. |
dokimi/changelog.d/20261124_040000_release-checks.md |
Announces release checks. |
AGENTS.md |
Points contributors to command help. |
Review effort: Balanced
|
OpenCodeReview: Commit 2a7d504 was not reviewed. This PR has reached its review limit (6 reviews). CI at `2a7d504`: 5 still running, 19 passing, 4 skipped
To review this commit: re-request review from exai-bot in the Reviewers list. Last review (cf0157a): no findingsOpen threads from the bot: 0 |
Mutation of changed linesAt 2a7d504: 31 caught · 4 missed · 1 timed out · 44 not tried in time Each row is a small deliberate break (a mutant) of a line this PR changes that every test reaching that line still passes. Add a test that fails on it or, if it cannot change behaviour, put
Not the whole picture:
Warning only: a missed break does not fail the job. Updated on every push; the full report is in the ci run summary. |
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1579 +/- ##
==========================================
- Coverage 96.44% 96.40% -0.05%
==========================================
Files 585 588 +3
Lines 76600 77192 +592
Branches 13175 13304 +129
==========================================
+ Hits 73876 74415 +539
- Misses 1671 1699 +28
- Partials 1053 1078 +25
🚀 New features to boost your workflow:
|
vlad-perevezentsev
left a comment
There was a problem hiding this comment.
🟡 Changes needed · reviewed 7c493f7
To fix: on Windows the checks can install into the system Python or pass a failed quickstart, and on Linux a quickstart can pass with tools from dokimi's own venv (line comments); the smaller gaps there are optional. Also answer the @Copilot and @exai-bot threads below.
make ci-local --offline: 34,263 passed, 1 failed (eval score ragas fault contract, fails on the base too) · ✅ changed-line coverage 93% · ✅ Windows (Server 2025, Python 3.13): bare python runs C:\Program Files\Python313; a failing line mid-block passes in cmd and powershell; Restricted policy fails the .ps1
A clear record per item with an explicit INCONCLUSIVE outcome, and the four actions are easy to read.
Agreed with @exai-bot: the parent-venv PATH leak; the Windows python lookup; CRLF fences, and 2 more.
Agreed with @Copilot on fence parsing, the SPDX comment as page title, malformed URLs, and 2 more; on --out over a source I disagree and replied in its thread.
Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>
Thread: PRRT_kwDOVBg7g86_IeCS Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>
Thread: PRRT_kwDOVBg7g86_Cufr Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>
Thread: PRRT_kwDOVBg7g86_Cuey Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>
Thread: PRRT_kwDOVBg7g86_IeCe Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>
Thread: PRRT_kwDOVBg7g86_Cugn Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>
Thread: PRRT_kwDOVBg7g86_CugT Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>
Thread: PRRT_kwDOVBg7g86_Cug6 Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>
Thread: PRRT_kwDOVBg7g86_CxgQ Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>
Thread: PRRT_kwDOVBg7g86_CuhM Thread: PRRT_kwDOVBg7g86_CxgV Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>
Thread: PRRT_kwDOVBg7g86_IeCs Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>
Thread: PRRT_kwDOVBg7g86_Cxgb Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>
Thread: PRRT_kwDOVBg7g86_Cxgn Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>
Thread: PRRT_kwDOVBg7g86_IeCF Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>
Thread: PRRT_kwDOVBg7g86_Cxgg Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>
Thread: PRRT_kwDOVBg7g86_IeCN Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>
vlad-perevezentsev
left a comment
There was a problem hiding this comment.
🟡 Changes needed · re-checked cfda6fe
To fix: a standard Windows cmd quickstart (venv\Scripts\activate, npm, for %i) is still recorded as FAIL (line comments); the smaller gaps there are optional.
✅ GitHub CI on cfda6fe: 26 jobs pass · ✅ PR tests on the merge with current main: 497 passed · ✅ Windows (Server 2025, Python 3.13): the retirement check uses the fresh venv's interpreter, a failing line mid-block now FAILs in cmd and powershell, and a Restricted policy no longer blocks PowerShell
The earlier points are fixed, and the checks now read openings and fences far more faithfully.
Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>
Thread: PRRT_kwDOVBg7g86_s-hg Thread: PRR_kwDOVBg7g88AAAABcOsMkw Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>
Thread: PRRT_kwDOVBg7g86_s-ht Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>
Thread: PRRT_kwDOVBg7g86_s-hw Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>
|
Re: review by vlad-perevezentsev
|
|
The Windows quickstart now runs the published commands in one interactive CMD session. The Windows check exercises extensionless activation, a PATH shim, pasted FOR syntax, and failure propagation. 4583e5b Markdown openings now count visible text. The retirement-check guide specifies where to place the banner. 6a06d66, cf0157a |
antonwolfy
left a comment
There was a problem hiding this comment.
Review at cf0157a. The fix rounds hold up: the Windows cmd session, the PATH filtering, the source bounds and the Markdown-opening parser all read well, and CI is green. One thing is worth fixing before merge: the retirement-banner check accepts text that is not a retirement banner.
What I ran, on a Linux review host at cf0157a:
make ci-local: 38 passed, 0 failed, 16 skipped. Changed-line coverage 95%.- A reproduction of the banner finding, with no network and no model call.
Checked, no issues
- Commits: all 43 non-merge commits carry
Signed-off-by. - Schemas and docs: the two new schemas, their fixtures and
cli-interface.jsonare consistent with the registered artifact kinds; the changelog fragment is present. - Earlier review points: the points from Copilot, exai-bot and @vlad-perevezentsev are answered with commits and no longer reproduce at this head.
vchamarthi
left a comment
There was a problem hiding this comment.
@napetrov, could you fix the 3 problems I found and the small thing I've marked fix before merge (in the line comments) and fix what antonwolfy's thread on dokimi/dokimi/scorecard/release.py:32 still points out? Then push and I'll take another look.
What I checked on cf0157a:
- When I changed the code on purpose, the tests still passed for 3 of 12 changes, and no test pins these down yet (non-blocking):
dokimi/dokimi/commands/release_check.py:27(the handled error is raised again),dokimi/dokimi/scorecard/release.py:82(the handled error is raised again) anddokimi/dokimi/scorecard/release.py:84(the handled error is raised again). - The 506 changed tests pass, and fail on main as expected.
- The full test suite passes with main merged in (46,150 tests), apart from failures main has too.
- It merges cleanly onto main.
Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com> # Conflicts: # dokimi/docs/reference/cli-interface.json # dokimi/dokimi/artifacts.py # dokimi/dokimi/runs/kinds.py # dokimi/tests/test_cli_output.py # dokimi/tests/test_runs_scan.py # dokimi/tests/test_runs_show.py
Thread: PRRT_kwDOVBg7g87AFkOm Thread: PRR_kwDOVBg7g88AAAABcbZ_uA Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>
Thread: PRRT_kwDOVBg7g87AKdcI Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>
Thread: PRRT_kwDOVBg7g87AKdcK Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>
Thread: PRRT_kwDOVBg7g87AKdcM Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>
Thread: PRRT_kwDOVBg7g87AKdcN Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>
Thread: PRR_kwDOVBg7g88AAAABcd7TuQ Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>
|
vchamarthi
left a comment
There was a problem hiding this comment.
@napetrov, could you fix the 2 new problems I found and the 2 small things I've marked fix before merge (in the line comments) and answer my question below? Then push and I'll take another look.
My question before I approve:
- A
DeprecationWarningthat names the successor passes the import warning check even without retirement wording:DeprecationWarning: Install new-package to replace your hand-written config.gives PASS on the latest commit. Say indokimi/docs/start/automation.mdthat the category alone counts, or require retirement wording for that category as well.
What I checked on 182d694:
- When I changed the code on purpose, the tests still passed for 3 of 12 changes, and no test pins these down yet (non-blocking):
dokimi/dokimi/commands/release_check.py:27(the handled error is raised again),dokimi/dokimi/scorecard/release.py:96(the handled error is raised again) anddokimi/dokimi/scorecard/release.py:98(the handled error is raised again). - The 524 changed tests pass, and fail on main as expected.
- The full test suite passes with main merged in (46,611 tests), apart from failures main has too.
- It merges cleanly onto main.
Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>
Thread: PRRT_kwDOVBg7g87AOJMg Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>
Thread: PRRT_kwDOVBg7g87AOJMh Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>
Thread: PRRT_kwDOVBg7g87AOJMi Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>
Thread: PRRT_kwDOVBg7g87AOJMj Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>
Thread: PRR_kwDOVBg7g88AAAABcf22mw Thread: PRR_kwDOVBg7g88AAAABcf22mw.a Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>
Keep support for Markdown HTML examples while recognizing documents that start with ordinary HTML metadata or an XML declaration. Thread: PRRT_kwDOVBg7g87AOJMh Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>
Thread: PRRT_kwDOVBg7g87AOJMh Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>
|
|
The four inline requests are covered by 605b051, 68ee6b7, e81e1f3 and bf7a997. 20a49a3 documents the import warning category rule and tests the given example. I independently re-raised the handled exceptions in |
Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>


Summary
Evidence
The four AI-Ready release checks previously required a separate harness. The synthetic release used both documented shell blocks in one clean profile. The CLI returned PASS for actions 1–4 with 0 model calls.
The offline controls exercise an undeclared workaround, active retirement status, stale metadata, obsolete page text and unavailable network, Docker and GPU infrastructure.
pytest tests/test_release_check.py tests/test_cli_routes.py --cov=dokimipassed 47 tests. The full suite passed 34,361 tests and changed-line coverage was 93%.make ci-localpassed 38 steps, with 16 skipped.Merge Danger
Door Two-way. All new checks run through
release checkand write versioned artifacts.Blast radius The four AI-Ready Level 1 checks.