prompt-contract-bindings
Bind project-specific prompts to local schema and workflow artifacts while keeping the harness core generic and globally reusable.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Bind project-specific prompts to local schema and workflow artifacts while keeping the harness core generic and globally reusable.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | prompt-contract-bindings |
| description | Bind project-specific prompts to local schema and workflow artifacts while keeping the harness core generic and globally reusable. |
| version | 1.0.0 |
Capture the reusable pattern for operationalizing a domain prompt without polluting the generic harness core with project-specific entities, tables, or state machines.
prompt fixture -> schema overlay -> workflow contract -> campaigns/issues -> validation.harness/fixtures/<domain>.prompt.original.txt.harness/schemas/<domain>.domain.schema.json.harness/prompt-workflow-bindings.json.harness/mission-workflows/<domain>.workflow.jsonharness-project.json entries pointing at the local prompt, schema, and workflow artifactsinit.sh, AGENTS.MD, and progress.md updated so future sessions can see and validate the contract immediatelyharness-project.json, init.sh, and local AGENTS.MD.The repository now ships multiple reference bindings you can inspect before inventing your own:
| Workspace | Binding style |
|---|---|
examples/consumer-workspace-template | generic assistant-style scaffold |
examples/research-workspace-template | discovery/synthesis/review/publish workflow |
examples/ops-workspace-template | incident triage/mitigation/execution/follow-through workflow |
examples/support-workspace-template | intake/escalation/resolution/knowledge-base workflow |
Use these as concrete examples of how .harness/prompt-workflow-bindings.json, .harness/schemas/domain-schema.json, and .harness/mission-workflows/workflow.json fit together.
After wiring the artifacts, validate them in this order:
bash init.shpython3 .harness/seed-live-catalog.py --resetbash .harness/run-live-dry-run.shA prompt contract is only operationalized when:
harness-project.json references the new artifactsinit.sh or equivalent bootstrap detects them successfullyagent-harness-core/src/db/sqlite.schema.sqlsession-lifecycle — executes the generic queue/lease/checkpoint protocol used by the local workflowharness-lifecycle — governs initializer and incremental sessions around the local contractplanning-tracking — breaks the operationalization work into explicit slicesdocs/workload-profiles.md — explains which host specialization should carry the binding1.0.0 — initial repo-native skill extracted from verified prompt-to-schema/workflow operationalization in combined-auto-runtime while keeping the harness core generic.Rules and strategies for managing agent context window size, avoiding bloat, and preserving signal-to-noise ratio.
Standard patterns for error handling, retry logic, circuit breakers, and graceful degradation.
Detect and remove contradictions across agent policies before execution.
Multi-step tool workflows via code orchestration to reduce latency, context pollution, and token overhead.
Operational session protocol for task-scoped leases, reconciliation, checkpoints, inspection, queue promotion, and handoff across long-running work.
Operational session protocol for task-scoped leases, reconciliation, checkpoints, inspection, queue promotion, and handoff across long-running work.