Skip to content

feat(sredevops-writer): add the sredevops.org editorial agent preset - #33

Merged
ngeorger merged 1 commit into
mainfrom
feat/sredevops-writer-plugin
Nov 13, 2026
Merged

ngeorger merged 1 commit into
mainfrom
feat/sredevops-writer-plugin

Conversation

@sredevopsorgagents

@sredevopsorgagents sredevopsorgagents commented Nov 13, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Adds plugins/sredevops-writer, packaging the SRE DevOps Writer preset as a publishable bundle: @sredevopsorg/dsh-sredevops-writer@0.1.0.

The preset is a single @deepseek-ai/dsh-agent-preset row — a senior SRE/DevOps persona for sredevops.org, three skills (sredevops-article, sredevops-translate, sredevops-editorial-memory), and the tools an editorial session needs (web, filesystem, skills, ask-user, compaction, present; no shell).

Behavior worth knowing:

  • Articles are written to <slug>.md in the session working directory and posted in chat. The write is mandatory, not a follow-up request, and the agent must not claim a file exists unless write succeeded.
  • Durable review corrections are saved to references/editorial-memory.md and applied to later drafts.
  • English and Chilean Spanish keep separate files; re-delivering one language overwrites only that file.

The one non-obvious decision

The filesystem skill provider must point at this package's own skills/ directory, and that value is evaluated in two different contexts:

Context Scope Package location
DSH Loader at runtime with (ctx), so baseUrl is available profile node_modules
scripts/validate-bundles.mjs in CI only ctx and process plugins/sredevops-writer, not installed

DSH's own shipped presets use createRequire(baseUrl), which fails CI with baseUrl is not defined — and this repo gates on that validator, while every other plugin here uses !!js only for process.platform. So the expression resolves the package specifier for a profile install and falls back to the checkout-relative path. index.js and the plugin README document the constraint; test/preset.test.mjs asserts the patch never needs baseUrl.

Validation

  • node scripts/validate-bundles.mjs — PASS, 0 errors
  • node scripts/validate-github-install.mjs — 0 errors, 0 warnings
  • node scripts/validate-skills.mjs — no findings for this plugin
  • npm test in the plugin — 9/9 pass
  • build-market-index.mjs --check — up to date (this plugin is untagged until release, as expected)
  • Installed into a real profile and confirmed dsh --profile web --dump-config composes the preset and that the !!js expression resolves to the packaged skills/ directory containing all three skills

Note: validate-skills.mjs reports errors for untracked local .agents/worktrees/ copies in a developer checkout. That is local noise CI never sees; a clean clone of main passes with 0 errors.

After merge

version-plugins.yml tags sredevops-writer-v0.1.0 and release.yml opens the index.json PR that makes it installable from Discover. Until then it installs from a local checkout with dsh plugin --profile web add ./plugins/sredevops-writer.

Package the SRE DevOps Writer preset as a publishable bundle,
`@sredevopsorg/dsh-sredevops-writer`, at `plugins/sredevops-writer`.

The preset is one `@deepseek-ai/dsh-agent-preset` row: a senior SRE/DevOps
persona for sredevops.org, three skills (article, translate, editorial-memory),
and the tools an editorial session needs. Articles are written to disk and
posted in chat; durable review corrections are saved to
`references/editorial-memory.md` and applied to later drafts.

The filesystem skill provider has to point at this package's own `skills/`
directory, and the value is evaluated twice: by the Loader at runtime, where
`baseUrl` is in scope, and by `scripts/validate-bundles.mjs` in CI, which
evaluates `!!js` with only `ctx` and `process` and runs on a checkout where the
package is not installed. DSH's own presets use `baseUrl` and would fail this
repository's validator, so the expression resolves the package specifier for a
profile install and falls back to the checkout-relative path. `index.js` and the
plugin README record the constraint.

Includes `locale/en.json`, an icon, and a node:test suite covering the manifest
contract, the preset row, the skill path agreement, and the pruner size limit.
@ngeorger
ngeorger merged commit 46a94a5 into main Nov 13, 2026
3 checks passed
@ngeorger
ngeorger deleted the feat/sredevops-writer-plugin branch November 13, 2026 04:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants