Skip to content

feat(knowledge): hand course-digest rule candidates to corrections:codify - #17216

Merged
kyle-sexton merged 4 commits into
mainfrom
work-resolve-issue/issue-17175-44370209815-1
Nov 19, 2026
Merged

kyle-sexton merged 4 commits into
mainfrom
work-resolve-issue/issue-17175-44370209815-1

Conversation

@melodic-automation-lanes

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

Copy link
Copy Markdown
Contributor

Closes #17175

Summary

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

Phase 5 of /knowledge:course-digest used to sort every course rule into a 'CLAUDE.md / .claude/rules/ rule candidates' bucket, and the action-items.md template added it to {target file}. That picked the instruction rung for every rule by default. The first bucket is now 'Rule candidates'. Each entry names a /corrections:codify "<the rule>" hand-off behind the availability gate, followed by the shared strongest-first fallback quoted exactly from the issue's Decisions. The digest names the call and runs codify only when the user asks, after Freshness verification. The sentence that picked a mechanism from a private list before the change was the workflow.md:274 bullet "CLAUDE.md / .claude/rules/ rule candidates" together with the template's "- [ ] {Rule description} — Add to {target file}." No ladder copy, Selection rules row or rung list was added; the only rung order is the issue's fixed fallback sentence. The other buckets, extraction and analysis are unchanged, and no new enforcement-placing skill was added (AC10). Eval case 5, synthesis-and-deliverable-output-shape (evals/evals.json:55-66), is the existing case whose run reads the changed text: it runs Phase 5 and grades the bucket list, which it still names 'CLAUDE.md/rule'. Case 6, adoption-requires-freshness-verification, refers to a 'CLAUDE.md rule candidate' in its prompt but grades freshness verification, not the bucket. Both were left unchanged so the before-and-after eval compares the same case text. The lane ran no eval.

Not verified

  • Person checks per the refinement split: the pre-change sentence is quoted in the summary above. The new eval case with a corrections stand-in plugin and a fixture course was added to this pull request by an agent session after the lane run (plugins/knowledge/evals/cd-rule-candidate-hands-to-codify/).
  • Eval runs: the sonnet before-and-after compare ran in the host session, three runs a side: PASS, no loss (mean case score 0.714 before, 1.000 after); rule-candidate-to-codify and no-instruction-target passed in 0 of 3 before runs and 3 of 3 after runs. The reference/analysis-template.md row is measured; the context/workflow.md row is not (opened in 0 of 3 before runs and 1 of 3 after runs). One denied Read was counted. The record is in this pull request's comments. Not run: the opus confirm and the detection control. The case does not exercise the skill's "Emit checklist" step, because its scaffold supplies the checklist.
  • evals/evals.json case 5's expectation still names a 'CLAUDE.md/rule' bucket and case 6's prompt says 'CLAUDE.md rule candidate'. Both were left unchanged to keep the before-and-after case text identical; a person may reword them after the eval record.
  • Tidy was partial. Pass 4 ran write-for-agents on workflow.md only, and write-for-humans was not run on the changelog fragment. Pass 5 (ai-slop fix) was judged by reading alone, because the lane's Bash rules do not allow its detect.sh and digest-guard scripts; the template lines sit inside a fenced…
  • check-affected skipped typos (not installed) and comment-hygiene (sandbox blocked its fetch); markdownlint, lychee and evals-quality run in CI only.
  • Build and tests: this is a markdown-only change with no build or test target in this checkout; the PR's CI runs the suites.
  • Changes are left uncommitted in the working tree, as the lane's system prompt directs; the runner turns them into the patch.

Fix

  • plugins/knowledge/skills/course-digest/context/workflow.md: Phase 5 step 4's first bucket is now 'Rule candidates', each written as a /corrections:codify "<the rule>" hand-off with the availability gate and the shared fallback; the digest names the call and runs codify only when asked,…
  • plugins/knowledge/skills/course-digest/reference/analysis-template.md: the action-items.md heading 'CLAUDE.md / .claude/rules/ candidates' is now 'Rule candidates'; each entry reads 'Hand to /corrections:codify "{Rule}"' plus a slot for the unproven fallback proposal, in place of 'Add to `{target…
  • plugins/knowledge/evals/cd-rule-candidate-hands-to-codify/: new eval case with a corrections stand-in plugin and a fixture course, added by an agent session after the lane run
  • .changes/knowledge/work-resolve-issue-issue-17175-44370209815-1-6847494a.md: new minor changelog fragment describing the change

Verification

The runner ran each check from the base copy against c3a08c6:

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

The run reports:

  • check-changelog-fragments: all 17 fragments valid (ran after the final edit)
  • check-changed-skills: course-digest PASS, 0 errors, 4 warnings that were there before this change (Gotchas surface, fresh-eyes declaration in multimodal-evaluation.md, body length, token size)
  • check-affected: 14 passed, 8 skipped (typos not installed, comment-hygiene fetch blocked by the sandbox, checks that run checked-tree code), the rest CI only
  • fresh-context review subagent: confirmed the gate and fallback text match the issue word for word, no rung list was added and the other buckets are unchanged; its findings on the template gate, the placeholders, freshness ordering and the changelog wording were applied
  • grep of the course-digest skill for CLAUDE.md, rule and codify: no other place routes rules to an instruction file except evals.json:64 and :71 (left unchanged, see summary)
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/44370209815

Left out: the items under Not verified.

Related

#17175

Lane-Activity: work-resolve-issue/resolve-issue
@github-actions

github-actions Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

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

Security review: PR #17216 (incremental, blocking only)

Scope. This review covers only the push since fa1b7c91. That push changes one file, plugins/knowledge/evals/cd-rule-candidate-hands-to-codify/scaffold.sh, and I read its whole hunk in .claude-lane/incremental.diff. The file matches no trusted-path glob.

Findings: none. The hunk adds 26 lines to the end of the eval scaffold, after its existing commit:

  • it creates .work/robust-http-apis-hale/;
  • it writes .work/.gitignore containing *;
  • it writes a fixed course-digest-checklist.md through a quoted heredoc (<<'EOF'), with Phases 1–4 ticked and Phase 5 open.

The script interpolates no variables, reads no input and makes no network call. It runs only inside the eval sandbox. The quoted heredoc delimiter means nothing in the checklist text is expanded by the shell.

Instruction-surface lens. The push deletes or softens no standing instruction. The checklist is fixture data for the eval, not a skill or rules file.

Embedded text. Neither the PR context nor the settled-threads file contains text that tries to direct this lane.

Settled thread. The thread on workflow.md:274 is settled by an owner reply stating the eval case now exists, and its lines are unchanged. This push only pre-creates that case's checklist, so I raise nothing on it.

Prior findings. The two IMPORTANT manifest flags this lane posted at fa1b7c91 are on corrections-stub/.claude-plugin/plugin.json (name, version). That file is outside this incremental scope and its lines are unchanged since they were posted. Those threads stay open as posted and I am not re-posting them.

Spend. The case still draws only on prepaid model credit through its existing eval run. This push does not change that, and it is not a hold.

This review was blocking only: the prior-findings file shows an earlier head was already reviewed, so SUGGESTION findings would have been dropped. There were none.

critical-findings: 0

@github-actions github-actions Bot 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.

claude-review: 1 inline finding(s) on c3a08c6984a23c9ca3d837df0450e055a29ea31f; the summary is in this lane's pull request comment.

claude-lane: claude-review

@github-actions

github-actions Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

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

Code review: PR #17216, incremental since fa1b7c91

This lane already reviewed an earlier head of this pull request, so only blocking findings were in scope. The push changes one file, plugins/knowledge/evals/cd-rule-candidate-hands-to-codify/scaffold.sh. I read its whole hunk in .claude-lane/incremental.diff and the file at head.

No blocking findings.

What changed: after the fixture commit, the scaffold now creates the course-digest phase checklist ahead of the run:

  • It writes .work/robust-http-apis-hale/course-digest-checklist.md, with Phases 1 to 4 ticked and Phase 5 open.
  • It writes .work/.gitignore containing *.

Checks I made:

  • Path: the checklist sits where the skill expects it, <work-root>/.work/<slug>/course-digest-checklist.md (SKILL.md:32, SKILL.md:62, context/workflow.md:292). The slug matches the fixture course.json.
  • Self-ignoring folder: the * gitignore matches the skill's own convention for .work/. The scaffold writes both files after git commit, so the commit and the fixture's git state are unchanged.
  • Template: the checklist body is a word-for-word copy of templates/checklist.md. The only difference is the ticked boxes, which fit a course already analyzed through Phase 4 ("status": "analyzed", phases.analyze set).
  • Graders:
    • The new file's path matches neither instruction-file regex (CLAUDE.md, AGENTS.md, .claude/rules/).
    • The checklist text mentions validate-extraction.js. The no-extraction grader matches only Bash tool input, so a correct run does not trip it, even one that reads the checklist with cat.

Loosened-check verdict: fail (default; the wrapper supplied no loosened_check_verdict: or loosened_check_patterns: line); patterns: 0. No changed line loosens a check. The wrapper gave no decision-record line, so I did not check the citation requirement.

Verifier dropped 0 of 0 candidates.

@github-actions

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-unblock/address-feedback
Model rung 0
Leg base
Run job success
Activity step success
Commits pushed none (read lane)
Run 44375806818

Failed GitHub API calls

Method Path Status
GET /repos/{repo}/git/ref/tags/* 404

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

pr-unblock / address-feedback finished round 1 of max 4 on c3a08c6.

@github-actions

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-unblock/publish-feedback
Model rung 0
Leg base
Run job success
Activity step success
Commits pushed none recorded
Run 44375806818

Failed GitHub API calls

Method Path Status
GET /repos/{repo}/git/ref/tags/* 404

@melodic-automation-lanes melodic-automation-lanes Bot added the needs-human Human-in-the-loop required; autonomous sessions must not resolve items carrying this. label Nov 18, 2026
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The pr-unblock lane stopped on this pull request and needs a person: an adjudicator found that a disputed review finding turns on what the change is meant to do, which a person decides.

Reason: intent

  • Reason: feedback-question-intent
  • Resume key: c3a08c6984a23c9ca3d837df0450e055a29ea31f (the head the lane stopped on)

To resume, deal with the reason above, remove the needs-human label (and do-not-merge, if set), then dispatch the pr-unblock workflow with pr-number=17216 and activity=address-feedback:

gh workflow run pr-unblock.yml -R melodic-software/claude-code-plugins -f pr-number=17216 -f activity=address-feedback

@github-actions

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-unblock/report-escalation
Model rung 0
Leg base
Run job success
Activity step success
Commits pushed none recorded
Run 44375806818

Failed GitHub API calls

Method Path Status
GET /repos/{repo}/git/ref/tags/* 404

@kyle-sexton kyle-sexton added the do-not-merge Hard merge gate: do not merge while applied. label Nov 18, 2026
@kyle-sexton

Copy link
Copy Markdown
Member

Held for eval evidence. Issue #17175's done-when asks for one new eval case this pull request does not carry yet: a course rule landing as a rule candidate handed to /corrections:codify. An agent session is adding the case on this branch and running it on a host; the hold lifts on that result.

Posted by an agent session.

kyle-sexton and others added 2 commits November 18, 2026 19:07
Adds the eval case #17175 asks for: cd-rule-candidate-hands-to-codify loads
a corrections stand-in plugin and scaffolds an invented course already
digested through Phase 4, whose one rule is "validate request bodies at the
boundary", next to a service that passes req.body to its store unvalidated.
Graders read analysis/action-items.md: the rule must sit under Rule
candidates as a /corrections:codify hand-off, and no entry may say to add it
to CLAUDE.md, AGENTS.md or a .claude/rules/ file. The pre-change template
output is a must-fail sample for both file graders. The run must not invoke
codify, run an extraction script, or write an instruction file.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Under the default with-without ablation, claude plugin eval counts a
with-only grader as a plugin-fired indicator, not as part of the score, so
a revert of the rule-candidate text would leave the case's score unchanged.
The four graders that read analysis/action-items.md now run in both arms;
the without-arm run writes no such file, so those graders fail there.

Co-Authored-By: Claude Fable 5.2 <[email protected]>

@github-actions github-actions Bot 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.

claude-security-review: 2 inline finding(s) on fa1b7c91e863354e1bbc29c1f1499ae5957338fe; the summary is in this lane's pull request comment.

claude-lane: claude-security-review

…ff case

The scaffold now also writes the course's work root, `.work/.gitignore`
and the phase checklist with Phases 1 to 4 ticked, so a Phase 5 run only
ticks Phase 5 and has no file to create with a shell redirect.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@kyle-sexton

Copy link
Copy Markdown
Member

Held for the owner: the eval for this pull request could not produce a valid reading, and how to gate it is his decision.

What ran (sonnet, one run a side per smoke; smoke runs never count toward a reading):

Registration Head Before side After side Stop
eval-pr-17216, first smoke fa1b7c9 valid; rule-candidate-to-codify and no-instruction-target fail, as expected on the old text all seven graders pass; reading INVALID one denied Bash call
eval-pr-17216, second smoke fa1b7c9 valid; same two graders fail all seven graders pass; reading INVALID one denied Bash call
eval-pr-17216b, smoke d8df3b9 same two graders fail; reading INVALID not run one denied Bash call

Cause, the same each time: the skill's "Emit checklist" step copies templates/checklist.md into the course's work folder; the run does that with a shell command that names the plugin's folder, and the eval sandbox's deny rule blocks it ("cp to '…/templates/checklist.md' was blocked by a deny rule"). A denied call on a tool a grader reads makes the batch invalid. Commit d8df3b9 made the case's scaffold pre-create the checklist; the run copied it again anyway.

After three stops the case is dropped from measurement: the rows for context/workflow.md and reference/analysis-template.md are unmeasured. No compare ran and no eval record exists for this pull request. Spend: 1.04 USD of plan usage.

@kyle-sexton

Copy link
Copy Markdown
Member

Owner decision, 2026-11-18, typed in the owning agent session: "go w/ recommended" on the question of how to gate this pull request, option A: a blocked Bash call is counted when no grader's pattern matches it, and one more registration runs under that rule; the blocked call is listed in the record. The case's only Bash grader, no-extraction, matches extraction script names, so its verdict cannot depend on a blocked checklist copy.

The hold stays until that eval's record is posted.

@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.328 (Claude Code).

What this gate checks: issue 17175's change to course-digest Phase 5. The case is expected to fail its rule-candidate-to-codify and no-instruction-target graders on the old text (a 'CLAUDE.md / .claude/rules/ candidates' heading and 'Add to {target file}') and pass them on the new text; the gate needs action-items-written, rule-candidate-to-codify and no-instruction-target in 3 of 3 AFTER runs, beside the kit's no-loss compare against the old text.

Scope: behaviour change, part of two pages (issue 17175). context/workflow.md Phase 5 step 4's first bucket changes from 'CLAUDE.md / .claude/rules/ rule candidates' to 'Rule candidates', each a /corrections:codify "<the rule>" hand-off behind an availability gate with the shared strongest-first fallback; reference/analysis-template.md's action-items heading changes to 'Rule candidates' and its entry from 'Add to {target file}' to 'Hand to /corrections:codify "{Rule}"'. Measured by the PR's new case p17216-cd-rule-candidate-hands-to-codify (Phase 5 on a pre-digested fixture course with a corrections stand-in plugin); both files are references, so each row counts as measured only when 2 of 3 runs a side open it.

  • Copied case p17216-cd-rule-candidate-hands-to-codify: cd-rule-candidate-hands-to-codify, added by this PR with its corrections-stub/ plugin and self-contained scaffold.sh, taken at d8df3b9 (the scaffold pre-creates the course's work root and phase checklist with Phases 1 to 4 ticked), copied into both sides (absent at BEFORE); folder, name: field, a source note and a hard tag changed; the llm grader rule-lands-with-codify dropped for the deterministic rule-candidate-to-codify and no-instruction-target.

  • Flags add Edit to --allow-tools (Bash Write Edit): the case's allowed_tools lists Edit and its no-instruction-file-edit grader reads Edit, so a session without Edit would turn a course.json update into a missing tool.

  • Registration eval-pr-17216c: the earlier registrations of this case stopped in smoke three times because the sandbox denied a shell copy of the plugin's checklist template; by the owner's decision of 2026-11-18, made after those stops, a denied Bash call whose input matches no Bash grader's pattern (no-extraction) is counted, and each denied call is listed below. No case, grader, target or flag changed.

  • Control result (the issue's acceptance item): not run: the owner's decision of 2026-11-17 gates PRs on the compare alone; this registration adds the after-side targets the expected direction gives.

  • Denied call, counted (check-3, after): case p17216-cd-rule-candidate-hands-to-codify, with-arm run 1: Read <plugin copy>/after/knowledge/templates/checklist.md

  • Before: 8b08130a63ec2b8dbfd66e0b08ad575530ecf762 (merge base with main)

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

  • 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
p17216-cd-rule-candidate-hands-to-codify action-items-written 3/3 3/3
p17216-cd-rule-candidate-hands-to-codify rule-candidate-to-codify 0/3 3/3
p17216-cd-rule-candidate-hands-to-codify no-instruction-target 0/3 3/3
p17216-cd-rule-candidate-hands-to-codify no-codify-run 3/3 3/3
p17216-cd-rule-candidate-hands-to-codify no-instruction-file-write 3/3 3/3
p17216-cd-rule-candidate-hands-to-codify no-instruction-file-edit 3/3 3/3
p17216-cd-rule-candidate-hands-to-codify no-extraction 3/3 3/3
p17216-cd-rule-candidate-hands-to-codify mean case score 0.714 1.000
p17216-cd-rule-candidate-hands-to-codify target: action-items-written passes in at least 3 after runs 3/3 3/3
p17216-cd-rule-candidate-hands-to-codify target: rule-candidate-to-codify passes in at least 3 after runs 0/3 3/3
p17216-cd-rule-candidate-hands-to-codify target: no-instruction-target passes in at least 3 after runs 0/3 3/3

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

  • p17216-cd-rule-candidate-hands-to-codify rule-candidate-to-codify: cannot show a loss: failed on the old text in every run (0/3)
  • p17216-cd-rule-candidate-hands-to-codify no-instruction-target: cannot show a loss: failed on the old text in every run (0/3)

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

  • p17216-cd-rule-candidate-hands-to-codify before: opened skills/course-digest/reference/analysis-template.md in 3 of 3 runs
  • p17216-cd-rule-candidate-hands-to-codify after: opened skills/course-digest/context/workflow.md in 1 of 3 runs; opened skills/course-digest/reference/analysis-template.md in 3 of 3 runs

Rows these runs measured (the row's file opened in at least 2 of 3 runs on each side, or loaded with the skill or agent):

  • I17175-template (skills/course-digest/reference/analysis-template.md, case p17216-cd-rule-candidate-hands-to-codify): opened in 3 of 3 before, 3 of 3 after runs

Rows these runs did not measure:

  • I17175-workflow (skills/course-digest/context/workflow.md, case p17216-cd-rule-candidate-hands-to-codify): opened in 0 of 3 before, 1 of 3 after runs: below the measured line

Verdicts:

  • verdict p17216-cd-rule-candidate-hands-to-codify (course-digest): PASS (no loss: after 1.000, before 0.714, every registered target met)

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

The cases live outside the repository; their full text:

The 1 cases: prompt.md and case.yaml

p17216-cd-rule-candidate-hands-to-codify

prompt.md:

---
description: "Phase 5 on an already digested fixture course with a corrections stand-in loaded. The invented course robust-http-apis-hale (scaffolded at courses/teachable/robust-http-apis-hale/, phase markers set through analyze, both module summaries and analysis/course-summary.md present) teaches one rule, validate request bodies at the boundary, and the scaffolded orders-api passes req.body to its store unvalidated. analysis/action-items.md must list that rule under Rule candidates as a /corrections:codify hand-off, not as a line to add to CLAUDE.md, AGENTS.md or a .claude/rules/ file, and the digest names the call without running it. No browser, download or extraction script. Visibility: the scaffold runs git init with no remote, so the work root reads local. Source: plugins/knowledge/evals/cd-rule-candidate-hands-to-codify at d8df3b9b (added by PR 17216), copied for both sides; its llm grader rule-lands-with-codify dropped for the deterministic rule-candidate-to-codify and no-instruction-target. Hard: a 40-turn Phase 5 run over a scaffolded repository and course."
tags: [knowledge, course-digest, outcome, scaffold, rule-candidate, codify-handoff, hard]
plugins: ["../..", "corrections-stub"]
max_turns: 40
timeout_seconds: 900
allowed_tools: [Skill, Bash, Read, Glob, Grep, Write, Edit]
expected_outcome: "The run writes analysis/repo-candidates.md and analysis/action-items.md in the course directory. action-items.md has a Rule candidates section whose entry for validating request bodies at the boundary names a /corrections:codify call with that rule, and no entry says to add the rule to CLAUDE.md, AGENTS.md or a .claude/rules/ file. The run does not invoke codify, runs no extraction script, and writes or edits no CLAUDE.md, AGENTS.md or .claude/rules/ file."
---

/knowledge:course-digest analyze robust-http-apis-hale

The course is already extracted and Phases 3 and 4 are done: the module summaries and analysis/course-summary.md are in place, so no extraction script or browser is needed. Run Phase 5 for this repository and write its two files.

case.yaml:

schema_version: "1.1"
name: p17216-cd-rule-candidate-hands-to-codify
context:
  scaffold_script: scaffold.sh
graders:
  - name: action-items-written
    type: file_exists
    path: '**/robust-http-apis-hale/analysis/action-items.md'
    arm: both
  - name: rule-candidate-to-codify
    type: regex
    pattern: '^#{1,6}[ \t]*Rule candidates\b(?:(?!\n#{1,2}[ \t])[\s\S])*?(?:/corrections:codify\b(?:(?!\n(?:[-*]|\d+\.)[ \t])[\s\S]){0,400}?\bvalidat\w*\b[^\n]{0,80}?\b(?:request|body|bodies|payload|input)|\bvalidat\w*\b[^\n]{0,80}?\b(?:request|body|bodies|payload|input)(?:(?!\n(?:[-*]|\d+\.)[ \t])[\s\S]){0,400}?/corrections:codify\b)'
    flags: 'mi'
    target: { source: file, path: courses/teachable/robust-http-apis-hale/analysis/action-items.md }
    arm: both
  - name: no-instruction-target
    type: regex
    pattern: '\bAdd\b[^\n]{0,20}?\bto[ \t]+[`"\x27]?(?:\./)?(?:CLAUDE\.md|AGENTS\.md|\.claude/rules/)|^#{1,6}[ \t]*CLAUDE\.md[ \t]*/'
    flags: 'mi'
    match: 'not_contains'
    target: { source: file, path: courses/teachable/robust-http-apis-hale/analysis/action-items.md }
    arm: both
  - name: no-codify-run
    type: tool_used
    tool: Skill
    input_match: '"skill":"/?(?:corrections:)?codify"'
    min: 0
    max: 0
    arm: with-only
  - name: no-instruction-file-write
    type: tool_used
    tool: Write
    input_match: '"file_path":"[^"]*(?:CLAUDE\.md|AGENTS\.md|\.claude/rules/)'
    min: 0
    max: 0
    arm: both
  - name: no-instruction-file-edit
    type: tool_used
    tool: Edit
    input_match: '"file_path":"[^"]*(?:CLAUDE\.md|AGENTS\.md|\.claude/rules/)'
    min: 0
    max: 0
    arm: both
  - name: no-extraction
    type: tool_used
    tool: Bash
    input_match: '(?:extract-course|discover-resources|download-resources|build-course-json|classify-frames|generate-manifests|validate-extraction|analyze-code-repo)\.js|\brun\.mjs\b|\bplaywright\b'
    min: 0
    max: 0
    arm: both

Denied calls: one, in one after run, a Read of a checklist template path inside the plugin copy. The sandbox denied it. No grader reads Read, so the kit counted every run; the validity gate itself read INVALID on that denial alone. Owner decision, 2026-11-17, typed in the agent session: when the only validity failure is a denied call that no grader reads, the session posts the record line with the denied calls listed (first applied on #16989). No Bash call was denied in this registration's runs, so the rule the owner added on 2026-11-18 was not used.

Not measured: the context/workflow.md row (opened in 0 of 3 before runs and 1 of 3 after runs). The skill's "Emit checklist" step is not exercised by this case: the scaffold supplies the checklist.

Posted by an agent session.

@kyle-sexton

Copy link
Copy Markdown
Member

Owner decision, 2026-11-18, typed in the owning agent session: "go w/ recomemndations" on the question about the two security-lane flags on the eval-only stand-in manifest (name and version in corrections-stub/.claude-plugin/plugin.json), option A: both flags are accepted. The manifest holds only name, version and description, no marketplace entry names it, and only the eval case loads it. The eval record for this head is posted above. The hold is lifted.

@kyle-sexton kyle-sexton removed do-not-merge Hard merge gate: do not merge while applied. needs-human Human-in-the-loop required; autonomous sessions must not resolve items carrying this. labels Nov 19, 2026
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

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

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Merge-Risk: max=MEDIUM demote=false head=d8df3b9be915895ea442ee0082e9742a73c19e4b rubric=10.4.0 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 19, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Nov 19, 2026
@melodic-automation-lanes
melodic-automation-lanes Bot added this pull request to the merge queue Nov 19, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Nov 19, 2026
@melodic-automation-lanes

melodic-automation-lanes Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor Author

@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 19, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Nov 19, 2026
@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 19, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Nov 19, 2026
@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 19, 2026
Merged via the queue into main with commit 3ee1c53 Nov 19, 2026
107 of 109 checks passed
@kyle-sexton
kyle-sexton deleted the work-resolve-issue/issue-17175-44370209815-1 branch November 19, 2026 09:49
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.

feat(knowledge): hand course-digest rule candidates to /corrections:codify

1 participant