feat(linkedin-copy): keep cross-post above the LinkedIn mobile fold#47
Merged
Conversation
The 250-400 word linkedin_copy generated by idea-generator was producing ~1500-char posts that micro.blog truncated when syndicating to LinkedIn, leaving a "...see more" link to the micro.blog note alongside our intended "Full post:" link. Two competing CTAs, body cut mid-sentence. Target: ≤280 chars total including the URL line. 1-3 short lines, lifted from the strongest sentences in the post itself. - idea-generator.js: schema description + prompt rewritten for the tease format; new posts will be generated this way going forward. - microblog-poster.js fallback prompt: same constraints. - 2026-04-25-devops post: hand-tightened to opener + closer + URL (~259 chars). Verified above-the-fold against LinkedIn mobile width.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Shorten the LinkedIn cross-post body so the entire post fits above the LinkedIn mobile fold — no "...see more" truncation, no competing CTAs.
Why
The 250–400 word `linkedin_copy` block produced by `idea-generator.js` was ~1500 chars. micro.blog cross-posted the full text, but LinkedIn collapsed it at ~280–300 chars, inserting a `lnkd.in/...` "Read more" link to the micro.blog note alongside our `Full post:` link to the blog. Body cut mid-sentence, two links, ambiguous CTA.
Changes
Final post text for that blog
```
AI code generation made your developers faster. It did not make your deployment pipeline wider.
DevOps is not a supporting function in this world. It is the binding constraint.
Full post: https://doughatcher.com/blog/devops-matters-more-when-ai-writes-code/
```
Test plan
🤖 Generated with Claude Code