协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
workhuman-ci-integration【开发与工程】Build fork-safe CI gates for a Workhuman adapter using pinned customer contracts, synthetic fixtures, and an optional protected tenant smoke test. Use when automating integration verification. Trigger with "add Workhuman CI".
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Turn customer-authorized Workhuman behavior into deterministic, secret-free merge gates and isolate any live tenant probe behind trusted approval.
Use Read, Glob, and Grep to inspect workflows and test assets, WebFetch to re-check authoritative context, and Write or Edit for CI, tests, fixtures, and redacted receipts.
Workhuman publicly confirms open-API and managed-integration capabilities without publishing universal routes or schemas. CI must pin the customer's authorized artifacts and fail on drift rather than embedding assumptions from the former pack.
Default pull-request jobs receive no Workhuman secrets. A live check may use only an approved non-production principal in a protected environment with host allowlisting and no untrusted code execution.
Do not expose secrets to forks, run customer writes, upload private contracts as public artifacts, or make provider-dependent live tests required without a governed exception.
Return the gate graph, pinned digests, fixture safety proof, required test result, live-lane controls, redaction evidence, failure ownership, and CI receipt.
| Condition | Response |
|---|---|
| Fork job requests a secret | Deny it and keep the required lane fixture-only. |
| Contract digest changes | Fail closed until reviewed artifacts and fixtures regenerate together. |
| Live smoke is unavailable | Report it separately; do not weaken deterministic required gates. |
A redacted completion receipt might look like this:
contract=sha256:...; required=12-pass; network=denied; secrets=0; live=protected-read-only; artifacts=redacted
Require these gates before deployment and review the protected live lane after any CI trust-boundary change.