Skip to content

feat(rendered-views): every page-publishing skill takes Artifact-or-local from the user's medium setting #7956

Description

@kyle-sexton

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 after medium resolves, and it can still keep a page local.

Acceptance criteria

  • adhd:clarify resolves medium from the three rendered-views layers before choosing a rung. file or terminal from any layer keeps the decision table off claude.ai, even when the Artifact tool is present.
  • adhd:clarify publishes only when artifact (or hosted, read as artifact) comes from the argument, ~/.claude/rendered-views.md, or an untracked, gitignored overlay. A team-layer artifact does not publish.
  • With no layer set, adhd:clarify keeps its shipped behaviour, and its output names the layer that decided, or "shipped default".
  • review:explain-change, visualization:present and visualization:visualize each name the layer that supplied medium in their output. The existing publish gate in explain-change (lib/publish-gate.mjs) and present (check-deck.mjs) still runs before any publish and is unchanged.
  • docs/conventions/rendered-views/README.md moves adhd:clarify out of the grandfathered list (lines 552-558), alongside the skills that honor the cascade.
  • docs/conventions/rendered-views/CHANGELOG.md gains a dated entry for the change, naming each affected skill.
  • plugins/adhd/skills/clarify/evals/evals.json gains a case where a user-global medium: file keeps a decision-dense table local. Any eval in a touched skill that asserts Artifact-first behaviour is updated in the same change, and plugins/skill-quality/scripts/check-evals-quality.sh passes for each touched skill.
  • Every touched plugin carries a changelog fragment made with scripts/new-changelog-fragment.sh, and scripts/check-changelog-fragments.sh --check passes.
  • scripts/check-affected.sh --uncommitted passes.

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 userConfig dials.
  • Extending the publish gate to clarify or visualize.
  • The rest of the grandfathered fleet sweep (#3603), which stays gated on #3604.

Related

Activity

  1. added
    needs-triage
    on Oct 18, 2026
  2. github-actions commented on Oct 18, 2026

    @github-actions
    Contributor

    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:clarify should resolve medium from the three rendered-views layers, 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 supplied medium. 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.

  3. added
    needs-human
    and removed
    needs-triage
    on Oct 18, 2026
  4. removed
    needs-human
    on Oct 22, 2026
  5. changed the title [-]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[/+] on Oct 22, 2026
  6. added
    status: confirmed
    on Oct 22, 2026
  7. kyle-sexton commented on Oct 31, 2026

    @kyle-sexton
    MemberAuthor

    Decision recorded.

    The body's criteria still hold at origin/main: /adhd:clarify publishes an Artifact whenever the Artifact tool is present and reads no medium (plugins/adhd/skills/clarify/SKILL.md:78-86), and it is still on the grandfathered list. The rendered-views convention has moved to docs/contracts/rendered-views/ (grandfathered list at README.md:548-564), so the paths below replace the body's docs/conventions/rendered-views/ ones. Agents decided this on evidence under standing direction §1.

    Done when

    • adhd:clarify resolves medium from the three rendered-views layers before choosing a rung. file or terminal from any layer keeps the decision table off claude.ai, even when the Artifact tool is present.
    • adhd:clarify publishes only when artifact (or hosted, read as artifact) comes from the argument, ~/.claude/rendered-views.md, or an untracked, gitignored overlay. A team-layer artifact does not publish.
    • With no layer set, adhd:clarify keeps its shipped behaviour, and its output names the layer that decided, or "shipped default".
    • review:explain-change, visualization:present and visualization:visualize each name the layer that supplied medium in their output. The publish gates in explain-change (lib/publish-gate.mjs) and present (check-deck.mjs) still run before any publish and are unchanged.
    • docs/contracts/rendered-views/README.md moves adhd:clarify out of the grandfathered list (:548-564), alongside the skills that honor the cascade.
    • docs/contracts/rendered-views/CHANGELOG.md gains a dated entry naming each affected skill.
    • plugins/adhd/skills/clarify/evals/evals.json gains a case where a user-global medium: file keeps a decision-dense table local. Any eval in a touched skill that asserts Artifact-first behaviour is updated in the same change, and plugins/skill-quality/scripts/check-evals-quality.sh passes for each touched skill.
    • Every touched plugin has a changelog fragment made with scripts/new-changelog-fragment.sh, and scripts/check-changelog-fragments.sh --check passes.
    • scripts/check-affected.sh --uncommitted passes.
  8. removed
    status: confirmed
    on Oct 31, 2026
  9. added
    status: ready
    admission-deferred
    agent-ready
    and removed
    admission-deferred
    on Oct 31, 2026
  10. github-actions commented on Oct 31, 2026

    @github-actions
    Contributor
    No description provided.
  11. github-actions commented on Oct 31, 2026

    @github-actions
    Contributor
    No description provided.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent-readystatus: ready

    Fields

    No fields configured for Feature.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions