Skip to main content

continuum

Change impact from Party's Continuum, for people and coding agents: what a change reaches, how risky it is, which tests reach it, and what no test reaches. Continuum keeps a dependency graph of each repository current as its default branch changes; this CLI asks it about your checkout.

pip install party-continuum        # or: brew install maitai-inc/continuum/continuum
continuum login                    # a browser code; saves a revocable token

Before an edit:

continuum dependents billing/charge.py::charge --depth 2   # what depends on it
continuum impact --plan charge --change signature          # the reach of a planned change

After an edit (the working tree against the default branch):

continuum impact      # reach, impact and risk grades, and what drives them
continuum tests       # every test that reaches the change, with commands to run them
continuum untested    # reached code that no test reaches: add tests here
continuum explain api/refunds.py::refund   # why the change reaches it

Every command takes --json. --repo owner/name overrides the checkout's GitHub origin, and --base / --head choose what to compare.

Impact and risk are separate. Impact is how much behavior the change can reach. Risk is how much of that no test would notice: reached code no test reaches, code still using something the change removes, and changes Continuum cannot see through. A wide, well-tested change is high impact and low risk; a small change to untested code is the reverse. Both are graded against the repository's own recent changes.

What it sends. The paths of your changed files and the contents of changed text files (at most 4 MB); never other files, and nothing unless you run a command. The graph lives with Continuum, so answers take about a second.

Tokens. continuum login saves a token that reads Continuum and nothing else; logging in again or using it keeps it alive, and continuum logout revokes it. For CI and agent Environments, create a fixed token and set it as CONTINUUM_TOKEN:

continuum token create --name "skipper Environment" --repo maitai-inc/skipper --days 90
continuum token list
continuum token revoke <id>

Requirements: Python 3.11+ and git. Installation also installs HTTPX. Each CLI command reuses a private HTTP/1.1 connection pool for authenticated API calls, then closes it on exit. System certificate trust and environment proxies remain supported. Event streams retain their held-open transport. Repository bootstrap scripts that import the client before installing dependencies retain the stdlib request path until HTTPX is available. Continuum is for members of the Party organization; CONTINUUM_URL points the CLI at another Party server.

Building the CLI

Run python continuum/cli/stage.py --version 1.2.3 --out build/party-continuum, then python -m build build/party-continuum. Staging requires Node.js 22 and npm. It bundles the locked GitHub artifact SDK with its licenses into the package. The wheel and source distribution include the complete uploader for both Linux amd64 and arm64. Protected runner jobs execute it with Node.js 22.

CI also builds a self-contained runtime image for Linux amd64 and arm64. It contains Python 3.12, Node.js 22, Git, the Docker client, the CLI and its Python dependencies. The protected job launches this image against its workspace and Docker daemon. Repository test containers run with their own images. The runtime launcher preserves host paths for source and Git-object mounts and cleans up containers belonging to the job on exit.

Every CLI change pushed to main automatically produces a downloadable party-continuum Actions artifact containing a development wheel and source distribution. Pull requests build the same artifacts. The workflow verifies installation, artifact upload and retry on both architectures. Dispatching Build and publish Continuum CLI with a release version publishes those same bundled files to PyPI when publishing is enabled.

Setup and trusted development checks

continuum login --validation installs missing repository agent instructions; use --no-skill to opt out or continuum init to install later. Custom skills are preserved. continuum doctor diagnoses configuration without claiming a live execution succeeded. Headless keys can also be created in dashboard Settings.

CLI upgrades do not replace an existing .agents/skills/continuum/SKILL.md; continuum init preserves it even if it came from an older CLI. To refresh an existing skill, merge the current template's guidance from party_continuum/setup.py into that file, keeping repository-specific instructions. In particular, older skills need the index_pending polling and retry guidance.

continuum validate run --stage build submits the frozen working snapshot and phase to the Continuum API, follows progress, and returns the verdict. The service owns selection, input-based pass reuse, runner dispatch, concurrency, cancellation and results. Validation uses the actual merge base, including after a rebase. If that baseline is not indexed, it returns index_pending with the index job and ETA rather than adding intervening main changes to the branch's ledger. Poll continuum status --at COMMIT --json using index_job.commit. Rebasing retains prior branch evidence for tests unaffected by the actual tree delta. Agents need a validation token; they need no GitHub dispatch access, executor credential or Docker. Source submission uploads only changed blobs and deletions; the service verifies the resulting Git tree against the baseline.

If no compatible baseline is indexed, validation exits nonzero immediately with JSON containing status: "index_pending" and index_job. It joins an active baseline indexing job or queues one atomically; it does not retain a validation request or launch tests. Retry validation once indexing finishes. continuum status --json reports the current job without starting or retrying it. The job includes id, commit, analyzer, status, stage, date_started (UTC ISO 8601, or null before indexing starts), time_remaining (estimated seconds), and retry_after (suggested polling seconds). Estimates use recent repository index durations, including publication and queued work. time_remaining is null when history is unavailable or an estimate has been exceeded; it is not a deadline. An explicit validation retry can requeue failed indexing. API clients can use POST /repos/{owner}/{name}/validations with {"ensure_index": true} for the same preflight: 200 when ready, or 409 with the indexing job. Both validation submission endpoints perform this check before admitting planning work.

For asynchronous execution:

continuum validate run --stage build --detach
continuum validate watch RUN_ID
continuum validate watch RUN_ID --events-json --after 42
continuum validate run-status RUN_ID
continuum validate stop RUN_ID

Disconnecting a watcher does not cancel execution. Requests are idempotent and reconnect to accepted planning or execution after a lost response. Admission, leases, cancellation and outcomes are durable; a restart resumes the same request identity. Planning has a bounded service deadline and cannot publish new work after cancellation or lease loss. After a confirmed planning failure, explicitly rerunning the command retries that identity; uncertain or active submissions reconnect instead. Event cursors survive service restarts. GitHub gets normal streamed logs, failure annotations, a job summary and links to runner logs. Failed tests produce a failing verdict. Default terminal output summarizes phase counts and failures; add --json to run, watch or run-status for the complete ledger and execution graph.

Repository policy chooses local or runner build execution. --execution local explicitly launches the separate continuum-runner adapter in the coding environment; it pulls work from the same service and does not start Docker. --execution runner uses service-managed GitHub/Blacksmith execution. The service enforces allowed locations and worker limits. Local passes satisfy the ledger only when the baseline explicitly trusts them; otherwise they remain observations. PR/merge phases require protected runner execution. Prepared runtime images own runner dependencies. See operator setup.

Successful analysis can identify an uncertain dependency boundary that requires a reviewed conservative suite. A planning error, missing baseline or timeout is reported to the caller and never produces a broader execution plan. Responses include selection.mode, reasons, phase and suites; the dashboard labels conservative runs and their reason. A setup without executable suites is a configuration error, never an empty pass.

A pre-submission availability failure exits 75 so GitHub can invoke the user-defined complete-phase fallback. Lost submission responses or interrupted watches do not authorize duplicate fallback runs: reconnect first. If the CLI or service cannot be used, agents can run documented repository tests themselves; report the snapshot, commands, outcomes and skips separately from hosted evidence. A test failure cannot become a pass through fallback.

After edits, repeat continuum validate run --stage build. The service retries failed/unfinished work and invalidates passing results only when relevant inputs changed. reuse = "dependency-inputs" permits verified per-test file-dependency reuse; exact-tree remains the conservative boundary when dependencies cannot be proven complete. Whole suites and unsupported reporters keep command-level receipts.

The durable admission and branch-lineage service requires PostgreSQL migration 023 (SQLite 017). Hosted execution retains API run protocol 1, a released CLI/runner 0.6.0+, an admitted immutable runner workflow and the GitHub App's repository-scoped Actions write permission. Index access retains its separate read-only credential. Install the generated setup PR before activating new callers; legacy workflows remain independently pinned during that rollout.

Phase override labels

A pull request label continuum:<phase>=<mode> sets the mode for that pull request's own CI run of the phase, ahead of the phase's setting in Continuum and the delegation blockers. Phases are pr, merge and post-merge; modes are off, shadow and active.

  • The gate sends which run it is with its status request: the pull request number, the merge-queue ref, or the pushed range. The service reads the labels and answers with the effective mode and an override naming the label.
  • The gate also sends its workflow run, attempt and commit. The service decides the mode once for that run attempt and phase, so the gate's first check and its later steps get the same answer. A re-run is decided again.
  • A merge-queue run belongs to the pull request its ref names (gh-readonly-queue/<base>/pr-<number>-<sha>); labels on other pull requests in the group are not read.
  • A push to the default branch honours a post-merge label only when it landed exactly one pull request. Otherwise the repository's setting applies.
  • With several labels for one phase, the most recently added applies.
  • Labels that cannot be read hand the run to the workflow's original jobs (reason: labels_unreadable), since one of them may say off.
  • shadow is answered exactly as off, with no override: the original jobs run and decide, and the gate cannot tell the two apart.

The service's GitHub App needs read access to pull requests. Agents apply these labels only on an explicit request; the installed skill says so.

Native GitHub continuations

Repositories with external requirements can opt into python -m party_continuum.phase_gate --delegate-only --native-workflow .github/workflows/ci.yml. After managed targets finish, the gate reserves outstanding work and emits candidate and native_matrix (job name, profile, runner labels). A pending native_assignments result retains service ownership; it is not a passing verdict.

Each matrix job runs python -m party_continuum.native_jobs CANDIDATE --stage pr --workflow .github/workflows/ci.yml --job JOB --reports DIRECTORY. The reviewed policy supplies its command, setup, runner labels and exact GitHub job mapping. The adapter exports CONTINUUM_SNAPSHOT_ROOT and CONTINUUM_GITHUB_VARIANT for repository-owned setup. It executes only reserved outstanding requirements. Upload the reports even on failure, using the artifact prefix and upload-step name declared in github_reports. A final job imports completed jobs with continuum validate record-github CANDIDATE --head "$GITHUB_SHA" --stage pr --partial and requires continuum validate status CANDIDATE --require-stage pr.

The gate and native jobs need the Continuum token, GitHub read token and OIDC permission for reservations. Test subprocesses do not inherit those tokens. GitHub verifies outcomes; the adapter never submits container attestations. Keep the repository's independent fallback graph for service unavailability.

Metadata

Release files for party-continuum 0.10.13

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for party-continuum 0.10.13
File Size Uploaded Provenance Actions
party_continuum-0.10.13.tar.gz 1.2 MB With provenance Details for party_continuum-0.10.13.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for party-continuum 0.10.13
File Interpreter ABI Platform Actions
party_continuum-0.10.13-py3-none-any.whl Python 3 none any Details for party_continuum-0.10.13-py3-none-any.whl

Total release size: 2.5 MB

Release files / party_continuum-0.10.13.tar.gz

Download URL party_continuum-0.10.13.tar.gz
Size 1.2 MB
Tags Source
SHA-256 checksum
How to use checksums
05bbcf06e4ba52de5a7bb50137e1c4b78f05a358a013aa760c6213e1590a94aa
BLAKE2b-256 checksum
How to use checksums
a1560a532727db0a7275c2f500cdc9210c9c10cbf2bd669a4d6cb731bef3c26b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.

Transparency log

Release files / party_continuum-0.10.13-py3-none-any.whl

Download URL party_continuum-0.10.13-py3-none-any.whl
Size 1.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
c165f780ede5958a58399f97c3890422c0f903c2e5f97b44bc4edac50e6b419b
BLAKE2b-256 checksum
How to use checksums
113ac30bdf7e0e070a7e37364601750e61233e52b7e7c6cbee184bd97c69f8e0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.

Transparency log

Security for party-continuum 0.10.13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for party_continuum-0.10.13.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.10.13 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page