Compatibility and dependency record
Milestone 13 self-hosted release additions
- The release Compose configuration retains digest-pinned PostgreSQL, Redis, LiteLLM, API and web images. API and worker share the named
artifactsvolume. Existing deployments with artifacts in a container writable layer must export them before recreating that container; see operator guide. scripts/harnessa-doctor.shrequires Podman Compose, curl, and a running deployment. Its LiteLLM readiness result is process readiness only, not provider authentication or capability evidence.- The API exposes process-local HTTP counters/latency histograms plus five-second cached aggregate database gauges at
/internal/metricsonly when a non-emptyMETRICS_TOKENis configured. Durable gauges cover queue age, stale leases, dead letters, unpublished outbox, unresolved effects and reservations, route candidates, GitHub webhook outbox, cleanup failures, and artifact totals/recent growth. No tenant IDs are metric labels. Collection failure is explicit and redacted. Structured access records use validated request/trace IDs and omit query strings and bodies. Distributed OpenTelemetry spans and provider reachability telemetry are not provided. scripts/harnessa-backup.shproduces PostgreSQL custom-format dump, artifact tarball, config references and optional Git roots.scripts/harnessa-restore.shrequires a fresh empty target database/volume and refuses non-empty data. Neither script backs up secret values; restore them separately from a secret manager.- M13 adds grouped immutable local Harness² evaluation runs and independent primary/probe budget ceilings without adding a runtime package. Evaluation adapters for WorkBuddy-Bench, JobBench and Harvey LAB remain uninstalled/unconfigured; the UI reports their missing or blocked state and emits no fabricated scores.
- M14 extends the same pinned Harness² OpenCode adapter with immutable skill artifacts, provenance, scope, drift, and candidate evaluation manifests. The editable surface is tested against Harness² revision
1cfe254e8d25b15f37048c3730134686abe60335; onlyskills/<slug>/SKILL.mdis accepted as a skill artifact. The independent holdout endpoint and hidden dataset remain unconfigured; fake evaluator fixtures are protocol tests only. Details and limitations are in skill evolution integration notes anddocs/milestones/14.md. - Project execution adapter selection is persisted as
deployment-default,acp-opencode, ordisabled. Dispatch is blocked when execution is disabled or the deployment has no configured ACP/OpenCode runner. - The Next.js app icon follows the pinned Next.js 16
app/icon.svgconvention; details are inapps/web/node_modules/next/dist/docs/01-app/03-api-reference/03-file-conventions/01-metadata/app-icons.md.
Dependency versions are exact in uv.lock and pnpm-lock.yaml. Container references are pinned by immutable manifest-list digest in infra/. Maintained manifests, lockfiles, active Dockerfiles, Compose services, and the existing GitHub Actions references were reviewed on 2026-10-22.
Current supported baseline
| Component | Selected version | Compatibility evidence |
|---|---|---|
| Python | 3.12.15 (>=3.12,<3.13) |
Matches pyproject.toml, uv lock resolution, and the API image. |
| uv | 0.13.1 local / 0.13.5 API image | The image installer pin is current; the shared host binary was not modified. |
| FastAPI / Starlette | 0.159.1 / 1.9.0 | Selected by uv; Starlette 1.9.0 satisfies FastAPI's declared <2.0 range and the test suite passes. |
| Pydantic / settings | 2.14.1 / 2.16.1 | FastAPI and ACP SDK resolve against Pydantic v2. |
| SQLAlchemy / Alembic | 2.0.55 / 1.20.1 | Latest SQLAlchemy compatible with fastapi-users-db-sqlalchemy==7.0.0. |
| FastAPI Users | 15.0.5 | Latest compatible cookie-auth and SQLAlchemy integration. |
| PostgreSQL | 16.13 Bookworm | Patch upgrade within major 16; no data-directory migration. |
| Redis server / redis-py | 8.10.2 Alpine / 8.1.0 | Redis 8 is pinned; Python stream-response typing was normalized at the adapter boundary. |
| Node.js | 24.x or 26.x | package.json engines range matches Vitest 5 and the pinned Node 26 image. |
| pnpm | 10.34.7 | Exact root packageManager pin. |
| Next.js / React | 16.4.2 / 19.3.1 | Stable compatible releases; see Next.js installation guidance. |
| Astro / Svelte / Vite | 7.4.2 / 5.57.2 / 8.3.5 | Current workspace releases; checked with the existing marketing and portal builds. |
| Tailwind CSS | 4.3.3 | Current v4 release used by all web workspaces. |
| TypeScript | 6.0.3 apps / 5.9.3 contracts | openapi-typescript==7.13.0 requires TypeScript 5.x; svelte-check==4.7.7 supports TypeScript 5 and 6, not 7. |
| ESLint / Next config | 10.13.0 / 16.4.2 | ESLint 10 lint passes. Next's nested import/React/a11y plugins still declare peer ranges ending below 10; see the compatibility limitation below. |
| OpenSpec CLI | @fission-ai/openspec==1.14.3 |
Pinned in the root manifest; actual spec-driven schema, templates, and JSON CLI operations were discovered from the installed package. |
| Independent verification | Rootless Podman 5.7.0 in local M9 acceptance; per-repository images must be administrator-approved and digest-pinned | The trusted host shallow-fetches the exact commit into a per-command rootless Podman tmpfs volume (default 1 GiB; configurable from 16 MiB to 4 GiB with VERIFICATION_WORKSPACE_LIMIT_BYTES). Clone/materialization and test writes share that enforced limit; exhaustion remains unverified. The command container has no network, a read-only root, bounded CPU/memory/PIDs/tmpfs, and read-only fixtures. Approved images must be present locally (--pull=never). |
| M9 review/verification persistence | Alembic revision 3e8a91d72bc4 |
Adds immutable manifest revisions, verifier execution evidence, review bundles/decisions, manual integration evidence, and recoverable post-integration steps. Run the normal Alembic upgrade before enabling verifier dispatch. |
| M10 GitHub App and completion lifecycle | PyJWT 2.15.1 with cryptography; Alembic revisions a10b2f6d9c41, c17f49e6a302 |
RS256 App JWTs, repository-scoped installation tokens, HMAC-SHA256 webhook verification, durable inbox/outbox, outbound issue/status effects, bounded PR/check/review reconciliation, and terminal skipped outcomes for optional post-integration learning. Disposable PostgreSQL/Redis integration tests pass; no live App or authorized GitHub repository has been configured. |
| M11 evidence provenance | Core evidence envelope schema v2; Alembic revision 8c7e2d1f4a90 |
Project-authorized cursor API projects PostgreSQL task/run/model/tool/GitHub/artifact/verification records and minimizes content. Late LiteLLM usage observations have durable idempotent receipts, retryable/ambiguous states, and append-only reconciliation ledger events with distinct gateway/provider amounts. Local OpenAPI generates the TypeScript contract. A pinned, untrusted Harness² fixture contract validates import paths, file set, size, and SHA-256. Artifact integrity checks are bounded to 64 MiB and write an idempotent domain audit event; see docs/integrations/evidence-plane.md and docs/milestones/11.md. |
| API contract generation | openapi-typescript==7.13.0 |
Existing FastAPI OpenAPI → TypeScript pipeline remains authoritative. |
| Python test/coverage | pytest 9.1.1 / pytest-cov 7.1.0 / coverage 7.16.2 / pytest-xdist 3.8.0 | Exact dev-group pins. The standard command runs unit tests with four workers, integration tests serially on an explicitly supplied disposable database/Redis pair, and a project-wide 85% line/statement gate. Current measured result and remaining gap are recorded in docs/milestones/06.md. |
| JavaScript test/coverage | Vitest 5.0.5 / @vitest/coverage-v8 5.0.5 / jsdom 30.1.3 |
Exact root pins; React/web and Svelte/cloud portal tests emit coverage JSON under ignored coverage/. |
| ACP SDK | 0.12.1 (agent-client-protocol) |
Stable official SDK, Python 3.12 compatible, public connect_to_agent API and schema models. |
| LiteLLM Proxy | 1.83.14-stable.patch.3 | Patch-level refresh; image digest recorded below. |
| OpenCode ACP agent | 2.0.32 default; 1.19.4 backward compatible | M5's 2.0.32 runtime remains the default; the pinned 1.19.4 digest was pulled and both protocol/fake-router broker smokes passed offline on 2026-10-22. Live M6 Architect evidence is separate in docs/milestones/06.md. |
The root Node engine range is >=24.0.0 <25 || >=26.0.0 <27; Node 25 is excluded because Vitest 5's supported range is Node 22.12+, 24.x, or 26+. The web and API builder images use Node 26.12.0. @fission-ai/openspec@1.14.3 requires Node 20.19 or newer. ESLint 10.13.0 is the latest stable release and its current web lint passes, but eslint-config-next@16.4.2 transitively depends on plugins whose published ESLint peer ranges stop at 9. These peer warnings are recorded rather than hidden; the Next config's lint rules were exercised on ESLint 10.13.0.
Two Python versions remain below the latest registry version for hard compatibility reasons: pwdlib==0.3.0 is pinned by FastAPI Users 15.0.5, and SQLAlchemy 2.0.55 is the newest version accepted by fastapi-users-db-sqlalchemy==7.0.0 (<2.1). TypeScript 7.0.2 is not selected because the generator requires TypeScript 5.x and the Svelte checker supports through 6.x. These constraints were confirmed from locked package metadata and workspace registry data; no incompatible override was applied.
Locked container manifests
node:26.12.0-bookworm-slim@sha256:742a0fe7320e09e0321222b68165e6ac731d30470e7ea7f98f9bfc3a6e1034fe(API OpenSpec CLI runtime stage)node:26.12.0-alpine@sha256:6f08a523443ddedf52941874c203475b0ad503e859ad70cb26ab8be9a517dbd5(web)python:3.12.15-slim-bookworm@sha256:6a0e06f5ba0b373d051aabd3fffb9b873f27f9a2a3a14bcbe37dee6f0e3bbc70postgres:16.13-bookworm@sha256:472efd9a66f2b2f1a5aeb18b28de74332e6ef88c2b93a1a5d812fb6db67a5f60redis:8.10.2-alpine@sha256:615b4cedaff0c1437a1548acae4222572df8c021eeb7382d64cb8b5e3a13ac7aghcr.io/berriai/litellm:v1.83.14-stable.patch.3@sha256:f12d528d4a05add56cb09e54c5126088f2edc6bdf3a2f943bcd3a32b08769da2ghcr.io/anomalyco/opencode:2.0.32@sha256:85986f556e985e377bd24cd68a5ccfbc647bb49e591194edda8a0e4542303319(default linux/amd64 ACP agent)ghcr.io/anomalyco/opencode:1.19.4@sha256:bf8e2b5f785166a12a26cbb34ef1a2d35403368438efe036fd16c795a975c505(linux/amd64 ACP agent)
Digests were resolved from Docker Registry manifests for the exact tags above. The images are not floating; platform selection uses the pinned manifest list where one is published. PostgreSQL stays on major 16 because PostgreSQL 18 changes the PGDATA path and volume mount contract; the open Dependabot major-upgrade PR is documented in the M6 report.
Milestone 6 package-manager and OpenSpec notes
- Root
package.jsonpins@fission-ai/openspec==1.14.3, Vitest 5.0.5,@vitest/coverage-v85.0.5, Testing Library, and jsdom. The actual CLI returned thespec-drivenschema as the only package schema; itsproposal,specs,design, andtaskstemplate paths were read from the installed package.openspec schema validate spec-driven --json,openspec new change <id>, andopenspec validate --json --no-interactiveare real CLI operations./opsx:*entries are assistant workflow names, not CLI subcommands. pnpm-workspace.yamluses pnpm 10'sallowBuildsmap. Onlyesbuild,unrs-resolver, andworkerdare allowed to run dependency lifecycle scripts.pnpm approve-buildsapproved those three packages. A subsequentpnpm install --offline --frozen-lockfile --ignore-scriptspassed from the local cache; no package-registry request was needed. See pnpm's build-script approval documentation.pnpm testruns Python unit tests with four pytest-xdist workers, then service-backed integration tests serially because they truncate the shared disposable database and flush the configured Redis database, then React/web and Svelte/cloud portal tests, a marketing static-build artifact check, and an aggregate 85% coverage gate. It fails closed whenTEST_DATABASE_URLandTEST_REDIS_URLare missing. Generated.next, build, coverage, and dependency output is excluded; the generated OpenAPI TypeScript client is excluded, andpackages/contracts/src/index.tsis a type-only re-export with no executable statements. Marketing is marked not applicable only while its entire source tree contains Astro templates and CSS with no executable JS/TS; the built HTML is checked for landmarks, navigation, skip link, product content, and resolved links. Adding executable source makes the empty-package check fail until that source is instrumented.- The active CodeQL and documentation workflows pin third-party actions to full commit SHAs and target GitHub-hosted
ubuntu-24.04as directed during M6. The Local CI job uses digest-pinned PostgreSQL and Redis GitHub service containers. Documentation builds run in strict mode on pull requests and pushes tomain; Pages deployment runs only after a successful push tomain. Exact-head hosted validation is recorded indocs/milestones/06.md. - Ruff 0.17.1's expanded defaults surfaced legacy style and exception-boundary findings. Safe import/UTC/Decimal updates were applied, FastAPI's request-time
Depends/Header/Querydeclarations are marked immutable per the Ruff configuration guide, and broad catches are kept only at explicit adapter/cleanup/health boundaries with inline explanations.pnpm lintincludes the API, tests, and operational scripts. The final configured Ruff result is recorded in the M6 report.
Milestone 3 LiteLLM interface notes
- Versioned LiteLLM Proxy configuration supports model aliases and environment-backed key references such as
os.environ/OPENAI_API_KEY. Each configuredproxy_modelmust match amodel_namein the local mounted config. - Versioned Proxy health documentation provides
GET /health/readiness, which the API and Compose use without sending a provider request. - Versioned virtual key documentation was reviewed for a later runner credential boundary. Per-run short-lived credentials are deferred until there is an ACP runner to receive them; this milestone never sends provider secrets to a runner.
- Versioned logging configuration documentation documents
turn_off_message_logging: true; the shipped proxy config disables message logging. It also disables proxy-level retries/fallbacks because application-side retries and route decisions are recorded per attempt. - LiteLLM is attached to both the internal app network and
provider_egress; API, worker, database, Redis, and web have no provider egress. The LiteLLM port is not published on the host. Provider key environment values are only passed to the LiteLLM container.
No real provider credentials or paid route checks were used during implementation. The live compatibility result is PENDING; see docs/milestones/03.md for the exact opt-in setup procedure and one-call authorization command.
Milestone 5 ACP compatibility
The adapter pins stable agent-client-protocol==0.12.1, verified against the official Python SDK 0.12.1 source and PyPI release metadata. The official release list also contains the 1.0.0 release candidate; Harnessa stays on the stable, Python 3.12-tested API instead of adopting its pre-release schema/runtime changes. Harnessa uses the public connect_to_agent helper, SDK schema models, and ACP protocol version 1. Its bounded stdio transport supplies the SDK's message transport interface while enforcing 1 MiB frames, 64 MiB total traffic, 30,000 messages, and a 300-second idle timeout. The protocol fixture covers malformed/oversized frames, timeout, cancellation, process exit, permission policy, redacted updates, and the fixture agent's unsupported session-resume capability.
OpenCode uses an ephemeral custom provider config with OPENCODE_CONFIG, its documented OpenAI-compatible provider interface, and a run-scoped bearer token. Model requests reach a trusted host-side broker through a private Unix socket and a static loopback-only TCP relay. The broker ignores the model name selected by the agent, fixes the task/run/project/model alias from trusted context, checks the current fencing token, and calls Harnessa's existing ModelRouter; provider credentials remain in the trusted LiteLLM boundary. The agent container stays on --network=none. This optional route requires a separate host worker, rootless Podman, and a host C compiler to build the static relay; it is disabled by default. See the OpenCode provider configuration and custom config path documentation.
| Agent | Transport/status | Version and protocol | Resume / route status |
|---|---|---|---|
| OpenCode | Native ACP; 2.0.32 default, 1.19.4 backward compatible | opencode acp, both pinned digests, ACP v1 |
M5's 2.0.32 default has protocol and fake-router smoke evidence; both M6 offline smokes pass on 1.19.4. Fake-router evidence confirms transport/broker compatibility only; it does not establish live provider generation. |
| Codex CLI | Bridge; adapter_required |
Official bridge reference, no Harnessa-pinned binary | Route and runtime compatibility unverified. |
| Claude Code | Bridge; adapter_required |
Official bridge reference, no Harnessa-pinned binary | Route and runtime compatibility unverified. |
| Goose | Native ACP; adapter_required |
Native command documented upstream; Harnessa version not pinned | Handshake and model route unverified. |
| Gemini CLI | Native ACP; adapter_required |
Native command documented upstream; Harnessa version not pinned | Handshake and model route unverified. |
The OpenCode record follows its official ACP documentation. Harnessa uses fresh-session recovery after worker loss because its runner does not persist OpenCode's session store across container cleanup. The 2.0.32 digest is the default; the 1.19.4 digest remains a supported backward-compatibility target. The remaining agent references are the Codex ACP bridge, Claude ACP bridge, Goose ACP documentation, and Gemini CLI repository. M5's 2.0.32 protocol and fake-router smoke evidence remains recorded in its report; both M6 offline smoke scripts pass on 1.19.4. The protocol smoke script performs initialization and session creation without a prompt. The broker smoke script sends a deterministic ACP prompt through OpenCode to an in-process fake ModelRouter; it verifies streaming compatibility without contacting a model provider or editing the fixture repository. The live provider/Architect result remains tracked separately in the M6 report.