coderos-workorder
Workspace-native skill for drafting valid typed CoderOS WorkOrder JSON payloads and exercising dry-run work-order dispatch safely without live execution or runtime mutation.
- License 许可
- MIT
- 最近更新
- 2026-10-07
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- coderos-workorder
- description
- Workspace-native skill for drafting valid typed CoderOS WorkOrder JSON payloads and exercising dry-run work-order dispatch safely without live execution or runtime mutation.
02 资源文件 2
03 SKILL.md 正文
CoderOS WorkOrder Drafting & Dry-Run Skill
This workspace skill teaches Antigravity agents how to formulate valid, typed WorkOrder JSON contracts for CoderOS (ChristianV997/CoderOS) and run them through existing policy-gated dry-run dispatch.
1. Persona, Skill, & Department Selection Guide
To draft a valid WorkOrder, choose a valid combination registered in CoderOS:
| Persona ID | Skill ID | Department | Allowed Role | Default Allowed Paths |
|---|---|---|---|---|
planner |
plan |
engineering |
planner |
["repo_dev_runtime/"] or [] |
reviewer |
review |
engineering |
reviewer |
["repo_dev_runtime/"] or [] |
[!IMPORTANT]
departmentmust match the persona department (engineering).skill_idmust be authorized for the selectedpersona_id.allowed_pathsmust stay strictly within the persona's allowed scope (["repo_dev_runtime/"]or empty list[]). Specifying paths outside persona scope (such as.agents/or root) will triggerpath_not_allowed_for_personaand block dispatch.
2. WorkOrder Schema & JSON Specification
A valid WorkOrder payload must conform to RepoDev.WorkOrder.v1:
{
"schema": "RepoDev.WorkOrder.v1",
"work_order_id": "wo-20260815-001",
"department": "engineering",
"persona_id": "planner",
"skill_id": "plan",
"prompt": "Decompose the focused context selection foundation into reviewable sub-tasks",
"priority": "P2",
"allowed_paths": [
"repo_dev_runtime/"
],
"timeout_s": 120.0,
"dry_run": true,
"created_at": "2026-08-15T12:00:00.000000+00:00"
}
Key Field Rules:
schema: Must be"RepoDev.WorkOrder.v1".priority: Valid options:"P0","P1","P2","P3"(Default:"P2").timeout_s: Floating point seconds (Default:120.0).dry_run: MUST be set totrue. Live execution is prohibited and blocked by runtime policy.
3. Dry-Run Dispatch Execution Guide
Antigravity agents must exercise dry-run dispatch via the existing CoderOS CLI without mutating core runtime logic.
Option A: Dispatch from Drafted JSON File (Recommended)
python -m repo_dev_runtime.cli dispatch . --work-order-json .agents/skills/coderos-workorder/resources/workorder-schema-example.json --dry-run
Option B: Dispatch via CLI Command Flags
python -m repo_dev_runtime.cli dispatch . --persona-id planner --skill-id plan --department engineering --prompt "Draft planning request" --dry-run
Expected Success Output Shape:
{
"artifact_dir": "C:\\Users\\HP\\Documents\\GitHub\\CoderOS\\.dev-runtime\\runs\\<run_id>",
"created_at": "2026-08-15T12:00:00.000000+00:00",
"department": "engineering",
"error_message": "",
"error_type": "",
"skill_id": "plan",
"status": "succeeded",
"work_order_id": "wo-20260815-001",
"workflow_run_id": "<run_id>"
}
4. Anti-Collision & Safety Rules
When drafting or dispatching WorkOrders:
-
Forbidden Touch-List (Do NOT target or mutate):
repo_dev_runtime/agent_harness.pyrepo_dev_runtime/work_order_plans.pyrepo_dev_runtime/improvement_decision_ledger.pyrepo_dev_runtime/skill_packs.pyrepo_dev_runtime/orchestration.pyrepo_dev_runtime/contracts/models.pyrepo_dev_runtime/cli.pyrepo_dev_runtime/runtimes/*repo_dev_runtime/eval/*repo_dev_runtime/sandbox.pyinfra/aws/*scripts/windows/*.github/workflows/*
-
Dry-Run Enforcement: Never omit
--dry-runor attempt live execution flags. -
Additive Scope: Keep generated work-order JSON files inside workspace scratch paths or
.agents/resource subdirectories.
5. Common Dispatch Errors & Troubleshooting
invalid_dispatch_request: Missing required parameters (persona_id,skill_id,department, orprompt).path_not_allowed_for_persona: Requestedallowed_pathsfall outside the persona's allowed paths (["repo_dev_runtime/"]).department_mismatch: Specifieddepartmentdoes not match the persona's registered department.skill_not_authorized_for_persona: The requestedskill_idis not bound to thepersona_id.
04 同仓库更多 Skills
coderos
Workspace-native skill for operating, extending, and safe parallel implementation on CoderOS itself. Use when selecting non-overlapping implementation slices, navigating CoderOS governance, scout, work-order, sandbox, and skill-pack seams, and executing safe changes.
coderos-workspace-operator
Skill for interacting with the local CoderOS Operator Workspace to coordinate tasks and prevent collisions.
coderos-worker-adapters
Generates deterministic safe command packets for various workers
coderos-work-order-factory
Draft and validate deterministic CoderOS work-order factory artifacts without dispatch or provider activation.
coderos-source-reuse-auditor
Apply the Source Reuse Acceptance Auditor rubric before opening, and before merging, any PR that copies, adapts, mines, vendors, clean-room-reimplements, sidecar-wraps, or references a public repository -- the acceptance gate that sits above the license/security boundary, not a substitute for it.
coderos-source-mining-wave4
Workspace-native skill for operating, auditing, and generating Source-Mining Wave 4 catalog records, retrofit decisions, and implementation waves for external agent OS systems.