Related:
Docser is a derived role of the Worker runtime running with AGENT_ROLE=docser.
This page documents only Docser-specific differences.
For shared execution flow, state transitions, and safety constraints, see worker.
- Doc-follow task creation after Judge
- Planner-injected doc-gap task when repository docs are insufficient or incomplete
- Concise documentation diffs under allowed paths
- Verified documentation updates tied to run/task records
- Prefer implemented facts over speculative design
- Strictly respect strict allowed paths
- Keep changes reviewable in size and scope
- Use doc-safe verification commands (e.g.
pnpm run check) - No LLM-based policy recovery; limited to deterministic handling
AGENT_ROLE=docserDOCSER_MODELDOCSER_INSTRUCTIONS_PATHOPENTIGER_LOG_DIR
For shared settings (retry/policy recovery/verify recovery, etc.), see worker.
- Role startup branching:
apps/worker/src/start.ts,apps/worker/src/main.ts - Role-specific instructions:
apps/worker/instructions/docser.md - Doc-safe verification constraints:
apps/worker/src/worker-runner-verification.ts - Docser-specific helper behavior:
apps/worker/src/worker-task-helpers.ts - Shared execution body:
apps/worker/src/worker-runner.ts