# code changelog

## 1.3.0 (2026-12-02)
Minor (new optional tables and vocabularies only; every 1.2 database stays valid), so Dependencies & Security, Dev &
Infra Status and Sprint Burndown keep their data in the standard instead of board-private `x_`/`d_` tables:
- `services` (the person's services, their team and repository), `ci_runs` (one row per CI attempt: kind build, test or
  deployment, conclusion, rerun attempt) and `uptime_checks` (a monitor's intervals with a state; `unknown` is never up).
- `dependency_snapshots` (a dated lockfile read, with whether advisories and registry release facts were read that day),
  `dependencies` (each resolved package: direct or not, licence, latest version, release day, outdated as compared by the
  connector) and `advisories` (each security alert as it stood at a snapshot, under a stable alert key).
- `sprints` (planned dates, committed points) and `sprint_snapshots` (each item's mapped state, the tool's status and its
  points on a saved day).
- Vocabularies `ci_kinds`, `ci_conclusions`, `uptime_states`, `ecosystems`, `advisory_severities`, `advisory_states`,
  `sprint_item_states`.
- Conformance checks on the new tables: `services_and_ci_valid`, `uptime_checks_valid`, `dependencies_consistent`,
  `sprints_valid` at fail (they read only tables new in 1.3, which a 1.2 database does not have or holds empty, so no 1.2
  database can fail them) and `uptime_no_overlap` at warn.
- Fixtures for every new table. Every board on code@1 re-pinned to 1.3.0.

## 1.2.0 (2026-11-30)
Minor (new optional tables, one new optional column and new vocabularies; every 1.1 database stays valid), for the
git-activity boards (My Code Year first):
- `commits` (one per commit read from a local clone: dates, merge flag, default branch or not, subject kept locally, line
  counts, created files, patch-id, word-change ratio, `agent_mode` and `agent_name`, co-author keys, revert of),
  `commit_files` (numstat per file, renames off), `branches` (default and unmerged branches, names hashed unless opted in)
  and `ownership` (blame totals per file and person at the default branch's head).
- `people.is_me` (the person's own identities on a personal board).
- Vocabularies `agent_modes`, `agent_names`, `branch_kinds`, `file_changes`.
- Conformance checks on the new tables: `commit_ids_namespaced`, `commits_referenced`, `commit_files_match`,
  `agent_mode_consistent` at fail (they read only tables new in 1.2, which a 1.1 database holds empty, so no 1.1 database
  can fail them), `branches_consistent` and `ownership_one_head` at warn.
- The shared read-only git reader (`lib/py/dashremix_board/git/`, board tools 1.5.0) fills them.

## 1.1.0 (2026-11-30)
Minor (new optional columns and vocabulary values; every 1.0 database stays valid), for DORA Metrics:
- `pull_requests.first_commit_at` (authored time of the first commit: lead time for changes from commit to production)
  and `pull_requests.merge_sha` (the merge, squash or rebase commit: matches a deployment's `sha`, also for squashed work).
- `deployments.live_at` (first `success`) and `deployments.status_history` (every status, oldest first): a deployment that
  went live and was replaced (`success` → `inactive`) is told apart from one that never went live. `finished_at` is unchanged.
- `incidents.title`.
- `incident_kinds`: `deploy_failure`, `rollback`; `deploy_statuses`: `cancelled` (a cancelled or skipped run: never live, never a failed attempt).
- New conformance check at warn: `deploy_history_consistent`.
- The GitHub connector fills the new columns (pull requests and deployments are read again once at the first sync after
  the upgrade, so older rows get them too).

## 1.0.0 (2026-11-29)
- First published version, seeded from the launch plan's code@1 definition (section 4.4): `repos`, `people`,
  `pull_requests`, `reviews`, `deployments`, `incidents`, `issues`, plus the platform tables `meta`, `import_issues`,
  `annotations`, `metric_registry`.
- Changes from the plan's draft, decided while building the first board (Delivery Overview):
  - `pull_requests.title`, `pull_requests.updated_at`, `issues.title`, `issues.updated_at`: release notes, the ledger and
    the incremental sync cursor need them.
  - Releases are `deployments` rows with `kind = release` (plus `ref` = the tag and `name` = the release title), so
    DORA and Delivery Overview read one table and pick one kind per repository.
  - The plan's `deployments.source` and `incidents.source` (how the event was found) are named `kind`, because `source`
    is the provenance column (the connector id) in every DashRemix standard.
  - Ids are namespaced by connector and repository scope: the GitHub connector uses the repository's node id, so a
    rename keeps every id (`gh:<repo node id>:<node id>`); CSV exports use owner/name.
  - A deployment that went live and was replaced later (`inactive`) still counts as shipped.
- Conformance checks: ids namespaced, repositories and people referenced, timestamps in order, hashed people keys,
  first review never a bot or the author, non-negative line counts; `source_built_at` at warn.
