Skip to content

fix(knowledge): docpage-digest key-claim fences stay exact substrings - #8093

Merged
melodic-automation-lanes[bot] merged 2 commits into
mainfrom
work-resolve-issue/issue-7284-39105796030-1
Oct 18, 2026
Merged

melodic-automation-lanes[bot] merged 2 commits into
mainfrom
work-resolve-issue/issue-7284-39105796030-1

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Closes #7284

Summary

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

docpage-digest's 'Verbatim means verbatim' rule told authors to put an ellipsis or join marker in a key-claim quote, which the exact-substring fence gate rejects. The skill now says a fence payload is an exact contiguous substring and that truncation or joins are recorded in prose after the closing fence. The gate scripts are unchanged, as the recorded decision directs.

Not verified

  • CI's skill-quality check on the PR: left to the PR's CI
  • No negative-control fixture added: the gate is unchanged, so no new gate behavior exists to test
  • SKILL.md still describes check-fences-exact.py as blind to 'join-convention honesty' (a gate blind-spot note, not an authoring instruction); left as is

Fix

  • plugins/knowledge/skills/docpage-digest/SKILL.md: Verbatim rule now requires exact contiguous substrings and records truncation/joins outside the fence
  • plugins/knowledge/skills/docpage-digest/context/anthropic-docs-profile.md: split-clause rule no longer says to mark the cut with an ellipsis; notes the cut outside the fence
  • .changes/knowledge/fix-docpage-truncated-quote-rule-7284a1c4.md: patch fragment for the knowledge plugin

Verification

The run reports:

Left out: the items under Not verified.

Related

#7284

@github-actions

Copy link
Copy Markdown
Contributor

claude-security-review reviewed b55816076c8cbf360983467bb0ba21a6134b2e01: 0 finding(s), 0 as inline comments.

No security findings in PR 8093 at b558160.

The PR changes three files: a changelog fragment, and two docpage-digest skill docs under plugins/knowledge. It rewords one authoring rule, the key-claim fence "verbatim" rule. A fence payload must now be an exact contiguous substring of the source. Truncations and joins are recorded in prose outside the fence.

  • Instruction surface: The rule is tightened, not deleted or softened. The verbatim requirement and the character-for-character verifier diff are unchanged. The only removed text is the instruction to put an ellipsis or join marker inside a fence. That change makes the quote check stricter, so it removes no control.
  • Other surfaces: There is no executable code, workflow, permission, secret or dependency change.
  • Protected-class list: I did not check the change against the instruction exception register, because the rule is not removed or narrowed.

@github-actions

Copy link
Copy Markdown
Contributor

claude-review reviewed b55816076c8cbf360983467bb0ba21a6134b2e01: 0 finding(s), 0 as inline comments.

Code review: PR #8093

No findings.

What I checked

  • Closing issue knowledge: docpage-digest's truncated-quote ellipsis rule contradicts the exact-substring fence gate #7284. The diff meets each acceptance criterion.
    • SKILL.md no longer tells authors to put an ellipsis or a join marker in a key-claim fence.
    • Truncation and joins are now recorded in prose after the closing fence. That covers joins as well as ellipses, as the decision comment asked.
    • The gate scripts (digest_fences.py, check-fences-exact.py) are untouched.
    • The knowledge changelog fragment is a valid patch entry.
  • Leftover wording. A grep of the docpage-digest .md files for ellipsis, join and truncation wording found no remaining instruction that contradicts the new rule. The anthropic-docs-profile.md split-clause rule is updated to match.
  • Scope of the rule. check-html-rows.py still accepts ellipsis lines and JOIN rows in **FN.** fences, but that is a separate gate for rows quoted from source.html. The new rule applies only to "Key claims (verbatim)" (**CN.** rows), so the two don't conflict.
  • Path-scoped rules. The skill-body rule and the cost-claims rule match the changed files. I found no violation: the change adds no volatile upstream specifics and no cost claims.

Not independently verified

  • I did not run skill-quality, check-skill or the changelog-fragment check. The PR body's results for them are author-claimed.
  • I did not review the PR's CI results.

Minor, not worth blocking (cross-file, so it goes here instead of inline)

  • SKILL.md:297 still lists "join-convention honesty" as something check-fences-exact.py is blind to. After this change, no key-claim fence has a join convention to be honest about. The PR author already noted the line and left it, and it is a gate blind-spot note rather than an authoring instruction, so it doesn't mislead authors.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The unattended merge path enqueued this pull request at head b55816076c8cbf360983467bb0ba21a6134b2e01.

@melodic-automation-lanes
melodic-automation-lanes Bot added this pull request to the merge queue Oct 18, 2026
Merged via the queue into main with commit 83d83eb Oct 18, 2026
24 checks passed
@melodic-automation-lanes
melodic-automation-lanes Bot deleted the work-resolve-issue/issue-7284-39105796030-1 branch October 18, 2026 17:20
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.

knowledge: docpage-digest's truncated-quote ellipsis rule contradicts the exact-substring fence gate

0 participants