Skip to content

fix(knowledge): cut five model-read ecosystem specifics from course-digest - #16948

Merged
melodic-automation-lanes[bot] merged 1 commit into
mainfrom
work-resolve-issue/issue-16766-44167498456-1
Nov 18, 2026
Merged

melodic-automation-lanes[bot] merged 1 commit into
mainfrom
work-resolve-issue/issue-16766-44167498456-1

Conversation

@melodic-automation-lanes

@melodic-automation-lanes melodic-automation-lanes Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Closes #16766

Summary

Opened by the work-resolve-issue lane. The run's own summary:

Cuts the 5 R11 rows the issue lists from knowledge's course-digest skill under ADR 0101. Row count (bulk-mutation standard): 5 rows. Each row was cut, with no ecosystem-specific replacement:

Row Rule Kind File Outcome
F0253 R11 K4 context/workflow.md:143 Cut. .sln, .csproj, frameworks, NuGet packages became the project and build files, frameworks and package dependencies. The step still runs, but it analyzes the course's own code, not the consumer's ecosystem, so it is not an ecosystem-resolution routing site and knowledge does not become a carrier.
F0254 R11 K5 context/workflow.md:343,349-351 Cut. NuGet/npm package versions became Package versions. The ModelContextProtocol NuGet example paragraph and its mcp__nuget__get_latest_package_version pointer are deleted with no replacement. The /discovery:research route in step 2 stays.
F0255 R11 K7 context/storage-schema.md:13-16,68-72,135-139 Cut. The C#/.NET slug examples block is deleted. The course.json and transcript.md examples now use a course with no language in its title (Test-Driven Development Fundamentals, tdd-fundamentals-doe, Jane Doe) so the schema still shows every field.
F0256 R11 K7 reference/screenshot-strategy.md:120 Cut. IDE showing source code (C#, tests, config) became IDE showing source code, tests or config.
F0258 R11 K5 context/multimodal-evaluation.md:64,67,131,133 Cut. Whisper is removed from the P4 heading, the P4 problem line and the two threshold rows, which now say audio re-transcription / transcript from the audio. Line 10 (the pipeline's own ffmpeg use, the R6 reading) is kept as is.

Kept rows (R3 1, R6 1) were not touched.

Whole page or part: every changed file is a partial cut, and no page is deleted. So each cut needs a detection-control result, and none needs a sensitivity control.

Eval cases that read the cut text (one changed skill, course-digest; the lane ran none):

  • context/workflow.md Freshness verification (F0254) is read by plugins/knowledge/skills/course-digest/evals/evals.json id 6 adoption-requires-freshness-verification. Its expectations (lines 72, 76) still name a NuGet version lookup as an optional or alternative, left untouched for the eval pair.
  • No case exercises the Phase 2c-ii ZIP-only path (F0253).
  • context/storage-schema.md (F0255) is read by plugins/knowledge/evals/cd-status-reads-phase-markers (status reads course.json; the case cites storage-schema.md:3, which is unchanged). Its scaffold builds its own tdd-csharp-ferreira course and does not use the schema doc's examples.
  • reference/screenshot-strategy.md (F0256): no case reads it.
  • context/multimodal-evaluation.md (F0258): no case reads it.

Fence ratchet: the issue asks to lower the skill-stack-fences ceiling only for files whose fences the cut removes. F0256 edits a table cell. The file's one counted fence (the…

Not verified

  • Targeted before-and-after eval verdict for the changed skill (sonnet, 3 runs a side, run by an agent session after this pull request opened; every batch valid, no denied call; full record: fix(knowledge): cut five model-read ecosystem specifics from course-digest #16948 (comment)): slug case PASS (mean case score 0.889 before, 0.778 after, inside the 0.15 loss line), ZIP-analysis case PASS (0.667 before, 1.000 after; its detect-no-dotnet grader failed on the old text in every run, so it cannot show a loss). Overall PASS. Measured rows: F0253. Not measured: F0254 (two registrations stopped because the run answered that question without opening the changed file), F0255, F0256 and F0258. How many runs opened each changed file is in the record.
  • F0255 unmeasured: its changed file was opened in 2 of 3 before runs and 1 of 3 after runs.
  • Detection-control result for each partial cut: not run, by the owner's decision of 2026-11-17 that cut pull requests are gated on the no-loss compare alone, with no wrong-text side (owner-decisions record: https://github.com/melodic-software/architecture/blob/37e43feab804b3ebe68b00e227b5e90ce46413b3/docs/owner-decisions.md#L202). No page is deleted, so no sensitivity control applies.
  • plugins/knowledge/skills/course-digest/evals/evals.json id 6 expectations still mention a NuGet version lookup as an optional alternative; left unchanged so the eval pair compares like with like.
  • Tidy did not run every pass: the ai-slop deterministic detector (detect.sh) cannot run in this lane, so pass 5 applied only the rubric by reading. Passes 1-3 had no code lines; pass 4 made one wording edit at multimodal-evaluation.md:133.
  • verify step skipped: the change is markdown only, with no build or test to run; the PR's CI runs the suites.
  • markdownlint, typos and the CI-only checks (portability-lint, line-citations, evals-quality and others check-affected lists) did not run here; left to the PR's CI.

Fix

  • plugins/knowledge/skills/course-digest/context/workflow.md: F0253 ZIP-only analysis step without .NET/NuGet names; F0254 freshness bullet without NuGet/npm and the NuGet MCP example paragraph deleted
  • plugins/knowledge/skills/course-digest/context/storage-schema.md: F0255 C#/.NET slug examples deleted; course.json and transcript examples use a language-neutral course
  • plugins/knowledge/skills/course-digest/reference/screenshot-strategy.md: F0256 code classification row no longer names C#
  • plugins/knowledge/skills/course-digest/context/multimodal-evaluation.md: F0258 Whisper removed from P4 and the two threshold rows (tidy reworded the ingest-pipeline row to transcript from the audio)
  • .changes/knowledge/work-resolve-issue-issue-16766-44167498456-1-4914e7f7.md: patch changelog fragment for the knowledge plugin

Verification

The runner ran each check from the base copy against 4986ea7:

  • scripts/check-changelog-fragments.sh --check: passed
  • scripts/check-changed-skills.sh --merge-base: passed

The run reports:

  • Script-reader search for every R11 row (Grep tool, ripgrep, run in place of git grep -n -F because this lane runs no git grep). Pattern workflow\.md|storage-schema\.md|screenshot-strategy\.md|multimodal-evaluation\.md over plugins/**, scripts/**, .github/**. The knowledge-plugin hits are…
  • Grep for course-digest/(context|reference)/*.md:<line> citations outside CHANGELOGs: only cd-status-reads-phase-markers/prompt.md cites storage-schema.md:3, and that line is unchanged.
  • Grep for Whisper|NuGet|nuget|.csproj|.sln|C#|.NET|csharp|dotnet in plugins/knowledge/skills/course-digest after the edit: no hit is left in the five cut spots. The remaining hits are out-of-scope rows (reference/adapters/*.md, evals/evals.json, extraction tests).
  • .performance/ratchets.json and scripts/skill-stack-fences.py read. screenshot-strategy.md ceiling is 1, and its single counted fence (javascript) is untouched by the cut.
  • check-changelog-fragments: all 9 fragments valid (run before and after tidy and after the review fix).
  • check-changed-skills: course-digest PASS, 0 errors, 4 warnings. One warning, at multimodal-evaluation.md:71, is on unchanged text; the other three are SKILL.md size and gotchas warnings, also pre-existing.
  • check-affected: 15 passed, 7 skipped over 5 changed files (run before and after tidy and after the review fix).
  • Fresh-context review subagent over the whole diff: no correctness, markdown or JSON problems in the edits. It flagged two changelog-fragment inaccuracies, both fixed (the fragment now scopes the claim to the five spots and says the slug examples were deleted), and eval id 6's NuGet or…
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/44167498456

Left out: the items under Not verified.

Related

#16766

Lane-Activity: work-resolve-issue/resolve-issue
@kyle-sexton kyle-sexton added the do-not-merge Hard merge gate: do not merge while applied. label Nov 17, 2026
@kyle-sexton

Copy link
Copy Markdown
Member

Held for its eval: #16766 is a cut item, so its before/after eval runs after this PR (D367). A session runs it and posts the eval-pair record for the current head. The pr-merge sweep removes this hold once that record is posted (release-eval-hold.mjs).

@github-actions

Copy link
Copy Markdown
Contributor

claude-review reviewed 4986ea794545bbcac19b3ce87b4aa7d8e734fab4: read 5 of 5 changed file(s); 0 finding(s), 0 as inline comments.

Code review: no findings

This PR changes only Markdown in knowledge's course-digest skill and adds one patch changelog fragment. It cuts the five R11 rows that #16766 lists:

  • F0253 (context/workflow.md:143): the ZIP-only step now says "the project and build files, frameworks and package dependencies".
  • F0254 (context/workflow.md:343): "NuGet/npm" is gone, and so are the ModelContextProtocol NuGet example and its mcp__nuget__get_latest_package_version pointer.
  • F0255 (context/storage-schema.md): the C#/.NET slug examples are deleted. The course.json and transcript examples now use a course with no language in its title.
  • F0256 (reference/screenshot-strategy.md:120): the code row no longer names C#.
  • F0258 (context/multimodal-evaluation.md): Whisper is removed from the P4 heading, the P4 problem line and the two threshold rows.

I read every hunk in all five files and checked the text around each edit at head. No cut leaves a dangling reference:

  • The freshness section of workflow.md still reads correctly.
  • P4's "Why" and "Recommendation" no longer depend on the Whisper wording.
  • The new course.json example matches the slug rule (kebab-case, under 40 characters, ends in the instructor's surname).

The skill still names Whisper, dotnet and csharp in reference/adapters/*.md, evals/evals.json and the extraction tests. The issue does not list those rows, so they are out of scope here.

Closing issue #16766, checked against the change:

  • Each of the five listed rows is cut. I found no cited text left at the five spots.
  • The fence-ratchet step only applies to fences the cut removes. The screenshot-strategy.md edit changes a table cell, and the file's one counted fence (javascript) is untouched, so .performance/ratchets.json needs no change.
  • The pull request body has the row count, the per-row outcomes, the eval cases that read the cut text, and whether each file is a whole-page or partial cut.
  • The eval pair and the detection-control results are the host session's job after the pull request opens. They are not part of this lane's scope.
  • I did not run the author's script-reader searches and checks. They are author-claimed and unverified.

The diff changes no test, lint, CI or check settings, so the loosened-check criterion found nothing.
Loosened-check verdict: fail (default; the prompt had no loosened_check_verdict: line); patterns: 0 (the prompt had no loosened_check_patterns: line).

No plugin.json or marketplace.json changed, so the manifest checks do not apply. The changelog fragment's bump: patch fits a doc-only wording change.

Verifier dropped 0 of 0 candidates.

@github-actions

Copy link
Copy Markdown
Contributor

claude-security-review reviewed 4986ea794545bbcac19b3ce87b4aa7d8e734fab4: read 5 of 5 changed file(s); 0 finding(s), 0 as inline comments.

Security review: PR #16948

No security issues found. I read the whole diff for all 5 changed files. None of them is on a trusted path.

The change only edits prose in the knowledge plugin's course-digest skill reference pages, plus one patch changelog fragment:

  • context/workflow.md: the ZIP code-analysis step no longer names .sln, .csproj or NuGet. The freshness check now says "Package versions" instead of "NuGet/npm package versions". The NuGet ModelContextProtocol example paragraph and its mcp__nuget__get_latest_package_version pointer are removed.
  • context/storage-schema.md: the slug examples are removed. The course.json and transcript examples now use a placeholder course and instructor.
  • reference/screenshot-strategy.md: "C#" is dropped from the code classification row.
  • context/multimodal-evaluation.md: the Whisper mentions become "audio re-transcription".

Instruction-surface check. This change trims instruction text that a model reads, so I checked what each removal does when it is gone. Nothing removed was a guardrail:

  • The freshness rule is still in place. It still says to verify through /discovery:research, flag stale items with ⚠ STALE, and verify every action item when it is integrated. Only one example and an optional tool pointer were removed.
  • No tool grant, hook, allowlist, deny rule or permission changed.
  • No command, path or URL that a session runs was added.

I did not consult the protected-class list in docs/contracts/instruction-exception-register/README.md. I judged the removals by what each one does instead, and none matches a protected class.

Other checks.

  • No plugin manifest, userConfig, workflow, trust control or merge hold is touched.
  • The PR description contains no text that tells this lane to pass the PR, skip a check or drop a finding.
  • This is the first review of this PR, so the full review ran and was not limited to blocking findings.

critical-findings: 0

@kyle-sexton

Copy link
Copy Markdown
Member

Targeted eval result: PASS

One targeted case per changed skill, run on the old text (before) and the new text (after), on sonnet at 3 runs a side, Claude Code 2.1.326 (Claude Code).

What this gate checks: that the new text does no worse than the old on these cases. By the owner's decision of 2026-11-17 the gate is this no-loss compare alone. There is no wrong-text side, so this case set has not been shown to detect wrong text: a PASS says the cases did not get worse, not that they would have noticed a bad edit.

Scope: pure cuts of examples and tool names in course-digest (F0253, F0254, F0255, F0256, F0258); no page is deleted. Measured, by two rules-only cases that end before any browser or network step: F0255 (slug for a long title; the surname rule sits only in context/storage-schema.md) and F0253 (Phase 2c-ii analysis of a Go repo, context/workflow.md). Unmeasured: F0254 (the freshness case was dropped after two smoke stops: both runs answered from SKILL.md and never opened context/workflow.md), F0256 (reference/screenshot-strategy.md vision classification, reached only while curating captured frames) and F0258 (context/multimodal-evaluation.md, an evaluation note no run step acts on).

  • Two new rules-only cases. A third, on the freshness rule (F0254), was dropped after eval-pr-16948 and eval-pr-16948b both stopped at smoke because its run answered from SKILL.md without opening context/workflow.md.

  • No must-read stop: whether a rules-only run opens the reference file varies run to run when SKILL.md states part of the rule (eval-pr-16948c stopped on the slug case for that reason). The cases tie to the cut through slug-has-surname and detect-no-dotnet; the record states per case and side how many runs opened each changed file. Prediction: slug-has-surname may fail on both sides in runs that do not open storage-schema.md.

  • Unmeasured rows: F0254, F0256, F0258.

  • Control result (the issue's acceptance item): not run: the owner's decision of 2026-11-17 gates cut pull requests on the no-loss compare alone.

  • Before: b609a7c8089fcf56c142a5c63ddee6761b9d3069 (merge base with main)

  • After: 4986ea794545bbcac19b3ce87b4aa7d8e734fab4 (pull request head; live head when this was written: 4986ea794545bbcac19b3ce87b4aa7d8e734fab4)

  • Loss: the mean case score falls by 0.15 or more, or any one grader passes in 2 or more fewer after runs than before runs.

Passing runs per grader, per side:

Case Grader Before After
p16948-cd-slug-for-long-title dir-under-platform 3/3 3/3
p16948-cd-slug-for-long-title slug-at-most-40 3/3 3/3
p16948-cd-slug-for-long-title slug-has-surname 2/3 1/3
p16948-cd-slug-for-long-title mean case score 0.889 0.778
p16948-cd-zip-analysis-go-repo writes-analysis-json 3/3 3/3
p16948-cd-zip-analysis-go-repo detect-names-dependencies 3/3 3/3
p16948-cd-zip-analysis-go-repo detect-no-dotnet 0/3 3/3
p16948-cd-zip-analysis-go-repo mean case score 0.667 1.000

Graders that cannot show a loss, because they failed on the old text in every run:

  • p16948-cd-zip-analysis-go-repo detect-no-dotnet: cannot show a loss: failed on the old text in every run (0/3)

Changed files the compare runs opened, per case and side:

  • p16948-cd-slug-for-long-title before: opened skills/course-digest/context/storage-schema.md in 2 of 3 runs
  • p16948-cd-slug-for-long-title after: opened skills/course-digest/context/storage-schema.md in 1 of 3 runs
  • p16948-cd-zip-analysis-go-repo before: opened skills/course-digest/context/storage-schema.md in 3 of 3 runs; opened skills/course-digest/context/workflow.md in 3 of 3 runs
  • p16948-cd-zip-analysis-go-repo after: opened skills/course-digest/context/storage-schema.md in 3 of 3 runs; opened skills/course-digest/context/workflow.md in 3 of 3 runs

Verdicts:

  • verdict p16948-cd-slug-for-long-title (course-digest-slug): PASS (no loss: after 0.778, before 0.889)
  • verdict p16948-cd-zip-analysis-go-repo (course-digest-zip): PASS (no loss: after 1.000, before 0.667)

Cost: 1.70 USD (smoke and compare, the runs' costUsd).

The cases live outside the repository; their full text:

The 2 cases: prompt.md and case.yaml

p16948-cd-slug-for-long-title

prompt.md:

/knowledge:course-digest Before you start anything: next week I'll digest the Dometrain course "Getting Started with Domain-Driven Design in Go" by Ana Ruiz. Which course directory will its files go in under the skill's storage rules? Answer from the skill's rules; don't open the course site or run anything yet. End your reply with this line:

COURSE-DIR: courses/<platform>/<slug>

case.yaml:

schema_version: "1.1"
name: p16948-cd-slug-for-long-title
description: "Hard case. Source: written for PR 16948 (cut F0255, the C#/.NET slug examples in course-digest's context/storage-schema.md), the consumer's own writing, no transcript; rules-only, it ends before any browser or network step. Hard because the title is longer than the 40-character slug limit once kebab-cased with the instructor's surname, so the session must shorten it while keeping the surname; the deleted examples showed exactly that shortening, and the rule itself lives only in storage-schema.md, which SKILL.md links for the course directory."
tags: [course-digest, storage, slug, hard]
plugins: ["../.."]
runs: 3
expected_outcome: "The reply ends with a COURSE-DIR line under courses/dometrain/ whose slug is lowercase kebab-case, at most 40 characters, and includes the surname ruiz; nothing is opened on the network."
execution:
  allowed_tools: [Read, Glob, Grep, Skill, Bash]
  max_turns: 10
  timeout_seconds: 300
graders:
  - name: 'dir-under-platform'
    type: 'regex'
    pattern: '^\W*COURSE-DIR:\W*courses/dometrain/[a-z0-9]+(?:-[a-z0-9]+)*/?\W*$'
    flags: 'mi'
  - name: 'slug-has-surname'
    type: 'regex'
    pattern: '^\W*COURSE-DIR:\W*courses/dometrain/[a-z0-9-]*\bruiz\b[a-z0-9-]*/?\W*$'
    flags: 'mi'
  - name: 'slug-at-most-40'
    type: 'regex'
    pattern: '^\W*COURSE-DIR:\W*courses/dometrain/[a-z0-9-]{1,40}/?\W*$'
    flags: 'mi'

p16948-cd-zip-analysis-go-repo

prompt.md:

/knowledge:course-digest Quick question before I start a digest. The course I'm about to do has no GitHub repo, only a "Final" ZIP of its companion code, and the code is a Go service. When the run gets to analyzing that code, what does it look for in the project structure, and where does it write what it finds? Answer from the skill's rules only; don't open the course site or extract anything yet. End your reply with this line:

DETECT: <what the analysis step detects in this project's structure>

case.yaml:

schema_version: "1.1"
name: p16948-cd-zip-analysis-go-repo
description: "Hard case. Source: written for PR 16948 (cut F0253, the '.sln, .csproj, frameworks, NuGet packages' list in course-digest's Phase 2c-ii, context/workflow.md), the consumer's own writing, no transcript; rules-only, it ends before any extraction. Hard because the course's code is a Go service, so the old step's .NET file list names nothing the repository holds, while the new step asks for the project and build files, frameworks and package dependencies; the session must answer in the course's own language. No existing case reaches Phase 2c-ii."
tags: [course-digest, code-repo, hard]
plugins: ["../.."]
runs: 3
expected_outcome: "The reply ends with a DETECT line naming the project's build or module files and its package dependencies (a Go module and its dependencies), and names no .sln, .csproj or NuGet on that line."
execution:
  allowed_tools: [Read, Glob, Grep, Skill, Bash]
  max_turns: 10
  timeout_seconds: 300
graders:
  - name: 'writes-analysis-json'
    type: 'regex'
    pattern: 'analysis\.json'
  - name: 'detect-names-dependencies'
    type: 'regex'
    pattern: '^\W*DETECT:[^\n]*(?:depend|package|module|go\.mod)'
    flags: 'mi'
  - name: 'detect-no-dotnet'
    type: 'regex'
    pattern: '^\W*DETECT:[^\n]*(?:\.sln|\.csproj|nuget)'
    flags: 'mi'
    match: 'not_contains'

Posted by an agent session.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The do-not-merge hold waited only on eval evidence (reason=eval), and a listed human posted a VALID no-loss eval-pair record for 4986ea794545bbcac19b3ce87b4aa7d8e734fab4: #16948 (comment). pr-merge removed do-not-merge. To hold again, add the label back with a new pr-hold reason line.

@melodic-automation-lanes melodic-automation-lanes Bot removed the do-not-merge Hard merge gate: do not merge while applied. label Nov 18, 2026
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The unattended merge path armed native auto-merge at head 4986ea794545bbcac19b3ce87b4aa7d8e734fab4, the head its arming checks judged.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Verification evidence for 4986ea7

The verifier passed this head. The capture artifact holds the capture summary, which says whether the capture ran, and any screenshot or video that passed the mask check; this comment uploads no file.

Capture artifact: pr-capture-16948-4986ea794545bbcac19b3ce87b4aa7d8e734fab4, expires on 2026-12-18.

One comment per pull request, updated in place for each new head.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Merge-Risk: max=MEDIUM demote=false head=4986ea794545bbcac19b3ce87b4aa7d8e734fab4 rubric=10.2.1 rater=claude-opus-5-5 checker=claude-opus-5-5

@melodic-automation-lanes
melodic-automation-lanes Bot added this pull request to the merge queue Nov 18, 2026
Merged via the queue into main with commit 482a4bc Nov 18, 2026
135 of 140 checks passed
@melodic-automation-lanes
melodic-automation-lanes Bot deleted the work-resolve-issue/issue-16766-44167498456-1 branch November 18, 2026 02:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cut the model-read ecosystem specifics from knowledge

1 participant