Skip to content

fix(songwriting): close #2233 — 34F is not image-only, 50 citations, Challenge #N boundary - #2261

Merged
kyle-sexton merged 4 commits into
mainfrom
chore/songwriting-2233-cleanup
Aug 12, 2026
Merged

kyle-sexton merged 4 commits into
mainfrom
chore/songwriting-2233-cleanup

Conversation

@kyle-sexton

@kyle-sexton kyle-sexton commented Aug 12, 2026 •

Copy link
Copy Markdown
Member

Closes the six follow-ups tracked in issue #2233. Version 1.1.1.

Both audit denominators are unchanged and were read from the ledger, not
inherited
: Axis 1 = 44/44, Axis 2 = 226/226. Nothing here opens a new
unit — no new reading was done.

A claim shipped in 1.1.0 was false

1.1.0 recorded fig image_rsrc34F's five-line lyric as image-only, "absent
from the gated 1991 text layer, confirmed against a known-present control"
.
It is not. The verse is printed as prose in the 1991 spine in Chapter 4,
two chapters before the figure; the original search was scoped to the spine file
holding the figure.

The control could not have caught it. A grep for line five —
make everything so clear — returns zero across all four books, because the
text layer prints averything (confirmed genuine to the EPUB, one occurrence in
the corpus). A known-present control proves your search works; it can never
prove your target is absent.

What changed

  • Fig 34F's lyric is transcribed in hook.md, read one row at a time at
    12-13x by eye, no OCR, from named PNG files.
  • A standing rule for image-only figure content in book-references.md.
    It codifies what hook.md (fig 34G), cliche.md and bridge.md already
    did rather than inventing a practice — ruling the other way would have obliged
    stripping shipped, audited transcriptions.
  • 50 bare Chapter N / Challenge N citations now name their book, each
    resolved by matching the introduced block against the four spines under a
    control that fails the run if matching breaks.
  • Challenge #N split by role: citations drop the hash, verbatim
    reproduction keeps it. 10 normalized, 2 deliberate keeps.
  • Suno: a first-party citation that does not support its claim removed
    without substituting another; an unproven "silently ignored" softened;
    never-audited positional weighting demoted to marked prose; the voice-privacy
    warning now governs every voice creation; the LOW-MEDIUM rung two files were
    already using is now defined.

Two things recorded and deliberately NOT resolved

  • Fig 34F drops a that that the prose keeps; figs 34F and 32V print
    everything against the text layer's averything. Two photographs of the
    printed page against one reflowed run — the text layer carries the defect.
    This is the only site in the corpus where a figure adjudicates the spine.
  • voices.md's account-locked line versus the reported default-public toggle:
    both stated, the conflict stated, conservative reading governs, no
    reconciliation invented.

Verification

Two checks the resolver itself could not perform, because it only ever proved
the book:

  • Chapter numbers verified against all 266 spine headings — this caught
    a real defect in rhyme-types.md (the travel search is printed in both
    Chapter 4 and Chapter 6; the reproduced block is Chapter 6's printing).
    Now OK=58, MISMATCH=0.
  • Books re-verified independently: 63 correct, 0 wrong, 21 blocks that
    are plugin-authored summaries rather than quoted source.
  • Loose vs tight diffed both ways: tight\loose = 0, loose\tight = 9 (six
    false positives inside HTML comments, three real, now fixed).

typos exit 0, verified with a control that correctly fails (exit 2) ·
markdownlint-cli2 0 errors, 103 files · check-changelog-parity.sh --check-bump pass · validate-plugins.sh not run locally (segfaults on every
plugin here); CI runs it.

Follow-ups this PR surfaced and does NOT close

Listed so they are owned rather than stranded in a receipt — the failure mode
that cost a full release last time:

  • power-tips.md:29 ("Order encodes priority") is the same never-audited claim
    class demoted at :7-13, in the same file. No audit row covers it.
  • The tips.md timing-cue entry's ~70% figure has no basis recorded anywhere
    in this repo. Flagged LOW-MEDIUM and left flagged.
  • 32 citations are unverifiable for chapter number because their blocks are
    plugin-authored summaries, not quoted source. Not defects.
  • melodic-software/standards#349 is merged upstream, but _typos.toml
    here has not synced, so the 56 inline spellchecker guards must stay. External,
    blocks nothing.

Related

Closes #2233

kyle-sexton and others added 2 commits August 11, 2026 20:07
…ions, Challenge #N boundary

Both denominators unchanged and read from the ledger: Axis 1 44/44, Axis 2
226/226. Nothing here opens a new unit.

A claim shipped in 1.1.0 was false. Fig image_rsrc34F's five-line lyric was
recorded as image-only, "absent from the gated 1991 text layer, confirmed
against a known-present control". It is in the spine, in Chapter 4, two
chapters before the figure; the original search was scoped to the spine file
holding the figure. The control could not have caught it: line five greps to
zero across all four books because the text layer prints "averything".

The lyric is now transcribed, read row by row at 12-13x by eye, no OCR, from
named PNG files. The standing rule for image-only figure content is written
into book-references.md — it codifies what hook.md, cliche.md and bridge.md
already did rather than inventing a practice.

47 bare Chapter/Challenge citations now name their book, resolved by matching
each introduced block against the four spines under a control that fails the
run if matching breaks. One site was genuinely ambiguous where the previous
measurement reported none. A second check verified cited chapter NUMBERS
against all 266 spine headings and caught a wrong chapter in rhyme-types.md
that the book-level resolver would have passed.

Challenge #N now splits by role: citations drop the hash, verbatim
reproduction keeps it. 10 citation sites normalized, 2 deliberate keeps.

Suno: removed a first-party citation that does not support its claim without
substituting another, softened an unproven "silently ignored", demoted never-
audited positional weighting to marked prose, moved the voice-privacy warning
so it governs every voice creation, and defined the LOW-MEDIUM rung two files
were already using.

Two divergences are recorded and deliberately not resolved: the figure drops
a "that" the prose keeps, and two scans print "everything" against the text
layer's "averything".

Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
…against tight

The item-2 scan required the intro line to end in a colon and the block to be
quoted or fenced. That tight pattern was blind to indented blocks and to
intros trailing into the next sentence. Re-ran loose and diffed both ways:
tight minus loose is empty (so the loose pattern is not broken), loose minus
tight is 9. Six are false positives — four inside HTML comments, one my own
new prose, one a plugin-authored example inside a fence. Three were real:

- five-compositional-elements.md:324 — Chapter 21's four section headings,
  verified against 2009 spine 028, CHAPTER TWENTY-ONE
- metaphor.md:11 — Card epigraph carrying a bare Challenge 2
- response-filter.md:114 — bare Chapter 5 beside an already-cited Chapter 4

Total is now 50 citations, and the changelog says 50 rather than 47.

Also closes a regrowth vector in the Challenge #N rule itself: the rule had a
verbatim-title branch with no live instance, so a future agent reading
audit-checklist.md:178 would see a chapter title and re-add the hash under my
own rule. That line is now named in the rule as the worked example of a
citation-with-gloss that correctly drops it.

Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
@cursor

cursor Bot commented Aug 12, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@claude

claude Bot commented Aug 12, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @kyle-sexton's task in 1m 6s —— View job


Security Review — PR #2261

Todo list

  • Gather context (PR diff via gh pr diff 2261, all 33 changed files)
  • Review each changed file for security issues
  • Check for dangerous GitHub Actions patterns
  • Post final findings

Scope

All 33 changed files are content-only:

  • plugins/songwriting/.claude-plugin/plugin.json — version bump (1.1.0 → 1.1.1) only
  • plugins/songwriting/CHANGELOG.md — new release notes
  • 27 files under plugins/songwriting/context/pat-pattison/research/** — prose citation fixes (Chapter N → naming the source book, Challenge #N → Challenge N)
  • 6 files under plugins/songwriting/skills/suno/** — prose/citation edits (confidence-level wording, a privacy-warning note in voices.md, a new LOW-MEDIUM confidence rung)

No workflow files (.github/workflows/**), scripts, hooks, settings, or any executable code are touched by this PR.

Findings

None. This PR contains no logic, no injection surfaces (command/SQL/path/template), no token/secret/credential handling, no authorization or access-control code, and no GitHub Actions changes. Every diff hunk is Markdown prose (citation corrections, a changelog, and doc-string edits inside skill context files) plus a one-line semver bump in plugin.json. There is nothing in this diff for this security lane to flag — no CRITICAL, IMPORTANT, or SUGGESTION findings.

One note for completeness, not a finding: voices.md and power-tips.md changes are themselves about documenting a Suno privacy-toggle warning and softening unverified confidence claims — i.e., the content changes improve accuracy of user-facing safety guidance rather than introduce risk.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 785dedbb92

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@claude

claude Bot commented Aug 12, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @kyle-sexton's task in 7m 19s —— View job


Review complete

Todo list

  • Gather context (read PR diff, CLAUDE.md, REVIEW.md)
  • Review changed files for correctness and alignment with guidelines
  • Post inline findings
  • Post summary comment

This PR is almost entirely content/documentation changes to the songwriting plugin's Pat Pattison research files and Suno skill context — restoring a previously-mis-flagged "image-only" lyric, naming books in bare Chapter N/Challenge N citations, normalizing the Challenge #N hash convention, and softening several unsourced Suno claims. plugin.json version bump (1.1.0 → 1.1.1) matches the CHANGELOG entry. No application code, tests, or CI config changed, so most of the usual correctness/error-handling/observability/test-coverage checks don't apply here — I focused on internal consistency of the claims this PR makes about its own content, since that's the actual "correctness" surface for a research-citation plugin.

I found three places where the CHANGELOG's own precise accounting doesn't match the corpus it's describing — posted as inline comments:

  1. CHANGELOG.md:22-23 — "two chapters before the figure" for the Chapter 4 → fig 34F gap. hook.md's own header and body (added in this PR) place fig 34F in Chapter 7, with a third, intermediate printing in Chapter 6 — making the actual gap 3 chapters, not 2. The same claim is repeated in book-references.md:108-110.
  2. CHANGELOG.md:59-60 — claims all 6 loose-vs-tight false positives were "inside HTML comments," but commit 785dedb's own message breaks it down as 4 HTML-comment false positives + 2 of other kinds.
  3. CHANGELOG.md:69-71 — claims "two hash sites remain" after normalization, but only one live Challenge #N citation site (metaphor.md:612) exists in the corpus post-PR.

All three are self-consistency issues within the PR's own audit narrative, not judgment calls — each is checkable against other files this same PR ships. Given the PR's stated purpose is precision in exactly this kind of citation/count accounting, these seem worth reconciling before merge, though none of them affect runtime behavior (this plugin ships prose/markdown consumed by an LLM, not executable logic).

Everything else checked out: cross-file consistency between hook.md/phrasing.md on the everything/averything text-layer defect, the LOW-MEDIUM confidence rung's consistent use across SKILL.md/tips.md/voices.md, the Challenge #N role-based hash rule applied correctly to the citation sites I spot-checked, valid JSON in plugin.json, and the changelog version-heading format matching prior releases.

I could not independently run markdownlint-cli2, typos, or check-changelog-parity.sh in this sandbox (network/tool restrictions), so I'm not confirming the PR description's own lint/test claims — noting that per instructions rather than restating them as verified.

Security-scoped findings (if any) are left to the dedicated security-review lane per this repo's REVIEW.md.

Comment thread plugins/songwriting/CHANGELOG.md Resolved
Comment thread plugins/songwriting/CHANGELOG.md Resolved
Comment thread plugins/songwriting/CHANGELOG.md Resolved
@github-actions

github-actions Bot commented Aug 12, 2026 •

Copy link
Copy Markdown
Contributor

Claude has reviewed this PR 3 times. The lane skips further automatic reviews after 5; deleting this comment resets the count.

…a HIGH tier

Review gate and an independent refuter both caught the same defect, after my
own chapter-number check had passed. That check only examined citation lines
introducing quoted blocks, so it never looked at the prose I had just written
about those same books.

The 1991 spine-to-chapter map is 009 = Chapter 1, 013 = Chapter 5, 015 =
Chapter 7. I had written "Chapter 4" for the prose printing and "Chapter 6"
for figs 32U/32V, from an inference I never checked. Corrected in hook.md (4
sites), phrasing.md (2 sites) and the changelog, which also said "two chapters
before the figure" where the real gap is six.

Also from review:

- lyrics.md's parameterized-syntax note stays factually as agent SA left it but
  drops from HIGH to MEDIUM. The ladder defines MEDIUM as multi-guide community
  consensus with no official documentation, which is exactly what the note now
  says the evidence is, and the next section of the same file already carries
  MEDIUM on the same kind of evidence. The syntax is not in doubt; only the
  claim that Suno documented it.
- The changelog said all six loose-scan false positives were inside HTML
  comments. Four were; one was this release's own new prose and one a
  plugin-authored example inside a fence.
- The changelog's "two hash sites remain" was stale after the rule text landed.
  Exactly one remains in the research corpus, in metaphor.md, inside a
  quotation.

Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
@claude

claude Bot commented Aug 12, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @kyle-sexton's task in 2m 55s —— View job


Review complete

Todo list

  • Gather context (git diff c551973..HEAD, prior review threads, REVIEW.md, CLAUDE.md)
  • Review changed files for correctness and alignment with guidelines
  • Check open review threads from Codex/Claude for still-unresolved issues
  • Post inline findings
  • Post summary comment

Scope note

This PR is entirely markdown content (Pat Pattison research citations + Suno skill context) — no application code, tests, or CI. REVIEW.md's code-review "always check" items (audit-log coverage for security-relevant state changes, atomicity across multi-record writes) don't apply to a content-only diff; nothing here is out of scope for that reason. Security-scoped findings are left to the dedicated security lane per this repo's split.

Prior review threads — verified resolved

Commit 338c1f1 (pushed after the last review round) fixes all three issues raised by the two earlier Claude review passes and Codex's finding:

  • Chapter-gap arithmetic: hook.md, phrasing.md, and CHANGELOG.md now consistently read Chapter 1 (prose) → Chapter 5 (partial fig printing) → Chapter 7 (fig 34F), a six-chapter gap — matches the corrected claim throughout.
  • False-positive breakdown: CHANGELOG.md now matches commit 785dedb's own accounting (4 HTML-comment false positives + 1 new prose + 1 fenced example, not "6 inside HTML comments").
  • Hash-site count: CHANGELOG.md now says "exactly one" remains (metaphor.md:612, verified still the only live citation-role Challenge #N outside book-references.md's own rule-illustration prose) — confirmed by grep against the current tree.
  • Codex's lyrics.md HIGH→MEDIUM: confirmed — the parameterized-syntax note is now MEDIUM, matching SKILL.md's ladder (MEDIUM = community consensus, no first-party doc) and the "default HIGH, surface MEDIUM as opt-in" rule at SKILL.md:221.

New finding

One inline comment posted: book-references.md:110 still has the pre-fix "two chapters earlier" wording for the same fig-34F chapter gap that was corrected everywhere else (hook.md, phrasing.md, CHANGELOG.md) in commit 338c1f1. Same defect class, just missed in this one spot — Fix this →.

Spot-checked and consistent

Cross-referenced chapter/book attributions and citation-hash normalization across the largest diffs (box-model.md, bridge.md, form.md, song-forms.md, metaphor.md, point-of-view.md, rhyme-types.md, audit-checklist.md, voices.md, power-tips.md, tips.md, advanced.md): fig 34F/34G/32V chapter attributions agree across hook.md/phrasing.md; the Challenge #N hash rule (drop for citation-role, keep for verbatim quotation) is applied correctly at every site checked, including the one genuine verbatim-quote exception at metaphor.md:612; the new LOW-MEDIUM confidence rung is used consistently across SKILL.md/tips.md/voices.md; and the voices.md privacy-toggle warning now lives in one place with consistent cross-references from the two-stage bootstrap and verification-phrase sections, matching the PR description.

I could not independently run markdownlint-cli2, typos, or check-changelog-parity.sh in this sandbox — not restating the PR description's own tool-output claims as independently verified.

@claude

claude Bot commented Aug 12, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @kyle-sexton's task in 54s —— View job


Security Review — PR #2261

Todo list

  • Gather context (gh pr diff 2261, all 33 changed files)
  • Review each changed file for security issues
  • Check for dangerous GitHub Actions patterns
  • Post final findings

Scope

All 33 changed files are content-only, confirmed by reading the full diff (1,121 lines):

  • plugins/songwriting/.claude-plugin/plugin.json — version bump (1.1.0 → 1.1.1) only, no schema/hook/permission changes
  • plugins/songwriting/CHANGELOG.md — new release notes (prose)
  • 27 files under plugins/songwriting/context/pat-pattison/research/** — citation fixes (Chapter N → naming the source book, Challenge #N role normalization), plus the hook.md/book-references.md/phrasing.md transcription and image-only-figure-rule additions
  • 6 files under plugins/songwriting/skills/suno/** — confidence-level wording, a privacy-warning note in voices.md, a new LOW-MEDIUM confidence rung

No workflow files (.github/workflows/**), scripts, hooks, settings, or any executable code are touched by this PR (unchanged from the prior push — this PR added one more commit, 338c1f1, which only corrects chapter numbers and confidence wording in the same markdown files already reviewed).

Findings

None. This PR contains no logic, no injection surfaces (command/SQL/path/template), no token/secret/credential handling, no authorization or access-control code, and no GitHub Actions changes. Every diff hunk is Markdown prose (citation corrections, a changelog, and doc-string edits inside skill context files) plus a one-line semver bump in plugin.json. There is nothing in this diff for this security lane to flag — no CRITICAL, IMPORTANT, or SUGGESTION findings.

One note for completeness, not a finding: the voices.md changes are themselves about surfacing a Suno privacy-toggle warning ("make this voice public" defaults ON) more prominently — i.e., the content change improves accuracy of user-facing safety guidance rather than introduces risk.

…t itself

The standing image-only-figure rule in book-references.md still said the verse
is "printed as prose two chapters earlier". It is Chapter 1 against a Chapter 7
figure — six chapters. Caught by the review gate after 338c1f1 fixed the same
claim in hook.md, phrasing.md and the changelog but missed this one.

Fittingly, the miss was inside the paragraph warning future readers not to
trust a scoped search.

Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
@claude

claude Bot commented Aug 12, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @kyle-sexton's task in 1m 1s —— View job


Security Review — PR #2261

Todo list

  • Gather context (gh pr diff 2261, confirmed 33 changed files match PR metadata, against HEAD 732b6c5)
  • Review each changed file for security issues
  • Check for dangerous GitHub Actions patterns
  • Post final findings

Scope

Read the full diff (1,122 lines across 33 files). All changes are content-only:

  • plugins/songwriting/.claude-plugin/plugin.json — one-line version bump (1.1.0 → 1.1.1) only; no schema, permission, or hook changes.
  • plugins/songwriting/CHANGELOG.md — new release-notes prose.
  • 27 files under plugins/songwriting/context/pat-pattison/research/** — citation corrections (naming books for bare Chapter N/Challenge N references, Challenge #N role normalization), the fig 34F lyric transcription in hook.md, and the new image-only-figure-content rule in book-references.md.
  • 6 files under plugins/songwriting/skills/suno/** — confidence-level wording changes, a new LOW-MEDIUM confidence rung, and a voice-privacy warning made to apply to every voice-creation path in voices.md.

No workflow files (.github/workflows/**), scripts, hooks, settings, or any executable code are touched by this PR.

Findings

None. No logic, no injection surfaces (command/SQL/path/template), no token/secret/credential handling, no authorization or access-control code, and no GitHub Actions changes anywhere in this diff. Every hunk is Markdown prose — citation corrections, a changelog, and doc-string edits inside skill context files — plus the one-line semver bump. There is nothing here for this security lane to flag: no CRITICAL, IMPORTANT, or SUGGESTION findings.

One observation for completeness, not a finding: the voices.md change widens the scope of an existing safety warning — the "make this voice public" toggle note now governs every voice-creation path in the file (previously only the non-singer bootstrap subsection), and lyrics.md/power-tips.md's confidence-wording edits downgrade previously overstated claims rather than introduce new unverified ones. Net effect on user-facing guidance is more conservative, not less.

This confirms the three earlier automated security-review passes on this PR (all "no findings"); the corpus is unchanged in kind by the final commit (338c1f1 → 732b6c5), which only corrects chapter-gap arithmetic in prose.
· branch chore/songwriting-2233-cleanup

@claude

claude Bot commented Aug 12, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @kyle-sexton's task in 1m 48s —— View job


Code Review — PR #2261

Todo list

  • Gather context (git diff/git show against the PR base, CLAUDE.md, REVIEW.md)
  • Review latest commit (732b6c5) that fixes the last flagged stale chapter-gap
  • Re-check full diff for correctness / internal consistency
  • Post inline findings (none — see below)
  • Post summary comment

Scope note

Content-only diff (Pat Pattison research citations + Suno skill context), no application code/tests/CI. Security-scoped findings are left to the dedicated security lane per this repo's REVIEW.md split.

This push (732b6c5) — verified fixed

The last outstanding finding from the previous review round — book-references.md:108-110 still reading "prose two chapters earlier" after the same claim was corrected everywhere else — is now fixed. Confirmed by reading the file directly: it now says "prose six chapters earlier — Chapter 1, against the figure in Chapter 7" (book-references.md#L107-L113), and this now agrees with hook.md:373 (Chapter 1 → Chapter 5 → Chapter 7), phrasing.md:297, and CHANGELOG.md:22. No new defect introduced by this commit — it's a 2-line prose edit, MD013 is disabled repo-wide so the mid-sentence rewrap doesn't trip lint.

Additional spot-check this round

Re-scanned citation sites not previously spot-checked in depth (song-forms.md, rhyme-worksheets.md) for the "bare Chapter N" pattern this PR targets. A few in-prose Chapter 6/Chapter 3 mentions remain without an inline book name (e.g. song-forms.md:396, :531, :567), but each is immediately followed by (or trails) a fully-qualified citation attached to the same quoted block — consistent with the pre-existing "cite at the point of the quote" pattern already documented in book-references.md's DO/DON'T table, not an orphaned bare citation. None of these lines were touched by this PR, so they're pre-existing style, not a regression.

Plugin version (1.1.1) and CHANGELOG heading agree; no other inconsistencies found.

Result

No new findings. The fix in 732b6c5 closes the last item raised across four prior review rounds (this lane, the correctness lane, and Codex), and I found nothing further to flag.
· branch chore/songwriting-2233-cleanup

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.

songwriting: remaining cleanup after the four books closed (1 owner decision + 5 mechanical items)

1 participant