Changelog¶
Version history for every Pacto release unit, generated from Changesets. The core group (engine, CLI and dashboard) and the Kubernetes integration are versioned independently, so each release unit has its own section below.
This site is published only by a release. A merge to main validates the documentation but does not deploy it.
Some versions have release notes below, but were never released
A version bump can succeed and its publishing transaction still be abandoned part-way through. pacto update and the installer script's --version both resolve releases through the GitHub API, so none of the versions below is installable by either route. Use the superseding version instead: it contains everything listed under the version it replaces.
- 3.2.0 — tagged and resolvable through the Go module proxy, but never given a GitHub Release. Superseded by 3.2.1 (post-mortem).
- 5.2.0 — tagged and resolvable through the Go module proxy, but never given a GitHub Release. Superseded by 5.2.1 (post-mortem).
- 5.2.2 — never published at all — no module tag, no operator image, no chart — because every publisher skipped while the run still reported success. Superseded by 5.2.3 (post-mortem).
@pacto/core¶
4.6.1¶
Patch Changes¶
- ac3299b:
pacto ci initnow writes a caller pinned to the pacto-actions v2.0.0 release.
4.6.0¶
Minor Changes¶
- e250ce8: An empty
pacto.yaml, or one line of it, is now a valid contract (pactoVersion 2.5). An absentpactoVersionreads as the newest version the CLI supports, andservice,service.nameandservice.versionmay be left out. Pacto infers the service name fromChart.yaml, a Kustomization or a single-service Compose file, theorg.opencontainers.image.titlelabel, theapp.kubernetes.io/namelabel or the folder name, andpacto validate, the fleet and the dashboard say where each inferred value came from. An inferred name that another service also claims is dropped from the operational graph with aSERVICE_NAME_COLLISIONlimitation, and an inferred name never clears an impact gate (SERVICE_NAME_INFERRED).
pacto pack, pacto push and pacto publish refuse a contract that does not
declare service.name (PUBLISH_NEEDS_SERVICE_NAME) or service.version
(PUBLISH_NEEDS_SERVICE_VERSION) and write pactoVersion into the bundled
pacto.yaml. A bundle pulled from a registry, or an inline contract in a Pacto
resource, that does not declare all three is rejected; the operator reports
ContractUndeclared.
A dependency may leave out name, which is derived from its ref and resolves
only against a provider published at that repository, and required, which
defaults to true. compatibility: unknown records a range nobody decided
yet: it is never read as compatible and never clears a gate or a promotion.
An interface can declare its port, and breaks[] announces a deliberate
breaking change to the consumers it names. Validation, pacto diff, the fleet,
the dashboard, MCP and the operator status (status.interfaces[].port) read
the new fields.
- ca50460: Pacto keeps what it infers in pacto.inferred.yaml, a separate bundle file with
each value's source, for pactoVersion 2.5 contracts. pacto init and
pacto_create complete an existing pacto.yaml without changing it, pacto explain
lists each inferred field and the YAML to declare it, a publish that changes
only the inferred record is not republished, the diff classifies inferred-only
changes as non-breaking and impact never clears a gate on an inferred
consumer. The dashboard shows inferred values apart from declared ones.
- bd0bdc4: pacto ci [root] plans every service of a repository in one CI step. It finds
every pacto.yaml, compares each service's content with its last published
version in the registry, and prints one row per service: whether it changed,
the version it would publish, the classification and the impact on the
consumers the fleet source flags name. Each detected value (CI platform,
registry, base, consumer sources) prints its source. The plan also goes to the
GitHub Actions job summary or to pacto-plan.md on GitLab CI, and
--output-format json prints it as one JSON document. It exits like
pacto impact: 0 clear, 1 blocked, 2 unverified. The run only plans: it reads
the registry and writes nothing, requests no OIDC token and never publishes a
run record (--stats-file still writes one file per impacted service).
A directory pattern in the repository root's .pactoignore now also hides
that folder from discovery, in pacto ci, pacto fleet --local and
pacto dashboard --local, and a root .pactoignore that cannot be read now
fails them with an error. pacto-plan.md joins the default packaging ignores.
Every command now answers one JSON document under --output-format json,
failures included: a command that fails before writing its result prints
{"exit":{"code":...,"reason":...}}, and pacto impact, pacto validate,
pacto publish and pacto init carry the exit inside their result.
- ca50460: Pacto reads the files a service folder already has into the inferred record:
OpenAPI, AsyncAPI and gRPC files at any path, Helm charts read statically with
their Chart.lock, Kustomize, Compose, CODEOWNERS, catalog-info.yaml,
environment overlays and values files, and Argo CD and Flux objects. Each value
names its file and line and stays out of pacto.yaml until a person declares it.
An owner read from CODEOWNERS or catalog-info.yaml is shown as attested and
never clears a gate. Every file Pacto recognizes and cannot read is a named
finding in pacto init, pacto explain, MCP and the dashboard.
- ca50460: pacto init finds the vendor APIs and managed cloud services a folder names
(configuration, SDK manifests, Terraform and Crossplane) and records them as
inferred external dependencies in pacto.inferred.yaml, each with every file and
line that names it.
- Sources: the workload environment, Helm values files, Compose
environment, KustomizeconfigMapGenerator,go.mod,package.jsonwithpackage-lock.json,requirements*.txt,poetry.lock,pom.xml,gradle.lockfile, Terraform*.tfresources and Crossplane objects. Only the host and port, file, line and key name are kept; Composeenv_file, Terraform state, secret attributes and package registry URLs are never read. - SDK, Terraform and unconfirmed Crossplane matches are
possible. The SDK major is recorded as the client version only when a lockfile or an exact range gives it. A managed resource gets its five-segment identity only when the folder shows its account and region, and otherwise names what it misses. pacto initprints oneExternal dependencies: N (...), inferredline, counts every input it did not read and takes--external-catalog(PACTO_EXTERNAL_CATALOG, also read bypacto pack,pacto pushandpacto explain). The record lists each catalog digest underinputs.catalog. MCPpacto_createclassifies with the server's catalog.- The fleet,
pacto fleet get external:<id>, the MCP fleet tools and the dashboard show these externals as inferred edges of the new source kindrepository, with the revision that named them. They never enter impact or a gate. - The external catalog format gains ecosystem-prefixed
sdkModules(npm:,pypi:,maven:), andterraformandcrossplanerows onmanaged-cloudentries; a sensitive Terraform id attribute is refused. The default catalog gains cited rows, so its digest changes. - bd0bdc4:
pacto ci --publishpublishes every changed service of a repository on the merged commit, providers first. An undeclaredservice.versionis derived from the newest verified version in the registry and the change since it (1.0.0for a first publish), and a contract with nopublishsection gets one derived in memory: the image is built with the one tool the folder shows (Skaffold, ko, Jib, buildpacks or a Dockerfile), with no shell, and Pacto assembles the deploy artifact from the folder's manifests, Kustomization or Helm chart, with Secrets left out and the image pinned by digest. Signing is keyless by default, as the identity the GitHub Actions or GitLabid_tokenstoken names; a declared key or KMS key and--sign-keystill sign with a key. Pull request pipelines and stale checkouts are refused, every tag is read back after it is written, a version lost to a concurrent run is planned again up to 3 times and a failure blocks only the services of the run that depend on it. Each published bundle carries a signed record of the image digests its deploy pins. InpactoVersion: "2.5",publish.deploynames a manifests or chart artifact any applier deploys andpublish.artifacts[].buildis optional and deprecated.pacto initand MCPpacto_createno longer write the shell publish section or theservice.versionplaceholder.pacto publishgains--image,--registry,--sign-keyand--no-transparency-log, and MCPpacto_publishandpacto_publish_plantake them asimage,registry,sign_keyandno_transparency_log. - 73ce984: A dependency on a service of your own may leave out ref in a 2.5 contract:
Pacto resolves it by name in its domain. pacto ci proposes its ref from the
organization index and, from the target snapshot, a ^MAJOR.MINOR.0 range for a
dependency whose range is unknown. Both land in pacto.inferred.yaml and
publish as compatibility: unknown. pacto accept --proposed (or --field for one
field) signs, after the person's interactive Sigstore login, an acceptance
record attached to the service's newest published version: a referrer of
type application/vnd.pacto.acceptance.v1+json, or a write-once
pacto-accept-
- tag on a registry without the Referrers API. Only a record signed by the service's declared owner counts; any other signer, and every agent through the new MCP tool pacto_accept, writes a pacto-accept-draft- a person accepts with --draft. pacto ci --publish carries counted ranges into the next version's pacto.yaml and cites each record in inputs.acceptances. pacto accept --break @ accepts a break announced in breaks[], also before the provider publishes (--from); the gate clears with BREAKING_ACCEPTED once every consumer accepted, and an announcement without expires expires 30 days after the commit time. pacto ci, pacto impact, pacto_impact and Change analysis print a Ranges: coverage line, and --policy unknown-range=warn|fail and uncontracted=warn|fail: hold a BREAKING change that no range covers. A changed spec file that is only inferred prints a possible break (inferred) advisory with the YAML that declares the interface: the row reads unverified (INFERRED_POSSIBLE_BREAK) and the classification and version never change. The dashboard service page shows the plan and the pacto accept command for Accept all proposed ranges; it never signs or writes. - 73ce984:
pacto ci initwrites the CI caller that runspacto ciinto a repository's working tree: five lines in.github/workflows/pacto.ymlthat call the pacto-actions v2 reusable workflow pinned by commit, or oneincludeentry in.gitlab-ci.ymlfor its GitLab component. It never commits, pushes or needs Git write access. The plan job runspacto cion pull requests, annotates each service that does not read as unchanged and writes the job summary; the publish job, the only one withid-token: write, runspacto ci --publishon the default branch, one run per repository at a time. Pacto's own CI runs the caller over a demo monorepo with empty contracts.
Keyless publishes through the shared reusable workflow keep verifying across pin bumps and stay trusted by the operator's derived publisher rule: Pacto matches the caller repository and branch that Fulcio certifies, never the reusable workflow's commit. A repository moving from its own keyless release workflow keeps its earlier versions verifying. The operator picks the rule up through the core module.
The CI guide, a new guide "From an imperative pipeline to one step" and the
GitHub Actions reference teach pacto ci in place of pacto push,
COSIGN_KEY and hand-raised versions.
Until the pacto-actions release that pins a Pacto with pacto ci, a caller
written by pacto ci init adds with: {pacto-version: <this release>}.
- ca50460: Every workload a cluster runs shows up in the fleet as an inferred service,
with its image, ports and probes; inferred services never satisfy a dependency
or clear a gate. A new kubernetes-workloads source lists Deployments,
StatefulSets, DaemonSets and CronJobs (list only) and reads no environment
variable, Secret or ConfigMap. Service records carry declaration
(declared or inferred); pacto fleet entities and pacto fleet search
take --declaration, the fleet MCP tools take declaration, the Overview
counts inferredServices apart and the Services list shows inferred services
muted with a filter. An inferred caller of a declared service stays an
uncontracted caller and links to its entity. The dashboard ClusterRole and the
namespace watch Role gain list on the four workload kinds, and the operator
ClusterRole gains daemonsets.
- ca50460: List the providers Pacto detected: pacto fleet providers, GET /api/fleet/providers, a providers field on pacto_fleet_status and the fleet snapshot, and a Detected providers block on Data sources.
- bd0bdc4: Group inferred services the way the cluster already does: by Argo CD
Application, Flux Kustomization or HelmRelease, Helm release or
app.kubernetes.io labels, with the source repository URL and where Pacto read
it. pacto fleet entities --group, pacto_fleet_entities.group and
GET /api/fleet/entities?group filter by group; Data sources lists Argo CD,
Flux and Helm. The dashboard role lists Argo CD Applications and Flux
Kustomizations, HelmReleases and GitRepositories. Data sources also lists who
promotes and who reports, from an optional fingerprints chart value and
--fingerprints flag that name an installation's own workload managers and
promoters; a workload one of those managers applies reads external: <product>
in the Stage applier verdict, and the promoter writes no pointer for it.
- ca50460: Runtime calls with an inferred service on one end join the graph as inferred
edges, kept in the snapshot's new inferredRelationships with the sources that
saw them; they never satisfy a dependency, feed impact or clear a gate. When a
Pacto target takes over a workload that ran with no contract first, the
snapshot records it in replacements, the service answer lists it in
replaces and an INFERRED_REPLACED attention item names it for 24 hours.
pacto fleet get, pacto fleet graph, their MCP tools and the dashboard
entity page answer an old inferred key with the service that replaced it and
replacedFrom, and impact adds SUBJECT_REPLACED. An ambiguous takeover
merges nothing and adds INFERRED_REPLACEMENT_AMBIGUOUS.
- bd0bdc4: Probe each registry once and record the mode Pacto uses. Delivery records now
work on registries without the OCI Referrers API, such as GHCR and CNCF
distribution, as one write-once, content-addressed tag per record in the
streams repository; every reader reads both forms. Stages gain
status.stream.registryMode and the RecordStoreReady reason WriteOnceTags;
the ReferrersUnsupported reason is removed, and a Stage that recorded
native is never moved to write-once tags on its own. pacto fleet providers
shows a Registry <host> row for every registry an OCI source reads.
- bd0bdc4: pacto impact and pacto ci find the consumers that run without cluster
credentials. From the change's oci:// ref they try
<host>/<first path segment>/pacto-targets, then <host>/pacto-targets, read
every cluster-<uid> snapshot of the first that exists and print a Registry:
line and one Targets: line per snapshot, pinned by digest. --target-snapshot
(repeatable) names a repository or pins cluster tags or digests, and off
reads none; --delivery-trust or $PACTO_DELIVERY_TRUST names the trust
config. A snapshot counts only when a key whose streams name its cluster's
UID verified it and its asOf is less than 15 minutes old; otherwise its
source reads partial, stale or unavailable with one of
TARGET_SNAPSHOT_UNVERIFIED, TARGET_SNAPSHOT_UNSCOPED,
TARGET_SNAPSHOT_STALE, TARGET_SNAPSHOT_INVALID or TARGET_SNAPSHOT_BOUND,
and a BREAKING change with consumers never clears. No pacto-targets
repository leaves today's answer and exit code. --root in the CI recipe is
now optional, for consumers that run nowhere yet.
A snapshot becomes up to three fleet sources per cluster: target-snapshot
for its Pacto resources, kubernetes-workloads for its inferred services,
which never count as consumers, and evidence-http for the targets its
Evidence Server accepted. Source states gain ref, signer, publisher and
cluster, and impact answers gain registry and targetSnapshots, also on
the pacto_impact MCP tool over stdio. pacto mcp over HTTP refuses
--target-snapshot. pacto delivery targets publish signs and pushes a
snapshot document with a PEM key or a pacto evidence keygen seed.
The operator publishes the cluster's signed snapshot to
<registry>/pacto-targets:cluster-<uid> every 5 minutes when the chart's new
top-level registry value is set: the cluster's Pactos, the workloads no
Pacto targets (without env values or probes) and, with evidence.enabled, the
Evidence Server's targets, each with its own asOf and completeness. Give
pacto-targets its own read ACL: pull on it reads every namespace's Pacto
status and workload shape.
The Compose demo runs a targets service that publishes a signed snapshot of
the demo cluster to registry:5000/demo/pacto-targets every 5 minutes.
- bd0bdc4: pacto publish, pacto push and pacto ci --publish write one write-once
entry per published version to the organization index,
<registry>/pacto-index, naming the bundle by digest, its dependencies and the
publisher it claims. A failed write prints a warning and never changes the
publish outcome. --index names another repository and --index none writes
none.
pacto impact, pacto ci and pacto_impact over stdio find every declared
consumer through the index with no --root list. They check the consumers
against the target sources and report the read in consumerIndex and the
Consumers: line; an index with no target source, or a consumer it does not
list, makes the answer partial, so the index alone never clears a BREAKING
change.
- e250ce8: The operator reads no Secret across the cluster. Its ClusterRole drops
secrets, and it reads pull secrets and the Secrets behind contract
configurations only in the release namespace, in each watched namespace and
where the new controller.secretGrants names them as namespace/name (one Role
limited to each named Secret). A Secret-backed configuration it may not read
reads OBSERVATION_UNSUPPORTED, and the finding names the grant to add; the
collection does not fail. A pull secret outside every grant sets
ContractValid=Unknown with reason PullSecretNotGranted. The operator no
longer watches Secrets and reads a rotated pull secret within one check
interval.
controller.watchNamespaces takes a list of namespaces and the operator takes
--watch-namespaces. With a list, the chart renders Roles and RoleBindings in
each namespace and no ClusterRole, unless the node agent or the dashboard's
delivery views need one. controller.watchNamespace and --watch-namespace
still work as deprecated aliases that join the list, also in an upgrade that
reuses the earlier release's values. Moving a cluster-wide install to a list leaves the
pacto-dashboard ClusterRole and binding behind: the upgrade notes and a
StaleClusterRBAC Warning event name the kubectl delete command. The chart
refuses an ed25519.secretName recorder key without
allowOperatorReadableKey whenever a grant reaches the delivery namespace.
--namespace on pacto fleet, pacto dashboard and pacto mcp and
PACTO_DASHBOARD_NAMESPACE accept a comma-separated list; one value keeps
working. A source that reads a list is always partial, names its scope in a
K8S_NAMESPACE_SCOPED limitation and in namespaces on its source state, and
names a namespace it could not read in K8S_NAMESPACE_UNREADABLE. A restricted
view never names a watched namespace the reader may not read. The dashboard
Overview says which namespaces the fleet watches. --review=local (or
PACTO_DASHBOARD_REVIEW=local) reviews people with LocalSubjectAccessReviews
in the watched namespaces only; the managed dashboard of a namespace-list
install without delivery uses it.
Upgrade: list each pull secret outside the release namespace in
controller.secretGrants, or add its namespace to controller.watchNamespaces,
before upgrading.
- e250ce8: Delivery tells people from agents by how they sign in and lets whoever may
update a Stage's workload decide its held changes, with no identity values.
Upgrade effect first. An upgrade that takes the new chart's defaults turns
owner-team narrowing and the ownerless protection off unless the install set
delivery.identities.teamGroupPrefix explicitly: a values file through Argo
CD, a Flux HelmRelease or helm upgrade -f, and the documented
helm upgrade --reset-then-reuse-values. To keep the old behaviour, set
delivery.identities.teamGroupPrefix: "" and
delivery.identities.requireOwnerTeam: true. Plain --reuse-values keeps the
old defaults ("" and true) and so keeps narrowing. The promoter emits a
TeamNarrowingOff Event on each Operation it holds while narrowing is off, so
the effect shows on the first held change.
- A ServiceAccount, any other
system:user and an unauthenticated request are agents; every other signed-in identity is a person.agentGroupsmarks automation that signs in through OIDC. The chart no longer refuses delivery withhumanGroupsempty:allowEmptyHumanGroupsis ignored (the schema still accepts it) andhumanGroupsis a deprecated override. - Approvers need
updateon the Stage's workload, asked as a SubjectAccessReview by the promoter (it gainscreate subjectaccessreviews) and as a SelfSubjectAccessReview by the dashboard andpacto delivery approve. The same rule decides a person's unfreeze and acknowledge. Refusals readCannotUpdateWorkloadandApproverUnverified; a failed review never allows. With delivery on, the chart aggregates delivery reads into the built-inview,editandadminroles and creating Approvals and Operations intoeditandadmin, so people witheditoradminin a namespace may decide there without an-approverbinding. teamGroupPrefixdefaults tonull: set, even to"", it narrows who may answer to the owner teams.requireOwnerTeamdefaults tofalse.- Operation and Approval records,
pacto delivery blameandhistory, the dashboard and MCP delivery answers carry how each actor was classified (classifiedBy) and, on each approval, the access phrase, its source and when it was answered (access,accessSource,accessAt). Records stayoperation/v1, but signed records are parsed strictly: upgrade a promoter that follows another cluster's records (upstreamTrust), and the CLI, no later than the recording cluster. - Go API:
delivery.ApprovalRefusaltakes a lastWorkloadAccessargument, so no caller can skip the rule;delivery.ApprovalRefusalAskingasks it only for an approval every other check lets through.delivery.ApprovalEligibleis removed: useApprovalRefusal, whose empty reason means the approval counts. - ca50460: The dashboard asks people to sign in by default, and the install notes print a short-lived sign-in link.
Upgrade effect first. After any upgrade, one that reuses the earlier
release's values included, the dashboard asks people to sign in.
To keep serving without sign-in, set dashboard.auth.tokenSignIn.enabled=false
and dashboard.auth.allowAnonymous=true; the install notes say so when the
previous release served without sign-in.
- The new chart value
dashboard.auth.tokenSignIn.enableddefaults totrue.dashboard.auth.allowAnonymousdefaults tofalseand passes--dashboard-allow-anonymousonly when set totrue.dashboard.auth.tokenLogin.enabledis deprecated and ignored; the schema still accepts it. - The install notes print a port-forward and a sign-in link carrying a
10-minute token for the chart's read-only
pacto-viewerServiceAccount, minted with--audience pacto-dashboardand passed after#, so the browser sends it to no server in the URL and it reaches no access log or proxy. An expired link says "link expired, run the command again". - A ServiceAccount token signs in only when a TokenReview proves it was minted
for the
pacto-dashboardaudience, and its session reads the fleet only: the Delivery tab is hidden and delivery reads answerSignInLinkReadsFleet. A ServiceAccount token without the audience is refused withTokenAudienceRequired, and a sign-in link with any other token withSignInLinkNeedsDashboardToken. - A person's own token (an OIDC ID token, an EKS or static token) signs in as
them, and their token session may now approve held changes under the
approver rule. ServiceAccount tokens never approve.
TokenCannotDecideis gone. - The dashboard's ServiceAccount gains
createontokenreviewsthrough the ClusterRole<fullname>-<namespace>-dashboard-tokenreview, also withcontroller.watchNamespaces.pacto-viewergetsget,listandwatchon Pactos and PactoRevisions through the ClusterRole<fullname>-viewer, or a Role in each watched namespace. - ca50460: Detect what the cluster provides. On start and every 5 minutes the operator writes the registry most namespaces pull from, the cloud, a sign-in provider, an exposure controller with a
--setline for the dashboard route, whether the Prometheus Operator is served and the node kernels with BTF likely, unlikely or unknown to one ConfigMap,<release>-detected, in its namespace. Nothing is turned on. The rows show as inferred under Data sources, inhelm upgradenotes, inpacto fleet statusandpacto fleet providerswith--detected, inpacto_fleet_statuswithpacto mcp --fleet --detectedand inpacto dashboardwithPACTO_DASHBOARD_DETECTED. A missing or stale detection names itself and never makes an answer partial. The chart grantsnodes listin the cluster-wide ClusterRole and lets the operator create that ConfigMap and get and patch only it. Withcontroller.watchNamespacesthe registry row is partial, cloud and nodes are unknown and no ClusterRole is added. - 73ce984: One chart value,
registry, turns on the registry-backed features. The operator publishes the cluster's signed target snapshot with its installation key, advertises the registry, snapshot, index and inferred refs, and pushes only under them. Delivery stays opt-in. Pacto reaches GAR, GCR, ECR and ACR with cloud workload identity, and uses a pull Secret only onceregistryPullSecretnames it. - e250ce8: Pacto detects the manager that owns each Stage's workloads and never promotes through another one. Stages can apply through a Flux HelmRelease.
Upgrade effect first. delivery.argocd.enabled and delivery.flux.enabled
default to auto. An upgrade that takes the new chart's defaults on a cluster
that serves Argo CD Applications grants the promoter patch on Applications, limited by
admission to spec.source.targetRevision of labelled Applications; set
delivery.argocd.enabled=false to keep it off. Flux access renders as before,
plus HelmRelease read, --flux-helm and the applier-helmrelease admission
policy when the cluster serves Flux HelmReleases; the agent, approver and
recorder roles gain HelmRelease get there too, which includes inline Helm
values.
- The promoter reads, and never writes, the labels, annotations, field
managers and owner references of each workload a Stage's Pactos report, and
records the manager in the Stage's new
status.applier(observed, with evidence,asOfandcompleteness) and theApplierprint column. A manager that contradictsspec.applyRefreadsReadyFalseApplierConflict; an unsupported or ambiguous manager, a workload without its applier's marks or an unreadable one readsApplierUnknown, with the reason a Kustomization could not be read. So does a Pacto the operator has not reconciled, or one that evaluated another workload than the Stage runs. Detection reads a Kustomization outside the Stage namespace only when it applies from the Stage's OCIRepository, and gives one fixed answer for any other the workload's labels name.status.applier.staleAtis twice the promoter's resync afterasOf, so a longer--resyncnever reads stale. - The new
pacto.applierpromote gate fails on a conflict and is Unknown when Pacto cannot tell; both refuse the promote, and nobody can accept them. spec.applyRef.kindacceptsHelmRelease. The promoter writes the chart digest to the OCIRepository the HelmRelease'sspec.chartRefnames, in the Stage's namespace, and counts a move applied once the HelmRelease is Ready at that digest.spec.chartreadsApplierNotChartRef.pacto delivery status,pacto delivery plan, MCPpacto_delivery_statusand the dashboard Delivery views print one applier line per service, with the reason when the Stage does not adopt it.pacto delivery planand the candidate list read versions from an Argo CD Application's or a HelmRelease's repository, as the promoter does.- An Operation the promoter cannot read the applier for says
reading the applier, and a deadline saysthe applier did not confirm, instead of naming an OCIRepository or Flux. - An
app.kubernetes.io/instancelabel of<namespace>_<app>names the Application in that namespace, as the tracking id does. - The delivery binary gains
--flux(defaulttrue) and--flux-helm(defaultfalse). Go API: the newpkg/workloadmanagerpackage (Detect,Describe),delivery.AdoptApplier,delivery.ApplierStatusanddelivery.GateApplier. - bd0bdc4: Keep approvals and delivery records in the registry on every registry. The
recorder signs an
operation-intent/v1record for every admitted Operation and anapproval/v1record for every Approval made in the cluster, on behalf of the person admission verified. Withdelivery.identities.signersset,pacto delivery approvesigns the decision keyless after a fresh login and pushes it to the Stage's approvals repository (delivery.recorder.approvalsRepository); it refuses whileSIGSTORE_ID_TOKENor a CI token is set. With the recorder on, an approval counts only once its record is written, and a person's signed approval only once the promoter verified it. The recorder anchors the approvals repository only once a signer is set, and a failure there never stops operation records.pacto delivery record get/verify <ref>andapprove --intent <ref>read records with no kubeconfig, and the stdio MCP record tools takeref; MCP still has no approve tool. On registries without the OCI Referrers API, approval and intent records use write-once tags, and publisher signatures and SBOMs also get write-oncepacto-sig-<subject hex>-<12 hex>tags that Pacto reads in place of the sharedsha256-<hex>index. A recordednativeregistry mode can no longer narrow at admission.
Upgrade order: operation records now name each approval's record, and earlier
readers decode records strictly. Upgrade the CLIs and every promoter that
follows these streams before the recorder.
- bd0bdc4: Accept a version only from a publisher Pacto knows. A first Stage with
spec.candidates.registry watches the registry, verifies each new version's
Sigstore signature and accepts it only when the signer is the CI the
installation's registry names (delivery.publishers.registry, a rule derived
for ghcr.io and registry.gitlab.com), an identity a person confirmed for
that service or a rule of a signed delivery policy
(delivery.publishers.policy). It needs no Flux, so an Argo CD-only cluster
promotes its first Stage. A new CI signer raises one "Confirm identity" item
in the delivery inbox; confirming it writes a signed identity-pin/v1 record
to the registry. An unsigned or unreadable version, or a deploy digest a
person signed, never passes. Keyless signers are classified as human, agent or ci, and an
approval signed by anything but a person is a proposal that never counts.
pacto delivery trust, the pacto_delivery_trust MCP tool and
GET /api/delivery/trust show which publishers each service accepts.
A fleet signature status is now verified only when a publisher rule, a
pin or a signed policy accepts the signer, and the new source field says
which. A signer the contract's own publish.sign declares is no longer
verified. pacto publish stamps org.opencontainers.image.source on the
artifacts it builds in CI.
- e250ce8: pacto validate and pacto_check report CONTRACT_BEHIND, an info finding that
never fails a run, when a contract declares an older pactoVersion. Its message
says whether raising the version keeps what the contract means, names the
finding the raise would add or says Pacto cannot tell until the errors are
fixed. pacto_check adds it as a suggestion.
pacto_edit raises pactoVersion only when that keeps the contract's meaning and
otherwise fails with the finding the raise would add. Its change line now
names the old version: set pactoVersion to "2.4" (was "2.3"), comes first
and replaces the set pactoVersion "2.1" for the external dependency line. An
edit that needs a raise now fails when the contract already fails validation,
does not parse or declares an unknown or 1.x pactoVersion, where it used to
overwrite the version.
The fleet revision detail gains pactoVersionCurrent and
pactoVersionUnknown, and pacto fleet entity revision, the TUI and the
dashboard revision page show a behind or unknown version.
The operator reads its ContractOverrides rule for ref configurations from
validation, with no behaviour change, and its finding reference lists
CONTRACT_BEHIND.
- bd0bdc4: pacto migrate [dir...] finds every pacto.yaml under the given directories
(the current one by default) and raises its pactoVersion to the newest
version, or to --to, when validation finds nothing new. Besides the version
token it changes only what is listed below, writes atomically, prints one line per file and a summary, previews
with --dry-run, lists the folders it skips and exits 1 only when a file
cannot be read or written, a read-only one included. 1.x
contracts follow MIGRATION.md. It also removes the delivery section that
left pactoVersion 2.5 before its release, and every publish.artifacts[].build
block that pacto ci --publish detection reproduces; a block that differs stays
with a suggestion. CONTRACT_BEHIND now says to run pacto migrate when the
raise keeps the contract's meaning.
- bd0bdc4: pacto ci publishes a contract that declares an older pactoVersion as the current version, raised in memory, when that keeps what the contract means: only the version token of the bundled pacto.yaml changes, the bundle records the raise as a migrations entry in pacto.inferred.yaml and the plan adds one line per migrated or kept contract without changing the exit code. A raise alone does not republish an unchanged service, and the file in the repository is never rewritten. The fleet revision detail reads 2.5 (migrated from 2.4, inferred), with the inferred migratedFrom JSON key read only from a verified record, in pacto fleet, the TUI, MCP pacto_fleet_get and the dashboard revision page. The CONTRACT_BEHIND message now says when pacto ci publishes the contract as the current version.
- e250ce8: pacto init and pacto_create propose dependency ranges and write
compatibility: unknown instead of declaring a guessed range. The proposal
goes in a trailing comment: ^MAJOR.MINOR.0 of the lowest version the
reconciled Pactos describing the called Service report, or of the dependency's
contract in --fleet, and none when nothing was read or those Pactos disagree
on the contract. A draft that writes a dependency declares pactoVersion 2.5.
pacto_create and pacto_edit write compatibility: unknown when an agent gives
no range. The CLI, the TUI, Used by and the dashboard say "range not
declared" for such a dependency.
The delivery controller's gate reason says range not declared for a consumer
with compatibility unknown.
- bd0bdc4: pacto init --cluster and pacto_create with cluster complete each draft with
the engine pacto ci uses and write a pacto.inferred.yaml into the draft
folder. Each value names its source (manifest, label, runtime or fleet), when
it was read and, for runtime and fleet facts, whether every node was observed.
The running image digest is recorded and never declared, and a proposed range
stays a proposal. The cluster read lists each kind of object in pages up to
--max-items (max_items), takes --call-window (call_window) and resumes a read
the bound stopped with --continue (continue). A kind of object you may not
list reads as failed and the run goes on. A literal secret in a container's
command or args moves to the draft's Secret. A published bundle whose
inferred record carries cluster facts fails validation.
- 73ce984: pacto declare publishes a contract for a workload the cluster already runs as
a contract-only version: 0.1.0 for a first declaration, else the published
baseline raised by the change, with the baseline's deploy artifact reused and
nothing built. Only a person's interactive Sigstore login (a browser, or a
device code with --device) publishes a declared version; a key, an ambient
OIDC token or a CI identity writes a write-once draft-clusters, and each target carries cluster,
clusterName, clusterNameSource, clusterNameReportedBy and
clusterRelation. The live Kubernetes source's id is the cluster UID (its
kube-system namespace UID) when it can get namespaces/kube-system, and the
context name otherwise. The display name comes from a node label that names the
cluster, then the context name, then the first 8 characters of the UID, and its
source is always shown.
Target keys and k8s: callers gain a leading cluster component only when the
snapshot holds two or more clusters, so single-cluster keys, hrefs, callers and
MCP answers keep their form. A 3-part key keeps resolving while one cluster
matches it; when several do, the dashboard API answers 409 Conflict with the
candidate keys, the dashboard offers a chooser and the CLI and MCP print the
candidates. An old dashboard link redirects to the canonical one. Two targets
in two clusters never merge. A target with no cluster id in a multi-cluster
snapshot raises CLUSTER_UNKNOWN and makes its source partial.
A --target-state file takes an optional cluster block with id and name.
pacto evidence serve takes --cluster-id, --cluster-name and
--cluster-name-source; each accepted record carries the cluster that accepted
it, and the targets endpoint answers pacto.dev/evidence-source/v5 when it
carries a cluster; older readers accept only v2 to v4. Two evidence sources that report one record with two
clusters raise CLUSTER_CONFLICT.
The operator reads its cluster identity at start and passes it to the Evidence
Server it runs. The operator ClusterRole and the managed dashboard ClusterRole
gain get on namespaces for kube-system only.
- 73ce984: One Pacto reads several clusters: pacto fleet, tui, impact, stats, mcp and
dashboard take a repeatable --context, each kubeconfig context read with its
own credentials and each cluster read once. On pacto dashboard the named
contexts replace the current context outside a pod, and people sign in
against the first one. Each signed-in person is reviewed in each cluster by
that cluster's own reviewer, so a grant in one cluster never shows the same
namespace in another; ServiceAccount and node identities are reviewed only in
the sign-in cluster. A failed or timed-out review now hides that cluster and
marks the answer partial with a CLUSTER_HIDDEN limitation instead of failing
the request, single-cluster dashboards included. An unreachable cluster reads
stale in the dashboard and MCP server and unavailable in one-shot commands.
Every fleet answer carries meta.clusters; the dashboard API takes ?cluster=,
pacto fleet entities takes --cluster, the MCP tool pacto_fleet_entities takes
a cluster argument and the Services and Targets lists gain a Cluster filter.
The statistics answer counts operation records of other clusters in
hidden.otherClusters and leaves them out of every number.
- ca50460: Add pacto export backstage, which writes the services Pacto knows as Backstage entities with their provenance, and ownerProvenance on services in fleet answers.
- ca50460: The dashboard serves the fleet as Backstage catalog entities at
GET /api/backstage/entities: the same multi-document YAML as
pacto export backstage, narrowed to what the reader may read. A source that
is unavailable or missing records answers 503, never a shorter catalog, so
Backstage keeps the entities it had.
On a dashboard with sign-in, a server-side reader sends a Kubernetes token as
Authorization: Bearer on GET requests under /api/backstage/; the token is
reviewed like a pasted one and no session is created. The OpenAPI document and
the generated SDK do not change. The WASM demo serves the route offline and,
because its fleet holds an unreachable source, answers it with that 503.
- 73ce984: - pacto impact --running oci://<repo>@<digest> never judges a revision against itself: a target already running the new digest is listed in running.excluded, so a gate that runs after a deploy, such as a Kargo verification, judges the new revision against the other revisions that run. A promoter fingerprint can carry an offer (id, text, an https doc), which its Detected providers row lists under offers on pacto fleet providers, pacto_fleet_status and the dashboard's Data sources. The demo shows the Kargo row with its offer.
- The chart's default Kargo fingerprints offer "Gate every Kargo promotion with one shared AnalysisTemplate", and the GitOps docs publish that ClusterAnalysisTemplate: each Stage adds one verification stanza, exit 2 (unverified) fails unless allow-unverified is "true", and the template reads the signed target snapshots by default and needs no cluster RBAC.
- 73ce984: pacto impact --running <new> and the running argument of pacto_impact
judge a contract against the revisions of its service that run on known
targets, read from the signed target snapshots, instead of an old revision.
A running consumer whose range rejects <new> blocks whatever the
classification, and a partial answer never clears. A local <new> takes the
fleet domain that holds its service name. With no
running revision the contract is a first version: a running consumer whose
range rejects it blocks, and it clears only on a complete answer. A running
revision Pacto could not link, pull or trust, one linked by tag only, an
inferred workload of the service and a revision on a host outside the
snapshot hosts and PACTO_RUNNING_REGISTRIES each make the answer unverified
at best. The answer carries running with every ref, the one judged and the
unread ones, and a restricted MCP view refuses the question.
Detected providers rows carry offers, Pacto integrations that fit the
provider: the Argo CD row offers "Gate every Argo CD sync with one
repo-server plugin" on pacto fleet providers, pacto_fleet_status and the
dashboard's Data sources.
The GitOps page documents that plugin: a Config Management Plugin sidecar on
argocd-repo-server that renders each Application folder holding a contract,
runs pacto impact --running on the contract the render applies and hands
Argo CD the manifests only after a pass, with no edit per Application and no
Kubernetes RBAC. The plugin refuses an unpinned snapshot, never reads the
folder's pacto.yaml as configuration and keeps the reason in its own log
unless the installation sets PACTO_SHOW_REASON=true. It also documents a per-Application PreSync Job as the
fallback.
- e250ce8: Every vendor API, managed cloud service and legacy host that a contract names
is one graph node of the new kind external, keyed by a canonical identity such
as stripe, aws/rds/123456789012/eu-west-1/orders-db or
host/corp-legacy.example. A ref-less external: true dependency joins it
through its identity, else a catalog alias, else a hostname's registrable
domain, else its normalized name, so consumers write nothing new. Its
relationship carries toExternal with resolved: false; an external system
never gets a range status and never enters impact, dependents or delivery.
Each external record lists its sources with their own provenance and match, its
consumers and the catalog entry and digest that classified it. A snapshot lists
them in externals and the catalogs used in externalCatalogs, which every
answer's meta repeats. One answer names at most 200 external systems and folds
the rest into other-egress, partial with EXTERNAL_CAP. A restricted view
counts hidden consumers and hidden external systems and never names them.
pacto fleet get, graph and explain and the matching MCP tools take
external:<identity>; pacto fleet entities --kind external --class <class>
lists them and a text search adds matching externals. The TUI, the dashboard
Overview, a new External systems list, an external entity page with its
provenance and a distinct graph node show them. The contract graph labels a
broken reference "Unresolved ref" and an external system "External system".
Pacto embeds a default external catalog. --external-catalog
oci://REPOSITORY@sha256:DIGEST on pacto fleet, impact, mcp, stats,
tui and dashboard (or PACTO_DASHBOARD_EXTERNAL_CATALOG) merges an
organization catalog pinned by digest; a tag is refused and a catalog that
cannot be read makes the answer partial with EXTERNAL_CATALOG_UNAVAILABLE.
The operator chart value dashboard.externalCatalog sets it on the managed
dashboard through the new operator flag --dashboard-external-catalog.
pactoVersion 2.5 adds the optional dependencies[].identity, validated with
INVALID_EXTERNAL_IDENTITY and IDENTITY_WITHOUT_EXTERNAL.
Each core release publishes the default catalog to
ghcr.io/trianalab/pacto/external-catalog:<core version> and signs it with
Cosign; its digest equals the embedded copy's.
- e250ce8: Pacto recognizes the vendors, managed services and legacy hosts that a
service's configuration, pod spec and traces already name, with no contract
edit. Every surface shows the host and port at most: a user name, password,
path and query are stripped, a value under a sensitive key is never parsed and
no Secret value is ever read.
pacto initandpacto_createwithpactifylist the externals that the environment, ConfigMaps, Secret and key names and every chart'svalues.yamlname, and write the likely ones as commented entries underdependenciesfor a person to uncomment. The parsed contract does not change.- The operator writes
status.externals,status.externalsCoverageandstatus.externalCatalogatPactoStatusFormat3. It reads the target workload's env names and values, Secret names,secretKeyRefkey names and the ConfigMap keys the pod spec references, plus theExternalNameServices, selectorless Services and IstioServiceEntriesof its own namespace that the workload names.status.externalsshows every reader of a Pacto the normalized hosts that the referenced ConfigMap keys hold. - The operator role gains
get,listandwatchonnetworking.istio.ioserviceentries, rendered by the chart only when the cluster serves that API. Without it the coverage readspartial, reasonserviceentry-reader-off. - The fleet joins trace callees that the external catalog recognizes to
external systems as
observededges, and reads the operator's externals asinferrededges withinferredSources. Neither enters an index that impact or a gate reads.NeighborhoodEdge.provenancegains the valueinferredand edges gaininferred: true.rpc.systemis now the last OTel callee key. - New limitations:
EXTERNALS_UNREPORTED(an older, partial or stale operator status),EXTERNAL_CATALOG_MISMATCHandEXTERNAL_USE_UNATTRIBUTED.OBSERVED_IDENTITY_UNRESOLVEDstays for names that match more than one service or that are neither a service nor an external system. - 73ce984: Pacto publishes an inferred contract for every external system your services call. Once
registryis set the operator writes<registry>/pacto-inferred/<identity>every 5 minutes, signed with the installation key and annotatedrun.pacto.contract.provenance: inferred, and only when the hosts, ports or client majors it sees change;pacto fleet publish-inferreddoes the same where no operator runs. The 2.5 contract fieldservice.externalnames the system and thepacto.inferred.yamlsectionsurfacerecords what Pacto saw with its sources, catalog digest and first and last seen; it never names a consumer. A range against an inferred contract readsrangeStatus: unknownwith the newrangeReason: INFERRED_PROVIDERand gates as unverified. A revision only the operator signed readsunverifiedwith the new signature sourceoperatorand anINFERRED_PROVIDERattention item suggestspacto declare. The Compose demo publishesdemo/pacto-inferred/stripe. - 378a8da: The dashboard Metrics page draws what Pacto did as charts: three headline
tiles with sparklines (breaking changes caught with the consumers they
protected, release gates by newest verdict and lead time to production at p50
with its p90) and five charts (what Pacto stopped, gate outcomes, delivery
health by environment, lead time by environment and coverage over time), each
with a table view and exact numbers in hover and keyboard tooltips. Unknown is
hatched and never drawn as 0, and unverified gates are dotted. The page adapts
from a few to hundreds of environments: one panel per environment up to eight,
then a heatmap with a promotion-depth filter that groups environments by
promotion depth, owner or domain and collapses large groups to their pooled
rate. Lead time to production pools the promotions into the environments at
the end of their promotion chain.
/api/statsgainsenvironmentsBy,leadTimeGroupsand each environment'sdepth,chainEndandparents;pacto statsand the MCPpacto_statsanswer are unchanged.
Patch Changes¶
- e250ce8: pacto init and pacto_create no longer copy environment values into the inferred configuration schema as defaults; sensitive keys are marked writeOnly, cluster drafts read sensitive literals from a Secret and every schema summary (dashboard, fleet, consume snippet, operator status) shows writeOnly keys as (sensitive). Schema diffs print (sensitive) in place of a sensitive key's schema values; values declared under configurations[].values or in an environment file are shown as written. Existing configuration/schema.json files are left as they are: remove any default that holds a secret and republish.
- e250ce8: Probing and metrics observation take
auto,onoroffand default toauto, which turns each one on only in namespaces whose owner labels thempacto.trianalab.io/observewithprobing,metricsorprobing.metrics. A namespace owner opts in withkubectl label ns payments pacto.trianalab.io/observe=probing, with no chart change, and every other namespace stays passive. The chart values arecontroller.probingandcontroller.metricsObservation;controller.enableProbingandcontroller.enableMetricsObservationare deprecated and still honoured, so an upgrade that reuses the earlier release's values renders the same arguments. An explicitautooverrides a deprecatedtrue. ServiceMonitor and PodMonitor read access still comes withmetricsObservation: ononly.
controller.interfaceNameMatchDiscovery and nodeAgent.image are new, so
every operator flag has a chart value or a documented reason, and a test keeps
it that way. controller.kernelEvidence.enabled takes auto, on or "off";
false keeps following nodeAgent.enabled.
The default install gains a namespaces get grant for the label read (in each
watched namespace's Role under controller.watchNamespaces). The health probe
no longer follows ExternalName or selector-less Services. The RuntimeObserved
message names where each setting came from, and a transient namespace read
failure marks it False.
- bd0bdc4: Contracts name no deploy tool. A pactoVersion 2.5 contract with a delivery
section fails to load with PARSE_ERROR and a hint: the Stage's
spec.applyRef names the applier. The pacto.applier promote gate judges
the applier the promoter observed against spec.applyRef and nothing else.
- e250ce8: Release CLI binaries, checksums.txt and the dashboard, operator and delivery
images now carry signed SLSA build-provenance attestations, verifiable with
gh attestation verify. The images no longer carry BuildKit's unsigned
per-platform provenance manifests.
- e250ce8: docs: the comparison page grades Argo CD, Flux, Backstage, Port, Pact, oasdiff and buf, and names where each tool wins.
4.5.0¶
Minor Changes¶
- 2ce6704: Agents and the CLI can ask the fleet about owners, business domains, platform
offerings and what needs attention: the
pacto_fleet_entities,pacto_fleet_entityandpacto_fleet_attentionMCP tools and thepacto fleet entities,pacto fleet entityandpacto fleet attentioncommands. A newundeclaredattention category lists runtime calls no contract declares (DEPENDENCY_UNDECLARED) and callers with no contract (UNCONTRACTED_CALLER), and one Overview tile, "Undeclared runtime dependencies observed", opens it. Runtime calls and caller coverage the Kubernetes operator reports now join the fleet, and leave declared edgesinsufficient.pacto_fleet_graphandpacto fleet graphreach observed-only callers and mark each node'sprovenance.pacto_fleet_statusandpacto fleet statusreport services with no declared owner,totalandtruncated.pacto_fleet_searchtakesoffset.pacto_impactreportssources.pacto mcp --fleetrebuilds its snapshot when a call arrives 30 seconds or more after the last rebuild attempt and shares it withpacto_impact, and--dashboard-urllinks fleet answers to their dashboard pages. - da4494d: Add
pactoVersion: "2.4"withservice.domain,service.offering,service.summary,service.lifecycle, andvaluesand aconfigurationselector beside a configurationref. Every 2.3 contract is schema-valid under 2.4, but 2.4 checks configuration refs strictly: a ref that cannot be resolved or that matches more than one provider configuration is an error, and a required ref configuration needs values in every environment. Raising a contract to 2.4 can therefore turn those warnings into errors. A"2.0"to"2.3"contract that sets any of the new fields reportsNEEDS_PACTO_2_4.
service.domain is the business domain a service belongs to, and pacto diff
reports an added, changed or removed domain as NON_BREAKING. The operator reports the
domain in status.contract.domain and writes status.statusFormat 2, so a
service seen only through Kubernetes is still grouped by it. A status from an
older operator leaves that service's domain unknown.
The dashboard groups services by domain: domains have a list and a page with
their services, owners, operational targets and attention, and the overview
breaks services down by domain, with services that declare none under No domain
and services whose domain Pacto cannot tell under Domain unknown. Sources that
disagree on a domain raise DOMAIN_CONFLICT.
The registry path that used to read "domain" now reads "Registry". Services with
no owner from any source appear in attention as unowned. An operational target shows
the environment it runs in when its Pacto carries the
delivery.pacto.trianalab.io/environment label, and whether the revision it runs
declares that environment; without the label it reads Unknown. The services list
filters by declared capability. pacto fleet search --business-domain, the
pacto_fleet_search MCP tool and the TUI accept a domain, (none) or
(unknown), and pacto_edit
sets one.
- a6c189d: Platform offerings report whether they serve. Each provider and each offering
carries availability per environment, derived from the provider's fresh
targets and its consumers' DEPENDENCY_UNREACHABLE reports, never from
compliance, and unknown when targets are hidden or a target source is
incomplete. An offering takes the best provider per environment, so a provider
the viewer cannot see keeps it from reading unavailable.
Offering list rows carry the providers' owners, the worst lifecycle,
availability, declared consumers and failed provisioning requests, and set
targetsUnknown instead of a 0 target count when targets cannot be counted.
The entity filters lifecycle and failed (--lifecycle, --failed, the
lifecycle and failed arguments of pacto_fleet_entities and query
parameters) and the sorts failed and consumers narrow and order the list,
and the aggregate tallies provisioning phases across offerings for the
dashboard's phase track.
The lifecycle attention category reports services that use a deprecated or
past-sunset provider or whose range excludes its successor
(DEPENDENCY_SERVICE_DEPRECATED, DEPENDENCY_SERVICE_SUNSET,
SUCCESSOR_OUT_OF_RANGE), with an Overview tile and
pacto fleet status --lifecycle. The provider lifecycle a consumer sees now
follows its range: it is the lifecycle of the newest provider revision the
range reaches, or the one pacto.lock pins, instead of the provider's newest
revision. A declared successor resolves to a revision in the fleet
(SUCCESSOR_UNRESOLVED when it does not), and each consumer use says whether
its range accepts the successor and the provider's newest supported version.
A provider's own lifecycle and successor, and an offering row's lifecycle and
the lifecycle filter, come from the provider's current revision: the newest
one a target runs, else the newest readable one, as on a service page. A
successor shipped under the same service no longer hides the deprecation of
the version still running.
The offering answer lists observed consumers, callers seen at runtime that
declare no use of the offering, apart from its declared consumers.
pacto impact, pacto_impact and POST /api/fleet/impact take an offering
subject (offering:<name>, offering, offeringKey) for unavailable and
removed events, and an unavailable event now lists each consumer's
resources. The offering page shows availability, observed consumers and the
successor, and links to What if it becomes unavailable?.
- a6c189d: A delivery plan or proposal can carry a correlation id, such as a ticket or
incident id: pacto delivery plan|propose --correlation-id, correlation_id
on pacto_delivery_operation_plan and pacto_delivery_operation_propose, and
correlationID in the dashboard's plan and propose bodies, and pacto publish
--propose --correlation-id. The id is at most
128 printable ASCII characters, checked by the client and by the operation
admission policy. The automatic rollback, freeze and step-down the promoter
raises after a change inherit its id, so pacto delivery history
--correlation-id lists the changes of one incident.
The intent digest now binds the cause a proposal cites (--cause-verdict,
cause_verdict), never the correlation id, and PlanStale names a changed
cause. Proposals that cite a cause need the CLI, the dashboard and the
operator at the same release, in both directions: across releases the client
and the promoter compute different digests, and the promoter finishes the
Operation Rejected with PlanStale. Proposals without a cause are
unaffected.
An agent must name the person it acts for (onBehalfOf, --on-behalf-of,
on_behalf_of), as the Kubernetes username the cluster authenticates them as,
when it proposes a change, never itself, a service account or
the promoter. The client, the promoter and the operation admission policy
refuse an agent's proposal without one, with the reasons NoPrincipal,
SelfPrincipal and NotAPerson; planning needs none, and changes the
promoter raises itself need none. Existing agent automations that propose
without naming a person must add it. The named person may not approve the
change, and an approval of an agent's change that names nobody is refused.
The name is asserted, never verified: it records who an agent says it acts
for, and it does not stop a person who controls an agent's credentials from
naming someone else and then approving the change.
The dashboard's propose panel proposes the plan it shows when a reason or an
on-behalf-of person is typed, with no false "Something changed" warning. Its delivery
errors carry differs, the field that made a plan stale. The propose panel
asks an agent who it acts for and takes a ticket or incident id.
Fleet attention items whose fix is a contract edit carry nextAction
({"verb": "edit-contract", "tool": "pacto_edit"}), inferred from the item's
code beside nextStep; it grants nothing, and unknown, stale, unresolved or
non-compliant items carry none. pacto_edit returns impact (who the edit
affects, from the session's fleet snapshot), chain (publish and promote,
each with its tool and CLI command) and executor (who acts on the published
revision), also on a dry run; pacto_create returns chain. The dashboard's
target, revision and Change analysis pages offer Plan… for the operations
the caller may take there, and a correlationID in the page URL fills the
propose panel's ticket field.
- a6c189d: Provisioning keys can be scoped to provider repositories with
allowedProviderRepos in the structured trust config. The Evidence Server
refuses a provisioning report whose declared configuration or dependency ref
names a repository outside the scope with HTTP 403 and the code
provider_not_allowed, and it logs a warning at startup for every provisioning
key with no scope. Older binaries reject a trust config that uses the field.
An offering answer names who reports on it on the CLI, TUI, MCP and dashboard:
adapters lists each adapter slug, producer and signature with the
environments and phases it covers, conflicting counts requests whose adapters
disagree and unattributed counts requests no adapter reported on. A report
with no slug reads "unnamed adapter". unresolvedUses counts the declared
references that may name a provider of the offering but did not resolve, and
above 0 the answer carries OFFERING_USES_UNRESOLVED and is partial.
Phase tallies count an unsigned Ready apart in readyUnsigned, and the CLI
prints "N ready (M unsigned)". The dashboard shows an unsigned Ready as
"Ready (unsigned)" in the info tone, so only a signed Ready reads positive.
Impact's CONFIG_REF_CONSUMERS_UNRESOLVED and
POLICY_REF_CONSUMERS_UNRESOLVED now count hidden consumers and count each
consumer once instead of once per revision, so their numbers can change.
The demo adds a security-scanning offering, provided by platform-security,
with a signed and an unsigned report from the scanner adapter.
- a6c189d: The dashboard's Metrics page, under Change and delivery, draws the run records
in a stats repository as daily or weekly trends: breaking changes caught,
consumers protected, gates, delivery rates, lead time per environment and
coverage of contracts and observations. Every number is labelled unsigned statistics
and links to the records behind it. Start the dashboard with
pacto dashboard --stats-registry (or PACTO_STATS_REGISTRY); without one the
page explains how to turn recording on. A signed-in viewer sees only the
services their Kubernetes RBAC allows: hidden services are never named or
counted. pacto fleet status --stats-registry (or --stats-file) writes a
coverage record of the snapshot it read. The operator chart value
dashboard.stats.registry points the managed dashboard at a stats repository.
- 1e7624b: Follow a service through delivery on every surface. pacto delivery status,
the pacto_delivery_status MCP tool and the dashboard show each Stage of a
service in promotion order with its upstream, the one state the board counts,
the version, contract and source revision it runs, its newest re-check with
Watched and what you may ask for (offers: promote, unfreeze, freeze and
undo, each with why or why not). --why and /api/delivery/progress say why
a candidate cannot move yet, with each reason's fix and a dry-run plan that
proposes nothing. Offers go unavailable when RBAC denies or cannot answer, and
when the delivery identity policy cannot be read, with a --delivery-namespace
hint when it is not found. A Stage whose admission policies are missing (Ready
False Unguarded) and a Stage that observes (including one that reports no
level) offer no promote, and none appears in actions.
pacto delivery lifecycle, pacto_delivery_lifecycle and
/api/delivery/lifecycle follow one version through every Stage, and
pacto delivery record get, pacto_delivery_record_get and
/api/delivery/record read one signed record by its id. History takes
--cause and --correlation-id (cause and correlation_id in MCP, which
also accepts durations for since and until); both narrow the timeline too.
The CLI history shows applied, cause and correlation columns and marks lines
that are not signed. /api/delivery/plan and propose return the full plan
answer (next, precedent and order). Published versions show the source
revision pacto publish stamps, an annotation, not signed, and link their
fleet revision; a service whose Stages name two domains is listed once per
domain. Delivery service filters match the service name exactly. A Stage
waiting on exactly one held change names it (heldOperation). A fleet service detail carries
placement, where its targets report it runs. The CLI labels an evidence
gate's Pass as Checked, pacto.contract verdicts cite each Pacto's target,
status, evaluation time and findings, a held promote on a frozen Stage names
the StageFrozen conflict and the CandidateUnverified fix points at
spec.verify. The operator uses the shared Ready reasons and auto-promote
rule, and a held shadow promote keeps the person's question.
- 1e7624b: An environment in environments[] can now declare its lifetime
(temporary or persistent), an expires time (RFC 3339, only with
temporary) and an owner in the shape of service.owner (pactoVersion 2.4).
A lifetime nobody declared reads "not declared", never persistent. Once a
temporary environment's expires has passed, pacto validate and
pacto_check warn ENVIRONMENT_EXPIRED; Pacto deletes nothing for it.
pacto diff classifies every change to these fields, and to an environment's
file, as non-breaking.
pacto init --delivery --env and pacto_create with delivery also declare
each environment in pacto.yaml with an empty values file.
pacto_edit add_environments takes lifetime, expires and owner, and
pacto_edit remove_environments retires an environment and deletes the values
file no other environment names. pacto explain --environments a,b and
pacto_check environments list the configuration values two or more
environments disagree on.
A service's environments are one list in pacto fleet entity service,
pacto_fleet_entity and the dashboard's service page: each environment the
current revision declares or a visible target reports, with its declaration,
its owner (declared, or the service owner labelled inferred), the targets
observed there, its provisioning tally, the differences between environments
and how the declarations changed between versions. On a delivery host the
service page also shows the Stages for each environment.
pacto fleet entities --consumes <offering> --phase <phase> --environment <env>
and the matching pacto_fleet_entities arguments list the consumers in a
provisioning phase in one environment.
The delivery promoter emits the Kubernetes Events EnvironmentCreated and
EnvironmentDeleted when a Stage is first reconciled and when it is deleted,
and the recorder posts the CDEvents environment.created and
environment.deleted to its CDEvents sink. Each names one Stage.
- 9cdf40f: service.template (pactoVersion 2.4) marks a contract as a golden path and
names the generate plugins it offers, and service.origin (pactoVersion 2.4)
records the golden path a service was created from as declared provenance
(ref and the path's content digest). A "2.0" to "2.3" contract that
sets either field reports NEEDS_PACTO_2_4; a repeated plugin reports
DUPLICATE_TEMPLATE_PLUGIN and an origin that is neither an oci:// reference
nor a directory reports INVALID_ORIGIN_REF. pacto diff classifies every
change to either field as non-breaking.
pacto init <dir> --from <oci-ref|dir> --owner <team> creates a service from a
golden path: it resets the identity, applies --values and --set, records
service.origin, validates the result with its references resolved and only
adds files. A path read from a registry is pulled by digest and, when the
trust config (--trust or $PACTO_DELIVERY_TRUST) names a role: template
key, must be signed by one; otherwise the signature step reads Unknown.
--run-plugins runs only the plugins of the path you name. --delivery, with
--env, --registry-secret and --insecure-registry, plans the cluster pieces
from the created contract when the path publishes manifests under
publish.deploy. The step list says what was checked and what Pacto cannot
tell yet. The MCP pacto_create tool gains from, values, set,
run_plugins and domain, and takes delivery and its options with from;
from serves stdio only. pacto_edit gains template.
A blank pacto init now writes --owner, --domain and a publish section,
and no placeholder readiness block. pacto_create without pactify refuses a
folder that already holds pacto.yaml and keeps any interface or schema file
already there.
The operational graph treats a service whose newest readable revision declares
service.template and that runs nowhere as a golden path. Its dependencies and
references are requirements, never consumption: impact, dependents, offering
consumers, attention and the Overview population counts leave it out, and the
Overview counts it in goldenPaths and invalidGoldenPaths. A running
service that declares service.template stays a service and raises
GOLDEN_PATH_DEPLOYED. A declared origin links to the golden path revision
whose content digest matches. Entity lists take template (only or
exclude) and createdFrom (MCP created_from), search takes template and
marks golden path hits, and a service created from a path carries a creation
checklist derived from what the fleet observes. A restricted viewer sees a
golden path with no Kubernetes target, with the services created from it that
they may not read counted. The CLI, MCP tools, dashboard (a Golden paths tab)
and TUI show all of it. Consume snippets carry structured entries, and a
values skeleton leaves out and names in missingValues every required value
no candidate satisfies.
The operator chart's dashboard.repositories (operator flag
--dashboard-repositories) lists oci:// references the operator-managed
dashboard reads beside the contracts it discovers, so golden paths, which are
never deployed, show on its Golden paths tab.
- a6c189d: People and agents now see the same organization and meet the same policy on
every surface.
Changes that callers notice:
- An MCP server over HTTP serves only
pacto_schemaof the contract tools.pacto_create,pacto_editandpacto_checkread and write the server's folders and follow refs with its credentials, so they run beside the agent withpacto mcpover stdio. - A remote
pacto mcp --fleetwith--auth-issuerneeds token exchange (--exchange-client-id): it asks the API server who each caller is, the way remote delivery does, in place of reading the token's claims. pacto mcp -t httpon loopback without--auth-issuerprints a bearer at launch (pmcp_...), and every request must carry it.pacto dashboardbound beyond loopback without sign-in refuses to start unless--allow-anonymous(PACTO_DASHBOARD_ALLOW_ANONYMOUS=true) allows it. The operator passes--dashboard-allow-anonymousfrom the new chart valuedashboard.auth.allowAnonymous,trueby default with a warning in the install notes, so existing installs keep starting.- A bundle operation whose name starts with
pacto_is skipped, so a bundle never takes a Pacto tool's name. pacto_impactover HTTP, and the impact view of a dashboard that is not on loopback, accept only refs of revisions in the caller's view and read each at its digest-pinned ref.
Additions:
- Every MCP tool carries annotations (
readOnlyHint,destructiveHint,idempotentHint,openWorldHint); a generated tool takes them from its HTTP method.--allow-writesand the stdio-only rules still decide what runs. - A bundle,
--fleetand--deliverycombine in onepacto mcpprocess, whose instructions describe only the modes it serves.pacto_capabilitiesreports the modes, the contract tools, the caller and how Pacto knows them, whether writes are exposed and the transport. - Six delivery read tools answer what the dashboard's delivery views show,
with the caller's identity:
pacto_delivery_caller,pacto_delivery_inbox,pacto_delivery_environments,pacto_delivery_autonomy,pacto_delivery_publishedandpacto_delivery_refusals. The CLI gainspacto delivery caller,inbox,environments,autonomy,publishedandrefusalsover the same route code. pacto fleet entitiesandpacto_fleet_entitieslist any entity kind and take every filter the dashboard's entity list takes; a filter of one kind, such as--source-kind, lists that kind.pacto fleet attentionandpacto_fleet_attentiontakekind,key,source,statusandstale-only,pacto_fleet_neighborhoodtakesmax_edgesandpacto_fleet_searchtakeslabel.pacto mcp --publishservespacto_capabilitiestoo.pacto_fleet_revision_documentreads one document of a revision's bundle, as the dashboard's revision page does.- With
--verbose, every MCP tool call logs onemcp tool callline with the tool, the caller and how Pacto knows them, the outcome, the duration and a keyed digest of the arguments. - Generated tool calls send
User-Agent: pacto-mcp/<version>. - Fleet views maps each question to its command, MCP tool and dashboard route.
- af4f27d:
service.lifecycle(pactoVersion 2.4) deprecates a whole service with a sunset and a successor, and a configurationreftakesvaluesand aconfigurationselector beside it (pactoVersion 2.4). Consumers of a deprecated service are warned withDEPENDENCY_SERVICE_DEPRECATEDorDEPENDENCY_SERVICE_SUNSET, andpacto diffclassifies the schedule like an interface lifecycle.
Configuration references are now resolved and their values validated against
the referenced contract's selected configuration schema in a new
configuration-refs validation stage, in the fleet, the delivery gate,
pacto_check, pacto_edit and the operator. pacto validate, pacto push and
pacto publish fail with CONFIG_REF_UNRESOLVED on an unreachable
configuration ref whose values or selection depend on it, like a policy ref; a
"2.0" to "2.3" ref with no values anywhere only warns. Environment values
of "2.0" to "2.3" ref configurations are now checked, and only 2.4 reports
missing required values for a ref configuration. A failed configuration-refs
stage does not skip environments. Impact, graph traversal and dependents count
resolved configuration-reference consumers, and impact checks their values
against the new provider schema. Neighborhood edges gain the
configuration_reference relation.
Provider adapters report provisioning status as ResourceProvisioned
evidence, written with pacto evidence provisioned. A trust entry needs
allowedObservationKinds listing ResourceProvisioned to report it. The
Evidence Server's targets endpoint answers pacto.dev/evidence-source/v3 with
a provisioning list only when it holds provisioning reports, and v2
otherwise, and target-state files accept pacto.dev/fleet-targets/v2 with
unsigned provisioning reports. Offering uses carry a provisioning status per
environment that reads Unknown without a current report. pacto fleet
versions, pacto_fleet_versions and the dashboard list each provider's
versions with their lifecycle and range status, --consumes and consumes
list an offering's consumers, and pacto_edit gains
remove_configuration_refs, add_environments, set_environment_values and
lifecycle. A provider with no Kubernetes target that declares its offering
is visible to every signed-in viewer, with its targets hidden and its hidden
consumers counted. OfferingProvider.revisions and activeRevisions become
versions. pacto explain lists each configuration with its
environmentValues, the effective values per environment an adapter
provisions from.
The operator resolves configuration references with host-scoped credentials
and validates their values, spec.overrides and bound ConfigMaps against the
resolved schema. status.metadata renders non-string values as JSON.
The chart's evidence.trust.configKey (operator flag
--evidence-trust-config-key) names a structured trust config inside the
trust Secret, so the operator's Evidence Server can grant an adapter key
ResourceProvisioned.
- 45b9afc: --mira-source reads a Mira node's service map into the fleet as observed
calls between services (source kind mira) on pacto fleet, pacto mcp,
pacto tui, pacto impact and pacto dashboard
(PACTO_DASHBOARD_MIRA_SOURCES). A declared dependency any source witnessed now
reconciles matched. Restricted views hide and count every caller that has no
namespace and every unresolved observed name, whichever source saw them. The
pacto_fleet_neighborhood MCP tool and the pacto fleet neighborhood command
list who a service depends on and who depends on it, with their owners, and
pacto_impact consumers link to their dashboard pages. Delivery history takes
since, until, service and domain and reports each change's applied
time, cause and correlationID and the Stage's service and environment. The
dashboard opens a service in Mira and filters delivery history by time. The new
"Investigate a problem with Mira" guide maps each incident question to a Pacto
or Mira tool.
- a6c189d: A service's detail now carries its changes: every declared change between
the revisions Pacto holds (owner, business domain, offering, dependency,
lifecycle and environment) and each validation finding that appeared or
resolved, newest first in version order, each with the revision that shows it,
the one it was compared with, its provenance and its source. changes
replaces the unreleased environmentHistory. pacto fleet entity service
<key> --reached, reached on a stdio pacto_fleet_entity and the service
page add when each change's revision reached a Stage, from signed delivery
records read as the caller; a change with no record reads "time not recorded",
and "time hidden" when the caller may not read delivery. The TUI and the
dashboard's service page show the same changes.
A sequential owner handover is now an owner change, never OWNER_CONFLICT.
OWNER_CONFLICT remains for targets that run revisions declaring different
owners, or for two revisions of one version that disagree, and says when the
link is inferred. Rankings, owner filters and owner pages count the current
owner, and a former owner's page still lists the revisions it declared.
pacto delivery history, pacto_delivery_history and Delivery history name
the fleet revision of every artifact and the pacto.impact verdict each
record signed, apart from a re-analysis against today's graph; blame names the
revision too. pacto delivery history --at, at on pacto_delivery_history
and ?at= on the dashboard answer which revision each Stage ran at a past
time, from signed records, and read unknown where no record holds.
- a6c189d: A failing health check is reported as HEALTH_FAILING (category
Inconclusive, severity unknown), and compliance stays Unknown: a failing
endpoint does not contradict the contract. The operator reports it when the
declared health endpoint answers with a 5xx other than 501, or when the
readiness probe on the declared health path keeps every pod out of Ready;
pacto run and pacto agent report it on a 5xx other than 501. A 501 or a
405 stays EVIDENCE_INSUFFICIENT, as do a workload scaled to zero and
endpoints the operator cannot map to the health port. COLLECTION_FAILED now
means only that a collector query errored, an EndpointSlice read included. The Evidence Server re-evaluates the same evidence
and reaches the same finding. The CapabilityObserved evidence payload gains
the optional healthy key, which only a present capability may carry. Strict
decoders reject unknown keys, so upgrade the Evidence Server with or before the
operator.
pacto fleet, pacto mcp, pacto tui and pacto impact now mark target
evidence older than 24 hours as stale by default, the window the dashboard
already uses. --freshness 0 still skips the check, and every answer then
carries the FRESHNESS_NOT_EVALUATED limitation, so a stale count of zero is
never read as "nothing is stale"; the CLI also prints it as a note on stderr.
The limitation does not change completeness.
pacto fleet overview, the MCP tool pacto_fleet_overview and the dashboard
overview answer "how healthy is the organization and how much do we know" in
one shape. The overview summary gains operationalHealth (targets that are
healthy, failing their own health check, unknown or declare no health check),
knowledge with its gap kinds (noSummary, noDomain, noInterfaceDocs,
noReadiness, notDeployed, unverifiedCapability) and an unknown bucket,
knowledgeItems, coverage (assertions evaluated and required, and the
targets that report none) and staleCompliantTargets. Every compliance tally
gains staleCompliant, the Compliant targets or services that rest on stale
evidence: a subset, never subtracted from compliant, drawn hatched. The
entity list aggregate gains targetHealth and knowledge. The dashboard draws
an Operational health band and a Knowledge band, and a target that is unknown
is never counted as healthy. There is still no composite score.
Ownership splits a service whose contract Pacto cannot read from a service
that declares no owner: ownership.unknown and the filter value
ownership=unknown are new, labelled Owner unknown. Each business domain row
gains failingHealth, ownerUnknown, notDeployed and withGaps; owner and
domain pages gain operational health, knowledge, readiness, services that run
nowhere, services whose placement is unknown and unresolved and undeclared
dependencies; owner and domain list rows
gain unknown, stale, failingHealth and withGaps counts, and
sort=health ranks them by those counts. New filters and sorts: gap
(--gap), sort=gaps and sourceHealth=incomplete, which the new
Incomplete sources entry point opens. The attention categories health and
knowledge are new, and the dashboard's Attention view lists every category
with each item's reason.
Changed meanings: ownership.unowned and a domain row's unowned no longer
count services whose contract Pacto cannot read; the lead "Services needing
attention" tile and servicesNeedingAttention count every service with at
least one attention item, and the tile's itemCount carries the item total;
an unknown attention item names its cause in code (for example
EVIDENCE_STALE or EVIDENCE_MISSING) and keeps UNKNOWN only when no
cause is known; the CLI and MCP mark targets stale after 24 hours by default;
and the evidence payload gains healthy. The dashboard's sidebar badge counts
only attention items above info.
- 1e7624b: pacto impact, the pacto_impact MCP tool and the dashboard's Change analysis
ask what happens if a service becomes unavailable, is removed or regresses:
--unavailable, --removed and --regressed <service>@<revision> on the CLI,
event, service and revision on the tool and an event mode in Change
analysis. Each consumer carries an effect (breaks, may-degrade or
unknown); the event gate is unverified (exit 2) when anything depends on
the service and clear (exit 0) only when the complete snapshot shows nothing
does. Event answers always read observed and uncontracted callers. A removal
lists each consumer's resources and the provider's declared lifecycle. A
regression named by artifact digest cites delivery's recorded failures, read
with the caller's own credentials.
Services that reference a changed policy are consumers (via:
policy_reference), checked against the new policy: one that fails it blocks,
or needs a person, whatever the classification. A change of any classification
with a referrer Pacto could not check or resolve needs a person too. Golden
paths that reference the policy run nowhere: they are listed under
templates to review and never hold the gate. Consumers the viewer may not
see are counted in hidden (consumers.hidden in the dashboard).
owners now holds canonical owner keys such as team:shop, and
consumerTallies.byOwner groups by its new ownerKey, keeping the display
label in owner; in an event answer its incompatible counts the consumers
that break. Each consumer gains ownerKey, via, evidence, effect and
resources. Target and
observed-call evidence older than 24 hours before asOf lowers a consumer's
confidence to unknown, and --traces edges carry their last-seen time, so
stale ones stop corroborating. OBSERVED_IDENTITY_UNRESOLVED makes the answer
partial. New limitations: POLICY_REF_CONSUMERS_UNRESOLVED,
POLICY_REFERRERS_UNCHECKED, OBSERVED_EVIDENCE_ABSENT,
CONSUMER_EVIDENCE_STALE, DELIVERY_EVIDENCE_UNAVAILABLE and
DELIVERY_EVIDENCE_TRUNCATED. An HTTP fleet MCP
server, whether its callers sign in or not, refuses traces paths and local
refs and reads no delivery. The blast radius badge, which nothing computed, is
removed.
- a6c189d: pacto stats and the read-only pacto_stats MCP tool total the run records in a stats repository for a window, grouped by service, owner, domain, repository or environment. Each answer says how many records were read, skipped or truncated, whether records were outside your view and labels its numbers as unsigned statistics.
- 78fd229: service.offering (pactoVersion 2.4) names the platform offering a service
provides to other teams such as postgresql, and service.summary a one-line
purpose; pacto diff reports an added, changed or removed offering or summary as NON_BREAKING.
The operator reports both in status.contract.offering and
status.contract.summary.
The dashboard gains an Offerings page. Each offering lists its providers with
their versions, owners, interfaces, configuration and policies, the services
that consume it and a snippet to consume it from a contract. A service page
lists the platform offerings the service uses and, marked inferred, the
providers its unresolved dependencies may mean. The capability filter and chips
now read "Declared capability" and count each extension by its ref.
pacto fleet search --offering, the offering argument of
pacto_fleet_search and the TUI Offerings tab find providers, and pacto_edit
gains offering, summary, add_configuration_refs and add_policy_refs.
- a6c189d: A service's detail lists every resource it consumes. A use of a provider that
declares no offering now shows once a provider reports on it, and the service's
hiddenProviders says at least how many resources come from providers the
viewer may not see. Each use carries providerOwner, providerAvailability,
requested (the values the contract declares, on the configuration-reference
row) and consumption, which reads not-reported until a provider reports
usage or cost. A new provisioning attention category raises
PROVISIONING_FAILED and PROVISIONING_STALE; a resource's phase never changes
the service's compliance. pacto fleet entity service and the TUI's service
page print a Resources block with provenance, and the dashboard's service page gains a Resources section
that joins each use with its requested configuration.
Provider adapters can report a resource's usage and cost with the new
ResourceUsage observation kind, written by pacto evidence usage. Only a key
that lists ResourceUsage in allowedObservationKinds may report it, scoped by
allowedProviderRepos like ResourceProvisioned, and an EvidenceSet carries
one provider-reported kind only. The Evidence Server's targets endpoint lists
usage under schema pacto.dev/evidence-source/v4, written only when it holds
usage. consumption reads reported, with the figures, only for a signed,
fresh, uncontested report about the current revision; otherwise it reads
unknown and keeps the raw figures apart under reported. The CLI, MCP and the
dashboard's Resources section show both, and Pacto never sums or converts a cost.
- a6c189d: pacto diff, pacto impact and pacto publish can record what they catch in
CI as an unsigned run record (--stats-registry, --stats-file,
--stats-context, PACTO_STATS_REGISTRY, PACTO_STATS_FILE), an OCI
referrer in a stats repository you name. pacto stats publish publishes
record files written by a job without write access. Recording is opt-in and
best effort: it never changes an exit code or stdout. Run records fall back to
the referrers tag on registries without native Referrers, such as GHCR. See
the run record reference.
- a6c189d: The delivery promoter can publish an unsigned run record of every operation it
concludes to a repository you name with delivery.stats.repository (Helm) or
--stats-repository. Records hold the type, outcome, verification, gate
results, how long each operation was held, the class of who asked, the Stage
and the digests, never a name. Publishing is best effort: a full queue or a
registry error is counted in pacto_delivery_stats_dropped_total and never
changes an outcome. pkg/runrecord describes kind: operation records.
- 83d2d1d: The dashboard's service page now shows a service's whole context. Its facts name
the contract it runs, its capabilities and the sources that saw it, and the owner
reads Owner unknown when Pacto could not read any of its contracts. Expected
dependencies list external and unresolved dependencies, and operational targets
show their environment. A Delivery section lists the service's Stages, found
through new exact service and domain filters on /api/delivery/environments
and /api/delivery/history; its links open the board and the history narrowed
to that service, and a Stage that names no domain is marked as matched by name
only. The dependency drift counts dependencies outside their accepted range and those that
cannot be observed, and a readiness bar tallies the service's revisions. When a
revision is read from a registry, Pacto checks its bundle signature against the
signer its contract declares in publish.sign and lists its OCI referrers; the
result is the new provenance field in pacto_fleet_get and on the revision
page. Policy and configuration schema content is read from the bundle and shown
on the service and revision pages. Revision-match buckets no longer link to the
unresolved dependencies list, and a service with stale or missing evidence no
longer reads Healthy.
Patch Changes¶
- 8517f96: Bump Go dependencies (sigstore, sigstore-go, go-jose, oras-go, prometheus, pflag, ginkgo and k8s.io/apiextensions-apiserver), dashboard frontend dependencies (jsdom 31, vite, vitest, playwright, mermaid, marked, d3 and svelte-check) and the cosign-installer, docker/login-action and CodeQL GitHub Actions.
- a39e7dc: Build with Go 1.27.4 (was 1.27.3) everywhere it's pinned (both modules,
go.work, both Dockerfiles) for GO-2026-6859, anet/httpvulnerability fixed in Go 1.27.4 and reachable from Pacto's code. No source changes. - a6c189d: An HTTP-served
pacto mcp --fleetno longer scans the bundles under the folder it was started in by default: over HTTP every caller reads the snapshot as the server's process, so it reads local bundles only from the--localroots you name. Over stdio--localstill defaults to.. - a6c189d: The demos ship generated run records, labelled unsigned statistics: the browser demo opens Metrics with about 90 days of records that follow the payments story, the Compose demo seeds CI records into its own registry and the Kubernetes demo records its real publishes and promoter operations on top of a seeded history. The delivery tour visits Metrics before its recap. The new guide "Measure what Pacto does" explains what is recorded, where it goes, how to turn it on in CI and in delivery, who sees which records and how to prune them, and the run record reference says for every field whether it can hold personal data.
4.4.2¶
Patch Changes¶
- b99b027:
pacto runin unprivileged mode no longer ends on anUnknownverdict when the command exits right as a poll reads it. A poll read each network namespace's tcp tables through one process only, and if that process was exiting the whole view was marked truncated, so its listeners went missing and the final round saidEVIDENCE_INSUFFICIENTinstead ofCompliantorINTERFACE_ABSENT(and--fail-oncould exit 0 when it should have failed). The tables are now read through another process still in that namespace, and a namespace whose processes have all exited hides nothing.
4.4.1¶
Patch Changes¶
- d44ced1: Dependency bumps from Dependabot in one go:
bubbletea2.1.0 → 2.1.1,huma2.39.1 → 2.40.0,prometheus/common0.72.1 → 0.73.0 andsigstore1.10.9 → 1.11.1 in the engine, andk8s.io/api,apimachineryandclient-go0.37.1 → 0.37.2 in both modules. No source changes.
sigstore 1.11 needs Go 1.27, so Go goes 1.26.10 → 1.27.3 everywhere it's
pinned (both modules, go.work, both Dockerfiles), and golangci-lint goes
v2.13.0 → v2.14.0 because v2.13 can't load Go 1.27 code.
Heads-up: Go 1.27's gzip writes different bytes, so pacto push now produces different OCI bundle digests for the same content than older binaries did. The published demo bundles get re-published once via release/demo-bundle-migration.txt.
4.4.0¶
Minor Changes¶
-
0813b6e: Delivery matches contract environments to Stages. A promote runs a new
pacto.environmentcheck that compares the Stage'sspec.environmentwith the environments the version's contract declares, using the sameenvironmentsstage aspacto validateon the version's bundle. -
A contract that declares no
environmentspasses the check, which says it does not apply, so services that do not use environments are unaffected. - A contract that declares environments but none named like the Stage's
spec.environmentwaits for the service's team to approve it, for exampleversion 1.1.0 declares no environment prod for Stage payments-prod (it declares dev, staging). So does one whose values for that environment fail withENVIRONMENT_VALUES_INVALID,ENVIRONMENT_VALUES_MISSINGorENVIRONMENT_UNKNOWN_CONFIGURATION, each located in the values file. When the version also waits for a consumer's team, the service's team is asked too, and the question names every team. - Values Pacto cannot check (
ENVIRONMENT_VALUES_UNVERIFIED) wait for a person to accept the unknown.
The promoter also holds a promote that leaves a consumer with a required
guarantee unmet, the consumers pacto impact lists for the change. Like a
consumer whose range refuses the version, it holds wherever the consumer runs,
including when Pacto cannot place it. The consumer's team is asked, and the
question names consumer, provider and guarantee. A rollback to such a version
waits the same way. An unmet guarantee of an optional dependency holds
nothing.
The dashboard labels the check "Environment values" and shows N/A when it
does not apply. The Stage's spec.environment field documents the match.
- 0813b6e: The pacto doc HTML page and its Markdown output show each interface's
lifecycle, guarantees and compatibility epoch, what each dependency requires
and whether its provider meets it, how each validation stage ended and an
Environments section with each environment's check and its findings located
in the values file. A requirement reads met or refused only when Pacto checked
the provider's contract, and Not verified with the reason otherwise. The TUI
explain view lists environments, interface visibility and dependency
compatibility, as pacto explain does. pacto explain, the TUI explain view
and the MCP contract summary list the guarantees each interface offers, its
compatibility epoch and what each dependency requires. The dashboard's "On
this page" rail scrolls within itself when a page has more sections than fit
the screen, keeping the current section in view.
- 0813b6e: Add pactoVersion: "2.3" and environments, so pacto validate checks the
configuration values each environment uses against the schema of every
configuration they name. Every 2.2 contract is valid under 2.3. A 2.3 contract
needs Pacto core 4.4.0 or later and operator 6.4.0 or later. A "2.0", "2.1"
or "2.2" contract that declares environments reports NEEDS_PACTO_2_3.
pactoVersion: "2.3"
configurations:
- name: chart
schema: chart/values.schema.json
required: true
environments:
- name: staging
file: environments/staging.yaml
- name: production
file: environments/production.yaml
An environment's file maps each configuration name to that environment's
values, for example chart: {replicaCount: 5, ingress: {host: shop.example.com}}.
It ships in the bundle like any other referenced file. Values hold references
to secrets, such as a Secret name; keep secret material out of the file.
pacto validatereports a duplicate environment name (DUPLICATE_ENVIRONMENT_NAME), and a file that is missing or whose path leaves the bundle (FILE_NOT_FOUND). A newenvironmentsstage, afterpolicy, merges each environment's values over the configuration's defaultvaluesand checks the result against its schema (ENVIRONMENT_VALUES_INVALID). Anullin an environment's file removes that key from the merged values. The stage reports values for a configuration the contract does not declare (ENVIRONMENT_UNKNOWN_CONFIGURATION) and a required configuration whose defaults alone fail its schema when an environment omits it (ENVIRONMENT_VALUES_MISSING). Each error names the environment, the configuration and the JSON Pointer of the value, and carries the environment's file. A schema violation and an unknown configuration also carry the line and column of the value, and a file that does not parse carries the line the parser names. A configuration whose schema is behind aref, or a run with no bundle files, reportsENVIRONMENT_VALUES_UNVERIFIED, a warning, and the stage is skipped with a reason naming it. Withoutenvironmentsthe stage is skipped.pack,push,publish, the operator, the dashboard andpacto_checkrun the environments stage too, so a version whose values break an environment is refused there as well.pacto diffreports an environment added as non-breaking, one removed as potentially breaking and every changed value in its file as non-breaking, atenvironments[<name>].<configuration>.<path>.pacto explainand the MCP contract summary list the environments.- A validation error carries
filewhen it points into a file other thanpacto.yaml, inpacto validateand inpacto_check. The text output ofpacto validatewidens its stage column by one character.
Patch Changes¶
- 0813b6e: Report each consumer at its shortest distance from the changed service. A
consumer that depended on it directly and also through another dependent that
sorted first was reported as
transitive confidence=inferred;pacto impactnow reports it asdirect confidence=contractual.pacto fleet graph, the dashboard fleet graph API and the MCPpacto_fleet_graphtool walk the graph breadth-first: nodes come in ascending depth,--max-depthcounts the shortest distance and a capped answer keeps the nearest nodes. - 0813b6e:
pacto_editkeeps every top-level field of the contract it rewrites. It used to droppublish,checksand any field it did not list. -
0813b6e: The Pacto status records the guarantees of the contract, so the fleet the promoter builds from Pacto status evaluates them as a fleet built from published bundles does.
-
status.interfaces[]addsguarantees,lifecycleandcompatibilityEpoch, under the contract's own field names. status.dependencies[]addsrequires, one entry per interface of the provider with the guarantees the dependency relies on.-
The promoter's fleet rebuilds each Pacto's interfaces from its status. A dependency whose provider runs in the cluster reports its guarantees as met or unmet, and as unknown when no Pacto of the provider runs there. The impact analysis lists a guarantee the candidate does not meet under each consumer whose status records the requirement.
-
status.statusFormatis1on every status this operator writes. It says the status records guarantees, so a missing one means none is offered.
The fields are optional and the CRD version stays v1alpha1. Pactos last
reconciled by an older operator carry none of them until the operator
reconciles them again, which it does for every Pacto when it starts. In that
window the promoter reads a status without statusFormat as guarantees
unknown: a dependency on that provider reports its guarantees as unknown,
never unmet, and a breaking or possibly breaking change to a service whose
consumer has such a status waits for a person to accept the unknown.
- 0813b6e: pacto publish and pacto push check what each dependency requires from
its provider, as pacto validate does. A provider that does not meet a
required dependency's guarantee (GUARANTEE_UNMET) refuses the publish, and
pacto publish --plan shows it as the failed validation check. An unmet
guarantee of an optional dependency and a provider Pacto cannot fetch
(GUARANTEE_UNVERIFIED) stay warnings: the publish validation check passes
with its message leading with them, so it never reads as a clean pass, and
pacto push prints them. pacto pack stays offline and does not
fetch providers.
4.3.0¶
Minor Changes¶
- 039d160: Contracts can declare behavioral guarantees (
pactoVersion: "2.2"). An interface lists what consumers may rely on inguarantees:delivery,ordering,dedupeWindowandretentionfor events,idempotentandtimeoutfor calls. A dependency lists what it relies on inrequires. A"2.0"or"2.1"contract that uses either reportsNEEDS_PACTO_2_2.pacto validatereads the provider contract and reports every unmet guarantee asGUARANTEE_UNMETin itsguaranteesstage, or warns withGUARANTEE_UNVERIFIEDwhen it cannot read it. The stage passes only when every requirement was checked, and is skipped with a reason naming the dependency otherwise.pacto graphmarks refused edges,pacto diffclassifies a removed or weakened guarantee as breaking andpacto impactnames the consumers whose requirement a change breaks, in its text and JSON output. -
039d160: Contracts can declare an interface's
compatibilityEpoch(pactoVersion: "2.2"), an explicit marker for a breaking change no spec shows, such as an amount switching from cents to euros. -
Raise
interfaces[].compatibilityEpochandpacto diffreportsinterfaces.compatibilityEpochasBREAKING, naming the interface, sopacto impactlists its consumers. Lowering it isBREAKINGtoo: consumers that adapted to the higher epoch break in turn. - A
"2.0"or"2.1"contract that sets it reportsNEEDS_PACTO_2_2. - 039d160: Add
pactoVersion: "2.2"and an interface lifecycle, so a provider can retire an interface on a schedule its consumers can see. Every 2.1 contract is valid under 2.2, which also carries an interface'scompatibilityEpochandguaranteesand a dependency'srequires. A 2.2 contract needs Pacto core 4.3.0 or later and operator 6.3.0 or later. A"2.0"or"2.1"contract that uses a 2.2 field reportsNEEDS_PACTO_2_2for each.
pactoVersion: "2.2"
interfaces:
- name: orders-v1
type: openapi
ref: interfaces/orders-v1.yaml
lifecycle:
deprecated: "2026-10-01"
sunset: "2027-04-01"
successor: orders-v2
pacto validatechecks that both dates areYYYY-MM-DD, that the sunset is not before the deprecation (INVALID_INTERFACE_LIFECYCLE) and that the successor names another interface or is an absolute URL (INTERFACE_SUCCESSOR_UNKNOWN). A 2.0 or 2.1 contract with a lifecycle reportsNEEDS_PACTO_2_2.pacto validate --closurewarns a consumer about each deprecated interface of a service it depends on directly, naming the interface, its sunset and its successor (DEPENDENCY_INTERFACE_DEPRECATED). From the sunset date the code isDEPENDENCY_INTERFACE_SUNSET.pacto diffreports deprecating an interface as non-breaking and moving its sunset earlier as potentially breaking. Removing an interface before its sunset stays breaking, and the reason says so.pacto explain, the MCP contract summary and the dashboard API show an interface's lifecycle.- 039d160:
pacto diffjudges every interface schema change by the position the schema sits in, and resolves$reffirst, so a schema defined under OpenAPI or AsyncAPIcomponentsis judged where an operation or a message uses it.
pacto diff and pacto impact report more changes as BREAKING. A CI
job that gates on BREAKING can fail on a change it passed before. Each of
these was POTENTIAL_BREAKING or went unreported:
- In a response or an MCP
outputSchema, widening breaks: a newenumvalue oroneOfvariant, a looser limit, a droppedpattern, a widertype. - In a request body, a parameter or an MCP
inputSchema, narrowing breaks: a droppedenumvalue, a tighter limit, a newpattern. - An AsyncAPI message's
payloadandheadersschemas are records that old and new code read and write at once, so widening and narrowing both break there. Only a new optional property passes. Removing a payload property isBREAKING, as it already was from a response. A flipped operationaction, a 2.xpublish/subscribeflip and an operation linked to a different channel areBREAKING. Other edits to a channel or an operation, such as a binding, stayPOTENTIAL_BREAKING. - Inside an interface schema, an edit the rules cannot rank, such as a new
defaultor anything undernot, isBREAKING. - A change to a component, or to a path item, reached through
$refwas never reported. It is now judged in every position that uses it, and one change carries the worst grade, with a reason naming the component and its usages. - A top-level proto
enumis compared for the first time: a removed enum and a removed or renumbered value areBREAKING. An added value isPOTENTIAL_BREAKING, because the scan cannot tell whether the enum travels in a request or a response. An enum nested inside a message is still skipped.
Some changes grade lower than before. A $ref that points at a different
component is graded by the structural difference, so renaming a component
with identical content is no change. A remote ref, or one whose target is
missing, is POTENTIAL_BREAKING with a reason saying Pacto could not
resolve it, and so is a ref whose target goes away while its text stays the
same. A component nothing references is reported as NON_BREAKING. An
x- extension keyword inside an interface schema is POTENTIAL_BREAKING in
every position: tools read it, and Pacto cannot tell whether a change to one
reaches a reader of the data. The safe direction of each edit above is
NON_BREAKING, and so is a new optional property in a request or a
response. Documentation edits (description, title, summary, example,
examples, $comment, externalDocs, deprecated, tags) are NON_BREAKING
everywhere, configuration and policy schemas included.
- 039d160: pacto validate reports one PASS, FAIL or SKIP line per stage (load, lock,
structural, cross-field, policy, guarantees, readiness and closure), lists each error
under its stage with its file:line:column when it can be located (never
with --set or -f, which validate a merged document), and ends
with a Next: line naming the one command to run now. A failed
load or lock stage skips every stage after it, and a failed structural or
cross-field stage skips the stages after it up to policy. The guarantees,
readiness and closure stages run even when an earlier stage fails. The JSON output adds stages, next, file and each error's
line and column, and pacto_check returns the same stages, next and
locations. An unknown field or a mistyped enum value carries a did you mean
hint naming the closest valid one.
The text output of pacto validate now goes to stdout as one stream: the
error and warning lines moved there from stderr. The one-line failure summary
stays on stderr, and exit codes are unchanged.
4.2.0¶
Minor Changes¶
- 9d4ec34: Make Pacto easier for an agent to drive from the CLI help and the MCP tool text alone.
pacto impact has a new exit status. It now exits 2 when a breaking
change cannot be shown to be safe. A CI job that treated any non-zero exit as
a failure fails on these runs too; one that gates on deployed impact alone can
treat 2 as a pass.
pacto impact and the fleet tools no longer give answers that read as safe
when they are not.
pacto impactadds the new revision to the snapshot when no fleet source holds the changed service, so--local ./fleetwith only the consumers finds them instead of answering "No affected consumers".- Every impact answer ends in a release gate,
gateandgateReason, and the exit status follows it:0clear,1blocked (a breaking change reaches an incompatible consumer on a known target) and the new2unverified (a breaking change on a partial answer, or with consumers none of which is shown to be safe). A declared-only run of a breaking change with consumers now exits2instead of0. Thepacto_impactMCP tool, the dashboard's Change analysis view and the terminal UI show the same gate and its reason. - On a breaking change, a consumer whose range accepts the new version carries
a
note: the range match does not show that it avoids what the change removes. An open range such as>=1.0.0is named as open. - A declared dependency carries
rangeStatus(satisfied,unsatisfiedorunknown) besideresolved. A provider in the fleet at a version outside the range is reported bypacto fleet status,pacto_fleet_status,explainand the dashboard's attention list asDEPENDENCY_RANGE_UNSATISFIED, in the newout-of-rangecategory (--unsatisfied-ranges,unsatisfied_ranges). pacto_fleet_statuswith no category selected, including empty input, reports every category, aspacto fleet statusdoes. It returneditems: nullbefore.ownerhas one shape insearchandget, the contract's{team, dri, contacts}, and is left out when no contract declares one. A service read only from Kubernetes takes its owner from the operator'sstatus.contract.owner, where it was empty before.
Delivery plans are readable to an agent from the tools alone. The CLI and the MCP delivery tools now say the same thing. The operator's promoter shares this code, so its messages and the Rejected-plan behaviour change with it.
pacto delivery candidatesand thepacto_delivery_candidatestool list the versions a Stage may take, with their digests: what its candidate source offers thatpacto publishpublished. Thetoof plan and propose takes a version (3.0.0), a tag or a digest. A version or a tag must name exactly one candidate; Pacto refuses one that names none or several, or that it cannot match because a candidate cannot be read, and says why. A missingtosays where to find a valid value.- A plan carries
next: which teams must sign (and that their approval also meets a Stage's rule that a person approves every promote), that an agent cannot answer and the operation is then Held, and that an operation nobody decides before its approval deadline concludes Expired with nothing changed.pacto delivery get,pacto_delivery_getandpacto delivery explainsay what happens at the deadline of a held operation. - A plan predicted Rejected asks nobody anything, and its failing verdict says what to do first, such as promoting the version on the upstream Stage.
- The message for a consumer that must move first names the Stage to promote it on in plain words.
PlanStalenames the reason or the on-behalf-of person when a propose adds one the plan did not have, and otherwise lists what the intent digest binds instead of saying the Stage moved.
pacto init and pacto_create with pactify read more of a service into its
contract. The workload's environment, including the ConfigMaps it reads,
becomes a configuration schema with each value as its default. A URL in it
that names another service in the cluster becomes a dependency: with that
service's contract in --fleet, its bundle and a range from its version;
without it, a placeholder range that the contract comment and Unknown name. A
readiness, liveness or startup probe becomes a health check.
pacto init --describe-only (describe_only in pacto_create) writes a
contract that only describes the service: no publish section, no signing key
and no .pactoignore. Without it, init still writes the publish section and
now says how to leave it out.
pacto init, pacto_create and pacto_edit flag an owner written as
team/billing, and pacto_check suggests the pacto_edit call that writes
billing. pacto_check also explains how to declare a service of
your own whose contract is not published yet, so it shows as unresolved until it
is. The contract schema and the DEPENDENCY_REF_REQUIRED message say the same.
The MCP server instructions, pacto_schema and pacto --help now describe
what a contract holds and say delivery is opt-in, and pacto_schema returns
how to describe an AI agent as a service.
- 67de328: pacto validate --closure checks every contract in the dependency closure
against the policies the root contract resolves. A dependency that cannot be
resolved fails the run, and each finding names the dependency it came from.
Patch Changes¶
- 67de328: The dashboard delivery tab that lists Stages and its page are now named
Stages, as the glossary calls them. The URL
#/delivery/environmentsand the API path stay the same, so existing links keep working. - 67de328: Redeploy pacto.run/latest with the rewritten documentation: the front door, the comparison page, the delivery security model and the guide to generate contracts from what you already have. This changeset carries documentation only. This core patch is the release that redeploys pacto.run/latest.
- 67de328:
pacto initskips the files.pactoignorelists, and it no longer takes a Backstagecatalog-info.yamlor askaffold.yamlfor a Kubernetes manifest, so neither lands in themanifestsartifact Flux applies. - 67de328:
pacto initno longer reads a Helm chart's templates as Kubernetes manifests, so unrendered templates stay out of themanifestsartifact and never become the contract's workload. A chart'scrds/folder is skipped too, whether the chart sits in a subfolder or at the service root. Unknown names every chart found and says how to render it.
4.1.0¶
Minor Changes¶
- 407c06e: A dashboard people sign in to now reads delivery Stages and Operations from one shared cache, which its ServiceAccount lists and watches, instead of listing them again with every person's token. Each person sees only what their own RBAC allows: the dashboard asks the API server who their token is and, with a SubjectAccessReview, whether they may make the same list or get, keeping each answer 10 seconds; a list across every namespace needs a cluster-wide allow. Every action (propose, approve, cancel, roll back, unfreeze) and every read it is built on still uses the person's own token, and the dashboard reads with that token until the cache has loaded and for a moment after the person changes something. With 2,000 Stages and 10,000 Operations, fifty people opening the inbox at once wait about a second instead of 12. The operator grants the dashboard's ServiceAccount get, list and watch on Stages and Operations, nothing more in the delivery group, and holds that right itself while the dashboard is enabled.
- 407c06e: A shared dashboard can sign people in, and then shows nothing until they do.
pacto dashboardtakes an OpenID Connect issuer (--oidc-*, the client secret inPACTO_DASHBOARD_OIDC_CLIENT_SECRET), a private issuer CA (--oidc-ca-file), an internal issuer address (--oidc-internal-issuer-url), the API server's claim mapping, session lifetimes (--session-idle-timeout,--session-max-age) and--token-login, which takes a pasted Kubernetes token for clusters that trust no identity provider. The API server names each signed-in person (SelfSubjectReview), and every view and action runs with their token and RBAC./api/sessionsays who is signed in and how; every other endpoint answers401with the codeLoginRequireduntil they sign in. The header names who they are, and the sign-in button says Sign in with OIDC or names the provider (--oidc-display-name). A remotepacto mcpreads the same claim mapping flags and logs each caller as the mapping names them.
The pacto-operator chart gains dashboard.auth: oidc (issuerURL,
internalIssuerURL, caBundle, clientID, clientSecretRef, redirectURL,
extraScopes, displayName and the claim mapping usernameClaim,
usernamePrefix, groupsClaim, groupsPrefix), session (idleTimeout,
maxAge) and tokenLogin.enabled. See
Dashboard authentication.
- 407c06e: A dashboard people sign in to now shows each person only what Kubernetes RBAC
lets them read. A namespace's services, revisions, targets, edges and evidence
appear only if the person may list Pactos there, checked with a
SubjectAccessReview for their username and groups, as the API server names
them, and kept a minute. One filter covers every fleet view, counts, search, the graph, change
analysis and a remote pacto mcp --fleet with --auth-issuer. The dashboard
says when services are hidden without naming them, and a service page counts
the hidden services on each side. A service known only from a registry, with no
namespace, shows only to people who may list Pactos in every namespace. Local
and sign-in-free dashboards are unchanged.
The operator grants the dashboard's ServiceAccount create on
subjectaccessreviews and holds that right itself while the dashboard is enabled.
- 407c06e: Add Pacto delivery, the opt-in part of Pacto that decides which version each
environment runs and earns autonomy one confirmed level at a time, plus
pacto publish, contract format 2.1 and a pacto init that pactifies existing
services, one folder, several or a whole cluster. Nothing changes for a project that does not
use them, with one exception: a consumer on an older Pacto or operator cannot
read a provider's contract once the provider moves to format 2.1 (see below).
Delivery is Alpha. The new packages (pkg/delivery, pkg/publish,
pkg/signing, pkg/deliveryrecord and pkg/ocireferrer) are experimental and
not covered by semantic versioning, so their API may change in a minor release.
Pactify a service. pacto init [dir] now reads a folder that already holds
a service instead of failing. It fills in the contract from the Dockerfile and
Kubernetes manifests: name, version and registry from the workload and its
image, the owner from --owner or a team label, the interface from an
OpenAPI file and a publish section that builds the image and ships the
manifests with the workload's image swapped for the one each version builds,
pinned by digest in every manifest that runs it, so nobody raises the image tag by hand. A bare image name such as checkout, a Docker Hub official image, leaves the registry Unknown. On a folder whose own contract has no publish section, init says how to add one. Services the workload's environment points at are listed as
dependencies, commented out until you set the versions you accept; --fleet
<dir> also lists the services that declare this one. Anything it cannot tell
is reported as Unknown. A file holding Secret values, or a
kustomization with a secretGenerator, is never shipped. --delivery also
writes the cluster pieces: the Pacto resource and, for each environment
(--env, default test and prod), the Flux OCIRepository objects, a
Kustomization that waits for the rollout and the Stage. Every Stage starts on
observe and its OCIRepository stays pinned to the tag you deploy, so nothing
changes until a person raises it. The last environment's Stage asks a person
to approve every promote until you add a health check there and delete its
approval; --insecure-registry
marks those Flux objects for a plain-HTTP registry, --registry-secret <name>
gives them and the Pacto resource the login for a private registry
(secretRef and pullSecretRef) and --no-transparency-log
writes transparencyLog: false for a key whose signatures stay out of Rekor.
--plan prints exactly what would be added and writes nothing. pacto init only adds files and
missing .pactoignore lines, so running it twice is safe and it never
overwrites your edits. An empty folder still gets the blank contract. Agents get
the same through pacto_create with pactify: true (plus delivery,
registry, environments, fleet_roots, no_transparency_log,
insecure_registry, registry_secret and dry_run).
Pactify many services. pacto init takes several folders and ends with a
summary table. pacto init --cluster [--namespace <ns>]... --out <dir> drafts
a contract for every workload in the current kubeconfig context that no Pacto
describes, in <dir>/<namespace>/<name>. With the node agent running, the
services a workload was seen calling become dependencies pinned to the version
seen running (=2.3.0) for you to widen. Drafts are never published, and an
invalid one fails the command. pacto_create takes paths, cluster and
namespaces for the same.
Contract format 2.1. pactoVersion: "2.1" adds a publish section (the
contract bundle repository, the image, chart or manifests the service
publishes, how each is built and signed and the deploy artifact Flux applies),
a checks list of test and eval suites shipped in the bundle (Pacto only
hashes each one and takes a runner's verdict about that exact file), an mcp
interface type for the tools a service exposes and external: true on a
dependency this Pacto system does not deliver. An external dependency either
points at a contract and is compared by its range as usual, or has no ref
and names a free-text version that nothing can check, so anything relying on
it is Unknown. An AI agent is a normal service: tools as an mcp interface,
its model as an external dependency, its evals as a check. pacto diff
compares tools one by one and treats a new external version, and a suite
removed, moved or edited, as needing at least a minor. A 2.0 contract keeps
working unchanged; publish, checks, an external dependency or an mcp
interface in a 2.0 contract fails validation with
NEEDS_PACTO_2_1, which says to set pactoVersion: "2.1". Older Pacto
versions reject a 2.1 contract, and that reaches consumers too: once a provider
publishes a 2.1 bundle, a consumer whose Pacto or operator predates 2.1 fails to
resolve it as a dependency, though the consumer changed nothing. Upgrade the
consumers' Pacto and operator before a provider moves to 2.1.
pacto publish publishes what the contract declares as the version it
states. --plan shows, for every artifact, whether its tag is absent,
identical, adoptable, in conflict or unreadable and which checks refuse the
publish. A publish builds what is absent (docker buildx or a command writing
to $PACTO_OUT), pushes by digest with the version and the git commit (read
from .git, or --revision; it refuses a checkout with uncommitted changes
unless --revision names the revision), attaches the SBOM file the
build wrote (Pacto does not generate SBOMs), signs every digest and checks each new
signature against the configured identity before any tag is written. It never
overwrites a tag, so a second run changes nothing and a run that stopped
halfway finishes when run again from the same commit; a conflict says to publish
a higher service.version. The plan also opens the signer and checks for a
docker buildx builder and each build program, so a missing key or builder
refuses it before anything is pushed. pacto publish [dir] takes the
directory as init and validate do. It refuses a version too small for the
change: a breaking change needs a major (a minor before 1.0) and a change Pacto
cannot classify at least a minor. A refused publish is kept as a signed refusal
in the bundle repository. pacto diff reports the same requiredBump and
pacto validate refuses an sbom on a dockerfile build. --propose
<namespace>/<stage> hands the version to delivery. pacto mcp --publish adds
pacto_publish_plan and pacto_publish over stdio.
Signing. Pacto signs and verifies with sigstore-go and needs no cosign
binary; signatures are Sigstore bundle referrers that cosign verify and Flux's
spec.verify check. It signs with a key file (COSIGN_PASSWORD decrypts a
cosign key), keyless through public-good Fulcio and Rekor, or a cloud KMS key.
The KMS providers are optional: the default build leaves the AWS, GCP, Azure
and Vault SDKs out (the linux/amd64 binary drops from 75.3 MB to 64.3 MB), and
a KMS key in that build fails with an error naming the build to use (go
install -tags kms ..., or kms_aws, kms_gcp, kms_azure,
kms_hashivault).
Delivery. pkg/delivery holds the operations (delivery.pacto.trianalab.io/promote,
rollback, override, freeze, unfreeze, autonomy and acknowledge) and PlanFor, the one planning function
the promoter, the CLI, the MCP tools and the dashboard call. A promote is
refused as NotPublished unless pacto publish published it and Flux verified
its signature, or its upstream Stage verified and offered it. It then compares
the running contract with the new one and checks the new version against every
consumer's declared range. A consumer the change breaks holds it, asks only
that consumer's owners and says which service must move first and to which
verified version. Compatibility comes from each consumer's declared version
range; Pacto does not check which fields or endpoints a consumer uses. Anything Pacto cannot see holds the change
for a person to accept the unknown, a breaking change no contract depends on
included; Unknown never passes. Health checks keep
running after release: a mira provider judges the error ratio of the
service's traces, http is the plug-in format for any other tool, eval
runs one of the checks the version ships (the Stage check's suite names it,
and a version that does not ship it is held for a person), a verdict counting
only about that suite's sha256, and pacto.runtime fails a version the node agent
saw calling a service it never declared and passes only after a soak. A
workload the node agent saw calling a service with no contract of its own
counts as an unknown consumer: a breaking change waits for a person to accept
it or for that caller to get a contract, and the question prints the
pacto init --cluster command that drafts one; while the agent's view is
partial (for example a pod on the host network), every breaking change waits
the same way. The fleet snapshot lists these callers (uncontractedCallers).
A confirmed failure rolls
back once, then freezes the Stage.
Every operation that ends becomes a signed record: an in-toto statement in a
Sigstore bundle, chained per Stage and verifiable with standard Sigstore tools
without Pacto, against a trust config that says which keys may sign which
streams. pkg/signing and pkg/ocireferrer are the shared signing and
referrer-write paths; the Evidence Server uses the latter.
pacto delivery types, describe, plan, propose, get, cancel,
approve, explain, history, blame, undo and record verify drive and
read delivery over the ambient cluster. approve records only a decision the
promoter would count, or it says why not; where the Stage asks for a recent
sign-in, it logs the person in again in the browser and records the decision
with that login alone, trusting a private issuer CA with --oidc-ca-file. plan gathers
its input as the promoter does, so it predicts what the promoter will do. history and record verify read the
signed records, say asOf, source and completeness and list forks, gaps
and anything unreadable; --all walks every Stage you can list. pacto mcp
--delivery serves the read tools to anyone and propose and cancel only to
agents; there is no approve tool. Over HTTP, pacto mcp verifies a bearer
token on every request (--auth-issuer, --resource, --audience) and
exchanges it for one the apiserver accepts, so each caller acts as itself.
The autonomy ladder. Each Stage is on one level: observe plans every
new version and moves nothing, recording what it would have done; advise
ships only what a person asked for or approved; auto-nonbreaking promotes
non-breaking changes on its own; autonomous promotes any change the graph
clears. An autonomy operation moves a Stage one level: lowering needs nobody
(an agent never lowers to observe), raising needs a person of the running
service's team other than whoever asked, leaving observe needs the applyRef
labelled and an observed digest, and an automatic level needs the recorder, so
every grant of autonomy is a signed record. Pacto proposes the next level once
a Stage earned it (10 verified changes by default) and lists what blocks it;
a raise it has not proposed asks the approver to accept the unknown. When a
version Pacto shipped on its own fails and rolls back, the promoter lowers the
Stage one level; an Unknown never does. pacto delivery propose --type
autonomy --to <level> asks for a move.
Dashboard. pacto dashboard gains a Delivery tab for signed-in people
(--delivery-namespace, --delivery-trust, --mira-url): an inbox of what waits on your teams, an environments board, a
page per change with its plan, verdicts and proof, history with blame and undo,
published versions with recent refused publishes and a path to autonomy: each
Stage's level, what Pacto would have done on observe, the next proposal and
what blocks it, with the command that fixes each blocker. Promote, roll back,
unfreeze, cancel and decisions run there under the person's own token. A
decision needs membership of a team the question names and is never taken
from an agent or a pasted token; the dashboard offers and records only a
decision the promoter would count. Where the Stage asks for a recent sign-in,
the dashboard says when a person's sign-in is too old, asks in a dialog to
sign in again and keeps their choice and note for one more click, and says up
front when a cluster reports no login time, so nobody can approve there.
The dashboard also takes a new look: serif titles and numbers,
a grouped data-sources menu and labelled status bars.
Demos. The browser demo plays the payments story from examples/story on
Pacto's own code over fixed data and labels it simulated; the story now starts
fraud on observe and adds the advise raise and the automatic step-down; its Wasm is about
4 MB to download. The Compose demo has no cluster or sign-in, so it shows no
Delivery tab; it now shows pacto diff and pacto init --plan.
Behaviour change: pacto push fails on a conflicting reference. Before,
pushing to a reference that already held a bundle printed a warning, wrote
nothing and exited 0, whatever the bundle held. Now different content under an
existing reference exits non-zero, so a script that relied on the old exit
status fails; pass --force to overwrite the reference instead. The same
content pushed again still exits 0 and writes nothing.
New direct dependencies: github.com/coreos/go-oidc/v3 (dashboard
sign-in), github.com/sigstore/sigstore-go, github.com/sigstore/sigstore,
github.com/sigstore/protobuf-specs, github.com/theupdateframework/go-tuf/v2,
github.com/go-jose/go-jose/v4 and github.com/digitorus/timestamp (signing
and verifying without cosign), and golang.org/x/oauth2 and
google.golang.org/protobuf (once indirect, now direct). The four
github.com/sigstore/sigstore/pkg/signature/kms/{aws,azure,gcp,hashivault}
modules pull in the AWS, Azure, Google Cloud and Vault SDKs; they are linked
only into builds with -tags kms (or kms_aws and the like), which the
pacto-delivery image uses and the default pacto CLI does not. Together they
add about 100 indirect modules.
Patch Changes¶
- 9d96a75: Update the dashboard frontend's dependencies. The bundle the
pactobinary and the dashboard image serve moves to Mermaid 12.2, Cytoscape 3.34.4, cytoscape-dagre 4.0.1, Marked 18.1 and Svelte 5.57. Mermaid 12 lays diagrams out with ELK and draws them in its newneolook by default, so bundle docs keep the dagre layout and classic look they had before.
The dashboard's accessible names now begin with the visible text of the control (the navbar search, the graph's Reset layout button and the change count in delivery history), as WCAG 2.5.3 asks and axe-core 4.14 checks.
Build and test tooling moves to Playwright 1.64, axe-core 4.14, jsdom 30,
svelte-check 4.7, the Svelte Vite plugin 7.3 and mermaid-cli 12. TypeScript stays
on 5.9: svelte-check and openapi-typescript do not support TypeScript 7 yet.
- 9f5f638: Update github.com/go-jose/go-jose/v4 to v4.1.6 to fix CVE-2026-116587, a
denial of service when parsing JWKs that contain RSA keys. It reaches the
pacto binary and the operator through OIDC sign-in and Sigstore signing.
golang.org/x/net moves to v0.62.0 (GO-2026-6860, GO-2026-6866) and the
operator's github.com/google/cel-go to v0.30.0 (GO-2026-6094). govulncheck
finds none of the three reachable, so this is hygiene rather than an exposure fix.
The dashboard frontend's dependencies are updated too, which fixes the known
advisories in the bundle the pacto binary and the dashboard image serve:
DOMPurify 3.4.17, KaTeX 0.18 (used by Mermaid diagrams), devalue 5.9.4 and
source-map-js 1.2.2. The build and test tooling moves to Vite 8.3 and Vitest
4.1.12.
4.0.0¶
Major Changes¶
- 9b84eda: Fixes from a whole-repo architecture review, and the breaking cleanups of the v4 major: camelCase JSON everywhere, the deprecated v3 API removed and a few APIs reshaped. Every breaking change is listed under Breaking changes with its migration.
Behaviour changes
- An
extensioncapability no longer keeps a contract at Unknown forever. Pacto has no evaluator for one, sovalidation.Evaluatenow lists it inCoverage.Unverifiedascapabilities[ref=<ref>]instead of counting it as a required assertion and emittingEXTENSION_EVALUATOR_UNAVAILABLE. A contract declaring an extension can reach Compliant; that verdict says nothing about the extension. The code is removed (see below). - An evidence observation with outcome
Observedmust carry every verdict-bearing payload key for its kind (present,type,reachableordurable, plusconformantfor a present configuration). A missing ornullkey used to decode tofalseand read as a confirmed violation; it is now rejected. The payloads Pacto's own producers emit always carry these keys. PACTO_NO_ANIMandPACTO_NO_UPDATE_CHECKshare one parser: Go's boolean spellings, with any other non-empty value read as set.PACTO_NO_ANIM=0orfalsenow leaves animations on, andPACTO_NO_UPDATE_CHECK=truenow disables the update check.1works as before.
Fixes
- MCP
pacto_checkruns the same validation path aspacto validate, includingpacto.lockverification, so a drifted lockfile no longer passes. - MCP
pacto_edit add_config_propertieswrites the properties into the first configuration's schema file, merging with what is there, instead of declaring a configuration and dropping them. Edited files are written through a uniquely named temporary file that keeps the target's permissions. pacto agent --docker-label-filter key=value(repeatable) narrows--dockerto containers carrying every given label, so one agent on a shared daemon can keep to one Compose project. The Compose demo now does.- Evidence ingestion keys a record's domain by the same rule the fleet sources
use (
contract.OCIDomain), and keeps the evidence validation detail in the server log. Sending evidence uses a client with a timeout and a bounded response read. - Free text in
pacto doctables escapes|and folds line breaks. - The CLI reference now states that
PACTO_INSECURE_REGISTRIESapplies to every registry access and that an unknown--output-formatis rejected.
API additions
contract.OCIScheme,TrimOCIScheme,SplitOCIDigest,SplitOCITag,SplitOCIRefandOCIDomain: one lenient set of reference helpers, now used everywhere Pacto split references by hand.contract.DocsDirandcontract.WalkDocs,lock.ReadFSandcapability.ToolsForContract: the bundle readers the fleet, the offline view and MCP share.finding.Registryreturns every registry row;fleet.Paginateandfleet.Pagepage a sorted list;fleet.AttentionCategoriesListreturns the attention order as a copy;fleet.SourceKindKubernetesnames the Kubernetes source kind.
Breaking changes
- The Go module path becomes
github.com/trianalab/pacto/v4(was.../v3). Update every import, and install the CLI withgo install github.com/trianalab/pacto/v4/cmd/pacto@latest. - camelCase JSON.
finding.Finding,finding.SubjectRefandfinding.EvidenceRef(code,severity,category,subject.kind,contractPath,message,evidenceRefs[].source…),readiness.Resultandreadiness.CheckResult(score,minScore,checks[].id…),contract.ValidationError/ValidationWarning,validation.ValidationResultand the--output-format jsonofpacto init,validate,pack,pullandpush(dir,path,valid,errors,name,version,ref,digest) were PascalCase on the wire. That reachespacto agentandpacto runoutput, MCP answers, the dashboard/api/fleet/*answers and the Evidence Server's records and target projection. Migration: read the camelCase keys. Evidence records already stored in a registry and answers from an older Evidence Server still decode, because the decoder matches keys without regard to case. The evidence envelope (pacto.dev/evidence/v1) is a versioned protocol and does not change. pkg/dashboard.Servertakes an options struct.NewServer(dashboard.Options{UI, Host, Port, Version, CORSOrigin, Logger, Fleet, Impact, Refresh})andServe(ctx)replaceNewServer(ui), the seven setters (SetFleetProvider,SetImpactProvider,SetFleetRefresher,SetListenAddr,SetVersion,SetCORSOrigin,SetLogger) andServe(ctx, port, host...). The OpenAPI server URL is derived fromHostandPort.- Fleet HTTP filters are enums.
statuson/api/fleet/services,/api/fleet/entitiesand/api/fleet/attentionaccepts only the seven compliance states, andkindson/api/fleet/entitiesis a comma-separated list ofservice,revision,target,ownerandsourcechecked item by item. An unknown value or an empty item (a trailing comma) is answered with 422 naming the parameter (query.kinds[1]). Migration: send only listed values and no empty items. /api/sourcesreports Kubernetes askubernetes, the fleet source kind, instead ofk8s. The dashboard's source pill follows.- Product impact moved to
pkg/impact.impact.Product,impact.ProductConsumer,impact.ConsumersPage,impact.TallyBucket,impact.ProductChange,impact.ChangesPreview,impact.ProductRevisions,impact.ImmutableRefandimpact.BuildProducthold the route-neutral logic;dashboard.ProductImpactembedsimpact.Productand adds hrefs. Gone frompkg/dashboard:ProductChange,ProductChangesPreview,ProductRefsPreview(owners and active targets areProductRefPreview),ImpactTallyBucketand theMaxImpact*,DefaultImpactConsumersandMaxChangeValueRunesconstants (nowimpact.MaxProduct*,impact.DefaultProductConsumersandimpact.MaxChangeValueRunes). The JSON field names ofPOST /api/fleet/impactdo not change; three OpenAPI component names do (Impact.ChangesPreview,Impact.ProductChange,Impact.TallyBucket). - MCP
pacto_createno longer infersstatefrom the description. Words such as postgres, db, redis, cache, persistent or "stores data" used to make the contract stateful; a runtime that disagrees is now a confirmed contradiction, so a guess would turn into a false violation. Migration: passstores_data,data_survives_restartanddata_shared_across_instanceswhen the service keeps state. Without them the contract is stateless. - Removed deprecated API.
pkg/finding:CategoryInterfaceMismatch;CodeExtensionEvaluatorUnavailableand its registry row (a stored finding with that code no longer has a category); the retiredCodeInvalidInterfaceType,CodeInterfaceRefRequired,CodeInvalidCapabilityType,CodeCapabilityRefRequiredandCodeUnsupportedPolicyTarget(all reported asCodeSchemaViolation);DefaultSeverity(useSeverityFor(code, true)).pkg/fleet:BuildOptions.AllowPartial(useDisallowPartial),AttentionCategories(useAttentionCategoriesList()),ParseTargetKey,IsDigestPinnedRef(useParseCanonicalOCIReforClassifyContentIdentity),FleetSnapshot.ObservedDependentsandObservedDependencies(use the query neighborhood),MemorySource.WithCollectFunc,ProductSeverityUnknown(useProductSeverity(finding.SeverityUnknown)),LimitationRevisionConflictandLimitationRevisionContentMutable(nothing emitted them).pkg/contractview:LookupValidation,ValidationCatalogEntry,NormalizeContractStatus, theCondition,EndpointStatus,ResourcesInfo,PortsInfo,ChecksSummary,ComplianceCountsandSectionInfotypes, theSection*andVersionPolicy*constants and theServiceDetailsfields nothing populated (Endpoints,Conditions,ChecksSummary,Resources,Ports,RuntimeEvaluated,SectionMeta,VersionPolicy,LatestAvailable,UpdateAvailable).ComputeCompliancetakes only the contract status, andComplianceInfocarries onlystatus.pkg/dashboard: the forwardersServiceFromContract,ServiceDetailsFromBundle,GlobalGraphFromResult,NormalizeContractStatus,ComputeCompliance,LookupValidationandApplyLock(callpkg/contractview), the inertComputeDiff,DiffResultFromEngine,GraphFromResultandComputeRuntimeDiff(calldiff.Compareandcontractview.GlobalGraphFromResult) and the aliases of the removed contract-view types and constants.pkg/oci:WithNameOptions(useWithInsecureRegistries);LocalOnly,RemoteAllowedand theResolveModetype, soResolver.Resolve,ResolveConstrainedandResolvePinneddrop their mode argument;CachedStore.PullCachedandPullCachedPinned(usePullandPullPinned);ReadCachedRef(useReadCacheEntry);Resolver.ListVersionsandFetchAllVersions(useBundleStore.ListTagswithFilterSemverTags);ExportedUserHomeDirFnandSetUserHomeDirFn(uset.Setenv("HOME", dir)).pkg/evidenceingest:SourceandNewSource(read the evidence-source HTTP projection atTargetsPath),MemoryStore,NewMemoryStoreand theonAcceptargument ofNewHandler(wrapStore.Committo observe accepts).graph.RenderTree(useRenderTreeColored(r, graph.TreeColors{})),sbom.HasSBOM(checkParseFromFSfor a nil document),otelobserver.Observe(useParseTraces,DependencyEdgesandEvidenceSets),semver.LessDesc(useCompare) andcatalog.ContentID.Zero(compare withcatalog.ContentID{}).
API additions in v4
runtimefacts.CollectorKubernetes,CollectorKubernetesKernelandCollectorKernelname the Kubernetes collectors; the operator uses them andgo run ./cmd/gendocs registrypublishes them.- 9b84eda: Judge more of the contract at runtime, without turning an inability to observe into a violation.
Evidence payloads gain facts a producer may report: InterfaceObservation
carries protocol (http1, http2, tls, other) and exposure
(external, cluster), DependencyObservation carries the provider's
version and undeclared and PersistenceObservation carries shared. All
are omitempty, so a producer that does not set them emits the same JSON as
before.
validation.Evaluate checks them as facets of an observed assertion:
INTERFACE_PROTOCOL_MISMATCH—openapianswering neither HTTP/1 nor HTTP/2, orgrpcanswering anything but HTTP/2.INTERFACE_VISIBILITY_MISMATCH— aninternalinterface (the schema default, now applied whenvisibilityis omitted) exposed outside the cluster.DEPENDENCY_VERSION_MISMATCH— the provider's version outsidecompatibility; an error for a required dependency, a warning for an optional one.PERSISTENCE_MISMATCHnow also coverslocalscope with storage shared between replicas.DEPENDENCY_UNDECLARED— a reachable peer no dependency declares; always a warning, because a contract does not claim its dependency list is complete.
A facet with no usable fact is listed in the new Coverage.Unverified and never
changes the status. Every finding's EvidenceRef now names the collector and
detectedAt of the observation it came from.
pkg/validation/schema/field-coverage.yaml inventories every schema path and
runtime-relevant enum value with its runtime class, evidence, rule, outcomes,
limitations and tests; a test fails when the schema and the inventory disagree.
Every runtime-checked field also says how far each way of running runtime
conformance verifies it (platforms: kubernetes, agent, run, each
verified, partial or unverified with a reason and its tests).
New pacto agent command (Linux): a host daemon that watches TCP listeners and
connection outcomes with eBPF and attributes each socket to the workload whose
cgroup created it (a Kubernetes pod, a container, a systemd unit or a
pacto-run-<n> session), falling back to its network namespace when the cgroup
names none. --sink stdout prints one JSON snapshot per line; --sink
kubernetes writes the node's NodeRuntimeObservation and is what the
operator's node agent DaemonSet runs. Attribution reads the socket's cgroup id
in the kernel, so on cgroup v2 workloads that share the host's network (systemd
units, host-network containers) are told apart too.
--sink local and --sink evidence check workloads against their contracts on
the host itself. Workloads come from --bindings (a YAML list of match
(unit, container, cgroup, session or pid), contract, host,
interfaces and dependencies) and, with --docker, from running containers
labelled dev.pacto.contract, dev.pacto.bind.<interface> and
dev.pacto.dep.<dependency>. Interfaces and dependencies are judged from the
kernel, health and metrics capabilities and (with --enable-probing) the
interface protocol by probing the bound port. local prints every workload's
compliance each round; evidence signs each workload's evidence and sends it
to an Evidence Server, which needs contracts pinned by digest. Exposure,
provider version and persistence scope have no source off Kubernetes and stay
unverified; a declared workload, persistent durability or required
configuration reads EVIDENCE_MISSING. A workload that reaches another
checked workload its contract does not declare reports DEPENDENCY_UNDECLARED
named by that workload's contract service, with the operator's suppression
rule. A bindings-file workload starts with its oldest process, so earlier
connections are ignored. An agent off the host's network reports probes of
loopback-bound workloads unsupported, with a note, instead of probing its own
loopback.
New pacto run --contract <dir|oci ref> [--bind iface=port] [--dep name=host:port]
-- command: runs one command and checks its process tree against the contract
while it runs, printing a round every --interval and a final one after the
command exits, then exits with the command's exit code (--fail-on
noncompliant|unknown turns a bad final verdict into exit 1). With the
privileges for it on Linux the command starts in its own cgroup and is observed
with eBPF (collector pacto-run+ebpf); otherwise it falls back to polling
/proc, says so, and never reports a dependency unreachable because it cannot
see a failed connection (collector pacto-run); it falls back the same way
when the program attached but the command cannot start in the cgroup. The
command runs in a process group of its own: on a terminal pacto run owns, the
group takes the terminal over, otherwise SIGINT and SIGTERM are passed on to the
whole group, so a Ctrl-C reaches it once. Elsewhere the command runs
unobserved and every runtime assertion is unsupported. The command's stdin,
stdout and stderr stay its own: rounds go to stderr, or with --report <file>
to a file, one whole round per write. --evidence-* signs and sends every
round to an Evidence Server.
New public packages: pkg/runtimefacts, the platform-neutral runtime snapshot,
workload bindings and the verdicts that turn them into observations (the
operator now uses them too), and pkg/probe, the SSRF-safe HTTP health,
metrics and protocol probes, moved out of the operator.
3.3.6¶
Patch Changes¶
- 79de1ba: This week's dependency bumps in one go:
bubbletea2.0.10 → 2.1.0 andx/sync0.23.0 → 0.24.0 in the engine, OpenTelemetry 1.46.0 → 1.47.0 (and the Prometheus exporter 0.68.0 → 0.69.0) in the operator module. No source changes.
Go goes 1.26.6 → 1.26.9 and x/net 0.59.0 → 0.60.0 in both modules, because
govulncheck flagged reachable net/http and x/net/http2 vulns
(GO-2026-6607 to GO-2026-6617) and wouldn't let any of the bot's PRs through.
Both shipped binaries were exposed, so it's worth the patch release.
3.3.5¶
Patch Changes¶
- 1ee5a37: Retitle the homepage section that compared Pacto to a service catalog, and fix four dead links.
"What a service catalog does not do" headed a section on both the README and
the homepage without anything setting the comparison up — neither page mentions
a catalog before it — and the section then did not describe catalogs. What
follows it is a worked pacto impact run answering which consumers a major
version bump breaks, so the heading now says that. The comparison keeps the two
places that have the context for it: the "What Pacto is not" list in the model,
and the comparison table in the README.
Four links were dead. The operator chart's README pointed at an
api-reference.md that exists nowhere in the repo, which mattered because that
README is the package description on Artifact Hub; it now points at the CRD
reference page. Two links named a pacto-dashboard repository that does not
exist. The Cosign overview and the Kubernetes resource-quantity pages had both
moved. Nothing checked any of them: docs_lint.check_links walks root-level
Markdown only, and mkdocs validates only what it builds.
3.3.4¶
Patch Changes¶
- ae1c923: Rebuild the documentation around what a reader is trying to do, and cut it in half.
The site used to be organised by subsystem, so finding out what Pacto does meant reading about how it is built. Twelve top-level navigation sections are now eight: the homepage, the changelog and the six a reader moves through in order — Try it, Get started, Guides, How Pacto decides, Reference, Integrations. Concepts and the operational graph merged into How Pacto decides, patterns moved under Guides, examples split across the two entry sections and Project internals left the site altogether.
Someone who lands on the homepage can open the live dashboard demo without installing anything, and the quickstart that follows reaches a validated contract, a breaking change and the list of affected consumers entirely on a local filesystem. Publishing to a registry moved to the end of that page as an optional step, because it was the first thing standing between a new reader and a result. Committing the contract to a repository is now its own short page, CI integration, rather than a section buried in installation.
Twenty-eight pages are gone. Most of what they said lives on the page that already owned the subject; nothing was silently dropped:
- Seven concept and graph pages — concepts, concept boundaries, collectors, observation sources, fleet queries, fleet sources and impact surfaces — are now sections of the model, the operational graph, impact analysis and fleet tools.
- Six pattern pages are one page, composition patterns, and the developer and platform-engineer guides no longer restate those patterns.
- Three evidence pages — the OCI storage layout, the protocol and the security model — are one page, evidence.
- Three MCP pages — agent capabilities, authoring tools and catalog discovery — are folded into AI assistants (MCP), and the per-tool argument tables moved to the CLI reference alongside the commands.
- The separate agent walkthrough is folded back into the guided tour, which now covers both ways through the demo in one pass.
- The architecture, tooling-architecture, release and testing pages were never
for site readers. They are contributor documentation and now sit in
ARCHITECTURE.md,CONTRIBUTING.mdandrelease/README.mdin the repository, next to the code they describe. - The dashboard-architecture and compliance-scenario pages are removed, not
moved.
ARCHITECTURE.mdcarries one short dashboard section, not the fourteen the old page had, and the scenario-to-proof map is gone.
The corpus falls from 71 pages to 47 and from 101,000 words to 57,000 — -43% measured over everything a page contains, -47% measured over running prose alone. The surviving pages are shorter as well, because most of what came out was the same thing said on three pages.
This repository has no mkdocs-redirects, so every one of those twenty-eight
URLs is permanently dead, as is any bookmark to a heading that moved onto a
different page. Readiness is the one most likely to be linked: it was a section
of the contract reference and is now a page of its
own, so
contract-reference/#readiness no longer resolves to anything. If you have
linked to a Pacto documentation page from a runbook or a wiki, this release is
the one that breaks it. mike keeps prior versions live at their own URL
prefixes, which is the only mitigation there is: every version deploys under
its own number, so a bookmark to pacto.run/latest/collectors/ still resolves
at pacto.run/3.3.3/collectors/. The list above is the map from what was
removed to the page that now carries it.
Three claims the documentation used to make are now rejected by the linter. Vale gained tokens for "policy enforcement" and "enforcement layer" — Pacto checks policy, it does not act on a live system, and the layer that does the checking is named "Policy checks" — and for "blast radius", which is borrowed jargon for something the tools report precisely as the consumers a change affects. Three more tokens catch prose habits rather than claims: "leverage" is always "use" here, "load-bearing" never named what it held up, and an opening that announces the page instead of starting it is now a lint error. The disclaimers that say what Pacto is not are deliberately still allowed to use the words they disclaim, and the finding codes consumers branch on are not claims either, so no token matches them.
3.3.3¶
Patch Changes¶
- fa6d27a: Take the week's dependency bumps in one go:
modelcontextprotocol/go-sdk1.7.0 → 1.8.0 in the engine, andcontroller-runtime0.25.0 → 0.25.1,ginkgo2.32.2 → 2.33.0 andgomega1.43.0 → 1.43.1 in the operator module. No source changes — all four are drop-in.
Dependabot also learns to group: Kubernetes libraries move as one train because client-go, apimachinery and controller-runtime pass each other's types, Charm moves as one because bubbletea, bubbles and lipgloss share the v2 renderer, everything else minor-or-patch lands in a single weekly PR. Five open PRs for one afternoon of bumps is how a bot teaches you to stop reading it.
3.3.2¶
Patch Changes¶
- 12b7c03: Gate the documentation deterministically, and cut the corpus to fit the gate.
make docs-lint is a new leg of make docs-check, so CI and a laptop run the
identical command. Three tools, three concerns, no overlap — a rule has exactly
one home:
- markdownlint (
.markdownlint-cli2.jsonc) owns Markdown syntax. - Vale (
.vale.ini,.vale/styles/Pacto/) owns prose: marketing language, buzzwords, filler, weasel words, unsupported claims and the terminology this project has already settled on. release/scripts/docs_lint.pyowns structure: 1200 prose words per page, 250 per section, headings no deeper than####.
No model is involved in any of it. The same input always produces the same verdict, which is the point — a documentation rule nobody can forget is worth more than one every contributor is asked to remember. Both linters are pinned by version and neither is vendored; a missing tool is a hard failure, never a silent skip.
The word budgets count running prose only. Front matter, HTML comments, fenced
code (including mermaid), tables and lists are exempt by design: what makes a
section unreadable is unbroken running text, and a table or a bulleted
reference list is already broken up. Counting them punished pages for being
reference pages. docs_lint.py self-tests the counter on every run, because a
counter that quietly stops counting reads exactly like a corpus in good shape.
Scope lives in one place — scope() hands both external tools an explicit file
list rather than a glob, covering the published site, each integration's
hand-written docs and the root Markdown a reader meets on GitHub. Generated
pages are out: docs/cli-reference.md and the per-integration generated/
trees are already drift-gated against their real sources, and prose rules would
only fight the generator.
A fourth leg resolves the links and anchors in the root Markdown files.
mkdocs build --strict already validates everything inside docs/, and the
integration hook copies integrations/*/docs into it, so those were covered;
the six files at the repository root were outside docs_dir and gated by
nothing.
Eleven pages were split into twenty-seven to fit the page budget —
architecture, concepts, contract-reference/sections, impact, mcp-integration,
operational-graph, platform-engineers, the demo tour, the release and testing
pages under maintainers/, and the Kubernetes installation page. Each split
promoted its extracted sections to a new page, added the mkdocs.yml nav entry
and rewrote every inbound link. Everything else came off by deleting prose, not
by moving it.
Eleven pages were removed and what they said survives on the page that already owned the subject. The eight one-contract example stubs are now sections of Example contracts; the ingestion endpoints are a section of evidence tooling, ingestion and security; override files are a section of configurations as composable claims; and the developer day-to-day page repeated the contract reference, the breaking-change section of the platform-engineer guide and the MCP page, so it is gone and the three links point at those.
This repository has no mkdocs-redirects, so a page that was removed and a
heading that moved to a new page are both permanently dead deep links for
anyone who bookmarked them. mike keeps prior versions live at their own URL
prefixes, and each origin page names where its content went.
3.3.1¶
Patch Changes¶
- 36e2ef2: Stop the OCI bundle cache from reporting a failure when a concurrent pull of the same reference commits first.
A cache entry is built in a staging directory and swapped into place with one
rename, so a reader sees a whole entry or none. Two pulls of the same reference
aim at the same destination, though, and nothing serializes them — the second
pull is usually a second pacto process sharing one cache directory. Both clear
the destination, one rename lands, and the loser's fails onto the winner's fresh
entry with directory not empty.
Nothing was wrong: the entry the losing pull set out to write was on disk, put
there whole by the other one. But the loser reported the rename error, and the
caller logs it, so a healthy parallel pull told the user could not cache the
pulled bundle. The commit now asks the filesystem what is actually there and
treats a lost race as the success it was.
3.3.0¶
Minor Changes¶
- 771574b: Add
--roottopacto fleet,pacto tuiandpacto impact: a contract root whose whole dependency closure joins the snapshot.
Every other definition source stops at what someone remembered to list. --local
scans a directory and finds the bundles that happen to be in it; --oci pulls
exactly the references you typed. So a bundle declaring a dependency on
oci://ghcr.io/acme/payments:2.1.0 left a dangling edge unless you also passed
that reference yourself — and the graph reported a service with no dependents
when the truth was that nobody had looked.
--root resolves the root you name and then follows its declarations,
transitively, the way pacto mcp --root already did. It is the same discovery
through the same resolver, so a catalog session and a fleet snapshot cannot
disagree about what a reference means. Roots and dependencies that fail to
resolve stay visible as limitations rather than vanishing, so a short closure is
never served as a whole one.
pacto fleet graph payments --root ./orders # follows orders' declarations
pacto tui --root oci://ghcr.io/acme/platform:1.4.0 # the whole platform closure
On pacto mcp, --root keeps its existing meaning — it selects the read-only
catalog server, and stays mutually exclusive with --fleet.
Fixes a related identity bug this exposed: --local hashed the raw directory
while the lockfile, the catalog and a pushed artifact all hash the packaged
file set. One developer's stray .DS_Store was therefore enough to make the same
bundle look like two different revisions of one service at one version — a
content conflict reported against a fleet where nothing had changed. Local
revisions now hash the .pactoignore-filtered file set, like everywhere else.
- 771574b: Fix two ways a fleet snapshot could report itself healthier than it was, and
report a contested lockfile instead of silently dropping its pins.
A source that dropped or invalidated a record used to keep saying it was
available, and the snapshot kept calling itself complete. The two halves of
one collection were graded differently: a deployment target kept after one bad
enum value was normalized marked its source partial, while a revision discarded
outright — no immutable digest and a bundle that could not be hashed — left the
source looking fully read, even as the snapshot's own limitations said a record
was missing. Both now count. If a source could not deliver a record, every
answer drawn from it carries the incomplete-knowledge envelope that fact
deserves, so an absent service is never read as proof the service does not
exist.
Two sources that disagree about one revision's pacto.lock are now reported
with a new REVISION_LOCK_CONFLICT limitation. A lock decides which bundle a
declared dependency or reference actually resolves to, and the same revision can
reach a snapshot from a registry and from a working copy with different lock
bytes. Serving whichever arrived first would let source completion order change
the resolved graph under an unchanged snapshot ID, so the pins are discarded —
and the reference detail now says they were discarded because contributors
disagreed, rather than reporting that the lockfile recorded no resolution at
all. That distinction matters: the old wording sent operators off to re-run
pacto lock, regenerate identical pins and watch nothing change. Locks are
compared on the resolutions they record, so two contributors who produced
byte-identical pins on different Pacto releases still agree.
Two limitation codes are deprecated and no longer emitted by anything.
REVISION_CONTENT_CONFLICT described two sources pinning one revision key to
different contract bodies, which a content-addressed key rules out; the real
disagreements it stood for are REVISION_DOCUMENT_CONFLICT and the new
REVISION_LOCK_CONFLICT. REVISION_CONTENT_MUTABLE described a revision
resolved through a tag or a path, which REVISION_IDENTITY_UNRESOLVED already
says at the point the identity is derived. Both Go constants remain exported
through v3 so existing code keeps compiling, and both are removed at v4.
- 771574b: Stop a warm OCI cache from answering for a registry it has not checked, and make
--no-cache mean the same thing everywhere.
A cached tag is revalidated before it is served. A digest names its own bytes,
so an entry written under one can never go stale. A tag is mutable: the disk entry
records what the tag pointed at when some earlier process wrote it, and re-pushing
the tag left the cache handing back the old artifact under the new name. That is
worse than stale — it is what disarmed pacto lock, whose whole job is to notice
a dependency's bytes changing under a fixed reference. A developer with a warm
cache got "no drift" on a dependency that had been republished.
PullPinned now resolves the tag's current digest before serving a disk entry.
It costs one manifest lookup and re-downloads nothing when the tag has not moved.
A registry that cannot be reached is not evidence that it did, so the entry is
still served and an offline reader keeps reading the cache. Only the disk leg
asks: an in-memory hit was put there by this same process, which already observed
the registry for that reference, so one command still resolves one tag to one
artifact. pacto pull --local-only and the other offline readers are untouched
and still never contact a registry.
--no-cache now reaches the fleet sources, and says so when it cannot help.
The flag was read straight off the command line by pacto fleet, pacto tui and
pacto impact, so setting it through PACTO_NO_CACHE or through no-cache: true
in the config file disabled the bundle store's cache but left the cached-bundle
fleet source running — the disk cache the caller asked to ignore still contributed
services to the snapshot. The resolved decision is now written back onto the flag,
so all three spellings mean one thing.
And a bundle store with no cache to disable is now an error rather than a silent
no-op. Proceeding quietly ran the whole command against the very cache the caller
asked it to ignore, and reported success.
- 771574b: Resolve a dependency from the contract that declared it, grade every interface
difference from one table, and stop pacto login from failing open.
Relative dependency references now resolve against their declarer. The graph
resolver built one base directory from the root and used it at every depth, so
./b written by a bundle one level down pointed at the root's sibling rather
than at its own. A root pulled from a registry got no directory at all, so its
relative references resolved against the process working directory — a remote
contract choosing which local files Pacto reads. A local reference declared
inside a registry bundle now fails closed, under the same rule the catalog
resolver already applied. graph.OriginContractFetcher is the additive port that
carries the declaring origin; a plain ContractFetcher still resolves exactly
the graph it always did.
Node identity moves with it. Two contracts in different directories can both
declare ./shared and mean different bundles, and two can declare one registry
reference under ^1.0.0 and ^2.0.0 and mean different versions. The visited
map is keyed on the declaring base, the reference and the constraint, so those no
longer collapse into a single node with the second declaration discarded.
pacto login no longer fails open on a config it cannot read. It treated an
unreadable credentials file as an empty one and rewrote from a zero value, so a
transient permission or I/O error deleted every other stored credential and
reported success. pacto logout failed closed on the identical condition and
skipped the chmod login applied. Both go through oci.SetCredential and
oci.RemoveCredential now — new writers beside the reader that already owned the
format — with one error policy and one chmod.
A lock entry pins a digest to the bytes it names. Building an entry asked the
store what a tag pointed at and separately downloaded that tag. Those are two
observations, and a warm cache plus a re-pushed tag made them disagree
deterministically, after which pacto lock --check certified the result clean.
The lock builder and the catalog resolver both take the bundle and its digest
from one oci.PullPinned call now. An artifact whose identity the registry will
not state is recorded as unresolved rather than pinned to an empty digest.
A lock error reports its own code. The machine-readable code CI and the
operator branch on was derived by splitting the rendered message at its first
colon, so a file-read failure produced codes like open /home/me/svc/pacto and a
YAML parser's prose produced whatever it happened to say. Every pkg/lock error
type has a Code() method, Error() renders it, and anything carrying no code
is LOCK_ERROR.
Responses are deep-diffed, and every classification resolves through one
table. Request bodies were walked field by field while responses were not, so a
status code present on both sides reported one opaque POTENTIAL_BREAKING no
matter what changed inside it. Classification itself was written in three places
and the copies had drifted, and .schema was hardcoded as a modification, which
made the added and removed rules for that field unreachable — dropping a schema
graded as if it had merely been edited. Two invariants are pinned by tests:
removing part of a thing never grades worse than removing the whole thing, and a
schema reached through an example is documentation rather than the payload's
field set. docs/contract-reference/diff.md gains the rows that could not fire
and loses the two that never described real behaviour.
Every MCP tool call is validated against its declared schema. The SDK
documents that as the caller's job and nothing did it, so a declared schema was
decoration: {"max_depth":"3"} — a string where the schema says integer, which
models emit constantly — decoded to 0, and pkg/fleet reads 0 as unbounded, so a
caller asking to bound a traversal got an unbounded one. required was equally
advisory. Every tool registers through the typed generic form now,
bundle-derived capability tools included, and a schema that will not resolve is
registered as a visible unavailable tool rather than dropped or left to panic the
server. pacto_check runs the resolving validator the CLI runs, so an agent
looping until it reports valid can no longer terminate on a contract CI rejects.
A registry's tag list is no longer memoized for the life of the process.
ListTags cached a mutable registry fact forever, six lines below a Resolve
that documents why it deliberately does not. A dashboard rediscovers on a loop,
so every pass after the first answered from the first observation: a release
published after startup stayed invisible, and /api/versions with fetch:true
pulled nothing while reporting success. The memo expires on half the rediscovery
interval, so an entry written just after one pass cannot survive the next.
Smaller, and visible from outside: snapshot limitations print to stderr
rather than stdout, so a partial answer no longer contaminates piped output;
markdown table cells built from contract-controlled strings are escaped, so a
pipe in a config pattern no longer breaks the table around it; and fleet.Build
fills the freshness timestamps a source's own declared state left unset, so a
source that reports its health no longer reaches the snapshot looking like it
never synced.
Additive API: oci.CacheLocator, oci.CacheDisabler and oci.CacheObserver
name the three capabilities a bundle store may extend BundleStore with. They
were anonymous interface assertions, so a store that missed one silently did
nothing — which is how --no-cache came to be accepted and ignored. Also
oci.PullPinned, oci.SetCredential, oci.RemoveCredential and
graph.OriginContractFetcher.
Exported symbols left with no production caller are marked Deprecated with
their replacement and Removed at v4 rather than deleted, because v3 is
published and this ships as a minor: sbom.HasSBOM, oci.SetUserHomeDirFn, the
LocalOnly resolver surface, the standalone sidecar reader and the ingestion
store's own fleet.Source adapter among them.
Keeping them means keeping them honest, so two that had drifted from the code they now defer to are repaired rather than left to rot behind the marker:
sbom.HasSBOMskips directories, asParseFromFSalready did. A directory nameddeps.spdx.jsonused to make it answer true whereParseFromFSanswers nil, which is precisely the question its deprecation note says the two settle the same way.- The ingestion store's
fleet.Sourceadapter drops a record whose compliance is outside the canonical vocabulary and raisesSOURCE_RECORD_INVALID, matching the live evidence source. It used to copy the status straight through, so the two disagreed about the same record and an uninterpretable one entered the graph as though it had been understood. - 771574b: Retire the dashboard's second ingestion stack, and make the static export and the published API document tell the truth about what they answer.
The dashboard used to run two independent ways of turning references into services
in one process: the original DataSource stack (source_local.go,
source_oci.go, source_cache.go, source_k8s.go, detect.go, its own cache and
its own multi-source resolver) and the operational graph in pkg/fleet, reached
through SetFleetProvider. They disagreed about freshness, about partiality and
about what "this source is available" means, and only one of them carried the
completeness envelope every fleet answer is supposed to carry. The DataSource
stack is gone. Every source the dashboard serves — local, OCI, cached, Kubernetes
and observation — now arrives through pkg/fleet, so /api/sources reports the
same health the fleet reports and an incomplete read is never rendered as an empty
one.
The contract-view types the static export and pacto doc render moved out to
pkg/contractview, a leaf with no HTTP and no Huma in it. pkg/dashboard
keeps every released name as an alias, so existing imports compile unchanged.
Breaking, and deliberate: the whole pkg/dashboard multi-source surface is
removed. Everything else in this release is additive, so this ships as a minor
with the break called out here rather than held for v4. A shim is not possible
for any of it: these names have no successor inside pkg/dashboard to forward
to. What replaced them lives in internal/fleetsrc, behind pkg/fleet, and is
reached through SetFleetProvider. A wrapper that accepted a DataSource and
ignored it would turn a compile error into a dashboard that silently serves
nothing, which is the worse failure.
// before
srv := dashboard.NewServer(src, dashboard.EmbeddedUI())
// after
srv := dashboard.NewServer(dashboard.EmbeddedUI())
srv.SetFleetProvider(func(ctx context.Context) (*fleet.Query, error) { ... })
The full list, so nobody discovers it at compile time:
- Constructors:
NewServerloses itsDataSourceparameter,NewResolvedServeris removed. Servermethods:SetResolver,SetCacheDir,SetCacheSource,SetOCISource,SetK8sRedetect,SetLazyEnrich,RefreshCacheSources,UpdateSourceInfo,WaitForVersionEnrich. Source wiring, cache wiring and the enrichment handshake are all the fleet's job now.- The source interface and its implementations, with their methods:
DataSource,LocalSource,OCISource,K8sSource,K8sClient,CRDDiscovery,CacheSource,ResolvedSource, and the constructorsNewLocalSource,NewOCISource,NewK8sSource,NewCacheSource,NewResolvedSource,BuildResolvedSource, plusContractRefProviderFromSourceandRepoProviderFromSource. - The source-local cache:
Cache,CachedDataSource,NewMemoryCache,NewCachedDataSource. The fleet snapshot is the cache now. - Detection:
DetectSources,RedetectK8s,CurrentKubeContext,DetectOptions,DetectResult, and the diagnostics typesSourceDiagnostics,LocalDiagnostics,OCIDiagnostics,K8sDiagnostics,CacheDiagnostics. ClassifyVersionsandBundlePair, which classified versions for a stack that no longer produces them.
pacto dashboard --diagnostics is removed, with the PACTO_DASHBOARD_DIAGNOSTICS
environment variable and the DashboardConfig.Diagnostics field behind it. The flag
existed to register /api/debug/sources and /api/debug/services, which reported on
the source stack; both endpoints went with it. The field is the one removal here from
a type that survives, and it is not kept as an inert bool on purpose: DashboardConfig
is published as a JSON Schema, so a retained field would advertise a diagnostics panel
that no longer exists. /api/sources now carries the fleet's own health and
completeness, which is what the panel was reading for. Scripts passing the flag will
fail with an unknown-flag error rather than silently changing behaviour.
CRDDiscovery in the list above is a re-export of an internal/k8sclient type, and
it goes for a second reason beyond its stack: pkg/dashboard is now gated k8s-free by
tests/architecture/boundary_test.go, so keeping the alias would pull client-go back
into a package that must stay consumable without it.
If you were importing any of these, you were driving the dashboard's private
ingestion. Build a fleet.Query and hand it to SetFleetProvider instead; that
is the same data with a completeness envelope attached.
Everything else that moved kept its name. ApplyLock, AggregatedService,
SourceInfo, ServiceNameInput, ComputeDiff, DiffResultFromEngine,
GraphFromResult and ComputeRuntimeDiff are all still exported from
pkg/dashboard with their v3 signatures, the last four marked deprecated
because nothing in Pacto calls them any more.
ServiceDetails.SectionMeta and the Section* vocabulary around it are
deprecated. Their two writers went with the ingestion stack and the field has had
no producer since; it is omitempty, so it is simply absent on the wire. The names
stay through v3 and are removed at v4.
get-service-graph is removed from the published OpenAPI document. Nothing
answered it: the live host serves /api/fleet/services/{name}/graph and the
offline export serves the global /api/graph. The generated TypeScript client's
serviceGraph facade had no callers and goes with the operation. Three operations
that the document listed and the export could not answer — a specific version, the
per-source breakdown and a same-version diff — now have real fixtures instead, so
the offline single-service app no longer meets a 501 on a call it makes itself.
Behaviour change in pacto doc. Every service page now renders all eleven
domain sections; an empty one says "None declared" instead of vanishing. The
contents rail always listed all eleven, and the presence map it consulted had no
writer, so it was offering jump targets that scrolled nowhere.
Also in pacto doc: a dependency's display name is derived by parsing the
reference rather than by scanning it for the last colon. A reference carrying a
registry port rendered as localhost, and one with no tag at all rendered as
oci — both now render the repository's last path component, like every other
reference already did.
- 771574b: Add pacto tui, a full-screen terminal front-end over the CLI.
pacto dashboard answers "what is the fleet doing" in a browser and only reads.
pacto tui answers it in the terminal you are already in, and it also writes —
because the point of a front-end over the CLI is that you do not have to leave it
to run the command. It takes the same source flags as pacto fleet and navigates
the same snapshot: services, revisions, targets, owners and sources, opening on
the Services tab. Whatever row is highlighted becomes the argument, so you never
type a path.
Read verbs run in-process against the loaded snapshot — validate, explain, fleet
explain, lock check, diff, impact and the neighborhood graph. Write verbs — push,
pull, lock update and generate — shell out to this same binary so they own the
terminal, and each names what it is about to change before it waits for a y:
the directory a pull will overwrite, the resolved plugin binary and the output
directory a generate will write. A successful write reloads the snapshot rather
than leaving a confidently stale list on screen. --read-only hides the four
write verbs entirely rather than refusing them at the last moment, and y copies
the equivalent pacto command — shell-quoted, so a contract value carrying a
space or a semicolon pastes as one argument — for anything the TUI does not
offer.
Building it made a gap in shell completion obvious: the closed vocabularies the
code already owned were never declared to cobra. Seven flags now complete from
their real source of truth — --status and --compliance from
fleet.CanonicalStatuses(), --workload from the contract.Workload* constants,
and --direction, --ui, --transport and --output-format from the values
their own validators accept — and the four pacto fleet positionals no longer
offer filenames for arguments that are never paths.
One behaviour change comes with that, and a script can trip over it. pacto
doc's three mutual-exclusion checks are now
cmd.MarkFlagsMutuallyExclusive("serve", "ui", "output") instead of hand-rolled
value comparisons. Cobra tests whether a flag was set, not what it was set to,
so all three of these now error where they used to be accepted:
Nothing in the repo relied on any of those spellings. The one check cobra has no
primitive for — --interface requires --ui — stays hand-rolled. --ui's help
string now names the closed set it enforces instead of advertising an open one.
- 771574b: Resolve every policy reference from the contract that declared it, and fail closed
when the referenced schema cannot be read.
Relative references now resolve against their declarer, not the working
directory. A ref: written in a bundle three hops down the dependency chain was
resolved from wherever pacto happened to be invoked, so the same contract
validated differently depending on which directory you ran the command in. Worse,
a contract pulled from a registry could name a local directory and have Pacto read
a policy schema out of the invoking machine's filesystem. Resolution now carries
the declaring origin: a reference reached from a registry bundle can only ever
resolve to another registry bundle, and a local reference resolves relative to the
contract file that wrote it.
validation.OriginBundleResolver is the new port — RootBase() plus
ResolveBundleFrom(base, ref) — mirroring graph.OriginContractFetcher. The
widening is additive: ResolveBundleFrom is discovered at runtime, so
ValidateWithResolver and ResolvePoliciesWithResolver keep their signatures and
an existing BundleResolver implementation behaves exactly as it did. Cycle
detection keys on the pair (declaring base, reference text) rather than the text
alone, so a diamond in the reference graph is no longer misreported as a cycle.
A referenced bundle whose policy schema cannot be read is now an error. Three
conditions — an unreadable schema file, one that is not JSON and one that does not
compile — returned nil and dropped the policy silently whenever the referenced
bundle declared policies[], while the sibling branch raised
POLICY_REF_UNRESOLVED on exactly the same three. A platform bundle shipped
without its declared schema therefore made every consumer's pacto validate and
pacto push pass with zero policies enforced. All three now raise
POLICY_REF_UNRESOLVED.
A contract that used to pass may now fail. That is the point: it was passing
because nothing was being enforced. If pacto validate starts reporting
POLICY_REF_UNRESOLVED against a bundle that was green before, the referenced
bundle is not shipping the schema its own policies[] block promises.
service.version must be a single safe path component. pacto pack
interpolates it straight into its output filename, so a version carrying a path
separator or naming the parent directory let a contract authored in a pull request
write its archive outside the build root. The pattern lands in the JSON Schema
rather than in the pack command because every consumer runs the schema — a guard
in pack alone would leave the operator, the dashboard and the MCP server open.
Every shape semver produces still passes, prerelease and build metadata included,
and so does a plain label like latest.
Patch Changes¶
- 771574b: Give the dashboard a real document outline: a collapsible section's title is now a heading, not just a button.
Every accordion on a service page — Overview, Interfaces, Dependencies,
Configurations, Policies, Readiness and the rest — rendered its title as a bare
<button>. Visually that reads as a section title; to a screen reader it was a
control with no structural meaning, so the page went straight from its <h1> to
the <h3>s buried inside a section body. Users who navigate by heading got a
flat list of subsection names with nothing to say which section each belonged
to, and the skipped level is a WCAG 1.3.1 failure. The toggle is now wrapped in
an <h2>, the WAI-ARIA accordion pattern, so the outline reads h1 → section →
subsection. Nothing moves on screen.
Three heading levels that were only legal by accident are corrected with it:
"Skills" and "Secret Keys" were <h4>s that read as valid only when some earlier
section happened to supply the missing <h3>, and the empty services list titled
itself <h3> directly under the page <h1>. A service page that fails to load —
"Service not found", a failed remote resolve — now titles itself with an <h1>
rather than leaving the page with no top-level heading at all.
The route sweep that should have caught these was auditing an error state: it
reached the non-Fleet views by telling the browser the host had no fleet, but the
host it said that to answers no contract-view request, so every page under audit
was a failed fetch. It now runs against a real pacto doc --format html export,
which is the only place those views are served.
- 771574b: Fix a bundle scan reporting no services because one directory refused to open.
Both filesystem-walking fleet sources aborted the whole walk on the first read
error and marked themselves unavailable. For --local that meant pacto tui,
pacto fleet and pacto impact answered "0 services" from a home directory:
the walk reaches TCC-guarded paths like ~/Library/Accounts within
milliseconds, long before it reaches any contract, and gave up there. The same
scan now finds 64 services on the machine this was found on. For --cache the
same abort emptied the entire offline baseline when a single cache entry was
unreadable, which is what one sudo pacto pull leaves behind.
A refused directory is a gap, not a verdict. Both sources now record it as a
SOURCE_PARTIAL limitation naming the path relative to the scan root, then step
over it, exactly as an unparseable bundle already was. Past ten of them the rest
are summarised as a count, so a home directory's hundred-odd privacy directories
cannot bury the gaps a reader can act on. The walk root itself remains the one
fatal case: nothing was read, so there is no partial answer to report.
3.2.9¶
Patch Changes¶
- ddb6a46: Publish four documentation fixes that have been correct on
mainbut absent from the site.
docs/examples/dashboard-demo.md named v1.2.0 → v2.0.0 as the breaking step of
the demo fleet. OCI tags are immutable, so republishing that fixture under changed
bytes renumbered it to v1.2.1 → v2.0.1 and left the page pointing at two tags
that no longer exist. The same stale literals were what broke the WASM demo smoke
test and turned the docs pipeline red; that test now finds the breaking step by
behaviour rather than by version, and this ships the half a reader can see.
The rest of the batch rides along because release.yml's docs job is the only
publisher and it builds the whole site: the mkdocs-material 9.6.21 → 9.7.7 bump,
the two aria-labels.js fixes that keep it accessible and a testing note. 9.7
wraps every code block's buttons in an unnamed <nav> and labels the breadcrumb
with the same string the primary navigation uses, so every page carrying two code
blocks fails landmark-unique. The theme bump has never been published without its
fixes, and shipping them in one transaction keeps it that way.
3.2.8¶
Patch Changes¶
- a6fe2a3: A guided tour of what Pacto tells a human and an agent, and the five fixes building it uncovered.
docs/examples/demo-tour.md walks a sixteen-service fleet as six user stories,
in the order the questions arrive: I inherited this fleet, something says
Unknown, I am about to ship a break, who do I have to tell, my diagram and my
traffic disagree, and I want an agent on this without handing it write access.
Every command on the page is real. The terminal transcripts are generated from a
live run by make gen-demo-transcripts, snippet-included rather than pasted, and
compared by the docs drift gate — so a page claiming output Pacto no longer
produces fails CI. The two commands no generator can cover — an MCP server
holding stdin open and a live dashboard — are copied in by hand, and the page
says so. Every one of them runs in tests/acceptance/local/demo-arc.sh on each
pull request, and both readers plus the generator share one argument table, so
the page and the test can never drift apart on what was actually run. A release
test asserts the two sets cover each other exactly: nothing runs in CI untaught,
and nothing on the page includes a transcript that does not exist.
Building it against a fleet large enough to be interesting surfaced five bugs that a three-service fixture never reaches:
pacto diffiterated Go maps directly in eleven collections, so its change list came out in a different order each run: twenty runs of one diff produced six distinct byte sequences in text, six in JSON and five in Markdown. A tool whose output people paste into review comments and gate CI on cannot print different bytes each time. It is now byte-deterministic.pacto impactkeyed the changed service by a ref classifier that disagreed with the one that actually loads the bundle: one treats a ref as local only on.,/or~, the other treats it as OCI only onoci://. A bare relative path loaded as a local bundle but was keyed under an invented OCI domain, so its identity never joined the fleet and every consumer silently vanished. The same two bundles found four consumers and exited 1 when passed as./a ./b, and reported none and exited 0 when passed asa b.pacto impactleft completeness untouched when the changed service was missing from the graph, so a breaking change printed "No affected consumers.", nothing on stderr and exit 0 — a silent all-clear that actually meant "I could not tell". The answer is now marked partial and says so. The exit code is deliberately unchanged; that interacts with the documented declared-only contract and is filed separately.pacto fleetpicked a service's owner by sorting revisions onRevisionKey, which isServiceKey@sha256:<content digest>— digest order, not chronology. Editing any byte of any bundle could silently change who Pacto says to notify, which lands directly on the blast-radius answer. It now uses the semver-first revision chronology the package already documents for this exact hazard.pacto mcp --fleetread--tracesbut never registered it: the flag was persistent on thefleetparent, andmcpis not its child, so the lookup error was discarded and the snapshot got nil. An agent could never seeprovenance=observed— the observed edges that find undeclared consumers were absent from the agent-facing surface entirely.
The limitation that made the tour honest is now gone: AsyncAPI and gRPC
interfaces are compared spec-against-spec, not just by ref. AsyncAPI channels
and operations are deep-diffed so a payload property or a required entry
surfaces on its own, and a .proto is scanned for services, rpcs, messages and
fields. The proto scan is a text scan, not a compile, so a single pre-scan
blanks comments and string-literal contents before anything is matched — a //
or a } inside a string neither truncates a line nor closes a block early — and
a field's inline [...] option block is parsed off and dropped, so adding
[deprecated = true] is not a change while a retype behind one still is.
docs/contract-reference/diff.md states what each comparison does and, in "What
the proto comparison does not do", what it does not.
The in-browser dashboard demo now teaches itself. Where the fixture notice was a banner and nothing more, it offers a guided tour: six steps, each naming one thing to do and each gated on the dashboard actually reaching the state that proves it was done. The gate is an observation, so no step is ever pressed to confirm a thing the tour just watched happen — it detects the action, holds the verdict until the gate has been quiet long enough that a search typed one character at a time is never interrupted mid-word, then says so.
What follows depends on where the answer is. Where the result is read on the
next screen, the tour moves itself after a moment's confirmation. Where the
result IS the answer — the service in full, the field-by-field comparison that
says Breaking, the neighborhood a change reaches — the next step navigates away
from it, so those hold: the confirmation hands over a Continue the reader
presses once they have finished reading, and the spotlight moves off the control
onto what it produced. Showing someone a breaking change and taking it away a
second later is the one outcome worse than making them press a button. The two
steps with nothing to observe keep a real button throughout. Every gated step
carries Skip, which performs the action for the reader rather than jumping past
it — on a holding step that means they still get to read the result — and Exit
leaves at any point. It is opt-in, and it ships only with the WebAssembly demo:
examples/demo/boot.js is loaded by nothing else, so it cannot appear in front
of a real fleet.
The image tags a reader copy-pastes no longer age. The Compose demo page named
ghcr.io/trianalab/pacto/demo:3.2.7, the dashboard page named its image five
times and the operator's install page quoted a startup log naming
dashboard:3.2.1 — three releases behind — and nothing compared any of them to
what was published. apply-release-plan now rewrites those coordinates the way
it already rewrote the chart's --version pin, so the Version PR carries the
new tag instead of leaving a command that resolves to nothing, and the
idempotency proof covers the pages. That list is not the guarantee: the docs
gate holds every page on the site to the tag its release unit published, so a
page pinning a coordinate the rewriter has never heard of fails CI rather than
rotting. Both pages now say the tag is the current release and that swapping it
is how you run an older one, instead of repeating the number in prose where
nothing can check it.
The published pacto-dashboard bundle described half of its own API. The
OpenAPI document it shipped was maintained by hand and had fallen to 18 paths
against the 32 the server registers, so a consumer reading the contract could
not see the fleet endpoints at all. make gen-openapi now generates it from the
live Huma registrations, which makes the published bundle byte-identical to the
drift-gated SDK contract instead of a second copy that ages on its own.
Two fixture versions moved: payments-service 1.2.0 and 2.0.0 are already
published to ghcr.io/trianalab/pacto, and the capabilities[] and sbom/
additions this tour needs change their bytes, so they ship as 1.2.1 and 2.0.1
and a published tag keeps meaning what it meant.
CI now runs on the demo. examples/demo/**, its transcript generator, the five
subsystems that produce the committed transcripts and the two those reach
through are in the docs-check path filter, the transcripts are
inside generated_paths() so the drift gate covers them, and an MCP integration
test drives the demo fleet over a real stdio session — including the case where
pacto_fleet_status called with no arguments returns a null item list, which an
agent asking the obvious way reads as a clean bill of health. That is pinned as
the trap it is, so it cannot change quietly before it is fixed.
3.2.7¶
Patch Changes¶
- 5046822: Make the dashboard move, and make what it draws honest.
Motion is a closed system rather than a per-component decision. Four roles —
feedback, flip, reveal, dismiss — are declared once in tokens.css, and a
ration governs who may use them: only an error state may enter on its own and
carry the alarm ring, a warning may enter but never rings, and every other tone
stays still. The number of moving things on a screen is the number of things
wrong with it. Every entrance respects prefers-reduced-motion.
The graph stops being a picture and becomes an instrument. The subject of the page carries a standing halo, so arriving on a graph tells you what it is about; a click pins a directional spotlight and re-frames the camera without ever re-laying-out; edges answer the pointer; a fit can no longer zoom past the point where labels are text. The legend was a caption listing distinctions the canvas actually draws — every entry is now a toggle that dims exactly that distinction, because a dense neighborhood is read by taking things out of it. Picking from the accessible text list points the canvas at the same node, so the two halves of the screen can no longer describe different things, and a summary line states the counts, what the legend is hiding and what is selected.
Three bespoke charts are gone. A treemap, a donut and a second bar chart are
replaced by the two house forms already used elsewhere, and
cytoscape-expand-collapse — a dependency behind a toolbar nothing rendered —
is removed with it.
Chart corrections, each a case of the drawing contradicting the data:
- The priority quadrant measured every service against a fixed midpoint while the gate is per service, so a service scoring 60 against a threshold of 80 sat on the healthy side of the line while failing. Points are now plotted as distance from their own threshold, and the divider says what it is.
- Dot radius encoded blast radius, which is already the y position — the same number drawn twice. One radius for every dot.
- The version timeline positioned markers by date and drew no date axis, so the only way to read one was to hover it.
- Compliance status was three separate tables — the row badge, the legend swatch and the graph node — and they disagreed. "Unknown" was a blue badge, an amber swatch and a grey node on one screen. One table now decides both the wording and the tone, and every surface reads it.
- Distribution shares printed a decimal below a population of a hundred, stating "12.5%" where the smallest step the data can take is 12.5 points. The same rounding ran out at the other end: one invalid target in a fleet of three thousand printed as "1 (0% of 3000)", a row contradicting the count beside it, and it is exactly the row a triage page exists to surface. A non-zero share now prints as the bound it is under rather than as nought.
A drawer opening beside the graph pushed the page off the right of the screen. Cytoscape writes its current pixel width onto a wrapper inside the canvas, so the graph's minimum width was whatever it was last laid out at, and no track holding it could shrink. The graph now contains its own inline axis and sizes from the outside in, which fixes every layout that embeds it rather than the one that happened to notice. A claim's source revision is abbreviated rather than printed as a full digest, and the responsive gate reads the body's scroll width as well as the document's — clipped overflow is invisible to the document — at desktop widths as well, where the drawer that started this actually opens.
Change analysis joins the long pages on the shared "On this page" rail. A finished analysis runs several screens deep — the revision pickers, the change table, then the consumer table under it — and getting back up to compare a different pair was a scroll. It is the navigator the overview and the entity pages already use, so there is no second contents list, and it lists only what the page actually rendered: there is no "What it affects" entry until there is a result.
The overview draws populations it can count. Nine operational targets on a proportional bar is a shape the reader has to convert back into nine things; drawn as nine marks, two of them red, the count is the picture. Past a hundred and twenty members the marks stop being countable and the proportion is the honest reading again, so the bar comes back — and a population that over-counts itself is never drawn as marks at all, because it has no individuals to draw. The prose around them is cut: a sentence under the posture bars restated two bucket values that were already on the screen, so there are no longer two copies of the same number to check against each other.
Those marks are now sized from the population, so a small one is big: nine targets drawn as nine fixed sixteen-pixel squares was a smudge in a four-hundred-pixel column — countable in principle and nothing to look at — and the size steps down only as fast as it has to for the row to keep fitting. The gutter and the corner are fractions of the mark, so a field of nine and a field of ninety are the same drawing at two scales rather than two different charts. The three posture questions sit in three columns where there is room, instead of two and an orphan below an empty half-row. And every distribution now puts its picture first: the description used to sit between the heading and the graphic, so a band of three charts was read as six lines of caveat with drawings between them, and each figure announced itself to a screen reader by reciting the whole paragraph. The prose is a footnote to the drawing, so it is printed under it.
The WebAssembly demo's notice can be dismissed. It floats over the bottom of the dashboard and never left, which on a short window is where the content is. A failed engine load brings it back: that is the one message the reader cannot be allowed to have closed.
Ten scale limits are closed. Measured against a fleet of five hundred services, two thousand revisions, three thousand targets and eight thousand relationships, each of these was a place where the cost of an answer grew with the size of the fleet rather than with the size of the question:
- Every concurrent request that missed a cold service index ran its own full serial resolution of the whole fleet. One rebuild is admitted at a time and the callers queued behind it return the index it stored, doing no work at all.
- A Fleet host issued a whole-fleet
/api/servicesit never reads, every two seconds. The capability probe used to race the load it decides the shape of, so the first pass always read "capabilities unknown", took the legacy branch and paid for an answer it threw away. It is probed first now, at the cost of one round trip on first load. The poll also no longer stacks a second pass on top of one still in flight, while a manual refresh is still never dropped. - The whole-fleet dependency graph had no node bound. It takes one, defaulting to the engine's ceiling, and every node carries the path taken to reach it — so an unbounded deep answer was quadratic on the wire, not linear.
Metaapplied none of the envelope capsProductMetaapplies, so two answers from the same snapshot could disagree about how much they left out.- The per-target revision match rebuilt its candidate set from every revision in the fleet; it is grouped once per service and reused.
- The bulk snapshot export round-tripped through a marshal-and-unmarshal defensive copy on its way to a wire it is then written to and dropped.
- A truncated graph said only that it had been truncated. It now says how much is missing, and offers the next node budget — sixty, a hundred and fifty, five hundred, the same steps the backend will honour, because a control that offers a step the server then clamps is a control that lies about what it just fetched. The budget is part of the URL, so a shared link reopens the graph being discussed rather than a smaller one.
- A fit clamped at the legibility floor left part of the graph off screen and said nothing, and a cropped canvas looks exactly like a complete one. It says so.
3.2.6¶
Patch Changes¶
- e36b181: Reframe the README, the pacto.run homepage and the pages that define what Pacto is around a positive category noun: operational contract system.
The definitional slot on both front doors was held by an analogy ("Pacto is to service operations what OpenAPI is to HTTP APIs") and, on the homepage, by an eyebrow reading "Open contract standard". The first installed "file format" as the category and discarded the engine; the second promised governance and a second implementation that do not exist. Both are replaced by a definition that states what a contract records, how it is published and what it is compared against.
The category noun says what Pacto is; one sentence beside it now says what that is for. Pacto gives software a machine-readable operational interface — a versioned description of what a service is, what it exposes, what it depends on and what it promises — so platforms, CI systems, controllers, automation and agents consume the same interface instead of each reconstructing operational knowledge from deployment files, documentation and runtime state.
Structural changes:
README.mdleads with the category, then the problem (operational facts with nowhere to live, and a dependency edge that carries no version range), then the mechanism, then who reads a contract, then why software operating software raises the price of not having one. "What Pacto is NOT" drops from four bullets to three and moves behind all of it.docs/index.mdmoves "What Pacto is not" below "The problem" — non-goals disambiguate a model the reader already holds and cannot build one. The heading and its anchor are unchanged, so#what-pacto-is-notstill resolves.- The hero's only jump link now points at
#what-is-pactorather than at the list of exclusions. - The IDP contrast is cut back to a single non-goal bullet. What replaces it as the differentiator is version shape: a catalog entry records that an edge exists, a Pacto dependency records the range it accepts and pins the closure by digest.
Corrections found while verifying the copy against the implementation:
Diff · Graph · Enforce · VerifybecomesDiff · Graph · Validate · Verify. There is nopacto enforce; policy is Layer 3 insidevalidate, andMANIFEST.mddisowned "enforcement" eight lines below the slogan.docs/contract-reference/sections.mdclaimed aconfigurations[].refis resolved from the referenced bundle at the fixed pathconfiguration/schema.json. No code reads that path. The reference is validated as well-formed, recorded as a reference edge and pinned inpacto.lock; the recursive-resolution claim is scoped to the lockfile, which is the surface that actually walks the closure.docs/index.mdsaidpacto generateproduces deployment artifacts. It invokes apacto-plugin-<name>binary you supply; Pacto ships no generators.- "Blast-radius analysis" as an MCP capability becomes impact analysis, the feature that exists.
- The Kubernetes overview stated "never modifies" and then retracted it. It now
leads with the actual grant —
get,list,watchon watched workloads — and keeps the managed-component escalation as the second half of the same paragraph rather than as a retraction.
3.2.5¶
Patch Changes¶
- 840a183: Move both Go modules onto the Kubernetes 0.37.0 library line and patch the runtime image's OpenSSL.
k8s.io/api, k8s.io/apimachinery and k8s.io/client-go are now v0.37.0 in
go.mod and integrations/kubernetes/go.mod, together with the transitive
k8s.io/kube-openapi, k8s.io/utils, k8s.io/streaming,
sigs.k8s.io/structured-merge-diff/v6 and go-openapi/swag moves the line
pulls in. The three library modules only work in lockstep, so bumping them
one at a time — as the individual Dependabot pull requests did — leaves
k8s.io/api behind and fails to compile.
The runtime stage of the CLI/dashboard image now runs apk upgrade before
installing its packages, so the image picks up the fixed libssl3/libcrypto3
3.5.8-r0 instead of the 3.5.7-r0 baked into the alpine:3.22 tag (CVE-2026-14456,
HIGH).
No API or behaviour change.
3.2.4¶
Patch Changes¶
- 3987568: Restructure the documentation as one information system.
An editorial and information-architecture pass over the whole surface: the nav is ordered as a reader's path, each concept has one canonical home, duplicated worked examples and repeated statements of the thesis are gone, and development history is out of the product pages. Three pages were split out of pages that were carrying two subjects — the Pacto model, dashboard architecture and observation sources. The published surface loses about 1,500 words while staying roughly the same length in lines: the prose is tighter and the split-out pages add the structure back. No technical claim was dropped, and no file changed path, so every existing URL still resolves.
Docs-only; no functional change to the engine, CLI or dashboard. This core patch
is the release that redeploys the site, which docs.yml deliberately does not do.
3.2.3¶
Patch Changes¶
- b11de31: Move both Go modules onto the Kubernetes 0.36.4 library line.
k8s.io/client-go, k8s.io/api and k8s.io/apimachinery are now v0.36.4 in
go.mod and integrations/kubernetes/go.mod. The bumps landed on main
without a changeset, so neither the core line nor the kubernetes line would
have shipped them — this patch is what actually publishes a core module and an
operator image built against 0.36.4.
No API or behaviour change: the 0.36.4 patch releases only refresh the
golang.org/x dependencies underneath.
3.2.2¶
Patch Changes¶
- 9f27024: Keep date scalars verbatim across generic YAML round-trips.
pacto_edit could not edit a pristine pacto init scaffold. Edit reads
pacto.yaml into a map[string]any, and yaml.v3 resolves an unquoted
readiness.expires: 2099-12-31 to a time.Time, so re-encoding wrote
2099-12-31T00:00:00Z and the tool rejected the contract it had just produced.
The same round-trip happens in pkg/override (pacto pack --set) and in the
structural validator, which was handing the JSON Schema layer an RFC3339 string
for a value the document spells as a bare date.
The three sites now decode through contract.DecodeYAML, which retags
!!timestamp scalars as !!str before decoding, so the text the author wrote
survives untouched — the same thing contract.Parse has always done by decoding
dates into string fields. Nothing is reformatted: a non-canonical 2099-1-1
stays rejectable instead of being canonicalised by an unrelated edit, an explicit
2024-01-15T00:00:00Z keeps its time instead of being truncated to a date, and
the schema layer never checks a value that is not in the file.
3.2.1¶
Patch Changes¶
- c230de9: Make a demo-fixture edit unable to half-ship a release.
Release run 32560058692 published four irreversible units and then died. Two independent defects had to line up for that, and both are closed here.
The demo bundles publish to immutable tags. payments-service 2.1.0 was edited
in place — a mermaid diagram added to a version already published — so the
byte-exact gate correctly refused the tag, but it refused it mid-release,
because nothing ran that gate before the release. The fixture is restored to its
published bytes and the diagram ships as a new payments-service 2.1.1, and
publish-demo-bundles.sh --check now runs the identical gate read-only at PR
time as the demo-bundle-immutability CI leg.
Separately, the demo-compose job lost its ORAS install when the unit moved to
docker compose publish, on the reasoning that ORAS stayed where the ledger
used it — while that job still read and wrote the ledger, which is the ORAS
user. ledger.sh returned the empty string for a missing binary, the empty
string means "nothing recorded", and the unit failed closed. ledger.sh now
refuses to run without its tools and distinguishes a 404 from an unreadable
registry; the two if [ "$(ledger.sh …)" ] call sites that discarded its exit
status now assign first; and a new gate walks every job's shell through its make
targets and scripts and fails when a job can reach a CLI it never installed.
That gate found a second, quieter instance: the release dry run was rehearsing
without syft, silently skipping the SBOM the real release produces.
3.2.0¶
Minor Changes¶
- 8352060: Add the Pacto operational graph: what is declared, what is actually running and how the two differ.
Pacto could describe a contract. It could not describe a fleet. This release adds the read model for that, and the surfaces on top of it.
pkg/fleet composes many contracts, contract revisions and operational targets
into an immutable, deterministic FleetSnapshot with a pure, network-free
Query over it. It keeps three identities distinct — the logical service, the
contract revision and the operational target — and it keeps them
domain-qualified, so two teams may own a checkout without becoming one node. It
makes incompleteness explicit: every snapshot and every answer carries an as-of
time, a completeness and structured limitations, so an unreachable source is
reported as an unavailable source that turns the answer's completeness into
partial — surfacing in the dashboard as unavailable knowledge, taken from the
worst source health — and never as an authoritative empty graph. unknown stays
a distinct state, for when there is no completeness envelope at all.
Around that read model:
- Evidence reporting.
pacto evidence serveaccepts signed evidence sets from environments Pacto cannot reach, verifies the producer signature, checks the report against the resolved contract revision and records the result. An environment that stops reporting goes stale rather than disappearing.pkg/evidenceenvelopeis the signed wire format andpkg/evidenceingestthe accept pipeline. - Evidence lives in the registry. An accepted record is stored as an OCI 1.1 referrer of the exact contract digest it is about, so the registry that already holds the contract is the only durable evidence system. No bucket, no database, no second persistence path.
- Contract catalog.
pkg/cataloganswers what a set of contract roots and their closure contain, bounded and free of any delivery mechanism. It reaches agents over MCP as exactly two fixed read-only resources,pacto://catalogandpacto://catalog/closure, plus one tool,pacto_catalog_revision— and no resource templates, because a revision identity is four structured fields and a URI template would force the ad hoc encoding that identity discipline exists to prevent. The session is frozen, so a catalog answer cannot change underneath a conversation. - Change impact.
pkg/impactandpacto impactanswer who is affected by a change, computed over canonical identities and refusing a mutable reference. - Reconciliation and observation.
pkg/reconcilecompares the declared graph with the observed one;pkg/otelobserverreads an OpenTelemetry span export to discover calls nobody declared. - CLI. New
pacto fleet(withfleet reconcile),pacto evidence,pacto impactandpacto otelcommand groups, all backed by the same read model. - Dashboard. A product-shaped interface over the graph: services, revisions, targets, owners and sources as first-class pages with canonical links between them, an attention view that ranks what is actually wrong, and a graph view that stays readable at fleet size. The wire contract is generated from OpenAPI end to end, so the frontend cannot invent semantics the backend does not have.
Everything reports what it does not know. Evidence that is absent, stale, partial or unreadable is reported as such and is never rendered as a passing result.
Backwards compatible: no existing flag, API or JSON shape changes.
3.1.4¶
Patch Changes¶
- e5f696f: Fix the docs version selector so it opens on click. After the previous fix it no
longer opened on hover (intended) but a
:focus-withinrule out-ranked the open class on click, so the dropdown stayed collapsed. Gated the hover/focus suppress rules with:not(.md-version--open)and raised the open rule's specificity. Docs-only; this core patch is the release that redeploys pacto.run/latest.
3.1.3¶
Patch Changes¶
- f8aef8f: Deploy the docs version-selector fix to the live site: the mike version dropdown now opens on click, not hover, so it no longer pops over the nav tabs and swallows their clicks. Docs-only change (PR #286); no functional change to the engine, CLI, or dashboard. This core patch is the release that redeploys pacto.run/latest.
3.1.2¶
Patch Changes¶
- bbc7b9c: Rebuild the operator and dashboard container images through the new native per-arch build pipeline: each architecture builds on its own runner (no QEMU emulation) and is merged into the multi-arch manifest. No functional change to the engine, operator, or dashboard — this release ships and validates the faster image pipeline.
3.1.1¶
Patch Changes¶
- dd4dab1: Repo-wide audit remediation (engine, CLI, dashboard). Closes the OpenAPI breaking-change diff false-negatives — path-item-level parameters are now diffed, the request body is deep-diffed so a newly required property is BREAKING, and optional→required / added-required parameters are BREAKING — so a BREAKING-only release gate can no longer be bypassed. Further security and dashboard fixes land in the same PR.
As the first release since v3.1.0, this also ships the previously-merged but unreleased dashboard Ctrl+C shutdown fix and the demo version-label fix.
3.1.0¶
Minor Changes¶
-
b58778a: Unify all published OCI artifacts under the monorepo
ghcr.io/trianalab/pacto/*namespace. -
operator image →
ghcr.io/trianalab/pacto/operator - operator chart →
ghcr.io/trianalab/pacto/charts/pacto-operator - dashboard image →
ghcr.io/trianalab/pacto/dashboard - dashboard contract bundle →
ghcr.io/trianalab/pacto/dashboard-contract - demo bundles already live under
ghcr.io/trianalab/pacto/*
All packages are now created and owned by this repository. The chart name
pacto-operator and the Artifact Hub repository are preserved (re-point the AH
repository URL to the new chart coordinate). The previous coordinates remain as
historical — their already-published versions are unaffected. Go module paths
(/v3, /v5) are unchanged.
3.0.1¶
Patch Changes¶
- d09f2cc: Publish the demo bundles to monorepo-owned OCI coordinates.
The demo bundles previously targeted ghcr.io/trianalab/pacto-demo/*, packages
owned by the old pacto-demo repository that the monorepo cannot write. They now
publish to ghcr.io/trianalab/pacto/*, created and owned by this repo. This also
re-cuts the dashboard contract bundle (its publisher now installs the pacto CLI +
plugins) and folds in the cel-go 0.29.0 bump. The core fixed group advances one
patch (core, cli, dashboard-image, demo-bundles, dashboard-contract-bundle).
3.0.0¶
Major Changes¶
-
045f11e: Pacto 2.0 — breaking contract-model, engine and module-path changes.
-
The Go module path becomes
github.com/trianalab/pacto/v3(was.../v2). Consumers must update their import paths. - The contract schema is v2 only (
pactoVersion "2.0"); v1 fields (runtime.*, interfaceport,scaling,service.image) are removed. - New pure engine:
pkg/evidence+pkg/finding+Evaluate(contract, evidence);ValidateRuntimeand the v1 declaration-side runtime types are gone. - Releasing is driven by an explicit release transaction, not a manifest-file diff.
@pacto/dashboard-contract-bundle¶
4.6.1¶
No changes in this release.
4.6.0¶
No changes in this release.
4.5.0¶
No changes in this release.
4.4.2¶
No changes in this release.
4.4.1¶
No changes in this release.
4.4.0¶
No changes in this release.
4.3.0¶
No changes in this release.
4.2.0¶
No changes in this release.
4.1.0¶
No changes in this release.
4.0.0¶
3.3.6¶
3.3.5¶
3.3.4¶
3.3.3¶
3.3.2¶
3.3.1¶
3.3.0¶
3.2.9¶
3.2.8¶
3.2.7¶
3.2.6¶
3.2.5¶
3.2.4¶
3.2.3¶
3.2.2¶
3.2.1¶
3.2.0¶
3.1.4¶
3.1.3¶
3.1.2¶
3.1.1¶
3.1.0¶
3.0.1¶
3.0.0¶
Major Changes¶
-
045f11e: Pacto 2.0 — breaking contract-model, engine and module-path changes.
-
The Go module path becomes
github.com/trianalab/pacto/v3(was.../v2). Consumers must update their import paths. - The contract schema is v2 only (
pactoVersion "2.0"); v1 fields (runtime.*, interfaceport,scaling,service.image) are removed. - New pure engine:
pkg/evidence+pkg/finding+Evaluate(contract, evidence);ValidateRuntimeand the v1 declaration-side runtime types are gone. - Releasing is driven by an explicit release transaction, not a manifest-file diff.
@pacto/delivery-image¶
6.6.0¶
No changes in this release.
6.5.0¶
No changes in this release.
6.4.1¶
No changes in this release.
6.4.0¶
No changes in this release.
6.3.0¶
No changes in this release.
6.2.0¶
No changes in this release.
6.1.0¶
No changes in this release.
@pacto/demo-bundles¶
4.6.1¶
No changes in this release.
4.6.0¶
No changes in this release.
4.5.0¶
No changes in this release.
4.4.2¶
No changes in this release.
4.4.1¶
No changes in this release.
4.4.0¶
No changes in this release.
4.3.0¶
No changes in this release.
4.2.0¶
No changes in this release.
4.1.0¶
No changes in this release.
4.0.0¶
3.3.6¶
3.3.5¶
3.3.4¶
3.3.3¶
3.3.2¶
3.3.1¶
3.3.0¶
3.2.9¶
3.2.8¶
3.2.7¶
3.2.6¶
3.2.5¶
3.2.4¶
3.2.3¶
3.2.2¶
3.2.1¶
3.2.0¶
3.1.4¶
3.1.3¶
3.1.2¶
3.1.1¶
3.1.0¶
3.0.1¶
3.0.0¶
Major Changes¶
-
045f11e: Pacto 2.0 — breaking contract-model, engine and module-path changes.
-
The Go module path becomes
github.com/trianalab/pacto/v3(was.../v2). Consumers must update their import paths. - The contract schema is v2 only (
pactoVersion "2.0"); v1 fields (runtime.*, interfaceport,scaling,service.image) are removed. - New pure engine:
pkg/evidence+pkg/finding+Evaluate(contract, evidence);ValidateRuntimeand the v1 declaration-side runtime types are gone. - Releasing is driven by an explicit release transaction, not a manifest-file diff.
@pacto/demo-compose¶
4.6.1¶
No changes in this release.
4.6.0¶
Minor Changes¶
- bd0bdc4:
pacto impactandpacto cifind the consumers that run without cluster credentials. From the change'soci://ref they try<host>/<first path segment>/pacto-targets, then<host>/pacto-targets, read everycluster-<uid>snapshot of the first that exists and print aRegistry:line and oneTargets:line per snapshot, pinned by digest.--target-snapshot(repeatable) names a repository or pins cluster tags or digests, andoffreads none;--delivery-trustor$PACTO_DELIVERY_TRUSTnames the trust config. A snapshot counts only when a key whosestreamsname its cluster's UID verified it and itsasOfis less than 15 minutes old; otherwise its source readspartial,staleorunavailablewith one ofTARGET_SNAPSHOT_UNVERIFIED,TARGET_SNAPSHOT_UNSCOPED,TARGET_SNAPSHOT_STALE,TARGET_SNAPSHOT_INVALIDorTARGET_SNAPSHOT_BOUND, and aBREAKINGchange with consumers never clears. Nopacto-targetsrepository leaves today's answer and exit code.--rootin the CI recipe is now optional, for consumers that run nowhere yet.
A snapshot becomes up to three fleet sources per cluster: target-snapshot
for its Pacto resources, kubernetes-workloads for its inferred services,
which never count as consumers, and evidence-http for the targets its
Evidence Server accepted. Source states gain ref, signer, publisher and
cluster, and impact answers gain registry and targetSnapshots, also on
the pacto_impact MCP tool over stdio. pacto mcp over HTTP refuses
--target-snapshot. pacto delivery targets publish signs and pushes a
snapshot document with a PEM key or a pacto evidence keygen seed.
The operator publishes the cluster's signed snapshot to
<registry>/pacto-targets:cluster-<uid> every 5 minutes when the chart's new
top-level registry value is set: the cluster's Pactos, the workloads no
Pacto targets (without env values or probes) and, with evidence.enabled, the
Evidence Server's targets, each with its own asOf and completeness. Give
pacto-targets its own read ACL: pull on it reads every namespace's Pacto
status and workload shape.
The Compose demo runs a targets service that publishes a signed snapshot of
the demo cluster to registry:5000/demo/pacto-targets every 5 minutes.
- 73ce984: Pacto publishes an inferred contract for every external system your services call. Once registry is set the operator writes <registry>/pacto-inferred/<identity> every 5 minutes, signed with the installation key and annotated run.pacto.contract.provenance: inferred, and only when the hosts, ports or client majors it sees change; pacto fleet publish-inferred does the same where no operator runs. The 2.5 contract field service.external names the system and the pacto.inferred.yaml section surface records what Pacto saw with its sources, catalog digest and first and last seen; it never names a consumer. A range against an inferred contract reads rangeStatus: unknown with the new rangeReason: INFERRED_PROVIDER and gates as unverified. A revision only the operator signed reads unverified with the new signature source operator and an INFERRED_PROVIDER attention item suggests pacto declare. The Compose demo publishes demo/pacto-inferred/stripe.
4.5.0¶
No changes in this release.
4.4.2¶
No changes in this release.
4.4.1¶
No changes in this release.
4.4.0¶
No changes in this release.
4.3.0¶
No changes in this release.
4.2.0¶
No changes in this release.
4.1.0¶
No changes in this release.
4.0.0¶
3.3.6¶
3.3.5¶
3.3.4¶
3.3.3¶
3.3.2¶
3.3.1¶
3.3.0¶
3.2.9¶
3.2.8¶
3.2.7¶
3.2.6¶
3.2.5¶
3.2.4¶
3.2.3¶
3.2.2¶
3.2.1¶
3.2.0¶
@pacto/external-catalog¶
4.6.1¶
No changes in this release.
4.6.0¶
Minor Changes¶
-
ca50460: pacto init finds the vendor APIs and managed cloud services a folder names (configuration, SDK manifests, Terraform and Crossplane) and records them as inferred external dependencies in pacto.inferred.yaml, each with every file and line that names it.
-
Sources: the workload environment, Helm values files, Compose
environment, KustomizeconfigMapGenerator,go.mod,package.jsonwithpackage-lock.json,requirements*.txt,poetry.lock,pom.xml,gradle.lockfile, Terraform*.tfresources and Crossplane objects. Only the host and port, file, line and key name are kept; Composeenv_file, Terraform state, secret attributes and package registry URLs are never read. - SDK, Terraform and unconfirmed Crossplane matches are
possible. The SDK major is recorded as the client version only when a lockfile or an exact range gives it. A managed resource gets its five-segment identity only when the folder shows its account and region, and otherwise names what it misses. pacto initprints oneExternal dependencies: N (...), inferredline, counts every input it did not read and takes--external-catalog(PACTO_EXTERNAL_CATALOG, also read bypacto pack,pacto pushandpacto explain). The record lists each catalog digest underinputs.catalog. MCPpacto_createclassifies with the server's catalog.- The fleet,
pacto fleet get external:<id>, the MCP fleet tools and the dashboard show these externals as inferred edges of the new source kindrepository, with the revision that named them. They never enter impact or a gate. - The external catalog format gains ecosystem-prefixed
sdkModules(npm:,pypi:,maven:), andterraformandcrossplanerows onmanaged-cloudentries; a sensitive Terraform id attribute is refused. The default catalog gains cited rows, so its digest changes. - e250ce8: Every vendor API, managed cloud service and legacy host that a contract names
is one graph node of the new kind
external, keyed by a canonical identity such asstripe,aws/rds/123456789012/eu-west-1/orders-dborhost/corp-legacy.example. A ref-lessexternal: truedependency joins it through itsidentity, else a catalog alias, else a hostname's registrable domain, else its normalized name, so consumers write nothing new. Its relationship carriestoExternalwithresolved: false; an external system never gets a range status and never enters impact, dependents or delivery.
Each external record lists its sources with their own provenance and match, its
consumers and the catalog entry and digest that classified it. A snapshot lists
them in externals and the catalogs used in externalCatalogs, which every
answer's meta repeats. One answer names at most 200 external systems and folds
the rest into other-egress, partial with EXTERNAL_CAP. A restricted view
counts hidden consumers and hidden external systems and never names them.
pacto fleet get, graph and explain and the matching MCP tools take
external:<identity>; pacto fleet entities --kind external --class <class>
lists them and a text search adds matching externals. The TUI, the dashboard
Overview, a new External systems list, an external entity page with its
provenance and a distinct graph node show them. The contract graph labels a
broken reference "Unresolved ref" and an external system "External system".
Pacto embeds a default external catalog. --external-catalog
oci://REPOSITORY@sha256:DIGEST on pacto fleet, impact, mcp, stats,
tui and dashboard (or PACTO_DASHBOARD_EXTERNAL_CATALOG) merges an
organization catalog pinned by digest; a tag is refused and a catalog that
cannot be read makes the answer partial with EXTERNAL_CATALOG_UNAVAILABLE.
The operator chart value dashboard.externalCatalog sets it on the managed
dashboard through the new operator flag --dashboard-external-catalog.
pactoVersion 2.5 adds the optional dependencies[].identity, validated with
INVALID_EXTERNAL_IDENTITY and IDENTITY_WITHOUT_EXTERNAL.
Each core release publishes the default catalog to
ghcr.io/trianalab/pacto/external-catalog:<core version> and signs it with
Cosign; its digest equals the embedded copy's.
@pacto/k8s-docs¶
6.6.0¶
No changes in this release.
6.5.0¶
No changes in this release.
6.4.1¶
No changes in this release.
6.4.0¶
No changes in this release.
6.3.0¶
No changes in this release.
6.2.0¶
No changes in this release.
6.1.0¶
No changes in this release.
6.0.1¶
6.0.0¶
5.4.3¶
5.4.2¶
5.4.1¶
5.4.0¶
5.3.0¶
5.2.4¶
5.2.3¶
5.2.2¶
5.2.1¶
5.2.0¶
5.1.2¶
5.1.1¶
5.1.0¶
5.0.0¶
Major Changes¶
-
045f11e: The Kubernetes integration moves into the monorepo — breaking for consumers.
-
The Go module path becomes
github.com/trianalab/pacto/integrations/kubernetes/v5(wasgithub.com/trianalab/pacto-operator). - It pins the published core module
github.com/trianalab/pacto/v3at release time; thego.workworkspace resolution is development-only. - The integration continues the operator
v4line asv5(image + chart + module); public OCI/chart coordinates are preserved.
@pacto/k8s-module¶
6.6.0¶
Minor Changes¶
- e250ce8: An empty
pacto.yaml, or one line of it, is now a valid contract (pactoVersion 2.5). An absentpactoVersionreads as the newest version the CLI supports, andservice,service.nameandservice.versionmay be left out. Pacto infers the service name fromChart.yaml, a Kustomization or a single-service Compose file, theorg.opencontainers.image.titlelabel, theapp.kubernetes.io/namelabel or the folder name, andpacto validate, the fleet and the dashboard say where each inferred value came from. An inferred name that another service also claims is dropped from the operational graph with aSERVICE_NAME_COLLISIONlimitation, and an inferred name never clears an impact gate (SERVICE_NAME_INFERRED).
pacto pack, pacto push and pacto publish refuse a contract that does not
declare service.name (PUBLISH_NEEDS_SERVICE_NAME) or service.version
(PUBLISH_NEEDS_SERVICE_VERSION) and write pactoVersion into the bundled
pacto.yaml. A bundle pulled from a registry, or an inline contract in a Pacto
resource, that does not declare all three is rejected; the operator reports
ContractUndeclared.
A dependency may leave out name, which is derived from its ref and resolves
only against a provider published at that repository, and required, which
defaults to true. compatibility: unknown records a range nobody decided
yet: it is never read as compatible and never clears a gate or a promotion.
An interface can declare its port, and breaks[] announces a deliberate
breaking change to the consumers it names. Validation, pacto diff, the fleet,
the dashboard, MCP and the operator status (status.interfaces[].port) read
the new fields.
- ca50460: Every workload a cluster runs shows up in the fleet as an inferred service,
with its image, ports and probes; inferred services never satisfy a dependency
or clear a gate. A new kubernetes-workloads source lists Deployments,
StatefulSets, DaemonSets and CronJobs (list only) and reads no environment
variable, Secret or ConfigMap. Service records carry declaration
(declared or inferred); pacto fleet entities and pacto fleet search
take --declaration, the fleet MCP tools take declaration, the Overview
counts inferredServices apart and the Services list shows inferred services
muted with a filter. An inferred caller of a declared service stays an
uncontracted caller and links to its entity. The dashboard ClusterRole and the
namespace watch Role gain list on the four workload kinds, and the operator
ClusterRole gains daemonsets.
- bd0bdc4: Group inferred services the way the cluster already does: by Argo CD
Application, Flux Kustomization or HelmRelease, Helm release or
app.kubernetes.io labels, with the source repository URL and where Pacto read
it. pacto fleet entities --group, pacto_fleet_entities.group and
GET /api/fleet/entities?group filter by group; Data sources lists Argo CD,
Flux and Helm. The dashboard role lists Argo CD Applications and Flux
Kustomizations, HelmReleases and GitRepositories. Data sources also lists who
promotes and who reports, from an optional fingerprints chart value and
--fingerprints flag that name an installation's own workload managers and
promoters; a workload one of those managers applies reads external: <product>
in the Stage applier verdict, and the promoter writes no pointer for it.
- bd0bdc4: Probe each registry once and record the mode Pacto uses. Delivery records now
work on registries without the OCI Referrers API, such as GHCR and CNCF
distribution, as one write-once, content-addressed tag per record in the
streams repository; every reader reads both forms. Stages gain
status.stream.registryMode and the RecordStoreReady reason WriteOnceTags;
the ReferrersUnsupported reason is removed, and a Stage that recorded
native is never moved to write-once tags on its own. pacto fleet providers
shows a Registry <host> row for every registry an OCI source reads.
- bd0bdc4: pacto impact and pacto ci find the consumers that run without cluster
credentials. From the change's oci:// ref they try
<host>/<first path segment>/pacto-targets, then <host>/pacto-targets, read
every cluster-<uid> snapshot of the first that exists and print a Registry:
line and one Targets: line per snapshot, pinned by digest. --target-snapshot
(repeatable) names a repository or pins cluster tags or digests, and off
reads none; --delivery-trust or $PACTO_DELIVERY_TRUST names the trust
config. A snapshot counts only when a key whose streams name its cluster's
UID verified it and its asOf is less than 15 minutes old; otherwise its
source reads partial, stale or unavailable with one of
TARGET_SNAPSHOT_UNVERIFIED, TARGET_SNAPSHOT_UNSCOPED,
TARGET_SNAPSHOT_STALE, TARGET_SNAPSHOT_INVALID or TARGET_SNAPSHOT_BOUND,
and a BREAKING change with consumers never clears. No pacto-targets
repository leaves today's answer and exit code. --root in the CI recipe is
now optional, for consumers that run nowhere yet.
A snapshot becomes up to three fleet sources per cluster: target-snapshot
for its Pacto resources, kubernetes-workloads for its inferred services,
which never count as consumers, and evidence-http for the targets its
Evidence Server accepted. Source states gain ref, signer, publisher and
cluster, and impact answers gain registry and targetSnapshots, also on
the pacto_impact MCP tool over stdio. pacto mcp over HTTP refuses
--target-snapshot. pacto delivery targets publish signs and pushes a
snapshot document with a PEM key or a pacto evidence keygen seed.
The operator publishes the cluster's signed snapshot to
<registry>/pacto-targets:cluster-<uid> every 5 minutes when the chart's new
top-level registry value is set: the cluster's Pactos, the workloads no
Pacto targets (without env values or probes) and, with evidence.enabled, the
Evidence Server's targets, each with its own asOf and completeness. Give
pacto-targets its own read ACL: pull on it reads every namespace's Pacto
status and workload shape.
The Compose demo runs a targets service that publishes a signed snapshot of
the demo cluster to registry:5000/demo/pacto-targets every 5 minutes.
- e250ce8: Probing and metrics observation take auto, on or off and default to
auto, which turns each one on only in namespaces whose owner labels them
pacto.trianalab.io/observe with probing, metrics or probing.metrics.
A namespace owner opts in with kubectl label ns payments
pacto.trianalab.io/observe=probing, with no chart change, and every other
namespace stays passive. The chart values are controller.probing and
controller.metricsObservation; controller.enableProbing and
controller.enableMetricsObservation are deprecated and still honoured, so an
upgrade that reuses the earlier release's values renders the same arguments. An
explicit auto overrides a deprecated true. ServiceMonitor and PodMonitor
read access still comes with metricsObservation: on only.
controller.interfaceNameMatchDiscovery and nodeAgent.image are new, so
every operator flag has a chart value or a documented reason, and a test keeps
it that way. controller.kernelEvidence.enabled takes auto, on or "off";
false keeps following nodeAgent.enabled.
The default install gains a namespaces get grant for the label read (in each
watched namespace's Role under controller.watchNamespaces). The health probe
no longer follows ExternalName or selector-less Services. The RuntimeObserved
message names where each setting came from, and a transient namespace read
failure marks it False.
- e250ce8: The operator reads no Secret across the cluster. Its ClusterRole drops
secrets, and it reads pull secrets and the Secrets behind contract
configurations only in the release namespace, in each watched namespace and
where the new controller.secretGrants names them as namespace/name (one Role
limited to each named Secret). A Secret-backed configuration it may not read
reads OBSERVATION_UNSUPPORTED, and the finding names the grant to add; the
collection does not fail. A pull secret outside every grant sets
ContractValid=Unknown with reason PullSecretNotGranted. The operator no
longer watches Secrets and reads a rotated pull secret within one check
interval.
controller.watchNamespaces takes a list of namespaces and the operator takes
--watch-namespaces. With a list, the chart renders Roles and RoleBindings in
each namespace and no ClusterRole, unless the node agent or the dashboard's
delivery views need one. controller.watchNamespace and --watch-namespace
still work as deprecated aliases that join the list, also in an upgrade that
reuses the earlier release's values. Moving a cluster-wide install to a list leaves the
pacto-dashboard ClusterRole and binding behind: the upgrade notes and a
StaleClusterRBAC Warning event name the kubectl delete command. The chart
refuses an ed25519.secretName recorder key without
allowOperatorReadableKey whenever a grant reaches the delivery namespace.
--namespace on pacto fleet, pacto dashboard and pacto mcp and
PACTO_DASHBOARD_NAMESPACE accept a comma-separated list; one value keeps
working. A source that reads a list is always partial, names its scope in a
K8S_NAMESPACE_SCOPED limitation and in namespaces on its source state, and
names a namespace it could not read in K8S_NAMESPACE_UNREADABLE. A restricted
view never names a watched namespace the reader may not read. The dashboard
Overview says which namespaces the fleet watches. --review=local (or
PACTO_DASHBOARD_REVIEW=local) reviews people with LocalSubjectAccessReviews
in the watched namespaces only; the managed dashboard of a namespace-list
install without delivery uses it.
Upgrade: list each pull secret outside the release namespace in
controller.secretGrants, or add its namespace to controller.watchNamespaces,
before upgrading.
- e250ce8: Delivery tells people from agents by how they sign in and lets whoever may
update a Stage's workload decide its held changes, with no identity values.
Upgrade effect first. An upgrade that takes the new chart's defaults turns
owner-team narrowing and the ownerless protection off unless the install set
delivery.identities.teamGroupPrefix explicitly: a values file through Argo
CD, a Flux HelmRelease or helm upgrade -f, and the documented
helm upgrade --reset-then-reuse-values. To keep the old behaviour, set
delivery.identities.teamGroupPrefix: "" and
delivery.identities.requireOwnerTeam: true. Plain --reuse-values keeps the
old defaults ("" and true) and so keeps narrowing. The promoter emits a
TeamNarrowingOff Event on each Operation it holds while narrowing is off, so
the effect shows on the first held change.
- A ServiceAccount, any other
system:user and an unauthenticated request are agents; every other signed-in identity is a person.agentGroupsmarks automation that signs in through OIDC. The chart no longer refuses delivery withhumanGroupsempty:allowEmptyHumanGroupsis ignored (the schema still accepts it) andhumanGroupsis a deprecated override. - Approvers need
updateon the Stage's workload, asked as a SubjectAccessReview by the promoter (it gainscreate subjectaccessreviews) and as a SelfSubjectAccessReview by the dashboard andpacto delivery approve. The same rule decides a person's unfreeze and acknowledge. Refusals readCannotUpdateWorkloadandApproverUnverified; a failed review never allows. With delivery on, the chart aggregates delivery reads into the built-inview,editandadminroles and creating Approvals and Operations intoeditandadmin, so people witheditoradminin a namespace may decide there without an-approverbinding. teamGroupPrefixdefaults tonull: set, even to"", it narrows who may answer to the owner teams.requireOwnerTeamdefaults tofalse.- Operation and Approval records,
pacto delivery blameandhistory, the dashboard and MCP delivery answers carry how each actor was classified (classifiedBy) and, on each approval, the access phrase, its source and when it was answered (access,accessSource,accessAt). Records stayoperation/v1, but signed records are parsed strictly: upgrade a promoter that follows another cluster's records (upstreamTrust), and the CLI, no later than the recording cluster. - Go API:
delivery.ApprovalRefusaltakes a lastWorkloadAccessargument, so no caller can skip the rule;delivery.ApprovalRefusalAskingasks it only for an approval every other check lets through.delivery.ApprovalEligibleis removed: useApprovalRefusal, whose empty reason means the approval counts. - ca50460: The dashboard asks people to sign in by default, and the install notes print a short-lived sign-in link.
Upgrade effect first. After any upgrade, one that reuses the earlier
release's values included, the dashboard asks people to sign in.
To keep serving without sign-in, set dashboard.auth.tokenSignIn.enabled=false
and dashboard.auth.allowAnonymous=true; the install notes say so when the
previous release served without sign-in.
- The new chart value
dashboard.auth.tokenSignIn.enableddefaults totrue.dashboard.auth.allowAnonymousdefaults tofalseand passes--dashboard-allow-anonymousonly when set totrue.dashboard.auth.tokenLogin.enabledis deprecated and ignored; the schema still accepts it. - The install notes print a port-forward and a sign-in link carrying a
10-minute token for the chart's read-only
pacto-viewerServiceAccount, minted with--audience pacto-dashboardand passed after#, so the browser sends it to no server in the URL and it reaches no access log or proxy. An expired link says "link expired, run the command again". - A ServiceAccount token signs in only when a TokenReview proves it was minted
for the
pacto-dashboardaudience, and its session reads the fleet only: the Delivery tab is hidden and delivery reads answerSignInLinkReadsFleet. A ServiceAccount token without the audience is refused withTokenAudienceRequired, and a sign-in link with any other token withSignInLinkNeedsDashboardToken. - A person's own token (an OIDC ID token, an EKS or static token) signs in as
them, and their token session may now approve held changes under the
approver rule. ServiceAccount tokens never approve.
TokenCannotDecideis gone. - The dashboard's ServiceAccount gains
createontokenreviewsthrough the ClusterRole<fullname>-<namespace>-dashboard-tokenreview, also withcontroller.watchNamespaces.pacto-viewergetsget,listandwatchon Pactos and PactoRevisions through the ClusterRole<fullname>-viewer, or a Role in each watched namespace. - 73ce984: One chart value,
registry, turns on the registry-backed features. The operator publishes the cluster's signed target snapshot with its installation key, advertises the registry, snapshot, index and inferred refs, and pushes only under them. Delivery stays opt-in. Pacto reaches GAR, GCR, ECR and ACR with cloud workload identity, and uses a pull Secret only onceregistryPullSecretnames it. - e250ce8: Pacto detects the manager that owns each Stage's workloads and never promotes through another one. Stages can apply through a Flux HelmRelease.
Upgrade effect first. delivery.argocd.enabled and delivery.flux.enabled
default to auto. An upgrade that takes the new chart's defaults on a cluster
that serves Argo CD Applications grants the promoter patch on Applications, limited by
admission to spec.source.targetRevision of labelled Applications; set
delivery.argocd.enabled=false to keep it off. Flux access renders as before,
plus HelmRelease read, --flux-helm and the applier-helmrelease admission
policy when the cluster serves Flux HelmReleases; the agent, approver and
recorder roles gain HelmRelease get there too, which includes inline Helm
values.
- The promoter reads, and never writes, the labels, annotations, field
managers and owner references of each workload a Stage's Pactos report, and
records the manager in the Stage's new
status.applier(observed, with evidence,asOfandcompleteness) and theApplierprint column. A manager that contradictsspec.applyRefreadsReadyFalseApplierConflict; an unsupported or ambiguous manager, a workload without its applier's marks or an unreadable one readsApplierUnknown, with the reason a Kustomization could not be read. So does a Pacto the operator has not reconciled, or one that evaluated another workload than the Stage runs. Detection reads a Kustomization outside the Stage namespace only when it applies from the Stage's OCIRepository, and gives one fixed answer for any other the workload's labels name.status.applier.staleAtis twice the promoter's resync afterasOf, so a longer--resyncnever reads stale. - The new
pacto.applierpromote gate fails on a conflict and is Unknown when Pacto cannot tell; both refuse the promote, and nobody can accept them. spec.applyRef.kindacceptsHelmRelease. The promoter writes the chart digest to the OCIRepository the HelmRelease'sspec.chartRefnames, in the Stage's namespace, and counts a move applied once the HelmRelease is Ready at that digest.spec.chartreadsApplierNotChartRef.pacto delivery status,pacto delivery plan, MCPpacto_delivery_statusand the dashboard Delivery views print one applier line per service, with the reason when the Stage does not adopt it.pacto delivery planand the candidate list read versions from an Argo CD Application's or a HelmRelease's repository, as the promoter does.- An Operation the promoter cannot read the applier for says
reading the applier, and a deadline saysthe applier did not confirm, instead of naming an OCIRepository or Flux. - An
app.kubernetes.io/instancelabel of<namespace>_<app>names the Application in that namespace, as the tracking id does. - The delivery binary gains
--flux(defaulttrue) and--flux-helm(defaultfalse). Go API: the newpkg/workloadmanagerpackage (Detect,Describe),delivery.AdoptApplier,delivery.ApplierStatusanddelivery.GateApplier. - bd0bdc4: Keep approvals and delivery records in the registry on every registry. The
recorder signs an
operation-intent/v1record for every admitted Operation and anapproval/v1record for every Approval made in the cluster, on behalf of the person admission verified. Withdelivery.identities.signersset,pacto delivery approvesigns the decision keyless after a fresh login and pushes it to the Stage's approvals repository (delivery.recorder.approvalsRepository); it refuses whileSIGSTORE_ID_TOKENor a CI token is set. With the recorder on, an approval counts only once its record is written, and a person's signed approval only once the promoter verified it. The recorder anchors the approvals repository only once a signer is set, and a failure there never stops operation records.pacto delivery record get/verify <ref>andapprove --intent <ref>read records with no kubeconfig, and the stdio MCP record tools takeref; MCP still has no approve tool. On registries without the OCI Referrers API, approval and intent records use write-once tags, and publisher signatures and SBOMs also get write-oncepacto-sig-<subject hex>-<12 hex>tags that Pacto reads in place of the sharedsha256-<hex>index. A recordednativeregistry mode can no longer narrow at admission.
Upgrade order: operation records now name each approval's record, and earlier
readers decode records strictly. Upgrade the CLIs and every promoter that
follows these streams before the recorder.
- bd0bdc4: Accept a version only from a publisher Pacto knows. A first Stage with
spec.candidates.registry watches the registry, verifies each new version's
Sigstore signature and accepts it only when the signer is the CI the
installation's registry names (delivery.publishers.registry, a rule derived
for ghcr.io and registry.gitlab.com), an identity a person confirmed for
that service or a rule of a signed delivery policy
(delivery.publishers.policy). It needs no Flux, so an Argo CD-only cluster
promotes its first Stage. A new CI signer raises one "Confirm identity" item
in the delivery inbox; confirming it writes a signed identity-pin/v1 record
to the registry. An unsigned or unreadable version, or a deploy digest a
person signed, never passes. Keyless signers are classified as human, agent or ci, and an
approval signed by anything but a person is a proposal that never counts.
pacto delivery trust, the pacto_delivery_trust MCP tool and
GET /api/delivery/trust show which publishers each service accepts.
A fleet signature status is now verified only when a publisher rule, a
pin or a signed policy accepts the signer, and the new source field says
which. A signer the contract's own publish.sign declares is no longer
verified. pacto publish stamps org.opencontainers.image.source on the
artifacts it builds in CI.
- 73ce984: Only a member of a service's current owner or a default approver may set,
change or remove its service.owner through a declaration, on pacto declare,
pacto_declare and (once it can declare) the dashboard; agents and CI signers
never do, and on_behalf_of grants nothing. A refused owner change stops before
anything is pushed with OWNER_SIGNER_NOT_PERSON, OWNER_SIGNER_NOT_ALLOWED,
OWNER_POLICY_UNVERIFIED or OWNER_SIGNER_UNVERIFIED, and an agent's plan lists
who may accept it in mayAccept. An owner read from CODEOWNERS or
catalog-info.yaml is attested when a CI identity the publisher rule accepts
signed the bundle at the commit it was read at: it routes reviews and never
clears a gate. The fleet adds ownerSource on services, source on ownership details,
signerRepository and signerCommit on bundle signatures and ownerRight on
revision provenance, and ignores a refused or unchecked owner with the
limitations OWNER_DECLARATION_REFUSED and OWNER_DECLARATION_UNVERIFIED.
pacto fleet get and the TUI print where an attested owner was read. The
operator chart gains the declare values, rendered into an immutable,
content-named ConfigMap the operator mounts, passes to its dashboard and
publishes in its signed target snapshot when registry is set; the operator
sets the OwnerVerified condition on a running bundle that changes the owner
and withholds that owner from status unless its signer is allowed.
- e250ce8: Every target, caller and record names the cluster it is in. A snapshot that
reads a cluster now lists it in clusters, and each target carries cluster,
clusterName, clusterNameSource, clusterNameReportedBy and
clusterRelation. The live Kubernetes source's id is the cluster UID (its
kube-system namespace UID) when it can get namespaces/kube-system, and the
context name otherwise. The display name comes from a node label that names the
cluster, then the context name, then the first 8 characters of the UID, and its
source is always shown.
Target keys and k8s: callers gain a leading cluster component only when the
snapshot holds two or more clusters, so single-cluster keys, hrefs, callers and
MCP answers keep their form. A 3-part key keeps resolving while one cluster
matches it; when several do, the dashboard API answers 409 Conflict with the
candidate keys, the dashboard offers a chooser and the CLI and MCP print the
candidates. An old dashboard link redirects to the canonical one. Two targets
in two clusters never merge. A target with no cluster id in a multi-cluster
snapshot raises CLUSTER_UNKNOWN and makes its source partial.
A --target-state file takes an optional cluster block with id and name.
pacto evidence serve takes --cluster-id, --cluster-name and
--cluster-name-source; each accepted record carries the cluster that accepted
it, and the targets endpoint answers pacto.dev/evidence-source/v5 when it
carries a cluster; older readers accept only v2 to v4. Two evidence sources that report one record with two
clusters raise CLUSTER_CONFLICT.
The operator reads its cluster identity at start and passes it to the Evidence
Server it runs. The operator ClusterRole and the managed dashboard ClusterRole
gain get on namespaces for kube-system only.
- 73ce984: - pacto impact --running oci://<repo>@<digest> never judges a revision against itself: a target already running the new digest is listed in running.excluded, so a gate that runs after a deploy, such as a Kargo verification, judges the new revision against the other revisions that run. A promoter fingerprint can carry an offer (id, text, an https doc), which its Detected providers row lists under offers on pacto fleet providers, pacto_fleet_status and the dashboard's Data sources. The demo shows the Kargo row with its offer.
- The chart's default Kargo fingerprints offer "Gate every Kargo promotion with one shared AnalysisTemplate", and the GitOps docs publish that ClusterAnalysisTemplate: each Stage adds one verification stanza, exit 2 (unverified) fails unless allow-unverified is "true", and the template reads the signed target snapshots by default and needs no cluster RBAC.
- e250ce8: Every vendor API, managed cloud service and legacy host that a contract names
is one graph node of the new kind external, keyed by a canonical identity such
as stripe, aws/rds/123456789012/eu-west-1/orders-db or
host/corp-legacy.example. A ref-less external: true dependency joins it
through its identity, else a catalog alias, else a hostname's registrable
domain, else its normalized name, so consumers write nothing new. Its
relationship carries toExternal with resolved: false; an external system
never gets a range status and never enters impact, dependents or delivery.
Each external record lists its sources with their own provenance and match, its
consumers and the catalog entry and digest that classified it. A snapshot lists
them in externals and the catalogs used in externalCatalogs, which every
answer's meta repeats. One answer names at most 200 external systems and folds
the rest into other-egress, partial with EXTERNAL_CAP. A restricted view
counts hidden consumers and hidden external systems and never names them.
pacto fleet get, graph and explain and the matching MCP tools take
external:<identity>; pacto fleet entities --kind external --class <class>
lists them and a text search adds matching externals. The TUI, the dashboard
Overview, a new External systems list, an external entity page with its
provenance and a distinct graph node show them. The contract graph labels a
broken reference "Unresolved ref" and an external system "External system".
Pacto embeds a default external catalog. --external-catalog
oci://REPOSITORY@sha256:DIGEST on pacto fleet, impact, mcp, stats,
tui and dashboard (or PACTO_DASHBOARD_EXTERNAL_CATALOG) merges an
organization catalog pinned by digest; a tag is refused and a catalog that
cannot be read makes the answer partial with EXTERNAL_CATALOG_UNAVAILABLE.
The operator chart value dashboard.externalCatalog sets it on the managed
dashboard through the new operator flag --dashboard-external-catalog.
pactoVersion 2.5 adds the optional dependencies[].identity, validated with
INVALID_EXTERNAL_IDENTITY and IDENTITY_WITHOUT_EXTERNAL.
Each core release publishes the default catalog to
ghcr.io/trianalab/pacto/external-catalog:<core version> and signs it with
Cosign; its digest equals the embedded copy's.
- e250ce8: Pacto recognizes the vendors, managed services and legacy hosts that a
service's configuration, pod spec and traces already name, with no contract
edit. Every surface shows the host and port at most: a user name, password,
path and query are stripped, a value under a sensitive key is never parsed and
no Secret value is ever read.
pacto initandpacto_createwithpactifylist the externals that the environment, ConfigMaps, Secret and key names and every chart'svalues.yamlname, and write the likely ones as commented entries underdependenciesfor a person to uncomment. The parsed contract does not change.- The operator writes
status.externals,status.externalsCoverageandstatus.externalCatalogatPactoStatusFormat3. It reads the target workload's env names and values, Secret names,secretKeyRefkey names and the ConfigMap keys the pod spec references, plus theExternalNameServices, selectorless Services and IstioServiceEntriesof its own namespace that the workload names.status.externalsshows every reader of a Pacto the normalized hosts that the referenced ConfigMap keys hold. - The operator role gains
get,listandwatchonnetworking.istio.ioserviceentries, rendered by the chart only when the cluster serves that API. Without it the coverage readspartial, reasonserviceentry-reader-off. - The fleet joins trace callees that the external catalog recognizes to
external systems as
observededges, and reads the operator's externals asinferrededges withinferredSources. Neither enters an index that impact or a gate reads.NeighborhoodEdge.provenancegains the valueinferredand edges gaininferred: true.rpc.systemis now the last OTel callee key. - New limitations:
EXTERNALS_UNREPORTED(an older, partial or stale operator status),EXTERNAL_CATALOG_MISMATCHandEXTERNAL_USE_UNATTRIBUTED.OBSERVED_IDENTITY_UNRESOLVEDstays for names that match more than one service or that are neither a service nor an external system. - 73ce984: Pacto publishes an inferred contract for every external system your services call. Once
registryis set the operator writes<registry>/pacto-inferred/<identity>every 5 minutes, signed with the installation key and annotatedrun.pacto.contract.provenance: inferred, and only when the hosts, ports or client majors it sees change;pacto fleet publish-inferreddoes the same where no operator runs. The 2.5 contract fieldservice.externalnames the system and thepacto.inferred.yamlsectionsurfacerecords what Pacto saw with its sources, catalog digest and first and last seen; it never names a consumer. A range against an inferred contract readsrangeStatus: unknownwith the newrangeReason: INFERRED_PROVIDERand gates as unverified. A revision only the operator signed readsunverifiedwith the new signature sourceoperatorand anINFERRED_PROVIDERattention item suggestspacto declare. The Compose demo publishesdemo/pacto-inferred/stripe.
Patch Changes¶
- ca50460: Pacto keeps what it infers in pacto.inferred.yaml, a separate bundle file with each value's source, for pactoVersion 2.5 contracts. pacto init and pacto_create complete an existing pacto.yaml without changing it, pacto explain lists each inferred field and the YAML to declare it, a publish that changes only the inferred record is not republished, the diff classifies inferred-only changes as non-breaking and impact never clears a gate on an inferred consumer. The dashboard shows inferred values apart from declared ones.
- e250ce8: pacto init and pacto_create no longer copy environment values into the inferred configuration schema as defaults; sensitive keys are marked writeOnly, cluster drafts read sensitive literals from a Secret and every schema summary (dashboard, fleet, consume snippet, operator status) shows writeOnly keys as (sensitive). Schema diffs print (sensitive) in place of a sensitive key's schema values; values declared under configurations[].values or in an environment file are shown as written. Existing configuration/schema.json files are left as they are: remove any default that holds a secret and republish.
- bd0bdc4:
pacto ci --publishpublishes every changed service of a repository on the merged commit, providers first. An undeclaredservice.versionis derived from the newest verified version in the registry and the change since it (1.0.0for a first publish), and a contract with nopublishsection gets one derived in memory: the image is built with the one tool the folder shows (Skaffold, ko, Jib, buildpacks or a Dockerfile), with no shell, and Pacto assembles the deploy artifact from the folder's manifests, Kustomization or Helm chart, with Secrets left out and the image pinned by digest. Signing is keyless by default, as the identity the GitHub Actions or GitLabid_tokenstoken names; a declared key or KMS key and--sign-keystill sign with a key. Pull request pipelines and stale checkouts are refused, every tag is read back after it is written, a version lost to a concurrent run is planned again up to 3 times and a failure blocks only the services of the run that depend on it. Each published bundle carries a signed record of the image digests its deploy pins. InpactoVersion: "2.5",publish.deploynames a manifests or chart artifact any applier deploys andpublish.artifacts[].buildis optional and deprecated.pacto initand MCPpacto_createno longer write the shell publish section or theservice.versionplaceholder.pacto publishgains--image,--registry,--sign-keyand--no-transparency-log, and MCPpacto_publishandpacto_publish_plantake them asimage,registry,sign_keyandno_transparency_log. - 73ce984: A dependency on a service of your own may leave out ref in a 2.5 contract:
Pacto resolves it by name in its domain. pacto ci proposes its ref from the
organization index and, from the target snapshot, a ^MAJOR.MINOR.0 range for a
dependency whose range is unknown. Both land in pacto.inferred.yaml and
publish as compatibility: unknown. pacto accept --proposed (or --field for one
field) signs, after the person's interactive Sigstore login, an acceptance
record attached to the service's newest published version: a referrer of
type application/vnd.pacto.acceptance.v1+json, or a write-once
pacto-accept-
- tag on a registry without the Referrers API. Only a record signed by the service's declared owner counts; any other signer, and every agent through the new MCP tool pacto_accept, writes a pacto-accept-draft- a person accepts with --draft. pacto ci --publish carries counted ranges into the next version's pacto.yaml and cites each record in inputs.acceptances. pacto accept --break @ accepts a break announced in breaks[], also before the provider publishes (--from); the gate clears with BREAKING_ACCEPTED once every consumer accepted, and an announcement without expires expires 30 days after the commit time. pacto ci, pacto impact, pacto_impact and Change analysis print a Ranges: coverage line, and --policy unknown-range=warn|fail and uncontracted=warn|fail: hold a BREAKING change that no range covers. A changed spec file that is only inferred prints a possible break (inferred) advisory with the YAML that declares the interface: the row reads unverified (INFERRED_POSSIBLE_BREAK) and the classification and version never change. The dashboard service page shows the plan and the pacto accept command for Accept all proposed ranges; it never signs or writes. - 73ce984:
pacto ci initwrites the CI caller that runspacto ciinto a repository's working tree: five lines in.github/workflows/pacto.ymlthat call the pacto-actions v2 reusable workflow pinned by commit, or oneincludeentry in.gitlab-ci.ymlfor its GitLab component. It never commits, pushes or needs Git write access. The plan job runspacto cion pull requests, annotates each service that does not read as unchanged and writes the job summary; the publish job, the only one withid-token: write, runspacto ci --publishon the default branch, one run per repository at a time. Pacto's own CI runs the caller over a demo monorepo with empty contracts.
Keyless publishes through the shared reusable workflow keep verifying across pin bumps and stay trusted by the operator's derived publisher rule: Pacto matches the caller repository and branch that Fulcio certifies, never the reusable workflow's commit. A repository moving from its own keyless release workflow keeps its earlier versions verifying. The operator picks the rule up through the core module.
The CI guide, a new guide "From an imperative pipeline to one step" and the
GitHub Actions reference teach pacto ci in place of pacto push,
COSIGN_KEY and hand-raised versions.
Until the pacto-actions release that pins a Pacto with pacto ci, a caller
written by pacto ci init adds with: {pacto-version: <this release>}.
- e250ce8: pacto validate and pacto_check report CONTRACT_BEHIND, an info finding that
never fails a run, when a contract declares an older pactoVersion. Its message
says whether raising the version keeps what the contract means, names the
finding the raise would add or says Pacto cannot tell until the errors are
fixed. pacto_check adds it as a suggestion.
pacto_edit raises pactoVersion only when that keeps the contract's meaning and
otherwise fails with the finding the raise would add. Its change line now
names the old version: set pactoVersion to "2.4" (was "2.3"), comes first
and replaces the set pactoVersion "2.1" for the external dependency line. An
edit that needs a raise now fails when the contract already fails validation,
does not parse or declares an unknown or 1.x pactoVersion, where it used to
overwrite the version.
The fleet revision detail gains pactoVersionCurrent and
pactoVersionUnknown, and pacto fleet entity revision, the TUI and the
dashboard revision page show a behind or unknown version.
The operator reads its ContractOverrides rule for ref configurations from
validation, with no behaviour change, and its finding reference lists
CONTRACT_BEHIND.
- bd0bdc4: pacto ci publishes a contract that declares an older pactoVersion as the current version, raised in memory, when that keeps what the contract means: only the version token of the bundled pacto.yaml changes, the bundle records the raise as a migrations entry in pacto.inferred.yaml and the plan adds one line per migrated or kept contract without changing the exit code. A raise alone does not republish an unchanged service, and the file in the repository is never rewritten. The fleet revision detail reads 2.5 (migrated from 2.4, inferred), with the inferred migratedFrom JSON key read only from a verified record, in pacto fleet, the TUI, MCP pacto_fleet_get and the dashboard revision page. The CONTRACT_BEHIND message now says when pacto ci publishes the contract as the current version.
- e250ce8: Release CLI binaries, checksums.txt and the dashboard, operator and delivery
images now carry signed SLSA build-provenance attestations, verifiable with
gh attestation verify. The images no longer carry BuildKit's unsigned
per-platform provenance manifests.
- e250ce8: pacto init and pacto_create propose dependency ranges and write
compatibility: unknown instead of declaring a guessed range. The proposal
goes in a trailing comment: ^MAJOR.MINOR.0 of the lowest version the
reconciled Pactos describing the called Service report, or of the dependency's
contract in --fleet, and none when nothing was read or those Pactos disagree
on the contract. A draft that writes a dependency declares pactoVersion 2.5.
pacto_create and pacto_edit write compatibility: unknown when an agent gives
no range. The CLI, the TUI, Used by and the dashboard say "range not
declared" for such a dependency.
The delivery controller's gate reason says range not declared for a consumer
with compatibility unknown.
- bd0bdc4: pacto init --cluster and pacto_create with cluster complete each draft with
the engine pacto ci uses and write a pacto.inferred.yaml into the draft
folder. Each value names its source (manifest, label, runtime or fleet), when
it was read and, for runtime and fleet facts, whether every node was observed.
The running image digest is recorded and never declared, and a proposed range
stays a proposal. The cluster read lists each kind of object in pages up to
--max-items (max_items), takes --call-window (call_window) and resumes a read
the bound stopped with --continue (continue). A kind of object you may not
list reads as failed and the run goes on. A literal secret in a container's
command or args moves to the draft's Secret. A published bundle whose
inferred record carries cluster facts fails validation.
- 73ce984: pacto declare publishes a contract for a workload the cluster already runs as
a contract-only version: 0.1.0 for a first declaration, else the published
baseline raised by the change, with the baseline's deploy artifact reused and
nothing built. Only a person's interactive Sigstore login (a browser, or a
device code with --device) publishes a declared version; a key, an ambient
OIDC token or a CI identity writes a write-once draft-observedAt, detectedAt) are stamped
when the evidence is read, so comparing them made almost every reconcile look like a
change. They now refresh with the lastReconciledAt heartbeat, at least once every
half check interval, and a status that is otherwise unchanged is not rewritten.
6.5.0¶
Minor Changes¶
- da4494d: Add
pactoVersion: "2.4"withservice.domain,service.offering,service.summary,service.lifecycle, andvaluesand aconfigurationselector beside a configurationref. Every 2.3 contract is schema-valid under 2.4, but 2.4 checks configuration refs strictly: a ref that cannot be resolved or that matches more than one provider configuration is an error, and a required ref configuration needs values in every environment. Raising a contract to 2.4 can therefore turn those warnings into errors. A"2.0"to"2.3"contract that sets any of the new fields reportsNEEDS_PACTO_2_4.
service.domain is the business domain a service belongs to, and pacto diff
reports an added, changed or removed domain as NON_BREAKING. The operator reports the
domain in status.contract.domain and writes status.statusFormat 2, so a
service seen only through Kubernetes is still grouped by it. A status from an
older operator leaves that service's domain unknown.
The dashboard groups services by domain: domains have a list and a page with
their services, owners, operational targets and attention, and the overview
breaks services down by domain, with services that declare none under No domain
and services whose domain Pacto cannot tell under Domain unknown. Sources that
disagree on a domain raise DOMAIN_CONFLICT.
The registry path that used to read "domain" now reads "Registry". Services with
no owner from any source appear in attention as unowned. An operational target shows
the environment it runs in when its Pacto carries the
delivery.pacto.trianalab.io/environment label, and whether the revision it runs
declares that environment; without the label it reads Unknown. The services list
filters by declared capability. pacto fleet search --business-domain, the
pacto_fleet_search MCP tool and the TUI accept a domain, (none) or
(unknown), and pacto_edit
sets one.
- a6c189d: A delivery plan or proposal can carry a correlation id, such as a ticket or
incident id: pacto delivery plan|propose --correlation-id, correlation_id
on pacto_delivery_operation_plan and pacto_delivery_operation_propose, and
correlationID in the dashboard's plan and propose bodies, and pacto publish
--propose --correlation-id. The id is at most
128 printable ASCII characters, checked by the client and by the operation
admission policy. The automatic rollback, freeze and step-down the promoter
raises after a change inherit its id, so pacto delivery history
--correlation-id lists the changes of one incident.
The intent digest now binds the cause a proposal cites (--cause-verdict,
cause_verdict), never the correlation id, and PlanStale names a changed
cause. Proposals that cite a cause need the CLI, the dashboard and the
operator at the same release, in both directions: across releases the client
and the promoter compute different digests, and the promoter finishes the
Operation Rejected with PlanStale. Proposals without a cause are
unaffected.
An agent must name the person it acts for (onBehalfOf, --on-behalf-of,
on_behalf_of), as the Kubernetes username the cluster authenticates them as,
when it proposes a change, never itself, a service account or
the promoter. The client, the promoter and the operation admission policy
refuse an agent's proposal without one, with the reasons NoPrincipal,
SelfPrincipal and NotAPerson; planning needs none, and changes the
promoter raises itself need none. Existing agent automations that propose
without naming a person must add it. The named person may not approve the
change, and an approval of an agent's change that names nobody is refused.
The name is asserted, never verified: it records who an agent says it acts
for, and it does not stop a person who controls an agent's credentials from
naming someone else and then approving the change.
The dashboard's propose panel proposes the plan it shows when a reason or an
on-behalf-of person is typed, with no false "Something changed" warning. Its delivery
errors carry differs, the field that made a plan stale. The propose panel
asks an agent who it acts for and takes a ticket or incident id.
Fleet attention items whose fix is a contract edit carry nextAction
({"verb": "edit-contract", "tool": "pacto_edit"}), inferred from the item's
code beside nextStep; it grants nothing, and unknown, stale, unresolved or
non-compliant items carry none. pacto_edit returns impact (who the edit
affects, from the session's fleet snapshot), chain (publish and promote,
each with its tool and CLI command) and executor (who acts on the published
revision), also on a dry run; pacto_create returns chain. The dashboard's
target, revision and Change analysis pages offer Plan… for the operations
the caller may take there, and a correlationID in the page URL fills the
propose panel's ticket field.
- a6c189d: The dashboard's Metrics page, under Change and delivery, draws the run records
in a stats repository as daily or weekly trends: breaking changes caught,
consumers protected, gates, delivery rates, lead time per environment and
coverage of contracts and observations. Every number is labelled unsigned statistics
and links to the records behind it. Start the dashboard with
pacto dashboard --stats-registry (or PACTO_STATS_REGISTRY); without one the
page explains how to turn recording on. A signed-in viewer sees only the
services their Kubernetes RBAC allows: hidden services are never named or
counted. pacto fleet status --stats-registry (or --stats-file) writes a
coverage record of the snapshot it read. The operator chart value
dashboard.stats.registry points the managed dashboard at a stats repository.
- 1e7624b: An environment in environments[] can now declare its lifetime
(temporary or persistent), an expires time (RFC 3339, only with
temporary) and an owner in the shape of service.owner (pactoVersion 2.4).
A lifetime nobody declared reads "not declared", never persistent. Once a
temporary environment's expires has passed, pacto validate and
pacto_check warn ENVIRONMENT_EXPIRED; Pacto deletes nothing for it.
pacto diff classifies every change to these fields, and to an environment's
file, as non-breaking.
pacto init --delivery --env and pacto_create with delivery also declare
each environment in pacto.yaml with an empty values file.
pacto_edit add_environments takes lifetime, expires and owner, and
pacto_edit remove_environments retires an environment and deletes the values
file no other environment names. pacto explain --environments a,b and
pacto_check environments list the configuration values two or more
environments disagree on.
A service's environments are one list in pacto fleet entity service,
pacto_fleet_entity and the dashboard's service page: each environment the
current revision declares or a visible target reports, with its declaration,
its owner (declared, or the service owner labelled inferred), the targets
observed there, its provisioning tally, the differences between environments
and how the declarations changed between versions. On a delivery host the
service page also shows the Stages for each environment.
pacto fleet entities --consumes <offering> --phase <phase> --environment <env>
and the matching pacto_fleet_entities arguments list the consumers in a
provisioning phase in one environment.
The delivery promoter emits the Kubernetes Events EnvironmentCreated and
EnvironmentDeleted when a Stage is first reconciled and when it is deleted,
and the recorder posts the CDEvents environment.created and
environment.deleted to its CDEvents sink. Each names one Stage.
- 9cdf40f: service.template (pactoVersion 2.4) marks a contract as a golden path and
names the generate plugins it offers, and service.origin (pactoVersion 2.4)
records the golden path a service was created from as declared provenance
(ref and the path's content digest). A "2.0" to "2.3" contract that
sets either field reports NEEDS_PACTO_2_4; a repeated plugin reports
DUPLICATE_TEMPLATE_PLUGIN and an origin that is neither an oci:// reference
nor a directory reports INVALID_ORIGIN_REF. pacto diff classifies every
change to either field as non-breaking.
pacto init <dir> --from <oci-ref|dir> --owner <team> creates a service from a
golden path: it resets the identity, applies --values and --set, records
service.origin, validates the result with its references resolved and only
adds files. A path read from a registry is pulled by digest and, when the
trust config (--trust or $PACTO_DELIVERY_TRUST) names a role: template
key, must be signed by one; otherwise the signature step reads Unknown.
--run-plugins runs only the plugins of the path you name. --delivery, with
--env, --registry-secret and --insecure-registry, plans the cluster pieces
from the created contract when the path publishes manifests under
publish.deploy. The step list says what was checked and what Pacto cannot
tell yet. The MCP pacto_create tool gains from, values, set,
run_plugins and domain, and takes delivery and its options with from;
from serves stdio only. pacto_edit gains template.
A blank pacto init now writes --owner, --domain and a publish section,
and no placeholder readiness block. pacto_create without pactify refuses a
folder that already holds pacto.yaml and keeps any interface or schema file
already there.
The operational graph treats a service whose newest readable revision declares
service.template and that runs nowhere as a golden path. Its dependencies and
references are requirements, never consumption: impact, dependents, offering
consumers, attention and the Overview population counts leave it out, and the
Overview counts it in goldenPaths and invalidGoldenPaths. A running
service that declares service.template stays a service and raises
GOLDEN_PATH_DEPLOYED. A declared origin links to the golden path revision
whose content digest matches. Entity lists take template (only or
exclude) and createdFrom (MCP created_from), search takes template and
marks golden path hits, and a service created from a path carries a creation
checklist derived from what the fleet observes. A restricted viewer sees a
golden path with no Kubernetes target, with the services created from it that
they may not read counted. The CLI, MCP tools, dashboard (a Golden paths tab)
and TUI show all of it. Consume snippets carry structured entries, and a
values skeleton leaves out and names in missingValues every required value
no candidate satisfies.
The operator chart's dashboard.repositories (operator flag
--dashboard-repositories) lists oci:// references the operator-managed
dashboard reads beside the contracts it discovers, so golden paths, which are
never deployed, show on its Golden paths tab.
- a6c189d: People and agents now see the same organization and meet the same policy on
every surface.
Changes that callers notice:
- An MCP server over HTTP serves only
pacto_schemaof the contract tools.pacto_create,pacto_editandpacto_checkread and write the server's folders and follow refs with its credentials, so they run beside the agent withpacto mcpover stdio. - A remote
pacto mcp --fleetwith--auth-issuerneeds token exchange (--exchange-client-id): it asks the API server who each caller is, the way remote delivery does, in place of reading the token's claims. pacto mcp -t httpon loopback without--auth-issuerprints a bearer at launch (pmcp_...), and every request must carry it.pacto dashboardbound beyond loopback without sign-in refuses to start unless--allow-anonymous(PACTO_DASHBOARD_ALLOW_ANONYMOUS=true) allows it. The operator passes--dashboard-allow-anonymousfrom the new chart valuedashboard.auth.allowAnonymous,trueby default with a warning in the install notes, so existing installs keep starting.- A bundle operation whose name starts with
pacto_is skipped, so a bundle never takes a Pacto tool's name. pacto_impactover HTTP, and the impact view of a dashboard that is not on loopback, accept only refs of revisions in the caller's view and read each at its digest-pinned ref.
Additions:
- Every MCP tool carries annotations (
readOnlyHint,destructiveHint,idempotentHint,openWorldHint); a generated tool takes them from its HTTP method.--allow-writesand the stdio-only rules still decide what runs. - A bundle,
--fleetand--deliverycombine in onepacto mcpprocess, whose instructions describe only the modes it serves.pacto_capabilitiesreports the modes, the contract tools, the caller and how Pacto knows them, whether writes are exposed and the transport. - Six delivery read tools answer what the dashboard's delivery views show,
with the caller's identity:
pacto_delivery_caller,pacto_delivery_inbox,pacto_delivery_environments,pacto_delivery_autonomy,pacto_delivery_publishedandpacto_delivery_refusals. The CLI gainspacto delivery caller,inbox,environments,autonomy,publishedandrefusalsover the same route code. pacto fleet entitiesandpacto_fleet_entitieslist any entity kind and take every filter the dashboard's entity list takes; a filter of one kind, such as--source-kind, lists that kind.pacto fleet attentionandpacto_fleet_attentiontakekind,key,source,statusandstale-only,pacto_fleet_neighborhoodtakesmax_edgesandpacto_fleet_searchtakeslabel.pacto mcp --publishservespacto_capabilitiestoo.pacto_fleet_revision_documentreads one document of a revision's bundle, as the dashboard's revision page does.- With
--verbose, every MCP tool call logs onemcp tool callline with the tool, the caller and how Pacto knows them, the outcome, the duration and a keyed digest of the arguments. - Generated tool calls send
User-Agent: pacto-mcp/<version>. - Fleet views maps each question to its command, MCP tool and dashboard route.
- af4f27d:
service.lifecycle(pactoVersion 2.4) deprecates a whole service with a sunset and a successor, and a configurationreftakesvaluesand aconfigurationselector beside it (pactoVersion 2.4). Consumers of a deprecated service are warned withDEPENDENCY_SERVICE_DEPRECATEDorDEPENDENCY_SERVICE_SUNSET, andpacto diffclassifies the schedule like an interface lifecycle.
Configuration references are now resolved and their values validated against
the referenced contract's selected configuration schema in a new
configuration-refs validation stage, in the fleet, the delivery gate,
pacto_check, pacto_edit and the operator. pacto validate, pacto push and
pacto publish fail with CONFIG_REF_UNRESOLVED on an unreachable
configuration ref whose values or selection depend on it, like a policy ref; a
"2.0" to "2.3" ref with no values anywhere only warns. Environment values
of "2.0" to "2.3" ref configurations are now checked, and only 2.4 reports
missing required values for a ref configuration. A failed configuration-refs
stage does not skip environments. Impact, graph traversal and dependents count
resolved configuration-reference consumers, and impact checks their values
against the new provider schema. Neighborhood edges gain the
configuration_reference relation.
Provider adapters report provisioning status as ResourceProvisioned
evidence, written with pacto evidence provisioned. A trust entry needs
allowedObservationKinds listing ResourceProvisioned to report it. The
Evidence Server's targets endpoint answers pacto.dev/evidence-source/v3 with
a provisioning list only when it holds provisioning reports, and v2
otherwise, and target-state files accept pacto.dev/fleet-targets/v2 with
unsigned provisioning reports. Offering uses carry a provisioning status per
environment that reads Unknown without a current report. pacto fleet
versions, pacto_fleet_versions and the dashboard list each provider's
versions with their lifecycle and range status, --consumes and consumes
list an offering's consumers, and pacto_edit gains
remove_configuration_refs, add_environments, set_environment_values and
lifecycle. A provider with no Kubernetes target that declares its offering
is visible to every signed-in viewer, with its targets hidden and its hidden
consumers counted. OfferingProvider.revisions and activeRevisions become
versions. pacto explain lists each configuration with its
environmentValues, the effective values per environment an adapter
provisions from.
The operator resolves configuration references with host-scoped credentials
and validates their values, spec.overrides and bound ConfigMaps against the
resolved schema. status.metadata renders non-string values as JSON.
The chart's evidence.trust.configKey (operator flag
--evidence-trust-config-key) names a structured trust config inside the
trust Secret, so the operator's Evidence Server can grant an adapter key
ResourceProvisioned.
- a6c189d: A failing health check is reported as HEALTH_FAILING (category
Inconclusive, severity unknown), and compliance stays Unknown: a failing
endpoint does not contradict the contract. The operator reports it when the
declared health endpoint answers with a 5xx other than 501, or when the
readiness probe on the declared health path keeps every pod out of Ready;
pacto run and pacto agent report it on a 5xx other than 501. A 501 or a
405 stays EVIDENCE_INSUFFICIENT, as do a workload scaled to zero and
endpoints the operator cannot map to the health port. COLLECTION_FAILED now
means only that a collector query errored, an EndpointSlice read included. The Evidence Server re-evaluates the same evidence
and reaches the same finding. The CapabilityObserved evidence payload gains
the optional healthy key, which only a present capability may carry. Strict
decoders reject unknown keys, so upgrade the Evidence Server with or before the
operator.
pacto fleet, pacto mcp, pacto tui and pacto impact now mark target
evidence older than 24 hours as stale by default, the window the dashboard
already uses. --freshness 0 still skips the check, and every answer then
carries the FRESHNESS_NOT_EVALUATED limitation, so a stale count of zero is
never read as "nothing is stale"; the CLI also prints it as a note on stderr.
The limitation does not change completeness.
pacto fleet overview, the MCP tool pacto_fleet_overview and the dashboard
overview answer "how healthy is the organization and how much do we know" in
one shape. The overview summary gains operationalHealth (targets that are
healthy, failing their own health check, unknown or declare no health check),
knowledge with its gap kinds (noSummary, noDomain, noInterfaceDocs,
noReadiness, notDeployed, unverifiedCapability) and an unknown bucket,
knowledgeItems, coverage (assertions evaluated and required, and the
targets that report none) and staleCompliantTargets. Every compliance tally
gains staleCompliant, the Compliant targets or services that rest on stale
evidence: a subset, never subtracted from compliant, drawn hatched. The
entity list aggregate gains targetHealth and knowledge. The dashboard draws
an Operational health band and a Knowledge band, and a target that is unknown
is never counted as healthy. There is still no composite score.
Ownership splits a service whose contract Pacto cannot read from a service
that declares no owner: ownership.unknown and the filter value
ownership=unknown are new, labelled Owner unknown. Each business domain row
gains failingHealth, ownerUnknown, notDeployed and withGaps; owner and
domain pages gain operational health, knowledge, readiness, services that run
nowhere, services whose placement is unknown and unresolved and undeclared
dependencies; owner and domain list rows
gain unknown, stale, failingHealth and withGaps counts, and
sort=health ranks them by those counts. New filters and sorts: gap
(--gap), sort=gaps and sourceHealth=incomplete, which the new
Incomplete sources entry point opens. The attention categories health and
knowledge are new, and the dashboard's Attention view lists every category
with each item's reason.
Changed meanings: ownership.unowned and a domain row's unowned no longer
count services whose contract Pacto cannot read; the lead "Services needing
attention" tile and servicesNeedingAttention count every service with at
least one attention item, and the tile's itemCount carries the item total;
an unknown attention item names its cause in code (for example
EVIDENCE_STALE or EVIDENCE_MISSING) and keeps UNKNOWN only when no
cause is known; the CLI and MCP mark targets stale after 24 hours by default;
and the evidence payload gains healthy. The dashboard's sidebar badge counts
only attention items above info.
- 78fd229: service.offering (pactoVersion 2.4) names the platform offering a service
provides to other teams such as postgresql, and service.summary a one-line
purpose; pacto diff reports an added, changed or removed offering or summary as NON_BREAKING.
The operator reports both in status.contract.offering and
status.contract.summary.
The dashboard gains an Offerings page. Each offering lists its providers with
their versions, owners, interfaces, configuration and policies, the services
that consume it and a snippet to consume it from a contract. A service page
lists the platform offerings the service uses and, marked inferred, the
providers its unresolved dependencies may mean. The capability filter and chips
now read "Declared capability" and count each extension by its ref.
pacto fleet search --offering, the offering argument of
pacto_fleet_search and the TUI Offerings tab find providers, and pacto_edit
gains offering, summary, add_configuration_refs and add_policy_refs.
- a6c189d: The delivery promoter can publish an unsigned run record of every operation it
concludes to a repository you name with delivery.stats.repository (Helm) or
--stats-repository. Records hold the type, outcome, verification, gate
results, how long each operation was held, the class of who asked, the Stage
and the digests, never a name. Publishing is best effort: a full queue or a
registry error is counted in pacto_delivery_stats_dropped_total and never
changes an outcome. pkg/runrecord describes kind: operation records.
Patch Changes¶
- a6c189d: Provisioning keys can be scoped to provider repositories with
allowedProviderReposin the structured trust config. The Evidence Server refuses a provisioning report whose declared configuration or dependency ref names a repository outside the scope with HTTP 403 and the codeprovider_not_allowed, and it logs a warning at startup for every provisioning key with no scope. Older binaries reject a trust config that uses the field.
An offering answer names who reports on it on the CLI, TUI, MCP and dashboard:
adapters lists each adapter slug, producer and signature with the
environments and phases it covers, conflicting counts requests whose adapters
disagree and unattributed counts requests no adapter reported on. A report
with no slug reads "unnamed adapter". unresolvedUses counts the declared
references that may name a provider of the offering but did not resolve, and
above 0 the answer carries OFFERING_USES_UNRESOLVED and is partial.
Phase tallies count an unsigned Ready apart in readyUnsigned, and the CLI
prints "N ready (M unsigned)". The dashboard shows an unsigned Ready as
"Ready (unsigned)" in the info tone, so only a signed Ready reads positive.
Impact's CONFIG_REF_CONSUMERS_UNRESOLVED and
POLICY_REF_CONSUMERS_UNRESOLVED now count hidden consumers and count each
consumer once instead of once per revision, so their numbers can change.
The demo adds a security-scanning offering, provided by platform-security,
with a signed and an unsigned report from the scanner adapter.
- 1e7624b: Follow a service through delivery on every surface. pacto delivery status,
the pacto_delivery_status MCP tool and the dashboard show each Stage of a
service in promotion order with its upstream, the one state the board counts,
the version, contract and source revision it runs, its newest re-check with
Watched and what you may ask for (offers: promote, unfreeze, freeze and
undo, each with why or why not). --why and /api/delivery/progress say why
a candidate cannot move yet, with each reason's fix and a dry-run plan that
proposes nothing. Offers go unavailable when RBAC denies or cannot answer, and
when the delivery identity policy cannot be read, with a --delivery-namespace
hint when it is not found. A Stage whose admission policies are missing (Ready
False Unguarded) and a Stage that observes (including one that reports no
level) offer no promote, and none appears in actions.
pacto delivery lifecycle, pacto_delivery_lifecycle and
/api/delivery/lifecycle follow one version through every Stage, and
pacto delivery record get, pacto_delivery_record_get and
/api/delivery/record read one signed record by its id. History takes
--cause and --correlation-id (cause and correlation_id in MCP, which
also accepts durations for since and until); both narrow the timeline too.
The CLI history shows applied, cause and correlation columns and marks lines
that are not signed. /api/delivery/plan and propose return the full plan
answer (next, precedent and order). Published versions show the source
revision pacto publish stamps, an annotation, not signed, and link their
fleet revision; a service whose Stages name two domains is listed once per
domain. Delivery service filters match the service name exactly. A Stage
waiting on exactly one held change names it (heldOperation). A fleet service detail carries
placement, where its targets report it runs. The CLI labels an evidence
gate's Pass as Checked, pacto.contract verdicts cite each Pacto's target,
status, evaluation time and findings, a held promote on a frozen Stage names
the StageFrozen conflict and the CandidateUnverified fix points at
spec.verify. The operator uses the shared Ready reasons and auto-promote
rule, and a held shadow promote keeps the person's question.
- 8517f96: Bump Go dependencies (sigstore, sigstore-go, go-jose, oras-go, prometheus,
pflag, ginkgo and k8s.io/apiextensions-apiserver), dashboard frontend
dependencies (jsdom 31, vite, vitest, playwright, mermaid, marked, d3 and
svelte-check) and the cosign-installer, docker/login-action and CodeQL
GitHub Actions.
- a39e7dc: Build with Go 1.27.4 (was 1.27.3) everywhere it's pinned (both modules,
go.work, both Dockerfiles) for GO-2026-6859, a net/http vulnerability fixed
in Go 1.27.4 and reachable from Pacto's code. No source changes.
- a6c189d: The demos ship generated run records, labelled unsigned statistics: the browser
demo opens Metrics with about 90 days of records that follow the payments story,
the Compose demo seeds CI records into its own registry and the Kubernetes demo
records its real publishes and promoter operations on top of a seeded history.
The delivery tour visits Metrics before its recap. The new guide "Measure what
Pacto does" explains what is recorded, where it goes, how to turn it on in CI
and in delivery, who sees which records and how to prune them, and the run
record reference says for every field whether it can hold personal data.
- a6c189d: A service's detail now carries its changes: every declared change between
the revisions Pacto holds (owner, business domain, offering, dependency,
lifecycle and environment) and each validation finding that appeared or
resolved, newest first in version order, each with the revision that shows it,
the one it was compared with, its provenance and its source. changes
replaces the unreleased environmentHistory. pacto fleet entity service
<key> --reached, reached on a stdio pacto_fleet_entity and the service
page add when each change's revision reached a Stage, from signed delivery
records read as the caller; a change with no record reads "time not recorded",
and "time hidden" when the caller may not read delivery. The TUI and the
dashboard's service page show the same changes.
A sequential owner handover is now an owner change, never OWNER_CONFLICT.
OWNER_CONFLICT remains for targets that run revisions declaring different
owners, or for two revisions of one version that disagree, and says when the
link is inferred. Rankings, owner filters and owner pages count the current
owner, and a former owner's page still lists the revisions it declared.
pacto delivery history, pacto_delivery_history and Delivery history name
the fleet revision of every artifact and the pacto.impact verdict each
record signed, apart from a re-analysis against today's graph; blame names the
revision too. pacto delivery history --at, at on pacto_delivery_history
and ?at= on the dashboard answer which revision each Stage ran at a past
time, from signed records, and read unknown where no record holds.
- a6c189d: A service's detail lists every resource it consumes. A use of a provider that
declares no offering now shows once a provider reports on it, and the service's
hiddenProviders says at least how many resources come from providers the
viewer may not see. Each use carries providerOwner, providerAvailability,
requested (the values the contract declares, on the configuration-reference
row) and consumption, which reads not-reported until a provider reports
usage or cost. A new provisioning attention category raises
PROVISIONING_FAILED and PROVISIONING_STALE; a resource's phase never changes
the service's compliance. pacto fleet entity service and the TUI's service
page print a Resources block with provenance, and the dashboard's service page gains a Resources section
that joins each use with its requested configuration.
Provider adapters can report a resource's usage and cost with the new
ResourceUsage observation kind, written by pacto evidence usage. Only a key
that lists ResourceUsage in allowedObservationKinds may report it, scoped by
allowedProviderRepos like ResourceProvisioned, and an EvidenceSet carries
one provider-reported kind only. The Evidence Server's targets endpoint lists
usage under schema pacto.dev/evidence-source/v4, written only when it holds
usage. consumption reads reported, with the figures, only for a signed,
fresh, uncontested report about the current revision; otherwise it reads
unknown and keeps the raw figures apart under reported. The CLI, MCP and the
dashboard's Resources section show both, and Pacto never sums or converts a cost.
6.4.1¶
Patch Changes¶
- d44ced1: Dependency bumps from Dependabot in one go:
bubbletea2.1.0 → 2.1.1,huma2.39.1 → 2.40.0,prometheus/common0.72.1 → 0.73.0 andsigstore1.10.9 → 1.11.1 in the engine, andk8s.io/api,apimachineryandclient-go0.37.1 → 0.37.2 in both modules. No source changes.
sigstore 1.11 needs Go 1.27, so Go goes 1.26.10 → 1.27.3 everywhere it's
pinned (both modules, go.work, both Dockerfiles), and golangci-lint goes
v2.13.0 → v2.14.0 because v2.13 can't load Go 1.27 code.
Heads-up: Go 1.27's gzip writes different bytes, so pacto push now produces different OCI bundle digests for the same content than older binaries did. The published demo bundles get re-published once via release/demo-bundle-migration.txt.
6.4.0¶
Minor Changes¶
-
0813b6e: Delivery matches contract environments to Stages. A promote runs a new
pacto.environmentcheck that compares the Stage'sspec.environmentwith the environments the version's contract declares, using the sameenvironmentsstage aspacto validateon the version's bundle. -
A contract that declares no
environmentspasses the check, which says it does not apply, so services that do not use environments are unaffected. - A contract that declares environments but none named like the Stage's
spec.environmentwaits for the service's team to approve it, for exampleversion 1.1.0 declares no environment prod for Stage payments-prod (it declares dev, staging). So does one whose values for that environment fail withENVIRONMENT_VALUES_INVALID,ENVIRONMENT_VALUES_MISSINGorENVIRONMENT_UNKNOWN_CONFIGURATION, each located in the values file. When the version also waits for a consumer's team, the service's team is asked too, and the question names every team. - Values Pacto cannot check (
ENVIRONMENT_VALUES_UNVERIFIED) wait for a person to accept the unknown.
The promoter also holds a promote that leaves a consumer with a required
guarantee unmet, the consumers pacto impact lists for the change. Like a
consumer whose range refuses the version, it holds wherever the consumer runs,
including when Pacto cannot place it. The consumer's team is asked, and the
question names consumer, provider and guarantee. A rollback to such a version
waits the same way. An unmet guarantee of an optional dependency holds
nothing.
The dashboard labels the check "Environment values" and shows N/A when it
does not apply. The Stage's spec.environment field documents the match.
- 0813b6e: Add pactoVersion: "2.3" and environments, so pacto validate checks the
configuration values each environment uses against the schema of every
configuration they name. Every 2.2 contract is valid under 2.3. A 2.3 contract
needs Pacto core 4.4.0 or later and operator 6.4.0 or later. A "2.0", "2.1"
or "2.2" contract that declares environments reports NEEDS_PACTO_2_3.
pactoVersion: "2.3"
configurations:
- name: chart
schema: chart/values.schema.json
required: true
environments:
- name: staging
file: environments/staging.yaml
- name: production
file: environments/production.yaml
An environment's file maps each configuration name to that environment's
values, for example chart: {replicaCount: 5, ingress: {host: shop.example.com}}.
It ships in the bundle like any other referenced file. Values hold references
to secrets, such as a Secret name; keep secret material out of the file.
pacto validatereports a duplicate environment name (DUPLICATE_ENVIRONMENT_NAME), and a file that is missing or whose path leaves the bundle (FILE_NOT_FOUND). A newenvironmentsstage, afterpolicy, merges each environment's values over the configuration's defaultvaluesand checks the result against its schema (ENVIRONMENT_VALUES_INVALID). Anullin an environment's file removes that key from the merged values. The stage reports values for a configuration the contract does not declare (ENVIRONMENT_UNKNOWN_CONFIGURATION) and a required configuration whose defaults alone fail its schema when an environment omits it (ENVIRONMENT_VALUES_MISSING). Each error names the environment, the configuration and the JSON Pointer of the value, and carries the environment's file. A schema violation and an unknown configuration also carry the line and column of the value, and a file that does not parse carries the line the parser names. A configuration whose schema is behind aref, or a run with no bundle files, reportsENVIRONMENT_VALUES_UNVERIFIED, a warning, and the stage is skipped with a reason naming it. Withoutenvironmentsthe stage is skipped.pack,push,publish, the operator, the dashboard andpacto_checkrun the environments stage too, so a version whose values break an environment is refused there as well.pacto diffreports an environment added as non-breaking, one removed as potentially breaking and every changed value in its file as non-breaking, atenvironments[<name>].<configuration>.<path>.pacto explainand the MCP contract summary list the environments.- A validation error carries
filewhen it points into a file other thanpacto.yaml, inpacto validateand inpacto_check. The text output ofpacto validatewidens its stage column by one character. -
0813b6e: The Pacto status records the guarantees of the contract, so the fleet the promoter builds from Pacto status evaluates them as a fleet built from published bundles does.
-
status.interfaces[]addsguarantees,lifecycleandcompatibilityEpoch, under the contract's own field names. status.dependencies[]addsrequires, one entry per interface of the provider with the guarantees the dependency relies on.-
The promoter's fleet rebuilds each Pacto's interfaces from its status. A dependency whose provider runs in the cluster reports its guarantees as met or unmet, and as unknown when no Pacto of the provider runs there. The impact analysis lists a guarantee the candidate does not meet under each consumer whose status records the requirement.
-
status.statusFormatis1on every status this operator writes. It says the status records guarantees, so a missing one means none is offered.
The fields are optional and the CRD version stays v1alpha1. Pactos last
reconciled by an older operator carry none of them until the operator
reconciles them again, which it does for every Pacto when it starts. In that
window the promoter reads a status without statusFormat as guarantees
unknown: a dependency on that provider reports its guarantees as unknown,
never unmet, and a breaking or possibly breaking change to a service whose
consumer has such a status waits for a person to accept the unknown.
6.3.0¶
Minor Changes¶
- 039d160: Add
pactoVersion: "2.2"and an interface lifecycle, so a provider can retire an interface on a schedule its consumers can see. Every 2.1 contract is valid under 2.2, which also carries an interface'scompatibilityEpochandguaranteesand a dependency'srequires. A 2.2 contract needs Pacto core 4.3.0 or later and operator 6.3.0 or later. A"2.0"or"2.1"contract that uses a 2.2 field reportsNEEDS_PACTO_2_2for each.
pactoVersion: "2.2"
interfaces:
- name: orders-v1
type: openapi
ref: interfaces/orders-v1.yaml
lifecycle:
deprecated: "2026-10-01"
sunset: "2027-04-01"
successor: orders-v2
pacto validatechecks that both dates areYYYY-MM-DD, that the sunset is not before the deprecation (INVALID_INTERFACE_LIFECYCLE) and that the successor names another interface or is an absolute URL (INTERFACE_SUCCESSOR_UNKNOWN). A 2.0 or 2.1 contract with a lifecycle reportsNEEDS_PACTO_2_2.pacto validate --closurewarns a consumer about each deprecated interface of a service it depends on directly, naming the interface, its sunset and its successor (DEPENDENCY_INTERFACE_DEPRECATED). From the sunset date the code isDEPENDENCY_INTERFACE_SUNSET.pacto diffreports deprecating an interface as non-breaking and moving its sunset earlier as potentially breaking. Removing an interface before its sunset stays breaking, and the reason says so.pacto explain, the MCP contract summary and the dashboard API show an interface's lifecycle.
6.2.0¶
Minor Changes¶
- 67de328: Delivery always installs its admission policies, and a promoter started
without
--admission-policiesadmits no operation and counts no approval: its Operations and Stages showUnguarded.
Breaking for delivery (alpha): the chart removes
delivery.admissionPolicies.enabled and
delivery.admissionPolicies.allowUnguarded, and fails to render while either
key is set. Delete both from your values. To render offline for helm lint
or a helm template without --api-versions, set
delivery.admissionPolicies.skipCapabilityCheck=true, which skips only the
Kubernetes 1.30 and ValidatingAdmissionPolicy API check. An upgrade with
--reuse-values carries the old enabled: true over, so use
--reset-then-reuse-values.
Patch Changes¶
- 9d4ec34: Make Pacto easier for an agent to drive from the CLI help and the MCP tool text alone.
pacto impact has a new exit status. It now exits 2 when a breaking
change cannot be shown to be safe. A CI job that treated any non-zero exit as
a failure fails on these runs too; one that gates on deployed impact alone can
treat 2 as a pass.
pacto impact and the fleet tools no longer give answers that read as safe
when they are not.
pacto impactadds the new revision to the snapshot when no fleet source holds the changed service, so--local ./fleetwith only the consumers finds them instead of answering "No affected consumers".- Every impact answer ends in a release gate,
gateandgateReason, and the exit status follows it:0clear,1blocked (a breaking change reaches an incompatible consumer on a known target) and the new2unverified (a breaking change on a partial answer, or with consumers none of which is shown to be safe). A declared-only run of a breaking change with consumers now exits2instead of0. Thepacto_impactMCP tool, the dashboard's Change analysis view and the terminal UI show the same gate and its reason. - On a breaking change, a consumer whose range accepts the new version carries
a
note: the range match does not show that it avoids what the change removes. An open range such as>=1.0.0is named as open. - A declared dependency carries
rangeStatus(satisfied,unsatisfiedorunknown) besideresolved. A provider in the fleet at a version outside the range is reported bypacto fleet status,pacto_fleet_status,explainand the dashboard's attention list asDEPENDENCY_RANGE_UNSATISFIED, in the newout-of-rangecategory (--unsatisfied-ranges,unsatisfied_ranges). pacto_fleet_statuswith no category selected, including empty input, reports every category, aspacto fleet statusdoes. It returneditems: nullbefore.ownerhas one shape insearchandget, the contract's{team, dri, contacts}, and is left out when no contract declares one. A service read only from Kubernetes takes its owner from the operator'sstatus.contract.owner, where it was empty before.
Delivery plans are readable to an agent from the tools alone. The CLI and the MCP delivery tools now say the same thing. The operator's promoter shares this code, so its messages and the Rejected-plan behaviour change with it.
pacto delivery candidatesand thepacto_delivery_candidatestool list the versions a Stage may take, with their digests: what its candidate source offers thatpacto publishpublished. Thetoof plan and propose takes a version (3.0.0), a tag or a digest. A version or a tag must name exactly one candidate; Pacto refuses one that names none or several, or that it cannot match because a candidate cannot be read, and says why. A missingtosays where to find a valid value.- A plan carries
next: which teams must sign (and that their approval also meets a Stage's rule that a person approves every promote), that an agent cannot answer and the operation is then Held, and that an operation nobody decides before its approval deadline concludes Expired with nothing changed.pacto delivery get,pacto_delivery_getandpacto delivery explainsay what happens at the deadline of a held operation. - A plan predicted Rejected asks nobody anything, and its failing verdict says what to do first, such as promoting the version on the upstream Stage.
- The message for a consumer that must move first names the Stage to promote it on in plain words.
PlanStalenames the reason or the on-behalf-of person when a propose adds one the plan did not have, and otherwise lists what the intent digest binds instead of saying the Stage moved.
pacto init and pacto_create with pactify read more of a service into its
contract. The workload's environment, including the ConfigMaps it reads,
becomes a configuration schema with each value as its default. A URL in it
that names another service in the cluster becomes a dependency: with that
service's contract in --fleet, its bundle and a range from its version;
without it, a placeholder range that the contract comment and Unknown name. A
readiness, liveness or startup probe becomes a health check.
pacto init --describe-only (describe_only in pacto_create) writes a
contract that only describes the service: no publish section, no signing key
and no .pactoignore. Without it, init still writes the publish section and
now says how to leave it out.
pacto init, pacto_create and pacto_edit flag an owner written as
team/billing, and pacto_check suggests the pacto_edit call that writes
billing. pacto_check also explains how to declare a service of
your own whose contract is not published yet, so it shows as unresolved until it
is. The contract schema and the DEPENDENCY_REF_REQUIRED message say the same.
The MCP server instructions, pacto_schema and pacto --help now describe
what a contract holds and say delivery is opt-in, and pacto_schema returns
how to describe an AI agent as a service.
6.1.0¶
Minor Changes¶
- 407c06e: The
pacto-operatorchart renders every CRD as a template fromfiles/crds/, whichmake sync-crdsfills fromconfig/crd/bases.helm upgradenow updates thePacto,PactoRevisionandNodeRuntimeObservationCRDs and adds new ones, andhelm uninstallkeeps every CRD (helm.sh/resource-policy: keep). The delivery CRDs still followdelivery.enabled. Setcrds.install=falseto manage the CRDs yourself.
Upgrading: CRDs an older chart installed from its crds/ directory are not
part of the release, so helm upgrade stops with invalid ownership metadata.
Label and annotate them for your release once, as
Upgrade the operator
shows, then upgrade.
- 407c06e: The pacto-operator chart has a global block shared by every workload it
runs (the controller, the delivery promoter and the recorder):
global.imageRegistry (default ghcr.io), global.imagePullSecrets,
global.commonLabels, global.podSecurityContext and
global.securityContext. A component's own podSecurityContext or
securityContext replaces the global one, and its imagePullSecrets follow
the global ones. The delivery pods take delivery.podAnnotations and
delivery.podLabels.
Changed values: image.repository and delivery.image.repository no
longer carry the registry (trianalab/pacto/operator,
trianalab/pacto/delivery). Set image.registry or
delivery.image.registry for one image, global.imageRegistry for all, or
global.imageRegistry="" to give each repository as a whole reference. A
repository that already starts with a registry host (ghcr.io/...,
localhost:5001/...) stays the whole reference, so older values keep working. The
top-level podSecurityContext and securityContext, and their delivery.
counterparts, default to empty and fall back to the global ones.
- 407c06e: The pacto-operator chart can install zot and
Dex from their official charts (zot.enabled,
dex.enabled, both off by default). The chart ships the profile
values-quickstart.yaml, which turns both on for an evaluation cluster: zot
holds the delivery record streams, Dex signs people in to the dashboard and
the chart generates the dashboard's client secret, the first sign-in password
and the recorder's signing key (delivery.recorder.signing.ed25519.generate)
at install. See
Quickstart with a bundled registry and sign-in.
- 407c06e: A dashboard people sign in to now reads delivery Stages and Operations from one
shared cache, which its ServiceAccount lists and watches, instead of listing
them again with every person's token. Each person sees only what their own
RBAC allows: the dashboard asks the API server who their token is and, with a
SubjectAccessReview, whether they may make the same list or get, keeping each
answer 10 seconds; a list across every namespace needs a cluster-wide allow.
Every action (propose, approve, cancel, roll back, unfreeze) and every read it
is built on still uses the person's own token, and the dashboard reads with
that token until the cache has loaded and for a moment after the person
changes something. With 2,000 Stages and 10,000 Operations, fifty people
opening the inbox at once wait about a second instead of 12. The operator
grants the dashboard's ServiceAccount get, list and watch on Stages and
Operations, nothing more in the delivery group, and holds that right itself
while the dashboard is enabled.
- 407c06e: A shared dashboard can sign people in, and then shows nothing until they do.
pacto dashboard takes an OpenID Connect issuer (--oidc-*, the client secret
in PACTO_DASHBOARD_OIDC_CLIENT_SECRET), a private issuer CA
(--oidc-ca-file), an internal issuer address (--oidc-internal-issuer-url),
the API server's claim mapping, session lifetimes (--session-idle-timeout,
--session-max-age) and --token-login, which takes a pasted Kubernetes token
for clusters that trust no identity provider. The API server names each
signed-in person (SelfSubjectReview), and every view and action runs with
their token and RBAC. /api/session says who is signed in and how; every
other endpoint answers 401 with the code LoginRequired until they sign in.
The header names who they are, and the sign-in button says Sign in with OIDC
or names the provider (--oidc-display-name). A remote pacto mcp reads the
same claim mapping flags and logs each caller as the mapping names them.
The pacto-operator chart gains dashboard.auth: oidc (issuerURL,
internalIssuerURL, caBundle, clientID, clientSecretRef, redirectURL,
extraScopes, displayName and the claim mapping usernameClaim,
usernamePrefix, groupsClaim, groupsPrefix), session (idleTimeout,
maxAge) and tokenLogin.enabled. See
Dashboard authentication.
- 407c06e: A dashboard people sign in to now shows each person only what Kubernetes RBAC
lets them read. A namespace's services, revisions, targets, edges and evidence
appear only if the person may list Pactos there, checked with a
SubjectAccessReview for their username and groups, as the API server names
them, and kept a minute. One filter covers every fleet view, counts, search, the graph, change
analysis and a remote pacto mcp --fleet with --auth-issuer. The dashboard
says when services are hidden without naming them, and a service page counts
the hidden services on each side. A service known only from a registry, with no
namespace, shows only to people who may list Pactos in every namespace. Local
and sign-in-free dashboards are unchanged.
The operator grants the dashboard's ServiceAccount create on
subjectaccessreviews and holds that right itself while the dashboard is enabled.
- 407c06e: Add the Pacto delivery promoter and recorder, an opt-in component with its own
image and API group, installed by the pacto-operator chart under
delivery.enabled into its own namespace, and tie every Pacto check result to
the version it evaluated. The operator holds no role in the delivery namespace,
so it cannot run a pod as the promoter or the recorder or mint their tokens.
Pacto status. Pacto.status.evaluatedRevision names the contract digest
and the workload object and generation an evaluation read, and its
kernelCoverage says how far the node agent's view could be trusted
(Complete, Partial, Failed or Stale). A consumer acting on
contractStatus must check evaluatedRevision first, as the promoter does.
The Pacto status also accepts mcp interfaces, so a service that exposes tools reconciles.
status.observedCallers lists the workloads the node agent saw calling the
target's Service that no Pacto describes, and status.observedCallersCoverage
says whether that list is complete, partial (with a reason such as
shared-netns or stale-node) or unavailable; delivery holds a breaking
change on either. Host-network pods in kube-system and the other cluster
namespaces and in the node agent's own namespace do not make that coverage
partial; controller.kernelEvidence.callerIgnoreNamespaces adds more.
Check results change for every operator user, delivery on or off. A
dependency that resolves to the same service in several namespaces now
resolves to the one in the consumer's own namespace when there is one (a
service in test calls the provider in test), where before the match was
ambiguous (Insufficient) unless exactly one of them satisfied the declared
range. The node agent's evidence leaves out pods being deleted, so a
pod still shutting down no longer counts toward kernel coverage or findings,
and a workload with no running pod has Partial kernel coverage.
The API. delivery.pacto.trianalab.io/v1alpha1 (Alpha, in the kubectl
category pacto-delivery) adds Stage (one service
in one environment, whose pointer is the artifact digest it runs), Operation
(one decision, with an immutable spec) and Approval (a person's decision
bound to an operation's uid and intent digest and to the approver's groups).
The promoter (ghcr.io/trianalab/pacto/delivery, subcommand promoter)
admits each operation and promotes only a version pacto publish published:
the Stage's candidate OCIRepository must set spec.verify naming the
publisher, and a downstream Stage takes only what its upstream Stage verified
and offered (status.published, status.offered). Anything else is refused as
NotPublished, and a Stage that cannot check its candidates says why in its
Ready condition. It then compares the contracts, checks every consumer's
declared range, holds for a person when a consumer in the Stage's environment
would break or Pacto cannot see enough and writes to status.plan.order which
consumer must move first, planned again while the change waits. It accepts an
approval only from a person in a team the question names (chart
delivery.identities.teamGroupPrefix); a question that names no team is answered by
nobody unless delivery.identities.requireOwnerTeam is false, and with
delivery.identities.humanGroups set only those groups count as people. The chart
publishes these identities in the ConfigMap pacto-delivery-identities, which
the promoter runs with and the CLI, the MCP server and the dashboard read, with
the name and type of each gate provider (never its URL or signers) so a
client's plan predicts an eval check's hold as the promoter does. It takes the Stage lock with one
compare-and-swap, moves the pointer, waits for the apply and runs the verify
checks the Stage lists in spec.gates.verify.checks: the Pacto contract check,
providers from delivery.gates.providers (mira, http or eval, whose
check names the contract suite it runs in suite) and the built-in
pacto.runtime. Checks run again every spec.gates.verify.recheck after
release. Unknown never passes and never rolls back. A confirmed failure is
never promoted again (the Stage keeps its last 50) and gets one bound rollback;
a second failure, a version a person chose, nothing safe to go back to, a
refused automatic rollback, an outcome
that cannot be established or an edit of the pointer the promoter did not make
freezes the Stage. A Stage starts on spec.startLevel (observe by default;
an admin creating a Stage may pick any level) and only an autonomy operation moves status.level after that;
on auto-nonbreaking and autonomous the promoter promotes the newest
eligible candidate itself. It records what an observe Stage would have done in
status.shadow (the newest 20), proposes the next level in status.proposal
after spec.autonomy.proposeAfter verified changes (10 by default) and, after
an automatic rollback of a version it shipped on its own, lowers the Stage one
level through an operation named <failed operation>-stepdown. kubectl get
stages shows the level. spec.auto is gone. A breaking change no contract depends on also waits for a person,
since a service without a contract may call it, unless the Stage sets
gates.impact.declaredConsumersOnly.
The promoter emits Events when it holds, concludes, rolls back or freezes and
exports pacto_delivery_operations_total, pacto_delivery_verdicts_total,
pacto_delivery_stage_frozen and pacto_delivery_stage_watched (chart
delivery.metrics.*). Each Stage says in Watched whether its running version passed
its latest re-check and in Mediated whether its pointer alone decides what
runs, gives every condition an observed generation and publishes the
promoter's login freshness in status.authFreshness. The freshness is off by
default, so a person decides with the sign-in they have; set
delivery.promoter.authFreshness (a duration such as 15m) to make deciding
need a recent sign-in. An approval the promoter
passes over is named on the operation with the reason.
A Stage reconciles when its operations, its upstream Stage, its
OCIRepositories, the Kustomizations that apply them or its Application change,
and every delivery.promoter.resync (a minute) otherwise. The promoter reads
the apply OCIRepository's digest from the apiserver wherever it decides on it,
and its client allows 50 requests per second, bursting to 100
(--kube-api-qps, --kube-api-burst).
Reach (experimental). A Stage applies through a Flux OCIRepository by
default, or, as an experimental option, through an Argo CD Application with an
OCI source (applyRef.kind: Application, chart delivery.argocd.enabled). candidates.upstreamRecords lets a
Stage follow a Stage in another cluster from that cluster's signed records,
read with delivery.promoter.upstreamTrust; without it the Stage is not Ready
(UpstreamUntrusted), and while those records cannot be read or lost their
newest entries it is not Ready either (UpstreamUnreadable). An unrecordable
stand-in upstream stops the follower too, until a person of the service's team
checks it and raises an acknowledge naming its record id with a reason
(status.upstreamAcknowledged), or break-glass overrides. Ready also names
an applier the promoter cannot write through. Only a Flux OCIRepository with
spec.verify admits a new version, so the first Stage of a service needs Flux
even when Argo CD applies it. A freeze is local: it does not stop followers. Argo CD and cross-cluster reach
may change more than the rest of delivery.
The recorder (subcommand recorder, chart delivery.recorder.*, off by default)
is the only delivery component that holds the signing key and the registry
push credentials. With an Ed25519 key the operator, which reads every Secret,
can read the key too, so prefer a KMS key or keyless signing. It
writes a signed record of every operation that ends, in order per Stage,
attaches it to the versions and contract involved, confirms the Referrers API
lists it and only then advances the Stage's stream. A record can be late, and every
operation that ends gets one. It signs with an Ed25519 key, a KMS key or keyless through a projected
service account token, verifies each stream against its trust config before
extending it, freezes a Stage whose stream is in conflict and can post a
CDEvent per record. A record of an autonomy operation carries outcome.level
(from and to). RecordStoreReady says whether records are being written,
and pacto_delivery_records_pending shows the lag. With the recorder on, the
promoter deletes recorded operations after delivery.recorder.operationTTL (a week),
never the one a Stage runs.
The delivery section of the pacto-operator chart (delivery.enabled,
off by default; the default render is unchanged) installs both in
delivery.namespace (pacto-delivery, created by the chart and never the
release namespace) with the
Stage, Operation and Approval CRDs, their own ServiceAccounts and RBAC, the
<release>-delivery-agent and <release>-delivery-approver roles and
ValidatingAdmissionPolicies that bind an operation's actor to the requesting
user, keep approvals to people (with delivery.promoter.authFreshness set,
people with a login time, which the apiserver maps to
userInfo.extra["delivery.pacto.trianalab.io/auth-time"]), keep the
pointer to the promoter or break-glass, keep the promoter itself to the pointer
field and keep the record fields to the recorder. Every delivery object is
named <release>-delivery[-part]. It refuses to render below Kubernetes 1.30,
without the ValidatingAdmissionPolicy API or without the policies unless
delivery.admissionPolicies.allowUnguarded is set; the promoter admits no
operation and counts no approval while they are missing.
delivery.promoter.registryCredentials.secretName lets the promoter read a
private contract or deploy repository. The delivery CRDs are chart templates
with helm.sh/resource-policy: keep: helm upgrade updates them and
helm uninstall leaves them and their history in place. The delivery image is
published, signed and versioned with the operator.
The chart's images gain image.digest and delivery.image.digest: set
one to a sha256: digest and that image is pulled as tag@digest, so the pod
runs exactly that image whatever the tag later points at.
The pacto-operator chart gains dashboard.delivery for the managed
dashboard's delivery views: namespace (where delivery publishes its identity
policy), trust (the ConfigMap holding the trust config History verifies
records with) and miraURL. The dashboard's role gains no delivery right and
no impersonation. The operator now passes the managed dashboard its namespace
scope in PACTO_DASHBOARD_NAMESPACE, the variable the dashboard reads.
Patch Changes¶
- 9f5f638: Update
github.com/go-jose/go-jose/v4to v4.1.6 to fix CVE-2026-116587, a denial of service when parsing JWKs that contain RSA keys. It reaches thepactobinary and the operator through OIDC sign-in and Sigstore signing.
golang.org/x/net moves to v0.62.0 (GO-2026-6860, GO-2026-6866) and the
operator's github.com/google/cel-go to v0.30.0 (GO-2026-6094). govulncheck
finds none of the three reachable, so this is hygiene rather than an exposure fix.
The dashboard frontend's dependencies are updated too, which fixes the known
advisories in the bundle the pacto binary and the dashboard image serve:
DOMPurify 3.4.17, KaTeX 0.18 (used by Mermaid diagrams), devalue 5.9.4 and
source-map-js 1.2.2. The build and test tooling moves to Vite 8.3 and Vitest
4.1.12.
6.0.1¶
Patch Changes¶
- fe07e42: Fix the operator's
go.sumchecksum forgithub.com/trianalab/pacto/v4v4.0.0. The operator v6.0.0 tag recorded a checksum for a core tree that was never tagged, so a standalone build ofintegrations/kubernetesfailed with a checksum mismatch and the v6.0.0 operator image and chart never published.
6.0.0¶
Major Changes¶
- 9b84eda: Fixes from a whole-repo architecture review of the operator. Two of them change what you see.
Behaviour changes
- Controller logs default to JSON (production mode). Pass
--zap-develto get the old console format back. - The
RuntimeObservedcondition is nowFalsewith reasonObservationFailedwhenever any runtime read failed during collection, and the message lists what failed. Before, it could readTruewhile parts of the collection had failed.
Fixes
- PactoRevision names and version labels are valid for every semver version, including build metadata (
1.0.0+build.1), uppercase pre-releases and very long versions. Names that were already valid do not change. - ServiceMonitor and PodMonitor endpoints that name their port (the usual case in real clusters) are now resolved, so metrics discovery through them works.
- An unset numeric
targetPortnow means the Service port everywhere, as the API server defaults it. - Configuration schemas are compiled once per contract revision instead of on every reconcile.
Breaking changes and migration (operator v6)
- The Go module path becomes
github.com/trianalab/pacto/integrations/kubernetes/v6(was.../v5) and requiresgithub.com/trianalab/pacto/v4. Go code importingapi/v1alpha1updates its imports;go get github.com/trianalab/pacto/integrations/kubernetes/v6@v6.0.0. - Apply the v6 CRDs before
helm upgrade, which never touches them:kubectl apply --server-side --force-conflicts -f charts/pacto-operator/crds/. v6 adds theNodeRuntimeObservationCRD and the operator exits at startup without it (no matches for kind "NodeRuntimeObservation"), whether or not the node agent is enabled. - Removed
--webhook-cert-path,--webhook-cert-nameand--webhook-cert-key. The operator registers no webhook and starts no webhook server; drop the flags from any manifest that still passes them, or the operator refuses to start on an unknown flag. - Removed
--dashboard-oci-secretand thedashboard.ociSecretchart value, superseded by--dashboard-oci-secretsanddashboard.ociSecrets. Migrate withdashboard.ociSecrets: [<name>]; the chart schema rejects the old key. - Removed the condition reasons no reconciler emitted (
NotFound,AllPortsMatch,MissingPorts, the seven endpoint probe reasonsOK,ConnectionFailed,InvalidStatusCode,EmptyResponse,NotDeclared,InterfaceHasNoPort,InterfaceNotFound, andMatch,Mismatch,Missing,Skipped) and theSeverityErrorandSeverityWarningconstants fromapi/v1alpha1. Nothing in a cluster carries them; Go code importing them usesfinding.Severityand the reasons introubleshooting.md.
Samples
- The scenario samples under
config/samples/scenarios/usepactoVersion: "2.0"contracts. The duplicate showcase samples were removed in favour ofconfig/samples/demo/. - 9b84eda: Add an opt-in eBPF node agent and the runtime checks it and the Kubernetes API make possible.
nodeAgent.enabled deploys a DaemonSet (pacto agent --sink kubernetes from
the pacto runtime image the operator already runs the Evidence Server from;
--node-agent-image overrides it) that
watches TCP socket state through one BTF tracepoint and
publishes each node's listeners and connections as a NodeRuntimeObservation
object, a new CRD. It reads no payloads, files or Secrets and opens no port. It
needs Linux 5.8 or later with BTF, hostPID, the node's /sys/fs/cgroup
mounted read-only, root and the BPF, PERFMON and SYS_PTRACE
capabilities, so it runs in its own namespace (nodeAgent.namespace, default
pacto-node-agent), which the chart creates with the privileged Pod Security
level; the release namespace keeps whatever level you set. Each agent renews a
coordination.k8s.io Lease named after its node every publish interval and
rewrites its NodeRuntimeObservation only when the view changes (or every tenth
interval); the operator reads the node's heartbeat from the Lease. Where the
API serves ValidatingAdmissionPolicy (Kubernetes 1.30 or later), the chart
binds each agent's writes to the node named in its token, so one agent cannot
speak for another node. The operator merges the evidence into interface and dependency
observations: a ready pod with nothing listening on a TCP port becomes
INTERFACE_ABSENT, the latest connection success or failure within the
staleness bound decides dependency reachability (never against a provider with
no ready endpoint) and a stale or failed node reads Unknown, never a
violation. The agent's Role is get, create and patch on its observations
and get, create, patch and update on its Leases, the DaemonSet runs on
Linux nodes only and the operator deletes the objects of a node that no longer
exists.
Findings carry evidenceRefs[].collector and detectedAt;
status.evaluationCoverage.unverified lists facets with no usable fact.
Behaviour change: the complementary checks run with or without the node
agent, because none of them depends on it: the interface protocol (with
controller.enableProbing), the interface exposure, the provider version for
dependencies[].compatibility (which also picks the target when several
providers match the ref) and the persistence scope (read-only claims ignored).
Exposure is external only on positive evidence of a public address: a public
externalIPs entry, or a LoadBalancer Service without an internal load
balancer annotation or an Ingress whose status carries a public IP or
hostname. A NodePort Service or an HTTPRoute leaves it unknown. An interface
with no visibility is internal, so one behind such a public address now
reports INTERFACE_VISIBILITY_MISMATCH. Declare visibility: public for it.
Fixes: interface availability compared the Service port with the EndpointSlice
port, which carries the target port, so a Service with port different from
targetPort read absent; oci:// dependencies never matched a sibling Pacto
and read Unsupported; passive health ignored the declared path. The chart now
exposes controller.enableProbing and controller.enableMetricsObservation,
grants list and watch on ConfigMaps, which the cached reads needed, and
adds read access to pods, Ingresses, HTTPRoutes and NodeRuntimeObservation
objects. Cached pods are trimmed to the fields the operator reads.
The kernel merge and the probes now come from core pkg/runtimefacts and
pkg/probe, so the same verdicts hold on Kubernetes and on any host.
The operator uses evidence types from this release's core, so ship it in the
same release as @pacto/core: the core tag is created first and the operator
go.mod must pin it.
Breaking changes and migration (operator v6)
- The node agent moved to a dedicated namespace. Set
nodeAgent.namespaceifpacto-node-agentdoes not suit you; it must not be the release namespace and must not already exist outside this release. Remove thepod-security.kubernetes.io/enforce=privilegedlabel you may have put on the release namespace for the agent. The operator deletes the agent it ran in the release namespace (DaemonSet, RBAC and observations) at its first sync. A privateimagePullSecretsentry must also exist in the agent namespace. --kernel-evidence-namespace(andcontroller.kernelEvidence.namespace) now defaults to the agent namespace, not the operator's. New flag:--node-agent-namespace.- The managed components' lifecycle permissions moved out of the ClusterRole:
a
Rolein the release namespace (dashboard and Evidence Server, plus the teardown of the old agent) and aRolein the agent namespace (the agent's DaemonSet, RBAC, observations and Leases). The ClusterRole keeps the reads, the dashboard's ClusterRole and binding, node reads, Lease reads and a by-name read and relabel of the agent namespace. The operator no longer creates namespaces at all, and no longer needsnamespaceslist or watch. An operator installed without the chart needs the new Roles (config/rbac/role.yamlgenerates them). - Objects the operator creates for the agent no longer carry an owner reference to the operator Deployment: it lives in another namespace, and Kubernetes garbage-collects a dependent whose owner is in another namespace.
5.4.3¶
Patch Changes¶
- 79de1ba: This week's dependency bumps in one go:
bubbletea2.0.10 → 2.1.0 andx/sync0.23.0 → 0.24.0 in the engine, OpenTelemetry 1.46.0 → 1.47.0 (and the Prometheus exporter 0.68.0 → 0.69.0) in the operator module. No source changes.
Go goes 1.26.6 → 1.26.9 and x/net 0.59.0 → 0.60.0 in both modules, because
govulncheck flagged reachable net/http and x/net/http2 vulns
(GO-2026-6607 to GO-2026-6617) and wouldn't let any of the bot's PRs through.
Both shipped binaries were exposed, so it's worth the patch release.
5.4.2¶
Patch Changes¶
- fa6d27a: Take the week's dependency bumps in one go:
modelcontextprotocol/go-sdk1.7.0 → 1.8.0 in the engine, andcontroller-runtime0.25.0 → 0.25.1,ginkgo2.32.2 → 2.33.0 andgomega1.43.0 → 1.43.1 in the operator module. No source changes — all four are drop-in.
Dependabot also learns to group: Kubernetes libraries move as one train because client-go, apimachinery and controller-runtime pass each other's types, Charm moves as one because bubbletea, bubbles and lipgloss share the v2 renderer, everything else minor-or-patch lands in a single weekly PR. Five open PRs for one afternoon of bumps is how a bot teaches you to stop reading it.
5.4.1¶
Patch Changes¶
- 35c37f6: Carry the checksums for the pinned engine core in the operator's
go.sum.
The published v5.4.0 module requires github.com/trianalab/pacto/v3 v3.3.0
while its go.sum only covers v3.2.7, so building the operator module on
its own — outside the workspace, which is how a consumer or a fresh clone
builds it — fails with missing go.sum entry for every pacto/v3 package.
The fix landed on main in #369; this release ships it, and moves the
published pin to v3.3.1.
5.4.0¶
Minor Changes¶
- 771574b: Make the operator's status tell the truth about overrides, force-pushed tags and per-tag failures, and stop the registry fan-out riding on the reconcile loop.
spec.overrides are now validated. An override patched the parsed contract
struct only, so validation layers 1 and 3 — the JSON Schema check and policy
enforcement — still ran against the original document. An override that violated
a policy reported ContractValid=True. The patch now applies to the raw YAML as
well, so every layer sees the contract the operator actually reconciles.
Force-push detection works on the cases it was missing. Two of them. A tag
force-pushed twice compared the registry digest against an arbitrary
PactoRevision rather than the newest one, so TagOverwritten re-fired on every
reconcile forever. And a registry tag of v1.2.0 for a contract declaring
service.version: 1.2.0 missed the label lookup entirely, so the drift check
never ran for any v-prefixed tag.
A tag that fails to load is now reported. Every per-tag failure during
mirroring was a log.V(1) and a continue: invisible at default verbosity, and
one bad tag aborted nothing but told nobody. Failures are aggregated and surface
as the same events the main path already uses — ContractUnavailable for a
transient obtain failure, ContractInvalid for everything else.
.status.contractStatus and the dashboard now agree. The operator derived
the status ladder from findings with its own local copy of the rule. It calls
validation.DeriveStatus instead, so a contract cannot read Warning in
kubectl and Compliant in the dashboard.
A configuration's schema is read from the bundle. The runtime config
dimension treated configuration.schema as inline JSON when it is a
bundle-relative path, so a real schema never compiled and the dimension reported
insufficient evidence instead of a verdict.
Tag mirroring runs on its own schedule. Enumerating a registry's tags and
loading each one used to happen inline in Reconcile, which every watched
workload write triggers — so a busy namespace turned into registry traffic
proportional to unrelated churn. It is now a manager runnable on a five-minute
tick, independent of reconciliation.
Pull Secrets are read straight from the API server. A cached typed Get on
a Secret builds an informer for every Secret in scope and parks its .data in
the operator's memory. Secret reads go through the uncached reader and the Secret
watch carries metadata only, so the operator holds no credential it is not using
right now.
The dashboard and Evidence Server components moved to the same runnable shape
behind a shared component lifecycle, with the same five-minute tick and an
ownership check before any delete.
Deprecated, with no replacement needed: the condition reasons no reconciler
emits — NotFound, AllPortsMatch, MissingPorts, every ReasonEndpoint*,
every runtime-reconciliation reason and the three severity constants. The
outcomes they used to name are reported as evidence and findings now. They stay
through v5 for API compatibility and are removed at v6.
5.3.0¶
Minor Changes¶
- 92a064f: Make the contract verdict usable as a GitOps promotion gate, and emit the event that says a contract recovered.
The operator has always reached a verdict and written it to
status.contractStatus. Neither Flux nor Argo CD reads that field. Flux decides
health with kstatus, which recognises Ready, Reconciling and Stalled and
discards every condition Pacto publishes, so a Kustomization holding a
NonCompliant Pacto reports healthy. Argo picks health checks from a closed list
of built-in kinds and returns nothing for the rest, and the roll-up ignores
nothing — a violated contract is not unhealthy to Argo, it is invisible. Both
tools have an extension point for this; neither ships one for Pacto.
The new GitOps promotion gates page is those
two snippets, plus the timing they depend on. The Flux one is a
spec.healthCheckExprs entry with no inProgress expression, so an unrecognised
verdict holds the deploy instead of going falsely green. The Argo one is a Lua
health customization written for the sandbox Argo actually runs it in, which has
the string library disabled.
Neither snippet is an illustration. Both live under
tests/acceptance/kind/fixtures/gitops/, the page includes those files rather
than copies of them, and each has a kind acceptance shard that applies it to a
real cluster running the tool it targets.
gitops-flux.sh proves the Flux gate changes what ships: a contract that
contradicts the workload must leave the dependent Kustomization's manifest out of
the cluster entirely, and correcting the contract must let it through. It runs at
the operator's default stabilization window on purpose, because the page claims a
mismatch does not wait one out.
gitops-argocd.sh runs in two passes, because the Argo snippet's failure mode is
silence — a data key Argo does not recognise is ignored, and an ignored key
looks exactly like having configured nothing. The first pass needs no cluster:
the argocd CLI evaluates the customization in the same Lua sandbox the
controller uses, which is what gives every contract status an assertion,
including the states a running cluster passes through too quickly to catch — no
status yet, a verdict behind the contract, a status added in some future release.
The second pass serves an Application from an OCI source in kind and requires it
to go Degraded naming the finding, then Healthy once the contract is
corrected. The page's read-back recipe is that same CLI command, and the shard
runs it against the live cluster rather than only publishing it.
Building that second pass turned up something the page has to say out loud: the merge patch alone is not enough. Argo's application controller caches health customizations at startup and compares that cached verdict to decide whether a changed object is worth re-examining, so a controller that started without the customization treats every verdict the operator writes as no change and only catches up on the next periodic resync, minutes later. The page now pairs the patch with a controller restart, and says why the two read-back checks cannot detect the difference — both read the ConfigMap, not the controller.
ContractRecovered is new. The three contract warnings — ValidationFailed,
ContractInvalid, ContractUnavailable — are transition-gated, so a contract
that goes back to Compliant used to fall silent with no event marking the
recovery. It now has one, matching the pair that ReadinessGateUnmet and
ReadinessRecovered already formed. ValidationFailed also fired only when
status.summary happened to be set; it now fires on the transition itself.
Two documentation corrections ride along, both load-bearing for the timing advice
on the new page. The stabilization window applies to absences only —
INTERFACE_ABSENT, DEPENDENCY_UNREACHABLE, CAPABILITY_ABSENT and
CONFIGURATION_ABSENT. A mismatch — WORKLOAD_MISMATCH,
PERSISTENCE_MISMATCH, CONFIGURATION_MISMATCH — is NonCompliant on the first
reconcile that observes it. The events table said seven events and listed seven;
there are eight.
5.2.4¶
Patch Changes¶
- 840a183: Move both Go modules onto the Kubernetes 0.37.0 library line and patch the runtime image's OpenSSL.
k8s.io/api, k8s.io/apimachinery and k8s.io/client-go are now v0.37.0 in
go.mod and integrations/kubernetes/go.mod, together with the transitive
k8s.io/kube-openapi, k8s.io/utils, k8s.io/streaming,
sigs.k8s.io/structured-merge-diff/v6 and go-openapi/swag moves the line
pulls in. The three library modules only work in lockstep, so bumping them
one at a time — as the individual Dependabot pull requests did — leaves
k8s.io/api behind and fails to compile.
The runtime stage of the CLI/dashboard image now runs apk upgrade before
installing its packages, so the image picks up the fixed libssl3/libcrypto3
3.5.8-r0 instead of the 3.5.7-r0 baked into the alpine:3.22 tag (CVE-2026-14456,
HIGH).
No API or behaviour change.
5.2.3¶
Patch Changes¶
- b11de31: Move both Go modules onto the Kubernetes 0.36.4 library line.
k8s.io/client-go, k8s.io/api and k8s.io/apimachinery are now v0.36.4 in
go.mod and integrations/kubernetes/go.mod. The bumps landed on main
without a changeset, so neither the core line nor the kubernetes line would
have shipped them — this patch is what actually publishes a core module and an
operator image built against 0.36.4.
No API or behaviour change: the 0.36.4 patch releases only refresh the
golang.org/x dependencies underneath.
5.2.2¶
Patch Changes¶
- 2ea7dbe: Rebuild the operator on pacto core v3.2.2.
The 3.2.2 Version PR bumped integrations/kubernetes/go.mod to
github.com/trianalab/pacto/v3 v3.2.2, but a core-line release does not
republish the kubernetes line, so the operator image and chart stayed on the
code built against v3.2.1. This changeset moves the kubernetes fixed group to
5.2.2 so the published operator actually carries:
- one
FILE_NOT_FOUNDfinding per missing interface spec file, and a directory at a spec path no longer passing as a file - date-like scalars kept verbatim through generic YAML round-trips, so an unquoted timestamp is validated as the text the contract author wrote
5.2.1¶
Patch Changes¶
- c230de9: Make a demo-fixture edit unable to half-ship a release.
Release run 32560058692 published four irreversible units and then died. Two independent defects had to line up for that, and both are closed here.
The demo bundles publish to immutable tags. payments-service 2.1.0 was edited
in place — a mermaid diagram added to a version already published — so the
byte-exact gate correctly refused the tag, but it refused it mid-release,
because nothing ran that gate before the release. The fixture is restored to its
published bytes and the diagram ships as a new payments-service 2.1.1, and
publish-demo-bundles.sh --check now runs the identical gate read-only at PR
time as the demo-bundle-immutability CI leg.
Separately, the demo-compose job lost its ORAS install when the unit moved to
docker compose publish, on the reasoning that ORAS stayed where the ledger
used it — while that job still read and wrote the ledger, which is the ORAS
user. ledger.sh returned the empty string for a missing binary, the empty
string means "nothing recorded", and the unit failed closed. ledger.sh now
refuses to run without its tools and distinguishes a 404 from an unreadable
registry; the two if [ "$(ledger.sh …)" ] call sites that discarded its exit
status now assign first; and a new gate walks every job's shell through its make
targets and scripts and fails when a job can reach a CLI it never installed.
That gate found a second, quieter instance: the release dry run was rehearsing
without syft, silently skipping the SBOM the real release produces.
5.2.0¶
Minor Changes¶
-
8352060: Run the operational graph in a cluster: an operator-managed Evidence Server and observed-dependency input for the dashboard.
-
Managed Evidence Server. Set
evidence.enabledand the operator reconciles a separate Evidence Server Deployment and an internal Service, with optional Ingress or Gateway APIHTTPRouteexposure. It is single-writer, so its replica count is fixed at one, and it runs the same runtime image as the managed dashboard.evidence.registry.subjectsnames the exact immutable contract revisions evidence may be reported against; the registry holding them is the durable store, so the chart installs no volume, database or bucket of its own. - Observed dependencies.
dashboard.observation.sourcesmounts offline OTLP/JSON trace exports read-only into the managed dashboard, so its operational graph can reconcile declared dependencies against observed ones. Each entry is one named data source with a stable identity, read through a root the process cannot follow a symlink out of, never written to and never scanned. This is offline input only: no OTLP receiver ships and no collector is deployed. insecureRegistries. Reach namedhost:portregistries over plain HTTP for a controlled in-cluster registry, scoped per host so every other registry stays HTTPS-only. The controller, the managed dashboard and the managed Evidence Server all inherit it.
Also adds a pacto-dev-gateway chart that installs Envoy Gateway and a
GatewayClass for local development, so the Gateway API path can be exercised on
a laptop cluster.
Backwards compatible: every new capability is off by default and no existing value, CRD field or status shape changes.
5.1.2¶
Patch Changes¶
- bbc7b9c: Rebuild the operator and dashboard container images through the new native per-arch build pipeline: each architecture builds on its own runner (no QEMU emulation) and is merged into the multi-arch manifest. No functional change to the engine, operator, or dashboard — this release ships and validates the faster image pipeline.
5.1.1¶
Patch Changes¶
- dd4dab1: Repo-wide audit remediation (engine, CLI, dashboard). Closes the OpenAPI breaking-change diff false-negatives — path-item-level parameters are now diffed, the request body is deep-diffed so a newly required property is BREAKING, and optional→required / added-required parameters are BREAKING — so a BREAKING-only release gate can no longer be bypassed. Further security and dashboard fixes land in the same PR.
As the first release since v3.1.0, this also ships the previously-merged but unreleased dashboard Ctrl+C shutdown fix and the demo version-label fix.
5.1.0¶
Minor Changes¶
-
b58778a: Unify all published OCI artifacts under the monorepo
ghcr.io/trianalab/pacto/*namespace. -
operator image →
ghcr.io/trianalab/pacto/operator - operator chart →
ghcr.io/trianalab/pacto/charts/pacto-operator - dashboard image →
ghcr.io/trianalab/pacto/dashboard - dashboard contract bundle →
ghcr.io/trianalab/pacto/dashboard-contract - demo bundles already live under
ghcr.io/trianalab/pacto/*
All packages are now created and owned by this repository. The chart name
pacto-operator and the Artifact Hub repository are preserved (re-point the AH
repository URL to the new chart coordinate). The previous coordinates remain as
historical — their already-published versions are unaffected. Go module paths
(/v3, /v5) are unchanged.
5.0.0¶
Major Changes¶
-
045f11e: The Kubernetes integration moves into the monorepo — breaking for consumers.
-
The Go module path becomes
github.com/trianalab/pacto/integrations/kubernetes/v5(wasgithub.com/trianalab/pacto-operator). - It pins the published core module
github.com/trianalab/pacto/v3at release time; thego.workworkspace resolution is development-only. - The integration continues the operator
v4line asv5(image + chart + module); public OCI/chart coordinates are preserved.
@pacto/operator-chart¶
6.6.0¶
Minor Changes¶
- ca50460: Detect what the cluster provides. On start and every 5 minutes the operator writes the registry most namespaces pull from, the cloud, a sign-in provider, an exposure controller with a
--setline for the dashboard route, whether the Prometheus Operator is served and the node kernels with BTF likely, unlikely or unknown to one ConfigMap,<release>-detected, in its namespace. Nothing is turned on. The rows show as inferred under Data sources, inhelm upgradenotes, inpacto fleet statusandpacto fleet providerswith--detected, inpacto_fleet_statuswithpacto mcp --fleet --detectedand inpacto dashboardwithPACTO_DASHBOARD_DETECTED. A missing or stale detection names itself and never makes an answer partial. The chart grantsnodes listin the cluster-wide ClusterRole and lets the operator create that ConfigMap and get and patch only it. Withcontroller.watchNamespacesthe registry row is partial, cloud and nodes are unknown and no ClusterRole is added.
6.5.0¶
No changes in this release.
6.4.1¶
No changes in this release.
6.4.0¶
No changes in this release.
6.3.0¶
No changes in this release.
6.2.0¶
No changes in this release.
6.1.0¶
No changes in this release.
6.0.1¶
6.0.0¶
5.4.3¶
5.4.2¶
5.4.1¶
5.4.0¶
5.3.0¶
5.2.4¶
5.2.3¶
5.2.2¶
5.2.1¶
5.2.0¶
5.1.2¶
5.1.1¶
5.1.0¶
5.0.0¶
Major Changes¶
-
045f11e: The Kubernetes integration moves into the monorepo — breaking for consumers.
-
The Go module path becomes
github.com/trianalab/pacto/integrations/kubernetes/v5(wasgithub.com/trianalab/pacto-operator). - It pins the published core module
github.com/trianalab/pacto/v3at release time; thego.workworkspace resolution is development-only. - The integration continues the operator
v4line asv5(image + chart + module); public OCI/chart coordinates are preserved.
@pacto/operator-image¶
6.6.0¶
No changes in this release.
6.5.0¶
No changes in this release.
6.4.1¶
No changes in this release.
6.4.0¶
No changes in this release.
6.3.0¶
No changes in this release.
6.2.0¶
No changes in this release.
6.1.0¶
No changes in this release.
6.0.1¶
6.0.0¶
5.4.3¶
5.4.2¶
5.4.1¶
5.4.0¶
5.3.0¶
5.2.4¶
5.2.3¶
5.2.2¶
5.2.1¶
5.2.0¶
5.1.2¶
5.1.1¶
5.1.0¶
5.0.0¶
Major Changes¶
-
045f11e: The Kubernetes integration moves into the monorepo — breaking for consumers.
-
The Go module path becomes
github.com/trianalab/pacto/integrations/kubernetes/v5(wasgithub.com/trianalab/pacto-operator). - It pins the published core module
github.com/trianalab/pacto/v3at release time; thego.workworkspace resolution is development-only. - The integration continues the operator
v4line asv5(image + chart + module); public OCI/chart coordinates are preserved.
@pacto/cli¶
4.6.1¶
No changes in this release.
4.6.0¶
No changes in this release.
4.5.0¶
No changes in this release.
4.4.2¶
No changes in this release.
4.4.1¶
No changes in this release.
4.4.0¶
No changes in this release.
4.3.0¶
No changes in this release.
4.2.0¶
No changes in this release.
4.1.0¶
No changes in this release.
4.0.0¶
3.3.6¶
3.3.5¶
3.3.4¶
3.3.3¶
3.3.2¶
3.3.1¶
3.3.0¶
3.2.9¶
3.2.8¶
3.2.7¶
3.2.6¶
3.2.5¶
3.2.4¶
3.2.3¶
3.2.2¶
3.2.1¶
3.2.0¶
3.1.4¶
3.1.3¶
3.1.2¶
3.1.1¶
3.1.0¶
3.0.1¶
3.0.0¶
Major Changes¶
-
045f11e: Pacto 2.0 — breaking contract-model, engine and module-path changes.
-
The Go module path becomes
github.com/trianalab/pacto/v3(was.../v2). Consumers must update their import paths. - The contract schema is v2 only (
pactoVersion "2.0"); v1 fields (runtime.*, interfaceport,scaling,service.image) are removed. - New pure engine:
pkg/evidence+pkg/finding+Evaluate(contract, evidence);ValidateRuntimeand the v1 declaration-side runtime types are gone. - Releasing is driven by an explicit release transaction, not a manifest-file diff.
@pacto/dashboard-image¶
4.6.1¶
No changes in this release.
4.6.0¶
No changes in this release.
4.5.0¶
No changes in this release.
4.4.2¶
No changes in this release.
4.4.1¶
No changes in this release.
4.4.0¶
No changes in this release.
4.3.0¶
No changes in this release.
4.2.0¶
No changes in this release.
4.1.0¶
No changes in this release.
4.0.0¶
3.3.6¶
3.3.5¶
3.3.4¶
3.3.3¶
3.3.2¶
3.3.1¶
3.3.0¶
3.2.9¶
3.2.8¶
3.2.7¶
3.2.6¶
3.2.5¶
3.2.4¶
3.2.3¶
3.2.2¶
3.2.1¶
3.2.0¶
3.1.4¶
3.1.3¶
3.1.2¶
3.1.1¶
3.1.0¶
3.0.1¶
3.0.0¶
Major Changes¶
-
045f11e: Pacto 2.0 — breaking contract-model, engine and module-path changes.
-
The Go module path becomes
github.com/trianalab/pacto/v3(was.../v2). Consumers must update their import paths. - The contract schema is v2 only (
pactoVersion "2.0"); v1 fields (runtime.*, interfaceport,scaling,service.image) are removed. - New pure engine:
pkg/evidence+pkg/finding+Evaluate(contract, evidence);ValidateRuntimeand the v1 declaration-side runtime types are gone. - Releasing is driven by an explicit release transaction, not a manifest-file diff.