# Cline — Workflow Governance Kit entrypoint

This repository follows [Workflow Governance](docs/WORKFLOW-GOVERNANCE.md). The single source of truth for coding-agent behavior is [`AGENTS.md`](AGENTS.md). Read `AGENTS.md` before any code change.

This `.clinerules` file is intentionally thin and only points at the canonical content. Do not duplicate workflow policy here.

## Cline-specific notes

These notes apply only to Cline sessions and only refine the runtime-neutral content in `AGENTS.md`; they never override it.

- **Skill invocation.** When `AGENTS.md` requires a `workflow-*` skill (`workflow-status`, `workflow-close`, `workflow-release`, `workflow-init`), Cline invokes the corresponding behavior by reading the matching skill file from a kit-installed skills directory (the kit ships Codex variants under `.codex/skills/workflow-*/SKILL.md` and Claude variants under `.claude/skills/workflow-*/SKILL.md`; Cline reads either set as a procedure reference) or by running the matching CLI command: `npm run workflow:status`, `npm run workflow:guard`, `npm run workflow:briefing`.
- **Pre-commit gate.** Every commit Cline proposes goes through `.githooks/pre-commit`, which runs `scripts/workflow-precommit.mjs` and blocks commits that stage non-doc changes without `docs/CURRENT-PLAN.md`. This is the same rule the Claude PreToolUse hook enforces; both gates exist so the rule fires regardless of which agent (or human) ran the commit.
- **Pre-flight checklist.** Before starting work, follow the `Pre-Flight Checklist` in `AGENTS.md`. The order is non-negotiable: read `docs/CURRENT-PLAN.md`, read `docs/HISTORY-MAP.md`, run `npm run workflow:status`, only then invoke other skills.

For everything else, the canonical reference is `AGENTS.md`.
