fix(linkedin-studio): Oppgave 1 fix-pass — clipboard heredoc + report refs + calendar queue-felter [skip-docs]
Primær-sti-fixer fra cold-review: - clipboard (10 cmds): printf '%s' '<text>' → quoted heredoc (apostrof/%/$/backtick korrumperte stdin); «Copied» betinget på COPIED, FAILED → be om manuell kopi - report.md: heatmap-gren pekte til ikke-eksisterende «Step 6c» → «Step 2c»; Step 8b export skriver .md → la til Write i allowed-tools - calendar.md: Step 1 emitter ENTRY RECORDS (id/draft_path/character_count) fra returnerte entry-objekter; publish + reschedule resolver id derfra (queueFormatSummary droppet feltene → handlingene var brutt) test-runner: 138 passed / 0 failed. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012GqEHp4uDiivfrAUjw4BdE
This commit is contained in:
parent
4fd038ad1d
commit
882f6eee5e
12 changed files with 51 additions and 23 deletions
|
|
@ -69,10 +69,12 @@ Show, in this order:
|
|||
Auto-copy the self-comments + draft replies to clipboard silently (so they're one paste away):
|
||||
|
||||
```bash
|
||||
printf '%s' '<DRAFT_COMMENTS_BLOCK>' | node ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/clipboard-helper.mjs
|
||||
node ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/clipboard-helper.mjs <<'__LINKEDIN_CLIP_EOF__'
|
||||
<DRAFT_COMMENTS_BLOCK>
|
||||
__LINKEDIN_CLIP_EOF__
|
||||
```
|
||||
|
||||
Then confirm: "Copied your draft comments to clipboard."
|
||||
Substitute `<DRAFT_COMMENTS_BLOCK>` with the exact comments block between the heredoc markers (a quoted heredoc keeps apostrophes, `%`, `$`, and backticks literal). Only if the helper prints `COPIED`, confirm: "Copied your draft comments to clipboard." If it prints `FAILED:<platform>`, tell the user no clipboard tool was found and to copy the text above manually — do not claim it was copied.
|
||||
|
||||
## Step 4: Persist the Plan to State
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue