Skip to main content

Canonical mission runtime for deterministic next-step planning

Project description

spec-kitty-runtime

Canonical mission runtime for Spec Kitty.

Scope (V1)

  1. YAML mission template loading.
  2. Deterministic mission discovery with precedence tiers.
  3. Deterministic step planner and mission next() execution loop.
  4. Prompt rendering for agent runtimes.

Public API

  1. load_mission_template(path_or_key, context=None)
  2. discover_missions(context)
  3. start_mission_run(template_key, inputs, policy_snapshot, context=None, run_store=None)
  4. next_step(run_ref, agent_id, result="success", policy_snapshot=None, actor_context=None, context=None)
  5. render_prompt(decision, format="markdown")

Runtime Event Emitter API (v0.2.0a0)

RuntimeEventEmitter uses canonical payload-object methods aligned to spec-kitty-events mission-next contracts:

  1. emit_mission_run_started(payload)
  2. emit_next_step_issued(payload)
  3. emit_next_step_auto_completed(payload)
  4. emit_decision_input_requested(payload)
  5. emit_decision_input_answered(payload)
  6. emit_mission_run_completed(payload)

NullEmitter is the default no-op implementation for local-first/offline flows.

Step Context Contracts (V1)

Mission steps declare their context requirements using step context contracts:

  • requires: Contexts that MUST resolve before execution
  • optional: Contexts that may enrich but aren't blocking
  • emits: Contexts produced/updated on completion

See docs/contracts.md for the complete reference, V1 baseline context types, and integration guide for spec-kitty 2.x.

Mission Pack Layout (YAML-only)

mission-pack.yaml
missions/<mission_key>/mission.yaml
missions/<mission_key>/templates/*.md
missions/<mission_key>/steps/*.yaml  # optional

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

spec_kitty_runtime-0.4.0rc2.tar.gz (94.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

spec_kitty_runtime-0.4.0rc2-py3-none-any.whl (43.1 kB view details)

Uploaded Python 3

File details

Details for the file spec_kitty_runtime-0.4.0rc2.tar.gz.

File metadata

  • Download URL: spec_kitty_runtime-0.4.0rc2.tar.gz
  • Upload date:
  • Size: 94.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for spec_kitty_runtime-0.4.0rc2.tar.gz
Algorithm Hash digest
SHA256 46340e451e36ada1d320e742ac89013a4c71ac3efb12abca31e2bb75b7f17be5
MD5 d2d2803e8ab4e66a942d4b13e21bd0bb
BLAKE2b-256 7036c22bc1556e9753d8f49dea368984682e92a4581be79ddc639f0d4ac5b506

See more details on using hashes here.

Provenance

The following attestation bundles were made for spec_kitty_runtime-0.4.0rc2.tar.gz:

Publisher: publish-pypi.yml on Priivacy-ai/spec-kitty-runtime

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file spec_kitty_runtime-0.4.0rc2-py3-none-any.whl.

File metadata

File hashes

Hashes for spec_kitty_runtime-0.4.0rc2-py3-none-any.whl
Algorithm Hash digest
SHA256 8d671f3e17d4743976004bcf6aa0a9f08cbdea845565590a0232957bafc7f9e8
MD5 160bffa453c2cdacc601cd61bfb337d3
BLAKE2b-256 bdb3f5eff6ad791381cd46b908f7788a28becc4f5deab028a3991b6f11a1bf0a

See more details on using hashes here.

Provenance

The following attestation bundles were made for spec_kitty_runtime-0.4.0rc2-py3-none-any.whl:

Publisher: publish-pypi.yml on Priivacy-ai/spec-kitty-runtime

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page