Skip to content

fix(prototype): keep an existing app's look in explore-directions HTML mockups - #10343

Merged
melodic-automation-lanes[bot] merged 2 commits into
mainfrom
work-resolve-issue/issue-8429-40390406391-1
Oct 26, 2026
Merged

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

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Closes #8429

Summary

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

explore-directions forced every HTML mockup variant into its own palette and typeface, so variants of one existing app's feature looked like different apps. The mockup substrate now branches on whether an app exists: with one, every variant inlines the app's CSS and surrounding page and varies only the subtree under test; a per-variant visual direction applies only when no app exists or a redesign was asked. The step 2 row, the CSS sentence, the reference pass and the failure-modes table follow the same rule, and a new eval covers it.

Not verified

  • new-changelog-fragment could not run (HEAD is detached), so the fragment was written by hand in the same format; check-changelog-fragments validates it
  • check-affected skipped changed-skills, typos and the validate-plugins steps that run code from the checked tree; CI runs them, along with evals-schema, portability-lint, line-citations and purged-em-dashes
  • cant-fail-scan not run: it takes no base argument and scans test files, and this change touches none
  • the new eval case was not executed against a model; only its quality lint ran
  • review nits not applied: clarifying eval 3's visual-direction wording, and keeping the app's global CSS rules off the bundled switcher
  • changes left uncommitted per the runner's instructions; the runner turns the working tree into the patch

Fix

  • plugins/prototype/skills/explore-directions/SKILL.md: the mockup constraint now branches on whether an app exists (inline the app's CSS with imports folded in and url() assets as data: URIs; reproduce the surrounding page once with synthetic values; variant containers wrap only the subtree under te
  • plugins/prototype/skills/explore-directions/evals/evals.json: new case 12 (existing-app-mockup-keeps-app-look): an existing app's inline stylesheet and page markup plus a request for three layouts of one panel as standalone files. It passes when every variant shares the app's styling and page, diffe
  • .changes/prototype/fix-explore-directions-app-look-3e9a51c7.md: patch changelog fragment for the prototype plugin, written by hand because new-changelog-fragment refuses a detached HEAD

Verification

The runner ran each check from the base copy against 1371c37:

  • scripts/check-changelog-fragments.sh --check: passed

The run reports:

  • .lane/checks/bin/check-changelog-fragments: All 5 changelog fragment(s) under .changes/ are valid
  • .lane/checks/bin/check-affected: 9 passed, 7 skipped over 3 changed files; the rest are listed as CI only
  • .lane/verify/bin/check-evals-quality plugins/prototype/skills/explore-directions/evals/evals.json: PASS, exit 0; 2 warnings, both on case 6, which this change does not touch
  • fresh-context review subagent over the whole diff: 1 must-fix (the eval prompt named a stylesheet it did not provide) and 5 should-fix findings, all fixed (reference pass color/type gate, import/url() folding, synthetic-values wording, page written once and one file per variant, changelog scope); 3
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/40390406391

Left out: the items under Not verified.

Related

#8429

Lane-Activity: work-resolve-issue/resolve-issue
@github-actions

github-actions Bot commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

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

Incremental review of plugins/prototype/skills/explore-directions/SKILL.md (change since 1371c37). The change adds font-src data: to the CSP meta tag the skill tells the model to emit, and rewords the prose to allow data: images and fonts, keeping remote origins, CDNs, remote web fonts and fetch/XHR forbidden.

No security issues found. data: fonts are inline, inert bytes. default-src 'none' still blocks connect-src, remote font-src, frames, forms and every other remote fetch, so the "no remote fetch" control still holds. This is not a deleted or narrowed guardrail: it permits one more inline resource type, and the prose is consistent with line 139's inlined-asset guidance. The file matches no trusted path, and the change touches no manifest, trust control or token scope.

Not covered: the instruction-exception register was not consulted, because the change adds no removed rule to check against it.

critical-findings: 0

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

claude-review: 1 inline finding(s) on 1371c37ae5a3e83bcc03186c1148c92f6c293e4a; the summary is in this lane's pull request comment.

claude-lane: claude-review

@github-actions

github-actions Bot commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

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

Incremental review of plugins/prototype/skills/explore-directions/SKILL.md since 1371c37. I found nothing to report.

The only change since the last review is the mockup's CSP meta tag. It now allows font-src data:, and the surrounding text says data: images and fonts are allowed while remote origins and remote web fonts stay forbidden.

  • Consistent with the rest of the section: the new "An existing app keeps its look" bullet (lines 136-143) tells the author to turn the app's url() assets into data: URIs. Without font-src data:, any inlined font would have been blocked by default-src 'none'. The @import folding rule also fits the CSP, since style-src allows only inline styles.
  • Still no remote fetch: default-src 'none' stays, and img-src and font-src are limited to data:, so the no-remote-fetch guarantee holds.
  • Sibling skill, not touched here: plugins/prototype/skills/pressure-test/SKILL.md:113 carries the older CSP without font-src data:. That skill is outside this PR and not a defect, so I left it unflagged.
  • Closing-issue criteria: this increment doesn't affect them. The CSP change adds no gap against explore-directions: HTML mockups of an existing app's feature should keep the app's look #8429's criteria, which the earlier review covered.
  • Spend: none. No billed resource or paid setting changes.
  • Verification: I read the diff and the changed section only. I did not run the eval, and the PR's own checks are author-claimed.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

pr-unblock / address-feedback finished round 1 of max 4 on bf36ea3.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The unattended merge path armed native auto-merge at head bf36ea3e06530c85e4f6387cb08df5608d7b2aa9.

@melodic-automation-lanes
melodic-automation-lanes Bot added this pull request to the merge queue Oct 26, 2026
Merged via the queue into main with commit 53036b5 Oct 26, 2026
39 checks passed
@melodic-automation-lanes
melodic-automation-lanes Bot deleted the work-resolve-issue/issue-8429-40390406391-1 branch October 26, 2026 21:01
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.

explore-directions: HTML mockups of an existing app's feature should keep the app's look

0 participants