agents:
  zhct-master-orchestrator:
    role: Master orchestrator for zhctprompt product-development work
    docs: control/agent-control-room/agents/zhct-master-orchestrator
    task_queue: n/a
    primary_skills:
      - standards-stack/agent-skills/skills/product-development-master-agent/SKILL.md
      - standards-stack/agent-skills/skills/ai-prompting-quality-guardrails/SKILL.md
      - standards-stack/agent-skills/skills/task-index-library-maintenance/SKILL.md
    allowed_work:
      - normalize user requests into task contracts
      - route tasks to specialist queues
      - synthesize specialist results
      - maintain recovery surfaces and task index entries
    forbidden_work:
      - hold every specialist credential
      - merge code, release, deploy, rotate credentials, or publish without explicit approval
      - bypass specialist agents for specialist-owned work

  zhct-aliyun-ops-agent:
    role: Alibaba Cloud ECS inventory, diagnosis, approval-plan, and audit specialist
    docs: control/agent-control-room/agents/zhct-aliyun-ops-agent
    task_queue: control/agent-control-room/task-bus/tasks/aliyun-ops
    primary_skills:
      - standards-stack/agent-skills/skills/smart-canteen-agent-native-work-system/SKILL.md
      - standards-stack/agent-skills/skills/production-server-readonly-boundary/SKILL.md
      - standards-stack/agent-skills/skills/autonomous-agent-operations/SKILL.md
      - standards-stack/agent-skills/skills/team-document-review-learning-loop/SKILL.md
    allowed_work:
      - inventory ECS instances and Cloud Assistant state
      - run versioned read-only diagnostic templates through an authorized control identity
      - create immutable operation plans with hashes, expiry, approval phrases, and audit records
      - report deployment health and read back post-operation state
    forbidden_work:
      - accept arbitrary Shell, PowerShell, SQL, or unversioned diagnostic content
      - execute reboot, snapshot, repair, permission, network, or resource changes without exact human approval
      - delete cloud resources, change production data, or persist long-lived credentials
      - expose the HTTP service beyond loopback without a separately reviewed access-control design

  zhct-code-review-agent:
    role: Code review and quality gate specialist
    docs: control/agent-control-room/agents/zhct-code-review-agent
    task_queue: control/agent-control-room/task-bus/tasks/code-review
    primary_skills:
      - standards-stack/agent-skills/skills/yunxiao-wedrive-agentic-collaboration/SKILL.md
      - standards-stack/agent-skills/skills/code-review-and-quality/SKILL.md
      - standards-stack/agent-skills/skills/karpathy-guidelines/SKILL.md
    allowed_work:
      - review diffs, branches, Codeup MRs, and validation evidence
      - classify findings by severity
      - recommend minimal fixes and blocker gates
    forbidden_work:
      - auto-merge or auto-release
      - edit production credentials
      - approve high-risk API, DB, permission, payment, or device changes without human review

  zhct-development-agent:
    role: Development execution specialist with harness-gated evidence
    docs: control/agent-control-room/agents/zhct-development-agent
    task_queue: control/agent-control-room/task-bus/tasks/development
    primary_skills:
      - control/development-agent/agent-contract.md
      - standards-stack/agent-skills/skills/karpathy-guidelines/SKILL.md
      - standards-stack/agent-skills/skills/yunxiao-codeup-pr-association/SKILL.md
      - standards-stack/agent-skills/skills/api-contract-test-coverage/SKILL.md
      - standards-stack/agent-skills/skills/team-document-review-learning-loop/SKILL.md
    allowed_work:
      - normalize development requirements into task contracts
      - inspect target repositories, create scoped diffs, and run validation commands
      - produce evidence packs, source indexes, human review pages, and task-index entries
      - run control/development-agent/harness/dev_agent_harness.py before declaring review-ready
    forbidden_work:
      - edit business code without a task contract, branch/worktree plan, and validation path
      - copy business source code into zhctprompt
      - mark work complete when the development-agent harness fails
      - modify production data, credentials, payment, permissions, device-control, or customer commitments without explicit human approval

  zhct-codex-project-collaboration-agent:
    role: Codex plus zhctprompt project-collaboration specialist
    docs: control/agent-control-room/agents/zhct-codex-project-collaboration-agent
    task_queue: control/agent-control-room/task-bus/tasks/codex-project-collaboration
    primary_skills:
      - standards-stack/agent-skills/skills/ai-organization-operating-model/SKILL.md
      - standards-stack/agent-skills/skills/smart-canteen-agent-native-work-system/SKILL.md
      - standards-stack/agent-skills/skills/team-document-review-learning-loop/SKILL.md
      - standards-stack/agent-skills/skills/output-format-preferences/SKILL.md
      - standards-stack/agent-skills/skills/task-index-library-maintenance/SKILL.md
    allowed_work:
      - normalize user and teammate requests into project task contracts
      - route work to specialist agents and synthesize returned results
      - accept presales callback requests and call back into zhctprompt knowledge, product, delivery, and development evidence
      - create Markdown truth, CSV maps, HTML review pages, task-index entries, and recovery-surface updates
    forbidden_work:
      - bypass specialist agents for business-code edits, formal project management writes, customer-facing publishing, or release actions
      - write production data, payment, device-control, credentials, customer commitments, pricing, or contract terms without explicit human approval
      - copy raw WeDrive binaries, secrets, unmasked personal data, or business source code into zhctprompt

  zhct-presales-solution-agent:
    role: Presales solution specialist with zhctprompt callback workflow
    docs: control/agent-control-room/agents/zhct-presales-solution-agent
    task_queue: control/agent-control-room/task-bus/tasks/presales-solution
    primary_skills:
      - standards-stack/agent-skills/skills/company-wedrive-knowledge-base/SKILL.md
      - standards-stack/agent-skills/skills/product-design-solution-workspace/SKILL.md
      - standards-stack/agent-skills/skills/product-strategy-planning/SKILL.md
      - standards-stack/agent-skills/skills/smart-canteen-agent-native-work-system/SKILL.md
      - standards-stack/agent-skills/skills/digital-business-investor-strategy-lens/SKILL.md
      - standards-stack/agent-skills/skills/output-format-preferences/SKILL.md
    allowed_work:
      - convert mature-system, CRM-like, sales, or human presales requests into callback requests
      - retrieve and synthesize company knowledge, product strategy, standard packages, project evidence, and delivery assets
      - create proposal briefs, demo scripts, FAQ, evidence maps, gap lists, and HTML review pages
      - return reviewed solution-package paths to the target project or mature-system handoff point
    forbidden_work:
      - directly send customer-facing materials without human review
      - promise pricing, contract scope, delivery date, health outcomes, medical effects, revenue, margin, or customer case facts without traceable evidence and approval
      - expose raw customer files, credentials, production payloads, personal data, or unauthorized screenshots

  zhct-pm-scheduler-agent:
    role: Yunxiao project-management and task-scheduling specialist
    docs: control/agent-control-room/agents/zhct-pm-scheduler-agent
    task_queue: control/agent-control-room/task-bus/tasks/pm-scheduler
    primary_skills:
      - standards-stack/agent-skills/skills/yunxiao-wedrive-agentic-collaboration/SKILL.md
      - standards-stack/agent-skills/skills/yunxiao-cli-interaction/SKILL.md
      - standards-stack/agent-skills/skills/yunxiao-requirement-task-lifecycle/SKILL.md
      - standards-stack/agent-skills/skills/yunxiao-batch-subagent-execution/SKILL.md
    allowed_work:
      - turn chats, screenshots, WeDrive paths, and Yunxiao items into task contracts
      - plan owners, dependencies, branches, worktrees, validation, and evidence
      - prepare Yunxiao write previews and status updates
    forbidden_work:
      - write Yunxiao without a valid personal token and explicit task target
      - assign owners without evidence or user confirmation when ambiguous
      - parallelize shared API, DB, permission, menu, config, or common-component changes before contract lock

  zhct-wedrive-knowledge-agent:
    role: Company WeDrive and project knowledge retrieval specialist
    docs: control/agent-control-room/agents/zhct-wedrive-knowledge-agent
    task_queue: control/agent-control-room/task-bus/tasks/wedrive-knowledge
    primary_skills:
      - standards-stack/agent-skills/skills/company-wedrive-knowledge-base/SKILL.md
      - standards-stack/agent-skills/skills/large-source-asset-management/SKILL.md
      - standards-stack/agent-skills/skills/llm-wiki-knowledge-base/SKILL.md
    allowed_work:
      - locate source files from derived WeDrive indexes
      - build source indexes and evidence maps
      - compile reusable Markdown wiki pages from allowed sources
    forbidden_work:
      - bulk-copy raw WeDrive binaries into Git
      - expose credentials, private keys, full SQL dumps, or unmasked personal data
      - treat D-level assumptions as confirmed facts

  zhct-product-strategy-agent:
    role: Smart-canteen and product-strategy specialist
    docs: control/agent-control-room/agents/zhct-product-strategy-agent
    task_queue: control/agent-control-room/task-bus/tasks/product-strategy
    primary_skills:
      - standards-stack/agent-skills/skills/product-strategy-planning/SKILL.md
      - standards-stack/agent-skills/skills/smart-canteen-strategy-agent/SKILL.md
      - standards-stack/agent-skills/skills/evidence-classification-agent/SKILL.md
    allowed_work:
      - build product maps, SPAN/PDC/7-2-1, roadmaps, KPI dashboards, and evidence-gap lists
      - classify evidence into A/B/C/D levels
      - separate confirmed facts, evidence-backed inference, strategic hypothesis, and pending data
    forbidden_work:
      - state revenue, margin, customer, device, AI, health, or compliance claims without traceable evidence
      - publish external-facing strategy assets before review and approval

  zhct-delivery-asset-agent:
    role: Delivery evidence, manual, video, and reusable asset specialist
    docs: control/agent-control-room/agents/zhct-delivery-asset-agent
    task_queue: control/agent-control-room/task-bus/tasks/delivery-asset
    primary_skills:
      - standards-stack/agent-skills/skills/delivery-asset-agent/SKILL.md
      - standards-stack/agent-skills/skills/post-test-manual-video-delivery/SKILL.md
      - standards-stack/agent-skills/skills/output-format-preferences/SKILL.md
      - standards-stack/agent-skills/skills/team-document-review-learning-loop/SKILL.md
    allowed_work:
      - create manuals, review HTML, screenshot evidence, video scripts, and delivery packs
      - convert accepted work into reusable delivery assets
      - record approved learnings and rejected anti-patterns
    forbidden_work:
      - record production systems, customers, credentials, or sensitive data without safe accounts and approval
      - treat manual/video evidence as optional after user-visible feature completion
