Skip to content

feat(report): report opportunities — ranked fix queue, llms.txt check (Lightsage-inspired) - #1082

Merged
vlad-perevezentsev merged 16 commits into
intel:mainfrom
napetrov:claude/lightsage-feature-ideas-2aea58
Nov 25, 2026
Merged

vlad-perevezentsev merged 16 commits into
intel:mainfrom
napetrov:claude/lightsage-feature-ideas-2aea58

Conversation

@napetrov

Copy link
Copy Markdown
Contributor

Problem

dokimi findings (novelty outcomes, repo static claims) live in separate reports; nothing ranks them into one queue a coding agent can act on, and nothing checks a docs site's llms.txt. Both ideas come from a competitor analysis (Lightsage), written up in docs/proposals/lightsage-inspired-features.md.

Change

  • dokimi.llms_txt: static llms.txt check (H1, blockquote summary, when-to-use / when-not-to-use sections, described links, ~2000-token budget). No network, no LLM.
  • dokimi.opportunities: adapters from novelty artifacts, repo_static.v1 outputs and llms.txt findings to ranked opportunities (impact, effort, impact x effort quadrant, stable source_key, execution prompt).
  • dokimi report opportunities PATH... [--format markdown|json] [--top N] [--out FILE]; inputs detected by content; JSON is a new opportunities.v1 schema (fixture added), registered in artifacts.SCHEMA_VERSIONS and cli_routes.
  • Proposal doc with the feature map, gap ranking and next steps; changelog fragment.

Evidence

New tests: tests/test_llms_txt.py, tests/test_opportunities.py, tests/test_opportunities_command.py. Route, help, schema-compat, run-envelope, docs-refs and import-architecture tests pass locally. mypy / make ci-local not run (no dev venv on this machine).

Review

Local self-review, 2 passes (correctness, silent failures, tests, docs, design of the new CLI leaf and schema). Round 1 found 2 blocking and 2 nits, all fixed in 3614b7a. Open nit: the llms.txt "N H1 titles" key still includes N.

🤖 Generated with Claude Code

@napetrov
napetrov requested a review from a team as a code owner November 21, 2026 20:17
…Lightsage-inspired proposal

Prototype only, not wired into the CLI: dokimi.opportunities turns novelty,
repo_static and llms.txt findings into a ranked impact x effort queue with
stable source keys and execution prompts; dokimi.llms_txt statically checks
an llms.txt. docs/proposals/lightsage-inspired-features.md maps the competitor's
features, ranks the gaps and lists next steps.

Signed-off-by: Petrov, Nikolay A <nikolay.a.petrov@intel.com>
Inputs are detected by content (novelty JSON, repo_static.v1, llms.txt);
--format json writes an opportunities.v1 artifact (new schema + fixture),
markdown prints the ranked table. Proposal next steps updated.

Signed-off-by: Petrov, Nikolay A <nikolay.a.petrov@intel.com>
…s an input error, escape table cells

Signed-off-by: Petrov, Nikolay A <nikolay.a.petrov@intel.com>
Signed-off-by: Petrov, Nikolay A <nikolay.a.petrov@intel.com>
@napetrov
napetrov force-pushed the claude/lightsage-feature-ideas-2aea58 branch from 9e4efbb to 6724519 Compare November 21, 2026 20:17
@exai-bot

exai-bot commented Nov 21, 2026 •

Copy link
Copy Markdown

OpenCodeReview: Commit 43fb0f5 was not reviewed. This PR has reached its review limit (6 reviews).

CI at `43fb0f5`: 13 still running, 5 passing, 2 skipped
Check Status
Build docs (strict) still running
CodeQL (actions) still running
CodeQL (python) still running
External catalog smoke test (uxlfoundation/skills) still running
Linux Python 3.14 still running
Linux Wheels Python 3.14 still running
Static checks (ruff, schema, zizmor, licenses, pre-commit, bandit, secrets, changelog, schema com... still running
Windows smoke test (py3.13) still running
benchmark still running
mypy still running

3 more not listed.

To review this commit: re-request review from exai-bot in the Reviewers list.

Last review (dcf5ad5): no findings

Open threads from the bot: 0

Comment thread dokimi/dokimi/artifacts.py Resolved
Comment thread dokimi/dokimi/commands/opportunities.py Resolved
Comment thread dokimi/dokimi/llms_txt.py Resolved
Comment thread dokimi/dokimi/llms_txt.py Resolved
Comment thread dokimi/dokimi/llms_txt.py Resolved
Comment thread dokimi/dokimi/llms_txt.py Resolved
Comment thread dokimi/dokimi/opportunities.py Resolved
Comment thread dokimi/dokimi/opportunities.py Resolved
…s by check, links by message

Signed-off-by: Petrov, Nikolay A <nikolay.a.petrov@intel.com>
Comment thread dokimi/dokimi/commands/opportunities.py Resolved
Comment thread dokimi/dokimi/commands/opportunities.py Resolved
Comment thread dokimi/dokimi/llms_txt.py Resolved
Comment thread dokimi/dokimi/opportunities.py Resolved
Signed-off-by: Petrov, Nikolay A <nikolay.a.petrov@intel.com>
@github-actions github-actions Bot added the cli-interface-change Changes dokimi's user-facing CLI surface label Nov 21, 2026
@github-actions

github-actions Bot commented Nov 21, 2026 •

Copy link
Copy Markdown

CLI interface change detected

This PR changes dokimi's user-facing CLI surface (commands and/or options):

+ added command `dokimi report opportunities`
    + argument `inputs`
    + option `--format`
    + option `--help/-h`
    + option `--out`
    + option `--top-n`
~ `dokimi runs list` parameters changed:
    ~ changed option `--kind`: choices: ["'answers'", "'arms'", "'baseline_manifest'", "'catalog_eval'", "'checklist'", "'cli_routes'", "'cross_judge'", "'dashboard'", "'docling_sources'", "'docs_run'", "'dokimi_config'", "'effective_instructions'", "'eval'", "'eval_coverage'", "'explore_runs'", "'grounding'", "'guidance_reach'", "'headroom'", "'judge_validity'", "'judge_wording'", "'leak'", "'matrix_rollup'", "'need_graph'", "'novelty'", "'novelty_atoms'", "'novelty_retest'", "'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_context'", "'security_report'", "'skill_coverage'", "'skill_discovery'", "'skill_evidence'", "'subject_scorecard'", "'task_inspect'", "'task_runs'", "'tool_preference'"] -> ["'answers'", "'arms'", "'baseline_manifest'", "'catalog_eval'", "'checklist'", "'cli_routes'", "'cross_judge'", "'dashboard'", "'docling_sources'", "'docs_run'", "'dokimi_config'", "'effective_instructions'", "'eval'", "'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_context'", "'security_report'", "'skill_coverage'", "'skill_discovery'", "'skill_evidence'", "'subject_scorecard'", "'task_inspect'", "'task_runs'", "'tool_preference'"]

Updated on every push; the cli-interface-change label is on while the diff is non-empty.

@codecov-commenter

codecov-commenter commented Nov 22, 2026 •

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

❌ Patch coverage is 90.33613% with 23 lines in your changes missing coverage. Please review.
✅ Project coverage is 96.07%. Comparing base (4d7af6d) to head (43fb0f5).
⚠️ Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
dokimi/dokimi/commands/opportunities.py 76.11% 16 Missing ⚠️
dokimi/dokimi/opportunities.py 93.33% 3 Missing and 4 partials ⚠️
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1082      +/-   ##
==========================================
- Coverage   96.10%   96.07%   -0.03%     
==========================================
  Files         491      494       +3     
  Lines       64882    65120     +238     
  Branches    11266    11303      +37     
==========================================
+ Hits        62352    62562     +210     
- Misses       1560     1581      +21     
- Partials      970      977       +7     
Files with missing lines Coverage Δ
dokimi/dokimi/artifacts.py 95.91% <ø> (ø)
dokimi/dokimi/cli_routes.py 97.89% <ø> (ø)
dokimi/dokimi/commands/report.py 85.21% <100.00%> (+0.21%) ⬆️
dokimi/dokimi/llms_txt.py 100.00% <100.00%> (ø)
dokimi/dokimi/runs/kinds.py 100.00% <ø> (ø)
dokimi/dokimi/opportunities.py 93.33% <93.33%> (ø)
dokimi/dokimi/commands/opportunities.py 76.11% <76.11%> (ø)

... and 5 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Comment thread dokimi/dokimi/commands/opportunities.py Resolved
Comment thread dokimi/dokimi/commands/opportunities.py Resolved
Comment thread dokimi/dokimi/commands/opportunities.py Resolved
…hot uses the Linux type hash

Signed-off-by: Petrov, Nikolay A <nikolay.a.petrov@intel.com>
Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>
Comment thread dokimi/dokimi/commands/opportunities.py Resolved
…ure-ideas-2aea58

Signed-off-by: Petrov, Nikolay A <nikolay.a.petrov@intel.com>

# Conflicts:
#	dokimi/docs/reference/cli-interface.json
…tput; user docs page

Signed-off-by: Petrov, Nikolay A <nikolay.a.petrov@intel.com>

@vlad-perevezentsev vlad-perevezentsev left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes needed · reviewed ff1f373

To fix: the queue misranks real evidence: novelty rates read as counts, a failed judge sits under an llms.txt warning, catalog-wide errors are dropped (line comments). The smaller gaps there are optional. Also answer the @exai-bot threads below.

✅ make ci-local --offline: 25,978 passed · ❌ a measure.py-shaped novelty block (40 pairs, 10% degraded): impact 0.006, deprioritize · ❌ bad input or --out to a directory: exit 5 with a traceback

One queue over the stored checks, with no model calls, is a useful shape.

Agreed with @exai-bot: the novelty rates, input validation and the repo_static key tied to the input path; unresolved claims told to "fix or delete"; and 7 more (decode errors, --out errors, the llms.txt parser cases).

Comment thread dokimi/dokimi/opportunities.py Resolved
Comment thread dokimi/dokimi/opportunities.py Resolved
Comment thread dokimi/dokimi/opportunities.py Resolved
Comment thread dokimi/docs/opportunities.md Resolved
PRRT_kwDOVBg7g866cEp6
PRRT_kwDOVBg7g866cEp9
PRRT_kwDOVBg7g866cEqA
PRRT_kwDOVBg7g866cEqE
PRRT_kwDOVBg7g866cEqH
PRRT_kwDOVBg7g866cEqK
PRRT_kwDOVBg7g866cEqM
PRRT_kwDOVBg7g866cEqO
PRRT_kwDOVBg7g866cEqQ
PRRT_kwDOVBg7g866cLbk
PRRT_kwDOVBg7g866cLbr
PRRT_kwDOVBg7g866cLb0
PRRT_kwDOVBg7g866cLb9
PRRT_kwDOVBg7g866eKTw
PRRT_kwDOVBg7g866eKTz
PRRT_kwDOVBg7g866eKT0
PRRT_kwDOVBg7g866eKT1
PRRT_kwDOVBg7g866fpza
PRRT_kwDOVBg7g866x5qy
PRRT_kwDOVBg7g866x5q2
PRRT_kwDOVBg7g866x5q5
PRRT_kwDOVBg7g866x5q6
PRRT_kwDOVBg7g866x5q9

Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>
@napetrov

Copy link
Copy Markdown
Contributor Author

3bc9457 uses paired novelty rates and keeps failed runs and unresolved evidence out of the normal ranking. The focused tests cover both cases.

Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>

@vlad-perevezentsev vlad-perevezentsev left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes needed · re-checked 68ae790

To fix: a few earlier points are only half done: degraded probes still rank under llms.txt warnings, an empty novelty run reads as nothing to fix, and the catalog producer is still wrong in the docs (replies in their threads). The markdown BOM is a small new one.

✅ make ci-local --offline: 27,119 passed · ✅ the earlier repros now give findings or exit 2 (llms.txt parser cases, bad input, --out to a directory) · ✅ a measure.py-shaped novelty block: 4 degraded, impact 0.2

The earlier points are mostly fixed; novelty rates, catalog problems and the llms.txt checks now read the real shapes.

Comment thread dokimi/dokimi/commands/opportunities.py Resolved
Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>

# Conflicts:
#	dokimi/docs/documentation-index.md
#	dokimi/docs/reference/cli-interface.json
Thread: PRRT_kwDOVBg7g866cEqA
Thread: PRRT_kwDOVBg7g866cEqQ
Thread: PRRT_kwDOVBg7g866x5qy
Thread: PRRT_kwDOVBg7g866x5q2
Thread: PRRT_kwDOVBg7g866x5q6
Thread: PRRT_kwDOVBg7g867XEhn
Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>
@napetrov

Copy link
Copy Markdown
Contributor Author

Re: review by vlad-perevezentsev

A few earlier points are only half done
The inline replies map the fixes for ranking, empty novelty evidence, the catalog command, and markdown output. The focused suite passed all 30 tests.

@vlad-perevezentsev vlad-perevezentsev left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 LGTM · re-checked 43fb0f5 · nothing required from @napetrov

🔀 Merge: safe now · merges cleanly into current main, 2 commits behind · after it, #1131 and #1129 (stacked, share its commits) need a rebase; #1150, #1184 and #1186 conflict in cli-interface.json, documentation-index.md and mkdocs.yml

✅ make ci-local --offline: 28,293 passed · ✅ degraded probes rank above an llms.txt warning · ✅ {"paired":{}} and n_paired: 0 exit 2 · ✅ markdown --out matches stdout byte for byte, no BOM

The earlier points are fixed; the queue now ranks real evidence shapes in a sensible order.

@vlad-perevezentsev
vlad-perevezentsev merged commit 602de14 into intel:main Nov 25, 2026
29 checks passed
napetrov added a commit to napetrov/dokimi that referenced this pull request Nov 25, 2026
Thread: PRRT_kwDOVBg7g867ybxv: already fixed in intel#1082
Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>
xaleryb pushed a commit that referenced this pull request Nov 26, 2026
…#1129)

* feat(prototype): ranked opportunities queue and llms.txt check, with Lightsage-inspired proposal

Prototype only, not wired into the CLI: dokimi.opportunities turns novelty,
repo_static and llms.txt findings into a ranked impact x effort queue with
stable source keys and execution prompts; dokimi.llms_txt statically checks
an llms.txt. docs/proposals/lightsage-inspired-features.md maps the competitor's
features, ranks the gaps and lists next steps.

Signed-off-by: Petrov, Nikolay A <nikolay.a.petrov@intel.com>

* feat(report): wire the opportunities prototype as `report opportunities`

Inputs are detected by content (novelty JSON, repo_static.v1, llms.txt);
--format json writes an opportunities.v1 artifact (new schema + fixture),
markdown prints the ranked table. Proposal next steps updated.

Signed-off-by: Petrov, Nikolay A <nikolay.a.petrov@intel.com>

* fix(opportunities): stable source_key across counts, malformed JSON is an input error, escape table cells

Signed-off-by: Petrov, Nikolay A <nikolay.a.petrov@intel.com>

* docs(proposal): drop the not-pushed status

Signed-off-by: Petrov, Nikolay A <nikolay.a.petrov@intel.com>

* fix(opportunities): register the kind in runs scan/show; llms.txt keys by check, links by message

Signed-off-by: Petrov, Nikolay A <nikolay.a.petrov@intel.com>

* docs(cli): refresh the CLI interface snapshot for report opportunities

Signed-off-by: Petrov, Nikolay A <nikolay.a.petrov@intel.com>

* fix(report): opportunities takes the registry spelling --top-n; snapshot uses the Linux type hash

Signed-off-by: Petrov, Nikolay A <nikolay.a.petrov@intel.com>

* feat(skills): dokimi-fix-opportunities Agent Skill for report opportunities

Tells a coding agent to take the top three act_now items of
report opportunities --format json, apply each execution_prompt,
re-run the producing check and report before/after by source_key.

Signed-off-by: Petrov, Nikolay A <nikolay.a.petrov@intel.com>

* fix(skills): keep input paths identical so source_key compares; soften regression claim

Signed-off-by: Petrov, Nikolay A <nikolay.a.petrov@intel.com>

* Address opportunities skill and input validation feedback

PRRT_kwDOVBg7g866n51o
PRRT_kwDOVBg7g866n51r
PRRT_kwDOVBg7g866n51t
PRRT_kwDOVBg7g866n51v
PRRT_kwDOVBg7g866n51x
PRRT_kwDOVBg7g866n51y
PRRT_kwDOVBg7g866n51z
PRRT_kwDOVBg7g866n510
PRRT_kwDOVBg7g866n512
PRRT_kwDOVBg7g866n515
PRRT_kwDOVBg7g866q-Pg
PRRT_kwDOVBg7g866q-Pl
PRRT_kwDOVBg7g866q-P0
PRRT_kwDOVBg7g866yAKP
PRRT_kwDOVBg7g866yAKX
PRRT_kwDOVBg7g866yAKd
PRRT_kwDOVBg7g866yAKi

Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>

* Verify warning severity and document repeated findings

PRRT_kwDOVBg7g866n51m
PRRT_kwDOVBg7g866q-Po
PRR_kwDOVBg7g88AAAABZpJ-cA
PRR_kwDOVBg7g88AAAABZssK4A

Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>

* Fix report input, link parsing and output edge cases

Review: PRRT_kwDOVBg7g8669vM2
Review: PRRT_kwDOVBg7g8669vM8
Review: PRRT_kwDOVBg7g8669vNE
Review: PRRT_kwDOVBg7g8669vNR
Review: PRRT_kwDOVBg7g8669vNb
Review: PRRT_kwDOVBg7g8669vNm
Review: PRRT_kwDOVBg7g867MZOY
Review: PRRT_kwDOVBg7g867MZOd
Review: PRRT_kwDOVBg7g867MZOf
Review: PRRT_kwDOVBg7g867MZOl
Review: PRRT_kwDOVBg7g867MZOr
Review: PRR_kwDOVBg7g88AAAABZ6LXeg
Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>

* Preserve Markdown context and require measured outcome rates

Review: PRRT_kwDOVBg7g867N10h
Review: PRRT_kwDOVBg7g867N10o
Review: PRRT_kwDOVBg7g867N10s
Review: PRRT_kwDOVBg7g867N100
Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>

* Clarify paid rechecks and stable report input paths

Review: PRRT_kwDOVBg7g866yAKd
Review: PRR_kwDOVBg7g88AAAABZ-7eDg
Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>

* Thread: PRRT_kwDOVBg7g867NcIN: already fixed in e961aea

Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>

* Narrow validated novelty rates before arithmetic

Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>

* Explain opportunity identity in the repair skill

Thread: PRR_kwDOVBg7g88AAAABaVzHbw
Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>

* Verify changes against the original finding

Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>

---------

Signed-off-by: Petrov, Nikolay A <nikolay.a.petrov@intel.com>
Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>
xaleryb added a commit that referenced this pull request Nov 28, 2026
…omment (#1131)

* feat(prototype): ranked opportunities queue and llms.txt check, with Lightsage-inspired proposal

Prototype only, not wired into the CLI: dokimi.opportunities turns novelty,
repo_static and llms.txt findings into a ranked impact x effort queue with
stable source keys and execution prompts; dokimi.llms_txt statically checks
an llms.txt. docs/proposals/lightsage-inspired-features.md maps the competitor's
features, ranks the gaps and lists next steps.

Signed-off-by: Petrov, Nikolay A <nikolay.a.petrov@intel.com>

* feat(report): wire the opportunities prototype as `report opportunities`

Inputs are detected by content (novelty JSON, repo_static.v1, llms.txt);
--format json writes an opportunities.v1 artifact (new schema + fixture),
markdown prints the ranked table. Proposal next steps updated.

Signed-off-by: Petrov, Nikolay A <nikolay.a.petrov@intel.com>

* fix(opportunities): stable source_key across counts, malformed JSON is an input error, escape table cells

Signed-off-by: Petrov, Nikolay A <nikolay.a.petrov@intel.com>

* docs(proposal): drop the not-pushed status

Signed-off-by: Petrov, Nikolay A <nikolay.a.petrov@intel.com>

* fix(opportunities): register the kind in runs scan/show; llms.txt keys by check, links by message

Signed-off-by: Petrov, Nikolay A <nikolay.a.petrov@intel.com>

* docs(cli): refresh the CLI interface snapshot for report opportunities

Signed-off-by: Petrov, Nikolay A <nikolay.a.petrov@intel.com>

* fix(report): opportunities takes the registry spelling --top-n; snapshot uses the Linux type hash

Signed-off-by: Petrov, Nikolay A <nikolay.a.petrov@intel.com>

* feat(actions): /dokimi run PR comment trigger with an opportunities comment

actions/pr-command gates an issue_comment trigger: the comment's first
line must be the command and the commenter must have write or admin
permission (collaborator permission API; a failed lookup refuses).
Anyone else gets one reply. It outputs the PR number and head commit.

actions/opportunities-comment runs `dokimi report opportunities
--format markdown` over the findings the checks wrote and creates or
updates one marked comment, with mentions and comment markers broken.

docs/examples/dokimi-pr-command.yml wires them: gate and comment jobs
hold pull-requests: write and never check out PR code; the checks job
runs the head commit with contents: read only.

Signed-off-by: Petrov, Nikolay A <nikolay.a.petrov@intel.com>

* fix(actions): /dokimi run <sha> pins the commit; require-sha makes it mandatory

The gate reads the head when it runs, so a push between the comment
and the run would be checked without a writer having seen it. A named
commit must still be the head, else the gate replies and nothing runs.

Co-located the reply helper; docs and changelog say what runs.

Signed-off-by: Petrov, Nikolay A <nikolay.a.petrov@intel.com>

* fix(actions): /dokimi run <sha> takes the full 40-hex commit, compared exactly

A short prefix can be matched by a crafted commit pushed after the
comment; a full sha cannot.

Signed-off-by: Petrov, Nikolay A <nikolay.a.petrov@intel.com>

* docs(actions): example workflow header comment in two lines

Signed-off-by: Petrov, Nikolay A <nikolay.a.petrov@intel.com>

* Address PR command workflow and reporting feedback

PRRT_kwDOVBg7g866oWGK
PRRT_kwDOVBg7g866oWGL
PRRT_kwDOVBg7g866oWGR
PRRT_kwDOVBg7g866oWGU
PRRT_kwDOVBg7g866oWGZ
PRRT_kwDOVBg7g866oWGa
PRRT_kwDOVBg7g866oWGb
PRRT_kwDOVBg7g866oWGd
PRRT_kwDOVBg7g866oWGg
PRRT_kwDOVBg7g866oWGi
PRRT_kwDOVBg7g866oWGl
PRRT_kwDOVBg7g866oWGn
PRRT_kwDOVBg7g866oWGp
PRRT_kwDOVBg7g866oWGr
PRRT_kwDOVBg7g866oWGs
PRRT_kwDOVBg7g866oWGv
PRRT_kwDOVBg7g866oWGz
PRRT_kwDOVBg7g866oWG2
PRRT_kwDOVBg7g866oWG6
PRRT_kwDOVBg7g866oWG8
PRRT_kwDOVBg7g866oWG_
PRRT_kwDOVBg7g866q_Ya
PRRT_kwDOVBg7g866q_Yd
PRRT_kwDOVBg7g866q_Yg
PRRT_kwDOVBg7g866q_Yj
PRRT_kwDOVBg7g866q_Yl
PRRT_kwDOVBg7g866q_Yo
PRRT_kwDOVBg7g866q_Yw
PRRT_kwDOVBg7g866q_Yy
PRRT_kwDOVBg7g866q_Y1
PRRT_kwDOVBg7g866q_Y3
PRRT_kwDOVBg7g866q_Y5
PRRT_kwDOVBg7g866q_Y-
PRRT_kwDOVBg7g866x9Bo
PRRT_kwDOVBg7g866x9Bt
PRRT_kwDOVBg7g866x9By

Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>

* Preserve reports on failed checks and stabilize index findings

Review: PRRT_kwDOVBg7g866oWGh PRR_kwDOVBg7g88AAAABZpKi3w PRR_kwDOVBg7g88AAAABZsqjfQ
Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>

* Recognize active headings and balanced link destinations in llms.txt

Thread: PRRT_kwDOVBg7g86690DB
Thread: PRRT_kwDOVBg7g86690DO
Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>

* Read reference links as Markdown and report invalid Unicode in evidence

Thread: PRRT_kwDOVBg7g86690C1
Thread: PRRT_kwDOVBg7g86690C8
Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>

* Type the llms.txt comment fragments

Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>

* Read PR commands from the event and serialize comment publication

Thread: PRRT_kwDOVBg7g86690Cf
Thread: PRRT_kwDOVBg7g86690Cm
Thread: PRRT_kwDOVBg7g86690Ct
Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>

* Preserve physical evidence lines and guard the event-file contract

Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>

* Resolve Markdown reference links before checking their descriptions

Thread: PRRT_kwDOVBg7g867Ncmf
Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>

* Preserve inline links beside unresolved labels and CRLF references

Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>

* Respect Markdown link boundaries and inline code in the index scan

Thread: PRRT_kwDOVBg7g867N5b8
Thread: PRRT_kwDOVBg7g867N5cD
Thread: PRRT_kwDOVBg7g867N5cK
Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>

* fix: recognize escaped brackets in link labels

Thread: PRRT_kwDOVBg7g867OKlP
Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>

* fix: retain shortcut links before unknown labels

Thread: PRRT_kwDOVBg7g867OKlU
Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>

* fix: respect escaped Markdown code openers

Thread: PRRT_kwDOVBg7g867OKlZ
Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>

* fix: scope static finding keys by repository

Thread: PRRT_kwDOVBg7g867Vx1s

Review: PRR_kwDOVBg7g88AAAABZ-8MBg
Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>

* fix: match CommonMark reference precedence

Keep the explicit second label available to the following reference if its definition is absent. An undefined full reference suppresses the first shortcut under CommonMark.

Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>

* fix: register the repository identity CLI flag

Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>

* Keep repository finding identities distinct by input path

Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>

* Read shortcut-first Markdown evidence

Thread: PRRT_kwDOVBg7g867t4PI
Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>

* Pin the landed per-index finding identities

Thread: PRRT_kwDOVBg7g867ybxv: already fixed in #1082
Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>

* Reject missing novelty measurements in opportunities

Thread: PRRT_kwDOVBg7g867t4PQ
Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>

* Catch mutations of novelty count and rate bounds

Thread: PRRT_kwDOVBg7g867ybx3
Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>

* Keep malformed report evidence errors path-qualified

Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>

* Separate repository identity guidance from the input table

Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>

* Separate JSON classification and validation from report dispatch

Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>

* Keep embedded repository identities in opportunity reports

Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>

* Document source key changes for unlabelled repository reports

Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>

* fix(actions): opportunities comment escapes entities and HTML so findings cannot mention anyone

Only a literal `@` was broken, so `&#64;user` in a claim file name became a
working mention in the bot's comment, and raw tags such as `<img>` rendered.
Escape `&` and `<` before breaking `@`; the table emits no HTML of its own.

Signed-off-by: Alexander Rybkin <alexander.rybkin@intel.com>

* fix(actions): /dokimi run accepts managed user logins with an underscore

The login check refused `_`, so every writer in an enterprise with managed
users (`<handle>_<shortcode>`) failed the gate with "unexpected pull request
number or login". `/`, `.`, `?` and spaces stay refused.

Signed-off-by: Alexander Rybkin <alexander.rybkin@intel.com>

* test(actions): run the comment lookup filter and the failure paths of the opportunities comment

The fake gh ignored --jq and the fake dokimi never failed, so the author and
marker filter, the skip on a failed lookup, the user-token login and the
documented failed-report exit could all be removed with the tests green.
The fake now applies the action's own jq filter to a list of comments.

Signed-off-by: Alexander Rybkin <alexander.rybkin@intel.com>

* test(actions): /dokimi run stops on an unreadable head commit and survives a failed reaction

The fake gh always answered a valid head and accepted the reaction, so the
head check and the `|| true` on the reaction were untested. Without the head
check an empty head-sha checks out the default branch and skips the stale-head
check of the comment.

Signed-off-by: Alexander Rybkin <alexander.rybkin@intel.com>

---------

Signed-off-by: Petrov, Nikolay A <nikolay.a.petrov@intel.com>
Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>
Signed-off-by: Alexander Rybkin <alexander.rybkin@intel.com>
Co-authored-by: Alexander Rybkin <alexander.rybkin@intel.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cli-interface-change Changes dokimi's user-facing CLI surface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants