youxi-huang/dsh-gpt-file-discipline

youxi-huang★ 1JavaScriptLast synced: 2026-08-15

Open on GitHub

A configurable DeepSeek Harness plugin that adds file-reading discipline to selected GPT model prompts.

README excerpt

dsh-gpt-file-discipline dsh-gpt-file-discipline is a small DeepSeek Harness host plugin that silently switches one conditional system-prompt section by model route. It waits for downstream waterfall listeners before matching, so it uses the provider and model chosen for the exact step rather than an earlier route candidate. - GPT route ( provider is exactly codex and the model starts with gpt- ): appends the file-discipline section. - DeepSeek route (the provider or the model starts with deepseek ): appends the DeepSeek thought-language section. - Any other route : returns the downstream assembly completely unchanged. The plugin registers no static prompt section. The only prompt content it can add is the one appended section after a route matches, so an unmatched route costs no extra context, token, filtering, or section overhead. Install for a DSH profile After this repository is published, add it to a DSH profile with the GitHub package spec: The package declares cordis.patch.yml as its bundle patch. Its official patch-entry array mounts one plugin row: Cordis validates the exported Schemastery Config , applies its defaults, and owns listener registration and cleanup. Defaults R…

View full README on GitHub →
Tools / Devcordisdeepseek-harnessdsh-plugingptsystem-prompt

Category