service-omni-agent-work-sharing-configure
Use to configure or verify org-wide AgentWork visibility for supervisors after explicit confirmation. Triggers: let supervisors read AgentWork, conf…
它会碰到什么
逐条看命中(3 条严重或高危)
- 高
scripts/tests/_bootstrap.py:99cred-envreadenv["PATH"] = str(self.bin_dir) + os.pathsep + env.get("PATH", "") - 高
scripts/tests/_bootstrap.py:100cred-envreadenv["FAKE_STATE_DIR"] = str(self.state_dir)
- 高
scripts/tests/_bootstrap.py:103exec-spawnproc = subprocess.run(
这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。
技能内容
service-omni-agent-work-sharing-configure
Detect and optionally configure the standard AgentWork object's internal organization-wide default. The supported headless contract is CustomObject:AgentWork metadata: retrieve the current metadata, preserve externalSharingModel, deploy internal sharingModel=Read, and retrieve it again for proof.
This setting grants read visibility broadly to internal users who already have object access. It is not a substitute for an OmniSupervisorConfig: that configuration filters which reps, queues, skills, actions, and tabs a supervisor sees, but does not grant record access.
Inputs
bash scripts/configure-and-report.sh <org-alias> --plan
bash scripts/configure-and-report.sh <org-alias> --confirm-org-wide-visibility
org-aliasis required and must already be authenticated withsf.--planretrieves and reports the current and desired models without deploying.--confirm-org-wide-visibilityis required only when a run must changePrivatetoRead. Omitting it blocks before deployment.
Safety contract
- A run refuses production customer orgs. Plan mode remains read-only.
externalSharingModelis preserved exactly.ReadandReadWritealready provide internal read visibility and are reused. The skill never narrowsReadWritetoRead.- The only supported mutation is
PrivatetoRead; the skill never grants internal edit access. - Failed classification, retrieve, deploy, or read-back blocks. It never reports success from an inconclusive response.
- Use a dedicated sandbox or test org because changing an OWD can initiate sharing recalculation.
Workflow
- Classify the target org and enforce the production-write guard.
- Retrieve
CustomObject:AgentWorkthrough Metadata API. - Read internal and external sharing models.
- Reuse
ReadorReadWritewith no deploy. - In plan mode, report the proposed
PrivatetoReadchange and exit yellow. - In run mode, require explicit blast-radius confirmation.
- Deploy only the standard-object metadata containing preserved external sharing and internal
Read. - Retrieve again and require internal
Readplus the unchanged external model.
Output
A single JSON object containing status, previous_sharing_model, sharing_model, external_sharing_model, changed, dry_run, deploy_id, and blocking_issue.
configured: a confirmedPrivatetoReaddeployment succeeded and read-back matched.reused: currentReadorReadWritealready provides visibility.action_needed: plan mode foundPrivate; no write occurred.blocked: a safety guard or supported-API verification failed.
Limitations
- This skill changes visibility, not supervisor scope. Use the supervisor configuration skill for filtering.
- It does not create sharing rules or per-record
AgentWorkSharerows. - It cannot prove a particular supervisor's complete UI access; validate the end-to-end Command Center journey with the intended supervisor user after configuration.
References
| File | When to read |
|---|---|
| references/api-notes.md | Before approving the org-wide change or diagnosing a retrieve/deploy failure |
想直接用这个技能?
本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。
它属于哪个仓库
skills/service-omni-agent-work-sharing-configure/SKILL.md同一个仓库里的其他技能
- commerce-b2b-open-code-components-integrate
- commerce-b2b-open-code-components-replace
- dx-devops-conflict-resolve
- dx-devops-pipeline-manage
- dx-devops-test-failures-analyze
- dx-devops-test-pipeline-configure
- dx-devops-test-suite-assignments-configure
- dx-devops-test-suite-run
- dx-devops-work-item-manage
- dx-app-analytics-query
- platform-agentexchange-partner-offers-configure
- automation-sandbox-post-copy-config-generate