The version job keeps read access and only proposes the version; release-draft checks it and creates the draft. release-undraft checks the stage evidence before any upload, publish-build hands over the tarballs as a separate artifact, and the release commit check also checks changelog link texts, commit ancestry and dependency package names.
The release commit check limits changelog edits to one prepended block of changesets output and accepts any old version value. release-push writes the release commit from the checked tree, accepts an existing tag only at that commit, fsck-checks the bundle and retries a failed push before merging again. The draft release writes move to install-free jobs around a publish-build job, so publish keeps read access only. The JetBrains pin step only warns on failure.
The publish job no longer reads the AUR key. A package-managers job in the release-keys environment reads the AUR key and the maintainer app key from the ci-kilocode-release STS bundle and runs only script/kilocode/package-managers.ts. The maintainer app id comes from the repository variable.
With SBOM_ENFORCE the distribution evidence check stops before the release is published. The re-run comparison skips npm entries without a digest. The release commit check reuses a commit it already has, and fails when main carries the version without a tag or a release commit in the window.
The published-release check hashes the manifests it downloads against the API digest and returns the accepted distribution manifest, which the re-run comparison reuses. Uploads stop before any delete once the release is no longer a draft. The version job stops when the tag or a release for the version exists, except for a re-run of the same workflow run.
Every npm tarball and image in the distribution evidence must carry its digest before the release is published; failed npm descriptions keep the tarball digest. A missing tag on an existing release commit on main is recreated instead of committing again. Sidecars without a recorded digest fail the check.
Every release request uses the draft id the version job got from the create call. The CLI publish packs and describes the npm tarballs, pushes the images, uploads the distribution evidence, checks the complete draft and publishes it, then publishes the packed tarballs, AUR and Homebrew.
A re-run skips the release commit and tag when they are on main, removes distribution evidence a failed run left on the draft, and after the release was published uploads nothing, checks the published assets and requires each npm tarball to match the published evidence. upload-cli enforces a sidecar and an attestation subject per archive under SBOM_ENFORCE.
sign-cli-windows packages the signed Windows zips and records their digests; sbom-cli-windows writes new SBOM sidecars, manifest entries and checksum lines for them; upload-cli uploads the CLI set once and emits the attestation subjects, with the signed digests for the Windows zips.
The publish job uploads the VS Code packages before its draft check, and the CLI publish script uploads the distribution evidence, checks the complete draft and only then publishes the release, before AUR and Homebrew.
- Add helper entries for the bare and .git URL of each listed repository; an unscoped token gets an owner-wide entry.
- Clone the Homebrew tap from its plain URL so the token stays out of the command line and the clone's config.
Expose the merged Session Host seam through the local Kilo API so editors can
discover, read, start, and interact with a hosted cloud session without ever
handling a provider origin, credential, or Cloud control identity.
The provider now owns native request mapping: the local routing layer reduces
the inbound request to an allowlisted method/path/body, strips local
credentials, cookies, and selectors, and hands it to the provider, which maps
it onto the Cloud facade and injects its own auth. Attachments are opaque
wrk_att_ ids that stay valid under the existing workspace selector parser, take
precedence over Workspace lookup and local classification, and fail explicitly
when unknown, expired, disposed, or unavailable instead of running locally.
The v7.8.6 publish dispatch failed in build-cli after the full build with
"HTTP 422: ReleaseAsset.name already exists" on kilo-linux-x64-musl.tar.gz,
leaving 8 of 26 assets on the draft release.
gh release upload --clobber uploads the whole set concurrently through one
errgroup and retries an individual upload when the transport fails. A dropped
connection does not mean GitHub rejected the asset: the upload commits
server-side and gh's own retry then collides with the asset it just created.
422 is not retryable, so gh fails the command and the shared errgroup context
cancels every upload still in flight.
Upload one asset per invocation instead. Each attempt is then independently
retryable, and --clobber clears the ghost asset from the previous attempt, so
"already exists" resolves itself. A file that exhausts its attempts is reported
alongside every other failure rather than discarding assets that succeeded, and
the published asset set is confirmed afterwards so an upload left in `starter`
state is not mistaken for a complete release.
The schema script restored the models.dev model reference only for model
and small_model, so the dedicated model settings were generated as plain
strings without model validation or completion.
The ociName helper was inserted between ociImage and its doc comment,
leaving ociName with two blocks and ociImage with none.
The reclassified-component edge test matched LanceDB by a hardcoded
purl version, so the next version bump would fail it for the wrong
reason. It now locates the component by name and asserts both the
runtime reclassification and the preserved edge.
Keep delivery out of component refs. Folding it into the bom-ref made
every reclassified component unreachable from dependency edges built on
plain purls, so compose() dropped them and flattened the graph: the
JetBrains lean plugin attached all 1109 components to the root, and the
CLI's reclassified LanceDB lost its edges. Conflicting delivery claims
now resolve to the strongest one in dedupe().
Make coverage gates meaningful. The distribution manifest derived its
expected count from the recorded entries, so a missing npm package or
image could never register as a shortfall. Expected coverage now comes
from what the release had to produce, failed OCI descriptions record an
explicit error entry, and an image SBOM with no components is reported
as a failure rather than verifying as valid.
Keep npm evidence tied to published bytes. Re-runs now describe the
tarball the registry serves instead of silently producing no entry, and
stale tarballs are removed before packing so the SBOM subject is
provably the file just written.
Install Syft and pass SBOM_ENFORCE to the VSIX build and publish jobs;
both ran the generators without either. The JetBrains bundled workflow
now fails when published lean evidence exists but cannot be restored,
instead of uploading a bundled-only manifest over it, and restores the
lean sidecars next to the manifest so verification can resolve them.
Also normalize archive product identity to the real npm package name,
fix the VS Code --dir default, skip digest-less entries in SHA256SUMS,
and tighten two tests that could pass without asserting anything.
Adds CRA (Cyber Resilience Act) SBOM evidence generation, validation,
and publication for every shipped Kilo artifact: 12 CLI archives, npm
packages, OCI images, 8 VSIX files, and the JetBrains lean/bundled
plugin ZIPs.
- Shared composer/validator/manifest tooling in script/kilocode/sbom/
produces CycloneDX 1.6 JSON with a deterministic serial number bound
to the artifact's SHA-256, and models delivery as contained/provided/
runtime so host-supplied and runtime-downloaded code is never claimed
as shipped.
- Component graphs combine a bun.lock dependency closure (for code
compiled into Bun/esbuild bundles) with a pinned Syft scan of the
final artifact (for staged files a lockfile can't see), so neither
generator has to cover what the other misses.
- CLI, VS Code, and JetBrains sidecars are generated from the same
per-target CLI component graph, so one shipped binary cannot be
described two different ways across products.
- Evidence is published as public *.cdx.json sidecars on GitHub
Releases plus signed actions/attest SBOM attestations bound to each
artifact's digest.
- Rollout is advisory: SBOM_ENFORCE gates whether missing/invalid
evidence blocks a release (defaults to warn-only until stable
releases prove complete coverage).
Main landed the same httpapi design (git-opt-in fixtures, --shard flag)
and the same permission.create readiness wait. Resolution adopts main's
implementations and keeps this branch's unique work on top: the
--shards child-process orchestrator (adapted to main's zero-based
shard indexing), scenario retry with backoff gated on state-reset,
project.update isolation, and exerciser env stripping. Removed the
superseded agentsReady/probe machinery and this branch's duplicate
round-robin filter (double-sharding silently dropped scenarios).
Validated: coverage, auth, and 4-shard effect passes all green
(315 checks, 0 failures).
--update-durations now disables batching so every file is measured
per-file (batched members' entries otherwise rot), and only passing
runs record durations (a timed-out file would write the kill deadline
and permanently skew LPT).
Timed-out work items are no longer retried: the deadline already
proves a hang, and a second 600s attempt could push a shard past the
45-minute job budget.
A flaky batch now annotates the member files that failed the first
attempt instead of the pseudo-file. Defender exclusions apply per
path instead of aborting on the first policy-locked one.
FAST_TIERS drops the single-field wrapper left from the hand-weight era.
The unsafe-marker scan reads files in chunks of 64 so a low soft fd
limit cannot fail startup. The durations comment points at
--update-durations instead of a workflow that no longer exists.