Canonical mission runtime for deterministic next-step planning
Project description
spec-kitty-runtime
Canonical mission runtime for Spec Kitty.
Scope (V1)
- YAML mission template loading.
- Deterministic mission discovery with precedence tiers.
- Deterministic step planner and mission
next()execution loop. - Prompt rendering for agent runtimes.
Public API
load_mission_template(path_or_key, context=None)discover_missions(context)start_mission_run(template_key, inputs, policy_snapshot, context=None, run_store=None)next_step(run_ref, agent_id, result="success", policy_snapshot=None, actor_context=None, context=None)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:
emit_mission_run_started(payload)emit_next_step_issued(payload)emit_next_step_auto_completed(payload)emit_decision_input_requested(payload)emit_decision_input_answered(payload)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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file spec_kitty_runtime-0.4.3.tar.gz.
File metadata
- Download URL: spec_kitty_runtime-0.4.3.tar.gz
- Upload date:
- Size: 94.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fbfb9047ab8258adde24afef38df72c9acfa051589ad29ad3a412072f603a1dc
|
|
| MD5 |
85850045742aa08342924909163f2bcc
|
|
| BLAKE2b-256 |
cdc9e43cadf81577465d5065fbda2a865b2d25ab219f9c2ef9a83bdc048f01e8
|
Provenance
The following attestation bundles were made for spec_kitty_runtime-0.4.3.tar.gz:
Publisher:
publish-pypi.yml on Priivacy-ai/spec-kitty-runtime
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
spec_kitty_runtime-0.4.3.tar.gz -
Subject digest:
fbfb9047ab8258adde24afef38df72c9acfa051589ad29ad3a412072f603a1dc - Sigstore transparency entry: 1243041049
- Sigstore integration time:
-
Permalink:
Priivacy-ai/spec-kitty-runtime@8235462f27447cc03683cf56d55ee964ff8dc4ea -
Branch / Tag:
refs/tags/v0.4.3 - Owner: https://github.com/Priivacy-ai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@8235462f27447cc03683cf56d55ee964ff8dc4ea -
Trigger Event:
push
-
Statement type:
File details
Details for the file spec_kitty_runtime-0.4.3-py3-none-any.whl.
File metadata
- Download URL: spec_kitty_runtime-0.4.3-py3-none-any.whl
- Upload date:
- Size: 43.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2ac6acd07fa49ae978d8ffa2feceeb4453d084cce805883b36bb367e3a4bfa51
|
|
| MD5 |
0a35a7807659b02e365e1fc33a406ce1
|
|
| BLAKE2b-256 |
a43b294efcd303ee2221d7d0b5996f5200ae0e2345c51119d984d4ea5f8c7e18
|
Provenance
The following attestation bundles were made for spec_kitty_runtime-0.4.3-py3-none-any.whl:
Publisher:
publish-pypi.yml on Priivacy-ai/spec-kitty-runtime
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
spec_kitty_runtime-0.4.3-py3-none-any.whl -
Subject digest:
2ac6acd07fa49ae978d8ffa2feceeb4453d084cce805883b36bb367e3a4bfa51 - Sigstore transparency entry: 1243041053
- Sigstore integration time:
-
Permalink:
Priivacy-ai/spec-kitty-runtime@8235462f27447cc03683cf56d55ee964ff8dc4ea -
Branch / Tag:
refs/tags/v0.4.3 - Owner: https://github.com/Priivacy-ai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@8235462f27447cc03683cf56d55ee964ff8dc4ea -
Trigger Event:
push
-
Statement type: