name: deepseek-harness-worker
description: "Delegate tasks to real external DeepSeek Harness agent sessions (DSH_PLANNER, DSH_ARCHITECT, DSH_IMPLEMENTER, DSH_TESTER, DSH_CODE_REVIEWER, DSH_SECURITY_REVIEWER, DSH_DATABASE_REVIEWER, DSH_FIXER, DSH_VERIFIER) with automated Git Worktree snapshot isolation and distinct Orchestration Run IDs."
metadata:
origin: OpenCode-DSH
DeepSeek Harness External Agent Worker
Use this skill when delegating tasks to real external DeepSeek Harness agent processes with worktree snapshot isolation, Single-Writer enforcement, and structured Orchestration Run ID tracking.
1. Supported Specialist Roles
DSH_PLANNER: SOFT READ-ONLY architecture inspection and step-by-step implementation plan.
DSH_ARCHITECT: SOFT READ-ONLY system contract, API schema, and database design validation.
DSH_IMPLEMENTER: Bounded code implementation in isolated git worktree snapshot (.worktrees/dsh-*).
DSH_TESTER: Regression/unit/integration test creation and execution in isolated worktree.
DSH_CODE_REVIEWER: SOFT READ-ONLY independent git diff and code quality review.
DSH_SECURITY_REVIEWER: SOFT READ-ONLY OWASP Top 10, secrets, authentication, and injection audit.
DSH_DATABASE_REVIEWER: SOFT READ-ONLY schema, index, transaction, and migration audit.
DSH_FIXER: Surgical bug/defect correction in existing worktree based on verified reviewer findings.
DSH_VERIFIER: SOFT READ-ONLY / TEST RUNNER independent diff, test suite, and build verification.
2. Invocation Commands
Single Agent Run:
node "C:\Users\victo\.config\opencode\scripts\dsh-delegate.js" --role DSH_PLANNER --objective "<GOAL>" --targetPath "<DIR>"
Full Multi-Agent Pipeline:
node "C:\Users\victo\.config\opencode\scripts\dsh-team.js" --pipeline <COMPLEX|HIGH_RISK|HEAVY|AUDIT|REALITY_CHECK|FULL_ASSURANCE|COMPLIANCE_AUDIT|INFRA_OPS|STARTUP_MVP|ENTERPRISE_FEATURE|INCIDENT_RESPONSE|MCP_SERVER|CODE_ARCHAEOLOGY|SPATIAL_APP|AI_SECURITY_AUDIT|HARDCORE_SEC_AUDIT|UI_POLISH|RAG_PIPELINE|MOBILE_APP|PAYMENTS_BILLING|FULL_STACK_DEV|GIS_PIPELINE|GAME_DESIGN|HEALTHCARE_EVAL|GTM_LAUNCH|DEEP_RESEARCH> --objective "<GOAL>" --targetPath "<DIR>"
3. Worktree & Diff Isolation
- Dirty-Workspace Snapshot:
- Tracked modifications (
git diff HEAD --binary) are applied to the isolated worktree via git apply --binary.
- Safe untracked files are copied; secrets (
.env, credentials), backups, and build artifacts are strictly excluded.
- Base snapshot commit is created locally in the worktree.
- Isolated Diff:
- DSH diff is computed strictly as
DSH RESULT - BASE SNAPSHOT to isolate user uncommitted work from DeepSeek additions.
- No Automatic Merge:
- Outputs are returned to Antigravity Lead for independent ECC verification before any merge.
4. Universal Modular Architecture Mandate
All DSH roles automatically receive and enforce the 5-level Modular Architecture Hard Rule:
- Project → Domain → Feature → Use-case → Responsibility → File
- DSH_PLANNER: Produces granular use-case breakdowns (one file per business action).
- DSH_IMPLEMENTER: Writes code strictly in dedicated feature subfolders; no 4000-line monolithic files.
- DSH_CODE_REVIEWER: Audits diffs for modular boundaries, feature colocation, and public contracts.
5. Documentation-First & Sequential Execution Mandate
All DSH delegations must be micro-task bounded:
- Never open-ended: DSH never receives "Build module X". DSH receives MT-ID with explicit allowed files.
- Documentation discovery: DSH inspects relevant project-authored docs and verifies live reality before modifying code.
- Single active micro-task: Executes one micro-task at a time (Implement ➔ Test ➔ Diff Review ➔ DoD Verified).
- Discovery to Backlog: Unrelated bugs discovered during execution are logged to backlog, not fixed in active scope.
1---2name: deepseek-harness-worker-23description: "Delegate tasks to real external DeepSeek Harness agent sessions (DSH_PLANNER, DSH_ARCHITECT, DSH_IMPLEMENTER, DSH_TESTER, DSH_CODE_REVIEWER, DSH_SECURITY_REVIEWER, DSH_DATABASE_REVIEWER, DSH_FIXER, DSH_VERIFIER) with automated Git Worktree snapshot isolation and distinct Orchestration Run IDs."4metadata:5 source: https://skillmd.com/skills/blackpearl-ai/deepseek-harness-worker-26 origin: OpenCode-DSH7---89# DeepSeek Harness External Agent Worker1011Use this skill when delegating tasks to real external DeepSeek Harness agent processes with worktree snapshot isolation, Single-Writer enforcement, and structured Orchestration Run ID tracking.1213---1415## 1. Supported Specialist Roles1617- **`DSH_PLANNER`**: SOFT READ-ONLY architecture inspection and step-by-step implementation plan.18- **`DSH_ARCHITECT`**: SOFT READ-ONLY system contract, API schema, and database design validation.19- **`DSH_IMPLEMENTER`**: Bounded code implementation in isolated git worktree snapshot (`.worktrees/dsh-*`).20- **`DSH_TESTER`**: Regression/unit/integration test creation and execution in isolated worktree.21- **`DSH_CODE_REVIEWER`**: SOFT READ-ONLY independent git diff and code quality review.22- **`DSH_SECURITY_REVIEWER`**: SOFT READ-ONLY OWASP Top 10, secrets, authentication, and injection audit.23- **`DSH_DATABASE_REVIEWER`**: SOFT READ-ONLY schema, index, transaction, and migration audit.24- **`DSH_FIXER`**: Surgical bug/defect correction in existing worktree based on verified reviewer findings.25- **`DSH_VERIFIER`**: SOFT READ-ONLY / TEST RUNNER independent diff, test suite, and build verification.2627---2829## 2. Invocation Commands3031### Single Agent Run:32```powershell33node "C:\Users\victo\.config\opencode\scripts\dsh-delegate.js" --role DSH_PLANNER --objective "<GOAL>" --targetPath "<DIR>"34```3536### Full Multi-Agent Pipeline:37```powershell38node "C:\Users\victo\.config\opencode\scripts\dsh-team.js" --pipeline <COMPLEX|HIGH_RISK|HEAVY|AUDIT|REALITY_CHECK|FULL_ASSURANCE|COMPLIANCE_AUDIT|INFRA_OPS|STARTUP_MVP|ENTERPRISE_FEATURE|INCIDENT_RESPONSE|MCP_SERVER|CODE_ARCHAEOLOGY|SPATIAL_APP|AI_SECURITY_AUDIT|HARDCORE_SEC_AUDIT|UI_POLISH|RAG_PIPELINE|MOBILE_APP|PAYMENTS_BILLING|FULL_STACK_DEV|GIS_PIPELINE|GAME_DESIGN|HEALTHCARE_EVAL|GTM_LAUNCH|DEEP_RESEARCH> --objective "<GOAL>" --targetPath "<DIR>"39```4041---4243## 3. Worktree & Diff Isolation44451. **Dirty-Workspace Snapshot**:46 - Tracked modifications (`git diff HEAD --binary`) are applied to the isolated worktree via `git apply --binary`.47 - Safe untracked files are copied; secrets (`.env`, `credentials`), backups, and build artifacts are strictly excluded.48 - Base snapshot commit is created locally in the worktree.492. **Isolated Diff**:50 - DSH diff is computed strictly as `DSH RESULT - BASE SNAPSHOT` to isolate user uncommitted work from DeepSeek additions.513. **No Automatic Merge**:52 - Outputs are returned to Antigravity Lead for independent ECC verification before any merge.5354---5556## 4. Universal Modular Architecture Mandate5758All DSH roles automatically receive and enforce the 5-level Modular Architecture Hard Rule:59- **Project → Domain → Feature → Use-case → Responsibility → File**60- **DSH_PLANNER**: Produces granular use-case breakdowns (one file per business action).61- **DSH_IMPLEMENTER**: Writes code strictly in dedicated feature subfolders; no 4000-line monolithic files.62- **DSH_CODE_REVIEWER**: Audits diffs for modular boundaries, feature colocation, and public contracts.6364---6566## 5. Documentation-First & Sequential Execution Mandate6768All DSH delegations must be micro-task bounded:69- **Never open-ended**: DSH never receives "Build module X". DSH receives MT-ID with explicit allowed files.70- **Documentation discovery**: DSH inspects relevant project-authored docs and verifies live reality before modifying code.71- **Single active micro-task**: Executes one micro-task at a time (Implement ➔ Test ➔ Diff Review ➔ DoD Verified).72- **Discovery to Backlog**: Unrelated bugs discovered during execution are logged to backlog, not fixed in active scope.73747576777879808182