Codifica

Codifica

A small, durable, file-based protocol for coordinating work between humans and AI.

Starter templates
Copy a minimal v0.1 setup into your repo.
View templates (v0.1)

Overview

Codifica is a file-based protocol for coordinating work between humans and AI. It treats project state as plain text committed with the code, so changes are reviewable, auditable, and portable.

The problem it solves: most human↔AI collaboration happens in transient chat context and tool-specific UIs. That makes it difficult to review what changed, understand why it changed, reproduce decisions, and coordinate multiple contributors (human or agent) without conflicts or loss of context. Codifica moves the shared state into versioned files so the workflow inherits Git’s guarantees and review practices.

Codifica is intentionally Git-native: the primary interface is the repository history (diffs, reviews, and merges). The protocol standardizes how work, decisions, and constraints are recorded so that humans and agents can collaborate without relying on a specific platform.

Codifica is not a task manager, not a SaaS product, and not a Kanban system. It does not replace human ownership, judgment, or review.

Protocol

Codifica defines a small set of artifacts and conventions:

A typical task entry records:

The protocol assumes normal development workflow: work is proposed as changes to these files (and code), reviewed via diffs, and accepted by merging.

Starter templates

Get a copyable starter setup from: starter-templates/v0.1.

Philosophy

Codifica prefers constraints over autonomy:

Codifica prefers durable state over dashboards:

Codifica prefers traceability over output:

Examples

Example 1: Define a task with explicit acceptance

A work.md task captures intent and constraints up front:

- id: EX-001
  type: build
  state: todo
  owner: agent
  title: Add homepage copy
  acceptance:
    - Explains Codifica in plain language
    - Mentions `codifica.json` and `work.md`

Example 2: Record a state transition

When the task changes state, the protocol records who changed it and why:

state_transitions:
  - from: todo
    to: done
    by: agent
    reason: Draft completed and stored in execution_notes
    timestamp: 2026-01-15T00:00:00Z