# Changelog

## [0.56.0]

### Changed

- `run` now gives every open task up to `--max-attempts` fresh attempts per invocation instead of stopping once historical results reached the cap; history never blocks new work, and tasks with a passing verification stay skipped (`pickNeglectedTask` drops its `maxAttempts` argument).
- `pi-runner` honors `PI_TIMEOUT_MS` from the environment when `timeoutMs` is not set.

### Added

- `.agora-product` may name the product directory (e.g. `tasks/product/workspace`); every task then gets that directory as its workdir, so the agent, the verifier, and the generated task text share one product home. An empty or `.` marker still means product at the root; projects without a marker keep per-task workspaces.
- `start` writes the marker (default `tasks/product/workspace`, `--product` overrides); the task generator honors a marker-named product.

### Fixed

- Package tests are scoped to `test/`, so the bundled `tasks/*/workspace` demo project no longer breaks `pnpm test` from the package root.
- `createGitStore` rejects an `.agora` directory whose git resolution lands in an outer repository; before, git parent discovery silently bound the store to the enclosing repo and `query()` crashed on its commits.
- `query()` skips commits without a readable `contribution.json` (missing or unparseable) with one stderr warning per commit instead of exiting on a raw git error.
- Demo project migrated to the current layout: product-at-root marker in `tasks/product/workspace`, live task under `tasks/<name>/`, era-1 task dirs and the finished `challenges-data-driven` task removed, stale non-repo `.agora` replaced by a fresh DAG via `init`.

## [0.55.4]

### Changed

- Document Pi package installation, its `agora` tool and skill, and CLI-only installation in the README.

## [Unreleased]

### Added

- Initial Agora-style shared memory for independent pi workers on real projects: Git-backed contribution DAG (`.agora` repo, one commit per contribution), memory adapter, pure graph queries (frontier, unverified results, neglected-task selection), project task source (`tasks/<name>/TASK.md` + `verify.sh`), task verifier, diversity-aware worker loop publishing result/failure + verification contributions, headless pi runner adapter, and the `pi-agora init|tasks|frontier|run` CLI.
- pi-runner now runs `pi --mode json`: counts tool-call steps, sums token usage and cost, extracts the final assistant summary, and archives the raw event stream to `<task>/agent/pi.txt`.
- `pi-agora serve <project-dir>`: read-only HTTP view of a project's contribution DAG (health, contributions, frontier, spec), generated from `openapi.json`.
