协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
clickup-local-dev-loop【开发与工程】Develop ClickUp adapters with a fake transport, schema fixtures, deterministic clocks, and an opt-in bounded live probe. Use when iterating without mutating a real Workspace. Trigger with "ClickUp local dev", "mock ClickUp API", or "ClickUp fixtures".
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
name: clickup-local-dev-loop description: >- Develop ClickUp adapters with a fake transport, schema fixtures, deterministic clocks, and an opt-in bounded live probe. Use when iterating without mutating a real Workspace. Trigger with "ClickUp local dev", "mock ClickUp API", or "ClickUp fixtures". argument-hint: "[repository-path] [offline|live-probe]" allowed-tools: Read, Glob, Grep, WebFetch, Write, Edit version: 1.8.0 author: Jeremy Longshore jeremy@intentsolutions.io license: MIT tags:
Keep the fast loop offline while preserving exact provider shapes and a deliberate path to detect real API drift.
Use Read, Glob, and Grep to inspect the repository, adapters, configuration names, tests, and evidence. Use WebFetch only for current official ClickUp documentation. Use Write or Edit after confirming the target file, Workspace boundary, and requested mode.
Use a personal token only for accountable individual/testing work or OAuth Authorization Code for a user-facing integration. Inject the token server-side through a governed secret reference, send it in Authorization, verify authorized Workspace IDs, and never print the token, OAuth client secret, or webhook secret.
Do not record production responses, use personal work data as fixtures, or enable writes in the default local/test path.
Return fixture provenance, offline coverage, direct-call violations, deterministic test result, live-probe result, and drift. Distinguish simulated success from provider-confirmed evidence.
| Condition | Response |
|---|---|
| Fixture contains personal or task content | Delete/quarantine it and replace with synthetic data. |
| Direct HTTP call bypasses transport | Fail the test and refactor the boundary. |
| Live credential is absent | Skip the probe without weakening offline tests. |
| Live response drifts | Update contracts only after official-source review. |
The example below is a redacted operator receipt; it contains no task text, member data, credential, or webhook secret.
mode=offline; fixtures=14; network-calls=0; clocks=frozen; hmac-tests=pass; live-probe=skipped