Repository navigation
feat(sredevops-writer): add the sredevops.org editorial agent preset - #33
Merged
Merged
Conversation
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
approved these changes
Nov 13, 2026
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
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-presetrow — 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:
<slug>.mdin 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 unlesswritesucceeded.references/editorial-memory.mdand applied to later drafts.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:with (ctx), sobaseUrlis availablenode_modulesscripts/validate-bundles.mjsin CIctxandprocessplugins/sredevops-writer, not installedDSH's own shipped presets use
createRequire(baseUrl), which fails CI withbaseUrl is not defined— and this repo gates on that validator, while every other plugin here uses!!jsonly forprocess.platform. So the expression resolves the package specifier for a profile install and falls back to the checkout-relative path.index.jsand the plugin README document the constraint;test/preset.test.mjsasserts the patch never needsbaseUrl.Validation
node scripts/validate-bundles.mjs— PASS, 0 errorsnode scripts/validate-github-install.mjs— 0 errors, 0 warningsnode scripts/validate-skills.mjs— no findings for this pluginnpm testin the plugin — 9/9 passbuild-market-index.mjs --check— up to date (this plugin is untagged until release, as expected)dsh --profile web --dump-configcomposes the preset and that the!!jsexpression resolves to the packagedskills/directory containing all three skillsNote:
validate-skills.mjsreports errors for untracked local.agents/worktrees/copies in a developer checkout. That is local noise CI never sees; a clean clone ofmainpasses with 0 errors.After merge
version-plugins.ymltagssredevops-writer-v0.1.0andrelease.ymlopens theindex.jsonPR that makes it installable from Discover. Until then it installs from a local checkout withdsh plugin --profile web add ./plugins/sredevops-writer.