fix(linkedin-studio): S15 — UX finish §6c (B1 onboarding inline-draft + B3 carousel full-deck clipboard)
B2 (router tiering) was already delivered in S14, so S15 = B1 + B3 only. No surface/count/version change -> within-v4.1.0 refinement (S11-S13 precedent). - B1 (commands/onboarding.md): replace the "Run /linkedin:first-post" dead-end hand-off in Phase 3 with the first-post drafting steps embedded inline (3.1 topic -> 3.2 3-line draft -> 3.3 QC -> 3.4 present+clipboard -> 3.5 state-update that sets first_post_date). Wizard now yields a draft in-flow; 0 dead-end strings. Stays within the existing allowed-tools (Read/Bash/AskUserQuestion); UI-brief §12b scope-guard honored (no provider seams / progressive-disclosure added). - B3 (commands/carousel.md): Step 6 now assembles the ENTIRE deck (every slide's copy + the caption) into the clipboard payload, not just the caption; full-deck assembly precedes the clipboard-helper.mjs call. Independent /trekreview (2 Opus reviewers): brief-conformance 0 findings; code-correctness 1 MAJOR that is PRE-EXISTING and out of S15 scope (onboarding Phase 2 saves need Write in allowed-tools; lines 142/157, untouched by the S15 diff) -> DEFERRED to next session per "ekte design-funn -> neste sesjon". Verdict ALLOW for the delivered scope (not a WARN-override). Gate: test-runner.sh 74/0/0; node --test 98/98; commands=29; v4.1.0 unchanged. See docs/remediation/review.md for the full record (ALLOW + 1 deferred MAJOR). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
parent
baca30feb1
commit
8c52bdb2e4
3 changed files with 191 additions and 128 deletions
|
|
@ -188,11 +188,29 @@ Create one slide per page using the content above.
|
|||
Export as PDF and upload directly to LinkedIn.
|
||||
```
|
||||
|
||||
Auto-copy the carousel caption text to clipboard silently:
|
||||
```bash
|
||||
printf '%s' '<CAROUSEL_CAPTION>' | node ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/clipboard-helper.mjs
|
||||
**Assemble the entire deck** — every slide's copy (header + body, plus its visual note) followed by the caption — into ONE clipboard payload, so the whole carousel travels in a single copy, not just the caption. A carousel's deliverable is the slide text you paste into your design tool *and* the caption; copying only the caption left the bulk of the work uncopied. Build the payload like this:
|
||||
|
||||
```
|
||||
Then confirm: "Caption copied to clipboard."
|
||||
SLIDE 1 of [TOTAL] — [purpose]
|
||||
[HEADER]
|
||||
[BODY line 1]
|
||||
[BODY line 2]
|
||||
...
|
||||
Visual: [visual note]
|
||||
|
||||
SLIDE 2 of [TOTAL] — [purpose]
|
||||
...
|
||||
|
||||
— — —
|
||||
CAPTION
|
||||
[caption text]
|
||||
```
|
||||
|
||||
Then auto-copy the full deck to clipboard silently:
|
||||
```bash
|
||||
printf '%s' '<FULL_DECK_PAYLOAD>' | node ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/clipboard-helper.mjs
|
||||
```
|
||||
Substitute `<FULL_DECK_PAYLOAD>` with the assembled deck above — all slides' copy + the caption. Then confirm: "Full deck — [N] slides + caption — copied to clipboard."
|
||||
|
||||
Offer refinement options as text (no interactive prompt):
|
||||
"Want to refine? Options: adjust slide text / change visual style / regenerate specific slide / different hook / ready for publishing."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue