# Changelog

All notable changes to this project are documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/) once it reaches 1.0.0.

## [Unreleased]

### Added
- Initial protocol specification: `agent`, `task`, and `validation` schemas
- Reference validation gate script (`scripts/validate.sh`) — deterministic
  test-run → exit-code → status write, independent of any single agent's
  self-report
- Reference merge gate script (`scripts/merge.sh`) — refuses to merge any
  task not marked `approved` by the validation gate
- Minimal CLI (`bin/agentgit.js`): `init`, `create-task`, `validate`, `merge`
- Bilingual documentation (English / French) covering protocol, architecture,
  and positioning versus related projects
- Project map (`MAP.md`) for humans and AI agents navigating the codebase
- SEO-ready landing page (`index.html`, `sitemap.xml`, `robots.txt`, `llms.txt`)

### Fixed
- `scripts/validate.sh` and `scripts/merge.sh` now commit the task-state
  change they write (`approved`/`rejected`/`merged`) immediately, instead of
  leaving it as an uncommitted modification. Found during the first real
  multi-task run: an uncommitted state change on an agent's branch made the
  orchestrator's next `git checkout` fail (git refuses to switch branches
  over uncommitted changes to a tracked file), which broke any run with
  more than one task.
- Documented the correct call order: `scripts/merge.sh` must be invoked
  while still on the task's own branch (it reads the task file, then
  switches to the target branch itself) — calling it after already
  switching to the target branch first makes it unable to find the task
  file, which may only be committed on the source branch at that point.

### Status
Pre-alpha. No published package yet. Interfaces may change without notice
until `1.0.0`. The validation → merge → next-task loop has been tested
end-to-end for a 3-task sequential run.
