LO
lofn-qa
Audit, validate, repair, and classify completed Lofn pipeline outputs. Use after music/image/video/story pipeline completion or suspicious partial runs. Do NOT use for creative generation or finalist ranking.
Install
mkdir -p .claude/skills/lofn-qa && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/15428" && unzip -o skill.zip -d .claude/skills/lofn-qa && rm skill.zipInstalls to .claude/skills/lofn-qa
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Audit, validate, repair, and classify completed Lofn pipeline outputs. Use after music/image/video/story pipeline completion or suspicious partial runs. Do NOT use for creative generation or finalist ranking.208 chars✓ has a “when” trigger
About this skill
SKILL: Lofn QA — Router
This file is intentionally lean to prevent context collapse. The full tuned QA procedure is preserved byte-for-byte in references/qa_full_legacy.md and must be loaded just-in-time when an audit is actually performed.
Workflow
- Identify the output directory and modality.
- Read
../orchestration/references/adversarial_qa_stance.mdto adopt the competitive-auditor stance. - Read
references/qa_full_legacy.mdbefore performing any substantive QA audit. - For music/audio outputs, additionally read
references/eligibility_7_properties.mdandreferences/suno_15_point_qa.md; classify ACCESSIBLE vs AMBITIOUS and run the full Suno 15-point gate. - If using a structured report, copy the mold from
assets/eligibility_report.template.mdand add theSuno 15-Point QA Gatetable. - When deterministic eligibility scoring is available from explicit numeric scores, use
scripts/score_eligibility.py. - Apply the full QA procedure exactly as specified in
references/qa_full_legacy.md; do not summarize or weaken its tuned requirements. - For music/audio outputs, explicitly verify standalone Suno/Udio music prompts before any PASS verdict. This gate is non-waivable even if the parent task supplies a shorter custom checklist.
- For full Lofn pipeline outputs, explicitly verify original-Lofn artifact granularity: Steps 00–05 must exist as separate coordinator files (
step00_aesthetics_and_genres.md...step05_refine_medium.md), and Steps 06–10 must exist as separate per-pair files (pair_{NN}_step06_facets.md...pair_{NN}_step10_revision_synthesis.md). Summary files or collapsedpair_{NN}_steps_06_10.mdrollups alone are blocking pipeline-compliance failures. - Save
QA_REPORT.mdin the audited output directory. - If failures require rerun, follow the rerun task format from
references/qa_full_legacy.md.
Non-Negotiables
- The legacy QA text is authoritative until fully split into smaller verified references.
- Do not remove tuned QA checks; move only after byte-for-byte preservation and validation.
- QA stays strict. Do not loosen file, line-count, EMO-tag, header, standalone Suno prompt, contamination, child-safety, or artifact-provenance gates to preserve “creative freedom.” Missing required structure is still a blocking failure.
- QA is not the creative brief. These checks are applied after creation to verify package readiness and diagnose failures. Creative agents should be led by Golden Seed / lineage / personality first, with QA requirements last as a hard output contract. If a file is structurally complete but generic, QA may mark
REPAIR — SOUL LOSS; if a file is soulful but missing required prompt pieces, QA must still fail it structurally. - AMBITIOUS classification is not failure unless the route target was ACCESSIBLE.
- Music/audio PASS requires a standalone copy-paste Suno/Udio music prompt per song. QA must fail any final music file that only contains scattered metadata such as
[GENRE/TEMPO/KEY],[SONIC WORLD],[PRODUCTION NOTES], or lyrics without a dedicated## 1. MUSIC PROMPT/[SUNO STYLE PROMPT:]section. - Music/audio PASS requires full Suno performance-script headers. QA must fail bare
[EMO:...], proseEMO HEADER:, plainSONG FORM:, or missing[Section - EMO:... - Voice - Cue]headers, even if the agent self-check says PASS. - Custom parent QA instructions cannot waive the music prompt gate. If a custom checklist omits music prompts, QA must add the legacy prompt check back in and note that it did so.
- QA reports for music must include a row or bullet named
Standalone Suno/Udio music prompt presentfor every song/pair. - QA reports for full pipeline music must include a row or bullet named
Original Lofn step granularity presentfor every pair. Usescripts/audit_lofn_pipeline_artifacts.py <run_dir>when available. - QA reports must check for inline validation evidence. If
*.repair_attempt_*.md,*_VALIDATION_BLOCKED.md, or failed validator logs exist, QA must verify the underlying artifact was repaired and passed later validation; otherwise mark REPAIR REQUIRED. - Music/audio QA must run the Suno 15-Point QA Gate from
references/suno_15_point_qa.md. The 7 eligibility properties alone are not enough for PASS; points 8–15 verify Suno readiness, hook survivability, Lofn specificity, anti-slop, and package readiness.