mirror of
https://github.com/joelhooks/joelclaw.git
synced 2026-09-19 01:24:04 +08:00
Agent Contracts
This directory holds agent-facing CLI contract artifacts (baseline snapshots, capability maps, and policy contract notes).
Shared policy workflow contract
Canonical workflow: .github/workflows/agent-contracts.yml (job: policy-validators).
This is the single shared policy workflow for contract/guard enforcement. It must include this validator set:
bun run validate:cli-contractsbun run validate:llm-observability-guardsbun run validate:no-legacy-worker-clonebun test packages/cli/src/commands/contract-envelope.test.tsbun test packages/cli/src/commands/capabilities.test.tsbun test packages/cli/src/commands/search.test.tspnpm --filter @joelclaw/cli check-types
Drift policy
- Do not split these validators into separate dedicated workflows.
- Any change to this validator set must update:
.github/workflows/agent-contracts.yml- this
docs/agent-contracts/README.md - ADR notes in
0093(and0089/0101when applicable)