Repository navigation
Description
This was generated by AI during attend-queue.
Refs: #6111
Problem
This issue first proposed a hook that denies an Artifact publish without a gate approval marker. On 2026-10-22 the owner decided against any blocking hook. Instead, whether a skill publishes its page as an Artifact or writes a local HTML file becomes a setting the user controls, resolved through the three-layer config cascade. The existing publish gate stays.
The setting already exists. The rendered-views concern declares a medium key (auto, terminal, file, artifact, hosted) in three layers: user-global ~/.claude/rendered-views.md, team .claude/rendered-views.md, and overlay .claude/rendered-views.local.md. See rendered-views README:712-744, recorded as conforming "all three" layers at config-cascade README:650.
Not every skill that publishes a page reads that setting. At main f17e0de0da:
| Skill | Reads medium from the cascade |
Default with no layer set | Publish gate |
|---|---|---|---|
review:explain-change |
yes (review-digest.md:68-75) | artifact, a recorded exception (rendered-views:367-374) |
yes (SKILL.md:89-101) |
visualization:present |
yes (SKILL.md:35-39) | artifact, a recorded exception (rendered-views:376-378) |
yes (check-deck.mjs, SKILL.md:78) |
visualization:visualize |
yes (SKILL.md:108-127) | auto; listed as grandfathered (rendered-views:558) |
no |
adhd:clarify |
no | publishes an Artifact whenever the Artifact tool is present (SKILL.md:81-88); listed as grandfathered (rendered-views:553) | no |
So a user who sets medium: file in ~/.claude/rendered-views.md keeps the first three skills' pages local, but /adhd:clarify still publishes.
Desired outcome
Every skill that can publish a page as an Artifact decides between Artifact and local page from the resolved medium:
- The order is the explicit argument, then the cascade layers, then the skill's shipped default.
- The skill reports which layer supplied the value.
- A publishing value (
artifact,hosted) counts only from a layer a checked-out branch cannot write. The team layer can keep a page local but never makes it publish (rendered-views:415-422). - Where a publish gate exists today (
explain-change,present), it still runs aftermediumresolves, and it can still keep a page local.
Acceptance criteria
-
adhd:clarifyresolvesmediumfrom the threerendered-viewslayers before choosing a rung.fileorterminalfrom any layer keeps the decision table off claude.ai, even when the Artifact tool is present. -
adhd:clarifypublishes only whenartifact(orhosted, read asartifact) comes from the argument,~/.claude/rendered-views.md, or an untracked, gitignored overlay. A team-layerartifactdoes not publish. - With no layer set,
adhd:clarifykeeps its shipped behaviour, and its output names the layer that decided, or "shipped default". -
review:explain-change,visualization:presentandvisualization:visualizeeach name the layer that suppliedmediumin their output. The existing publish gate inexplain-change(lib/publish-gate.mjs) andpresent(check-deck.mjs) still runs before any publish and is unchanged. -
docs/conventions/rendered-views/README.mdmovesadhd:clarifyout of the grandfathered list (lines 552-558), alongside the skills that honor the cascade. -
docs/conventions/rendered-views/CHANGELOG.mdgains a dated entry for the change, naming each affected skill. -
plugins/adhd/skills/clarify/evals/evals.jsongains a case where a user-globalmedium: filekeeps a decision-dense table local. Any eval in a touched skill that asserts Artifact-first behaviour is updated in the same change, andplugins/skill-quality/scripts/check-evals-quality.shpasses for each touched skill. - Every touched plugin carries a changelog fragment made with
scripts/new-changelog-fragment.sh, andscripts/check-changelog-fragments.sh --checkpasses. -
scripts/check-affected.sh --uncommittedpasses.
Out of scope
- Any hook on the Artifact tool, including the approval-marker hook this issue first proposed. The narrow connected-page hook from #6111 is left as is.
- Changing any skill's shipped default.
- New plugin
userConfigdials. - Extending the publish gate to
clarifyorvisualize. - The rest of the grandfathered fleet sweep (#3603), which stays gated on #3604.
Activity
github-actions commentedon Oct 18, 2026
Proposed work class: work-class: scoped
Basis: automated intake triage; the lanes App applied this class.
Size: Medium
Complexity: Medium
Uncertainty: Known
Flags: none
Blocked by: none
Understood:
adhd:clarifyshould resolvemediumfrom the threerendered-viewslayers, and publish an Artifact only from the argument, the user-global layer or a gitignored overlay. The other three publishing skills should name the layer that suppliedmedium. The grandfathered list, changelog, evals and fragments are updated alongside, and the existing publish gates are unchanged.The decision comment (#7956 (comment)) restates the done-when list with the moved
docs/contracts/rendered-views/paths. It leaves no open question.No duplicates found. #3603 and #3604 are related but out of scope here.
Automated triage, applied by the lanes App.
[-]feat(review): Artifact publish hook that requires a gate approval marker[/-][+]feat(rendered-views): every page-publishing skill takes Artifact-or-local from the user's `medium` setting[/+]kyle-sexton commentedon Oct 31, 2026
Decision recorded.
The body's criteria still hold at origin/main:
/adhd:clarifypublishes an Artifact whenever the Artifact tool is present and reads nomedium(plugins/adhd/skills/clarify/SKILL.md:78-86), and it is still on the grandfathered list. The rendered-views convention has moved todocs/contracts/rendered-views/(grandfathered list atREADME.md:548-564), so the paths below replace the body'sdocs/conventions/rendered-views/ones. Agents decided this on evidence under standing direction §1.Done when
adhd:clarifyresolvesmediumfrom the threerendered-viewslayers before choosing a rung.fileorterminalfrom any layer keeps the decision table off claude.ai, even when the Artifact tool is present.adhd:clarifypublishes only whenartifact(orhosted, read asartifact) comes from the argument,~/.claude/rendered-views.md, or an untracked, gitignored overlay. A team-layerartifactdoes not publish.adhd:clarifykeeps its shipped behaviour, and its output names the layer that decided, or "shipped default".review:explain-change,visualization:presentandvisualization:visualizeeach name the layer that suppliedmediumin their output. The publish gates inexplain-change(lib/publish-gate.mjs) andpresent(check-deck.mjs) still run before any publish and are unchanged.docs/contracts/rendered-views/README.mdmovesadhd:clarifyout of the grandfathered list (:548-564), alongside the skills that honor the cascade.docs/contracts/rendered-views/CHANGELOG.mdgains a dated entry naming each affected skill.plugins/adhd/skills/clarify/evals/evals.jsongains a case where a user-globalmedium: filekeeps a decision-dense table local. Any eval in a touched skill that asserts Artifact-first behaviour is updated in the same change, andplugins/skill-quality/scripts/check-evals-quality.shpasses for each touched skill.scripts/new-changelog-fragment.sh, andscripts/check-changelog-fragments.sh --checkpasses.scripts/check-affected.sh --uncommittedpasses.github-actions commentedon Oct 31, 2026
github-actions commentedon Oct 31, 2026