@soleur/opencode 3.357.12 → 3.357.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -238,5 +238,5 @@ Every blog post must have an `ogImage` for social sharing differentiation. This
|
|
|
238
238
|
- Do not scaffold blog infrastructure. If missing, direct the user to the docs-site skill.
|
|
239
239
|
- The blog-post.njk layout generates BlogPosting JSON-LD automatically. Do not duplicate it in the post body.
|
|
240
240
|
- Frontmatter fields should match existing posts in the target directory when possible. The `date:` field must be unquoted (e.g., `date: 2026-03-26`, not `date: "2026-03-26"`) -- Eleventy's `dateToRfc3339` filter requires a Date object, and quoted dates are parsed as strings.
|
|
241
|
-
-
|
|
241
|
+
- When the article references a public tool, platform, company, or product by name (e.g., OpenCode, Cursor, Anthropic), look up and include the official website URL and social media handle if available. This helps readers find the referenced entity and increases the chance of engagement/retweets from the referenced party. Verify handles via the entity's official website or verified account — never guess. If the handle cannot be verified, include the website URL only.
|
|
242
242
|
- Every factual claim, statistic, and attributed quote must have a verifiable source URL. Phase 2.5 enforces this via the soleur:marketing:fact-checker agent -- claims without citations are flagged as UNSOURCED and claims with unsupporting sources are flagged as FAIL [enforced: soleur:marketing:fact-checker agent via Phase 2.5].
|
|
@@ -123,4 +123,4 @@ Display the draft so the user can post it manually. Do not retry automatically.
|
|
|
123
123
|
- JSON-escape all content before inserting into the webhook payload
|
|
124
124
|
- If the brand guide's `## Channel Notes > ### Discord` section is missing, generate content using only the `## Voice` section (no error)
|
|
125
125
|
- If the user selects "Edit", incorporate their feedback and regenerate -- do not present the same draft
|
|
126
|
-
- When
|
|
126
|
+
- When content references a public tool, platform, company, or product by name, include its official website URL and/or verified social media handle if available. Verify handles via the entity's official website or verified account — never guess. See the brand guide's `## Voice > ### Do's and Don'ts` for the full policy.
|
|
@@ -102,8 +102,7 @@ Follow `knowledge-base/marketing/brand-guide.md` → `### X/Twitter` and its
|
|
|
102
102
|
omitted.
|
|
103
103
|
- Present-tense "just shipped X" framing; lead the build-in-public peer voice,
|
|
104
104
|
land one concrete buyer benefit. General register (plain language).
|
|
105
|
-
-
|
|
106
|
-
no blog, so `blog_url` is omitted entirely.
|
|
105
|
+
- **Official handles and links (when applicable):** When the shipped feature references a public tool, platform, company, or product by name, tag its official social handle (e.g., `@opencode`) in the hook tweet / primary post. Verify the handle via the tool's official website or verified account — never guess. Do not tag competitor handles in comparison posts. If the handle cannot be verified, omit the tag. See the brand guide's `### X/Twitter` and `### Bluesky` channel notes for the full policy.
|
|
107
106
|
|
|
108
107
|
## Step 5 — Write the draft file
|
|
109
108
|
|
|
@@ -478,7 +478,7 @@ Next steps:
|
|
|
478
478
|
- When posting via webhook, always include `username`, `avatar_url`, and `allowed_mentions: {parse: []}` fields
|
|
479
479
|
- If the brand guide's channel notes section is missing for a platform, generate content using only the `## Voice` section (no error)
|
|
480
480
|
- If the user selects "Edit" for Discord, incorporate their feedback and regenerate -- do not present the same draft
|
|
481
|
-
-
|
|
481
|
+
- **Official handles and links.** When the blog post references a public tool, platform, company, or product by name, look up and include its official website URL and/or verified social media handle in the generated variants. This increases credibility, helps readers discover the referenced entity, and invites engagement from the referenced party. Verify handles via the entity's official website or verified account — never guess. If the handle cannot be verified, include the website URL only. Do not include handles for competitors in comparison posts. See the brand guide's `## Voice > ### Do's and Don'ts` and `### X/Twitter` / `### Bluesky` channel notes for the full policy.
|
|
482
482
|
- Distribution content files are raw API payloads (Discord webhook `content` field, X tweet text, LinkedIn share text), NOT Eleventy templates. Liquid/Jinja markers (`{{`, `}}`, `{%`, `%}`) in the body will be posted verbatim to third parties -- a `{{ site.url }}` becomes a literal `{{ site.url }}` in the Discord message. Phase 5.5 and Phase 9 Step 5 enforce this mechanically; do NOT weaken these gates
|
|
483
483
|
- Markup artifacts (JSON-LD scripts, HTML details/summary tags, Nunjucks tags) in the blog source are ignored during generation -- they are meaningless in social posts
|
|
484
484
|
- Missing `DISCORD_BLOG_WEBHOOK_URL` and `DISCORD_WEBHOOK_URL` does not block execution -- Discord is included in the content file's `channels` field for cron publishing
|