lucas-ward/dsh-ci-context

lucas-ward★ 0JavaScriptLast synced: 2026-08-15

Open on GitHub

Privacy-focused CI execution context for DeepSeek Harness agents

README excerpt

dsh-ci-context English 中文 A small, privacy-focused DeepSeek Harness plugin that gives an agent durable context about the CI run it is executing in. It currently supports GitHub Actions and GitLab CI, with a generic fallback for other environments that set CI=true . The plugin runs on the Host during the first step of each turn. It reads a fixed allowlist of non-secret environment variables, normalizes them, and injects a snapshot only when the rendered metadata changed. This is an ambient context plugin, not a CI control or diagnosis tool. It does not poll provider APIs, read logs or test results, trigger or rerun pipelines, or write to repositories. Install Install the repository into a profile: The bundled patch registers the plugin automatically. Restart the profile after installation. Config To override the privacy defaults, update the installed ci-context entry in the profile's cordis.patch.yml : Model experience An eligible GitHub Actions run produces a snapshot like: Every value is JSON-quoted and introduced as metadata, not instructions. Identical snapshots are not added again, including after session resume. Privacy and security The plugin never enumerates process.env . It…

View full README on GitHub →
Agentscideepseek-harnessdsh-plugingithub-actionsgitlab-ciagent

Category