docs/plans/2026-05-29-sync-shadcn-status-differences.md
Objective:
Update sync-shadcn status instructions so status reports separate landed
partial syncs, reviewable Plate-vs-shadcn differences, and settled differences.
The important behavior is that deferred visual parity gaps, like /editors
BlockViewer toolbar parity, are visible enough for the user to re-decide later.
Goal plan: docs/plans/2026-05-29-sync-shadcn-status-differences.md
Template: docs/plans/templates/task.md
Primary template: docs/plans/templates/task.md
Applied packs:
Task source:
/Users/zbeyens/git/plate/.agents/skills/sync-shadcn/SKILL.mdsync-shadcn status difference reportingCompletion threshold:
.agents/rules/sync-shadcn.mdc defines scoped status filters and a
Reviewable differences bucket..agents/skills/sync-shadcn/SKILL.md is regenerated from the rule source.pnpm install, source/generated rg verification, git diff --check, and
goal completion check pass.node .agents/rules/autogoal/scripts/check-complete.mjs docs/plans/2026-05-29-sync-shadcn-status-differences.md passes.Verification surface:
pnpm installrg -n "Reviewable differences|Status must distinguish|status scope filter|do not hide reviewable" .agents/rules/sync-shadcn.mdc .agents/skills/sync-shadcn/SKILL.mdgit diff --check -- .agents/rules/sync-shadcn.mdc .agents/skills/sync-shadcn/SKILL.md docs/plans/2026-05-29-sync-shadcn-status-differences.mdnode .agents/rules/autogoal/scripts/check-complete.mjs docs/plans/2026-05-29-sync-shadcn-status-differences.mdConstraints:
Boundaries:
.agents/rules/sync-shadcn.mdc.sync-shadcn skill mirror, and
this goal plan.status semantics.Output budget strategy:
rg/sed; avoid broad
diffs or generated output dumps.Blocked condition:
pnpm install fails or source and
generated skill cannot be made consistent.Task state:
Current verdict:
Completion rule:
update_goal(status: complete) while any required checklist item
remains unchecked. If an item does not apply, check it and add N/A: <reason>.update_goal(status: complete) until every completion threshold
above is satisfied, final handoff evidence is recorded, and
node .agents/rules/autogoal/scripts/check-complete.mjs docs/plans/2026-05-29-sync-shadcn-status-differences.md passes.Start Gates:
| Gate | Applies | Evidence |
|---|---|---|
| Skill analysis before edits | yes | Read sync-shadcn source rule status section and generated skill mirror. |
| Active goal checked or created | yes | Active goal created for status difference reporting update. |
| Source of truth read before edits | yes | .agents/rules/sync-shadcn.mdc read before edits. |
| Tracker comments and attachments read | no | N/A: no tracker. |
| Video transcript evidence required | no | N/A: no video. |
docs/solutions checked for non-trivial existing-code work | no | N/A: agent rule wording update. |
| TDD decision before behavior change or bug fix | no | N/A: no runtime behavior or bug. |
| Branch decision for code-changing task | yes | N/A: no branch or PR requested; edited current checkout. |
| Release artifact decision | no | N/A: no package release artifact. |
| Browser tool decision for browser surface | no | N/A: no browser-visible app change. |
| PR expectation decision | no | N/A: no PR requested. |
| Tracker sync expectation decision | no | N/A: no tracker. |
| Output budget strategy recorded | yes | Scoped source/generated reads and rg verification only. |
| Agent-native pack selected | yes | Applied because .agents/rules/** and generated skill behavior changed. |
| Agent-facing action surface identified | yes | sync-shadcn status command semantics. |
| Source rule versus generated mirror boundary identified | yes | Edited .agents/rules/sync-shadcn.mdc; regenerated .agents/skills/sync-shadcn/SKILL.md with pnpm install. |
agent-native-reviewer loaded or waiver recorded | yes | Loaded reviewer; no actionable parity findings for this command-text change. |
Work Checklist:
<video-transcripts> XML, or marked N/A with reason..agents/**, .claude/**,
.codex/**, skills, hooks, commands, prompts, or user-action tooling..agents/rules/** changed, or N/A reason is recorded.Completion Gates:
| Gate | Applies | Required action | Evidence |
|---|---|---|---|
| Named verification threshold | yes | Run named source/generated checks | pnpm install, rg verification, and git diff --check passed. |
| Bug reproduced before fix | no | Record failing test/repro or N/A with reason | N/A: command instruction improvement, not bug. |
| Targeted behavior verification | yes | Verify changed behavior is discoverable in skill text | Source and generated skill both contain Reviewable differences and scoped status filter instructions. |
| TypeScript or typed config changed | no | Run relevant typecheck or record N/A | N/A: markdown/rule text only. |
| Package exports or file layout changed | no | Run pnpm brl or record N/A | N/A: no package exports. |
| Package manifests, lockfile, or install graph changed | no | Run install checks or record N/A | pnpm install ran only to regenerate skills; no package graph change needed. |
| Agent rules or skills changed | yes | Run pnpm install and verify generated skill sync | pnpm install ran Skiller successfully; generated skill contains new status text. |
| Workspace authority proof | yes | Run proof in owning workspace | All commands ran from /Users/zbeyens/git/plate. |
| Browser surface changed | no | Capture browser proof or record N/A | N/A: no app UI changed. |
| Browser final proof | no | Attach screenshot/caveat or record N/A | N/A: no browser surface. |
| CI-controlled template output changed | no | Restore output or record N/A | N/A: no templates touched. |
| Package behavior or public API changed | no | Add changeset or record N/A | N/A: agent rule only. |
| Registry-only component work changed | no | Update changelog or record N/A | N/A. |
| Docs or content changed | no | Verify or record N/A | N/A: internal agent rule and generated skill only. |
| High-risk mini gate | yes | Record failure mode and proof | Risk: future status hides undecided visual deltas; proof text now requires reviewable differences bucket. |
| Agent-native review for agent/tooling changes | yes | Load reviewer and close findings | Reviewer loaded; no actionable findings because the change improves command discoverability and does not add hidden UI-only action. |
| Local install corruption suspected | no | Retry reinstall or record N/A | N/A: no surprising failure. |
| Autoreview for non-trivial implementation changes | no | Run review or record N/A | N/A: narrow instruction-only update with agent-native review gate. |
| PR create or update | no | Run check before PR work or record N/A | N/A: no PR requested. |
| Task-style PR body verified | no | Verify PR body or record N/A | N/A: no PR. |
| PR proof image hosting | no | Host images or record N/A | N/A: no PR. |
| Tracker sync-back | no | Post tracker sync or record N/A | N/A: no tracker. |
| Final handoff contract | yes | Fill final handoff fields | Filled below. |
| Final lint | yes | Run scoped equivalent | git diff --check passed for touched files. |
| Output budget discipline | yes | Verify scoped output | Used targeted source/generated reads and rg; no broad output dump. |
| Goal plan complete | yes | Run node .agents/rules/autogoal/scripts/check-complete.mjs docs/plans/2026-05-29-sync-shadcn-status-differences.md | To run after this fill. |
| Agent source / generated sync | yes | Run pnpm install and verify generated mirrors | pnpm install and rg verification passed. |
| Agent action discoverability | yes | Source-audit the skill/rule path an agent will read | Generated SKILL.md includes scoped status filter and reviewable-differences output. |
| Agent-native review | yes | Load reviewer and close accepted findings | Loaded; no findings accepted. |
Phase / pass table:
| Phase | Status | Evidence | Next |
|---|---|---|---|
| Intake and source read | complete | Source rule status section read. | implementation |
| Implementation | complete | Source rule patched; generated skill regenerated. | verification |
| Verification | complete | pnpm install, rg, and git diff --check passed. | closeout |
| PR / tracker sync | N/A | No PR or tracker requested. | final response |
| Closeout | complete | Plan filled; final response ready after completion check. | final response |
Findings:
sync-shadcn status previously exposed deferred entries but did not force a
clear Plate-vs-shadcn difference bucket.Decisions and tradeoffs:
Reviewable differences instead of listing every exclusion again.
Settled exclusions stay quiet by default; undecided or deferred visual deltas
are surfaced for user decisions.Implementation notes:
status our /editors vs shadcn /blocks.Partial syncs, Reviewable differences,
and Deferred decisions.Review fixes:
Error attempts:
| Error / failed attempt | Count | Next different move | Resolution |
|---|---|---|---|
| None yet | 0 | N/A | N/A |
Verification evidence:
pnpm install passed and Skiller regenerated the Codex skill mirror.rg -n "Reviewable differences|Status must distinguish|status scope filter|do not hide reviewable" .agents/rules/sync-shadcn.mdc .agents/skills/sync-shadcn/SKILL.md found the new text in both source and generated skill.git diff --check -- .agents/rules/sync-shadcn.mdc .agents/skills/sync-shadcn/SKILL.md docs/plans/2026-05-29-sync-shadcn-status-differences.md passed.Reboot status:
Open risks:
Final handoff contract:
pnpm install, source/generated rg, and git diff --check.sync-shadcn status now has explicit reviewable-differences semantics.SKILL.md directly would be overwritten.pnpm install, rg, git diff --check.Task-style PR body contract:
<!-- auto-release:start --> block. If a changeset is
part of the diff and repo policy expects auto release, include that block.๐ Fixes #123 or ๐ Fixes โ N/A, then
an emoji confidence line like ๐ข 95-100% confidence.| Phase | ๐งช Tests | ๐ Browser |.Reproduced and Verified rows. Mark passing proof with ๐ข, repro or
failing proof with ๐ด, and non-applicable cells with โ N/A.**โ
Outcome**, **โ ๏ธ Caveat**,
**๐๏ธ Design**, and **๐งช Verified**.Summary / Verification PR body, an
adaptive prose body from a git helper skill, plain ## Outcome sections, or
an unrelated generated badge footer unless the caller or repo template
explicitly asks for it.gh pr view --json body output or a concise source-backed summary
of that output.Final handoff / sync:
Timeline:
Reboot status:
| Question | Answer |
|---|---|
| Where am I? | Closeout complete |
| Where am I going? | Final response |
| What is the goal? | Make sync-shadcn status show reviewable differences for re-decisions |
| What have I learned? | Status needed a distinct bucket beyond landed/deferred |
| What have I done? | Patched source rule, regenerated skill, verified text |
Open risks: