agent-lifecycle-kit 1.50.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- agent_lifecycle_kit-1.50.1/LICENSE +201 -0
- agent_lifecycle_kit-1.50.1/NOTICE +5 -0
- agent_lifecycle_kit-1.50.1/PKG-INFO +201 -0
- agent_lifecycle_kit-1.50.1/README.md +180 -0
- agent_lifecycle_kit-1.50.1/pyproject.toml +49 -0
- agent_lifecycle_kit-1.50.1/setup.cfg +4 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/__init__.py +5 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/__main__.py +5 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/_version.py +3 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/adapter_sessions/__init__.py +41 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/adapter_sessions/contracts.py +133 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/adapter_sessions/env.py +44 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/adapter_sessions/launcher.py +101 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/adapter_sessions/process.py +39 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/adapter_sessions/redaction.py +30 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/adapter_sessions/session_store.py +64 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/adapter_sessions/task_intake.py +450 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/adapter_sessions/workflow_bridge.py +154 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/audit/__init__.py +67 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/audit/bug_forensics.py +94 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/audit/implementation.py +516 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/audit/ownership.py +119 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/audit/proof_integrity.py +814 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/audit/review_verdict.py +116 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/changesets/__init__.py +5 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/changesets/git.py +35 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/cli/__init__.py +5 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/cli/adapter.py +360 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/cli/dispatch.py +1220 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/cli/followup.py +89 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/cli/main.py +41 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/cli/metrics_parser.py +49 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/cli/parsers.py +618 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/cli/policy.py +101 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/cli/progress_hooks.py +117 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/cli/worktree.py +74 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/compiler/__init__.py +17 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/compiler/small_model_packets.py +322 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/compiler/task_packets.py +229 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/context/__init__.py +20 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/context/episode_retrieval.py +30 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/context/external_memory.py +71 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/context/profiles.py +104 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/context/rendering.py +226 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/contracts/__init__.py +25 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/contracts/adapter_contract_schemas.py +130 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/contracts/adapter_event_schemas.py +118 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/contracts/adapter_session_schemas.py +130 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/contracts/adapter_task_schemas.py +90 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/contracts/audit_schemas.py +133 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/contracts/bug_forensics_schemas.py +400 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/contracts/canonical.py +55 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/contracts/compatibility.py +242 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/contracts/context_model_schemas.py +265 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/contracts/core_schemas.py +252 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/contracts/cross_check_schemas.py +121 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/contracts/errors.py +26 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/contracts/evidence_import_schemas.py +152 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/contracts/host_capability_schemas.py +64 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/contracts/import_dialect_schemas.py +166 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/contracts/metric_schemas.py +315 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/contracts/paths.py +31 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/contracts/plan_contract_schemas.py +148 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/contracts/policy_schemas.py +350 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/contracts/progress_bridge_schemas.py +114 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/contracts/progress_hook_schemas.py +119 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/contracts/proof_integrity_schemas.py +240 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/contracts/release_contract_schemas.py +476 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/contracts/review_mesh_recommendation_schemas.py +64 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/contracts/review_mesh_schemas.py +222 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/contracts/review_quality_schemas.py +109 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/contracts/runner_schemas.py +91 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/contracts/runner_worktree_schemas.py +389 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/contracts/sandbox_schemas.py +159 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/contracts/schema_builders.py +23 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/contracts/schemas.py +93 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/contracts/status_goal_schemas.py +469 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/contracts/task_template_schemas.py +96 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/contracts/usage_export_schemas.py +68 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/diagnostics/__init__.py +17 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/diagnostics/bundles.py +124 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/diagnostics/readiness.py +733 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/evidence_index/__init__.py +39 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/evidence_index/core.py +272 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/evidence_index/episode_index.py +329 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/evidence_index/external_context.py +276 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/followup/__init__.py +23 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/followup/records.py +404 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/freeze/__init__.py +5 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/freeze/locks.py +23 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/goal/__init__.py +15 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/goal/records.py +244 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/goal/view.py +109 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/host_protocol/__init__.py +65 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/host_protocol/acp_capability.py +195 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/host_protocol/capabilities.py +268 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/host_protocol/contracts.py +214 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/host_protocol/event_capture.py +390 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/host_protocol/events.py +196 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/host_protocol/inspection.py +194 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/host_protocol/inspection_common.py +310 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/host_protocol/inspection_cursor.py +164 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/host_protocol/inspection_gemini_cli.py +163 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/host_protocol/inspection_hermes.py +161 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/host_protocol/inspection_kimi_code.py +169 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/host_protocol/inspection_opencode.py +147 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/host_protocol/inspection_qwen_code.py +143 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/host_protocol/receipts.py +58 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/host_protocol/scaffold.py +329 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/host_protocol/validation.py +229 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/imports/__init__.py +76 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/imports/agentskills_profile.py +54 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/imports/bmad_profile.py +49 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/imports/constitution_adr.py +91 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/imports/dialect_profiles.py +121 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/imports/external_agent.py +28 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/imports/external_dialects.py +486 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/imports/external_workflow.py +28 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/imports/multi_markdown.py +111 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/imports/openspec_profile.py +49 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/imports/planning.py +536 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/imports/spec_kit_profile.py +49 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/imports/spec_kitty_profile.py +49 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/metrics/__init__.py +60 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/metrics/cost_collection.py +315 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/metrics/costs.py +203 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/metrics/outcome_index.py +330 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/metrics/phase_resources.py +208 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/metrics/recommendations.py +507 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/metrics/regression_signals.py +64 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/metrics/usage_export.py +390 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/model_routing/__init__.py +19 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/model_routing/profiles.py +323 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/model_routing/receipts.py +140 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/model_routing/resolver.py +566 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/neutrality/__init__.py +12 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/neutrality/__main__.py +6 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/neutrality/authority.py +265 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/neutrality/canonical.py +28 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/neutrality/cli.py +294 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/neutrality/ed25519.py +124 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/neutrality/errors.py +89 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/neutrality/gate.py +269 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/neutrality/paths.py +92 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/neutrality/policy.py +76 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/neutrality/receipt.py +135 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/neutrality/scanner.py +310 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/neutrality/test_runner.py +116 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/planning/__init__.py +47 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/planning/acceptance_markdown.py +159 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/planning/completeness.py +362 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/planning/continuity.py +255 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/planning/templates.py +294 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/planning/tiering.py +87 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/planning/validation.py +72 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/policy/__init__.py +37 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/policy/adaptive_lifecycle.py +416 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/policy/apply.py +44 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/policy/proposals.py +189 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/policy/quality_floor.py +144 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/policy/runtime_receipts.py +160 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/py.typed +1 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/quality/__init__.py +89 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/quality/bug_forensics.py +727 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/quality/bug_forensics_advisor.py +88 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/quality/bug_forensics_recipes.py +239 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/quality/cross_check.py +437 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/quality/failure_classification.py +318 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/quality/packs.py +265 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/reporting/__init__.py +37 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/reporting/change_summary.py +156 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/reporting/event_feed.py +101 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/reporting/progress_bridge.py +153 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/reporting/progress_hooks.py +161 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/reporting/progress_terminal.py +95 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/reporting/progress_view.py +284 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/reporting/status_view.py +125 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/reporting/usage_export.py +59 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/review/__init__.py +5 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/review/validation.py +29 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/review_mesh/__init__.py +83 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/review_mesh/assignments.py +160 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/review_mesh/contracts.py +685 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/review_mesh/operator_templates.py +320 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/review_mesh/quorum.py +38 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/review_mesh/recommendation.py +487 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/review_mesh/results.py +98 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/review_mesh/synthesis.py +102 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/runner/__init__.py +47 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/runner/attempt_snapshots.py +244 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/runner/core.py +653 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/runner/sandbox_receipts.py +628 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/specification/__init__.py +23 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/specification/completion_check.py +135 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/specification/completion_gate.py +501 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/specification/completion_signal.py +75 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/specification/validation.py +48 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/workflow/__init__.py +79 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/workflow/artifacts.py +74 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/workflow/budget_decisions.py +370 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/workflow/budget_policy.py +140 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/workflow/budget_receipts.py +70 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/workflow/bug_forensics_gates.py +284 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/workflow/controller.py +45 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/workflow/events.py +50 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/workflow/final_proof_integrity.py +74 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/workflow/finalization.py +422 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/workflow/gates.py +185 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/workflow/implementation_audit_gate.py +126 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/workflow/leases.py +220 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/workflow/lineage.py +108 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/workflow/managed_runner.py +167 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/workflow/model_usage.py +106 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/workflow/next_action.py +86 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/workflow/operation_kernel.py +98 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/workflow/plan_adoption.py +439 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/workflow/query.py +52 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/workflow/review_mesh_gate.py +93 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/workflow/reviews.py +168 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/workflow/run_transitions.py +163 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/workflow/sandbox_policy.py +214 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/workflow/selectors.py +57 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/workflow/state.py +130 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/workflow/task_transitions.py +421 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/worktree/__init__.py +17 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle/worktree/isolation.py +407 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle_kit.egg-info/PKG-INFO +201 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle_kit.egg-info/SOURCES.txt +229 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle_kit.egg-info/dependency_links.txt +1 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle_kit.egg-info/entry_points.txt +3 -0
- agent_lifecycle_kit-1.50.1/src/agent_lifecycle_kit.egg-info/top_level.txt +1 -0
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright [yyyy] [name of copyright owner]
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: agent-lifecycle-kit
|
|
3
|
+
Version: 1.50.1
|
|
4
|
+
Summary: Provider-neutral lifecycle control layer that helps coding agents plan, execute, validate, and prove software tasks to completion.
|
|
5
|
+
Author: Agent Lifecycle Kit contributors
|
|
6
|
+
License: Apache-2.0
|
|
7
|
+
Keywords: adapter-conformance,agent-lifecycle,agent-workflows,agents,ai-agents,audit,coding-agents,lifecycle,model-routing,planning,sdd,software-delivery,task-orchestration,workflow
|
|
8
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
9
|
+
Classifier: Intended Audience :: Developers
|
|
10
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
11
|
+
Classifier: Programming Language :: Python :: 3
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
15
|
+
Classifier: Typing :: Typed
|
|
16
|
+
Requires-Python: <3.14,>=3.11
|
|
17
|
+
Description-Content-Type: text/markdown
|
|
18
|
+
License-File: LICENSE
|
|
19
|
+
License-File: NOTICE
|
|
20
|
+
Dynamic: license-file
|
|
21
|
+
|
|
22
|
+
<p align="center">
|
|
23
|
+
<img src="docs/assets/agent-lifecycle-kit-banner.svg?v=2026-08-02-1" alt="Agent Lifecycle Kit - plan, execute, prove, finish agent work" width="100%">
|
|
24
|
+
</p>
|
|
25
|
+
|
|
26
|
+
# Agent Lifecycle Kit
|
|
27
|
+
|
|
28
|
+
[](LICENSE)
|
|
29
|
+
[](https://github.com/avksp/agent-lifecycle-kit/releases)
|
|
30
|
+

|
|
31
|
+
|
|
32
|
+
**Agent Lifecycle Kit (ALK)** gives coding agents one delivery workflow from
|
|
33
|
+
request to verified result. It turns a user task into a reviewed specification,
|
|
34
|
+
an approved plan, bounded implementation work, review, and final proof, so
|
|
35
|
+
agents finish the job instead of stopping at a patch.
|
|
36
|
+
|
|
37
|
+
The workflow is provider-neutral. Codex, Claude Code, Qwen Code, Goose,
|
|
38
|
+
OpenInterpreter, Pi, Grok Build, or another CLI can follow the same lifecycle,
|
|
39
|
+
while provider commands, model choice, and secret handling stay in adapters or
|
|
40
|
+
host-local profiles.
|
|
41
|
+
|
|
42
|
+
## Quick start
|
|
43
|
+
|
|
44
|
+
From a source checkout:
|
|
45
|
+
|
|
46
|
+
```bash
|
|
47
|
+
python -m pip install -e .
|
|
48
|
+
agent-lifecycle version
|
|
49
|
+
agent-lifecycle diagnose --no-install-plans
|
|
50
|
+
agent-lifecycle adapter validate --descriptor adapters/codex/adapter.descriptor.json
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
Package install, when available for the release:
|
|
54
|
+
`python -m pip install agent-lifecycle-kit==1.50.1`.
|
|
55
|
+
|
|
56
|
+
For a short walkthrough, use [Quickstart](docs/guides/quickstart.md) and the [Lifecycle cookbook](docs/guides/lifecycle-cookbook.md). For structure and positioning, see [System architecture](docs/architecture/system-architecture.md) and [Project comparison](docs/reference/project-comparison.md). Russian documentation starts at [Документация на русском](docs/ru/README.md).
|
|
57
|
+
|
|
58
|
+
## What it gives you
|
|
59
|
+
|
|
60
|
+
- A finish-oriented lifecycle: plan, execute, review, and prove the result.
|
|
61
|
+
- One process for different CLIs: adapter-specific commands stay outside the
|
|
62
|
+
core, and new adapters can be added without changing lifecycle schemas.
|
|
63
|
+
- Small-model friendly packets: compact context, clear next actions, and
|
|
64
|
+
deterministic checks for local or cheaper models.
|
|
65
|
+
- Quality without overengineering: optional profiles turn on only when risk or
|
|
66
|
+
task type requires them.
|
|
67
|
+
- Usage visibility: tokens, time, and resource counters are native; monetary
|
|
68
|
+
cost is optional and only used when a metered host reports it.
|
|
69
|
+
- Read-only progress and managed sessions: host UIs can show lifecycle state,
|
|
70
|
+
attested tokens and Git-style change counters; `adapter task start` accepts
|
|
71
|
+
task text, Markdown or frozen run requests while preserving review/freeze
|
|
72
|
+
boundaries.
|
|
73
|
+
|
|
74
|
+
## Feature areas
|
|
75
|
+
|
|
76
|
+
### Plan and execute
|
|
77
|
+
|
|
78
|
+
- Reviewed specification and plan flow before implementation starts.
|
|
79
|
+
- Deterministic task packets for splitting work across agents.
|
|
80
|
+
- Execution records capture completion checks, blockers, retries, and final
|
|
81
|
+
proof; missing required evidence fails the step.
|
|
82
|
+
- Ready-made task templates cover bug fixes, idea-to-PR flow, PR review,
|
|
83
|
+
merge-conflict repair, and release-readiness work.
|
|
84
|
+
|
|
85
|
+
### Quality and proof
|
|
86
|
+
|
|
87
|
+
- Implementation audits compare results with the frozen plan and acceptance
|
|
88
|
+
evidence.
|
|
89
|
+
- For explicit bug and regression repair, the optional Bug Forensics profile
|
|
90
|
+
records reproduction, fingerprint, failure class, hypotheses, minimal patch,
|
|
91
|
+
regression proof, and reusable recipes.
|
|
92
|
+
- Optional proof-integrity evidence for high-risk final proofs: stable findings,
|
|
93
|
+
root-cause digests, fix-impact receipts, and hash chains.
|
|
94
|
+
- Cross-checks and runtime-policy receipts are opt-in controls; plans can
|
|
95
|
+
require proof for an external system update before acceptance.
|
|
96
|
+
- Optional Review Mesh covers leader-draft review, parallel research synthesis
|
|
97
|
+
and audit panels. The advisor can suggest a mode; `review-mesh prepare`
|
|
98
|
+
creates local reviewer packets; opted-in plans can require
|
|
99
|
+
assignment/result/synthesis/quorum receipts, but ALK core does not start hosts.
|
|
100
|
+
|
|
101
|
+
### Routing and resource control
|
|
102
|
+
|
|
103
|
+
- Compact context profiles, small-model packets, objective snapshots, and
|
|
104
|
+
local quality-cost learning help choose the lightest safe mode.
|
|
105
|
+
- Phase resource measurements reuse the usage export envelope for tokens,
|
|
106
|
+
duration, and resource counters without mandatory monetary accounting.
|
|
107
|
+
- Usage/session exports include tokens, resources, receipt digests, and optional
|
|
108
|
+
host-reported `cost_usd`.
|
|
109
|
+
|
|
110
|
+
### Security and containment
|
|
111
|
+
|
|
112
|
+
- Neutrality filters use host-supplied deny rules to keep local paths, secrets, trust roots, and signing keys out of portable artifacts.
|
|
113
|
+
- Host env files require explicit `--host-env-allow`; receipts store redacted metadata, not secret values or private env-file paths.
|
|
114
|
+
- Imports, diagnostics, and usage exports redact local paths and common secret markers before validation.
|
|
115
|
+
- Sandbox receipts separate runtime filesystem, network, process, and environment containment from git write-scope.
|
|
116
|
+
- Release security gates reject leaked local paths, credentials, and unsupported adapter or production claims.
|
|
117
|
+
|
|
118
|
+
### Adapters and interop
|
|
119
|
+
|
|
120
|
+
- Adapter contracts keep host-specific projections separate from lifecycle
|
|
121
|
+
schemas.
|
|
122
|
+
- New CLI hosts start as adapters: descriptor, command projection, environment
|
|
123
|
+
boundary, and verification evidence live outside the lifecycle core.
|
|
124
|
+
- Adapter capability checks and progress bridge support compare live receipts
|
|
125
|
+
and display lifecycle state without automatic maturity changes.
|
|
126
|
+
- Import mappers and issue-to-spec intake treat external workflows, agent
|
|
127
|
+
dialects, and tickets as untrusted draft inputs.
|
|
128
|
+
- Lightweight episode retrieval over receipt/session summaries keeps digest
|
|
129
|
+
provenance and explicit `chainVerified` or `chainUnchecked` state.
|
|
130
|
+
|
|
131
|
+
### Operations
|
|
132
|
+
|
|
133
|
+
- Runner recovery receipts cover attempt snapshot, restore, abandon, selected
|
|
134
|
+
attempt, worker lease, and heartbeat state.
|
|
135
|
+
- Read-only diagnostics, event feeds, managed lifecycle steps, progress watch
|
|
136
|
+
receipts, and change summaries inspect checkout and workflow state without
|
|
137
|
+
model calls.
|
|
138
|
+
|
|
139
|
+
## Daily flow
|
|
140
|
+
|
|
141
|
+
Spec -> frozen plan -> bounded work -> implementation audit -> final proof.
|
|
142
|
+
Core commands cover specification, plan, workflow, audit, adapters, imports, metrics,
|
|
143
|
+
policy, diagnostics, runner state, and adapter task intake. See [CLI reference](docs/reference/cli.md) and [Source of truth](docs/reference/source-of-truth.md).
|
|
144
|
+
|
|
145
|
+
## Adapter maturity
|
|
146
|
+
|
|
147
|
+
`EXPERIMENTAL` means offline checks exist; bounded live host conformance and
|
|
148
|
+
usage/resource calibration are still required before `VERIFIED`. The verified
|
|
149
|
+
claim is host-specific and also requires accepted redacted evidence and
|
|
150
|
+
lifecycle final proof for the tested host range. New hosts can be added as
|
|
151
|
+
adapters first and promoted only for the exact CLI/version/provider binding that
|
|
152
|
+
has evidence. Monetary accounting is required only for metered modes.
|
|
153
|
+
|
|
154
|
+
| Host | Current claim |
|
|
155
|
+
| --- | --- |
|
|
156
|
+
| Codex | `VERIFIED` for Codex CLI 0.145.0. Public Plugins Directory approval is not claimed. |
|
|
157
|
+
| Claude Code | `VERIFIED` for Claude Code 2.1.220. Official directory approval is not claimed. |
|
|
158
|
+
| OpenCode | `VERIFIED` for OpenCode CLI 1.18.9. npm publication is not claimed. |
|
|
159
|
+
| Hermes | `VERIFIED` for Hermes Agent v0.19.0. Public directory approval is not claimed. |
|
|
160
|
+
| Qwen Code | `VERIFIED` for Qwen Code 0.21.0 on the tested host-local provider/model binding. Public package approval is not claimed. |
|
|
161
|
+
| Cursor | `EXPERIMENTAL`; local safe inspection passed, but accepted live receipts are incomplete. |
|
|
162
|
+
| Gemini CLI | `EXPERIMENTAL`; local live canary is blocked by the current Gemini Code Assist tier. |
|
|
163
|
+
| Goose | `VERIFIED` for Goose 1.45.0 on the tested host-local provider/model binding. Public directory approval is not claimed. |
|
|
164
|
+
| Kimi Code | `EXPERIMENTAL`; live proof requires a configured provider and model alias. |
|
|
165
|
+
| Grok Build | `VERIFIED` for Grok Build 0.2.117 on the tested host-local provider/model binding. Public directory approval is not claimed. |
|
|
166
|
+
| OpenInterpreter | `VERIFIED` for `interpreter` 0.0.34 on the tested host-local provider/model binding. Public directory approval is not claimed. |
|
|
167
|
+
| Pi | `VERIFIED` for Pi 0.83.0 on the tested host-local provider/model binding. Public directory approval is not claimed. |
|
|
168
|
+
|
|
169
|
+
Adapter installation and maturity details live in [Adapter install](docs/adapters/install.md) and [Adapter support matrix](docs/adapters/support-matrix.md).
|
|
170
|
+
|
|
171
|
+
## Contract map
|
|
172
|
+
|
|
173
|
+
The public lifecycle surface is schema-backed. Full stable schema ids, compatibility rules, runner recovery, cross-check, Review Mesh, Bug Forensics and usage export details are listed in [Public contracts](docs/reference/public-contracts.md).
|
|
174
|
+
|
|
175
|
+
## Design boundaries
|
|
176
|
+
|
|
177
|
+
- The core stays provider-neutral. Concrete host commands and model bindings
|
|
178
|
+
belong to adapters or host-local profiles.
|
|
179
|
+
- New CLIs are integrated through adapters: descriptor, command projection,
|
|
180
|
+
environment boundary, and verification evidence. The lifecycle schemas remain
|
|
181
|
+
stable while host support grows.
|
|
182
|
+
- Small models get compact packets, deterministic checks, and explicit
|
|
183
|
+
next-action lists instead of long narrative state.
|
|
184
|
+
- Larger models keep the same gates; better reasoning does not bypass evidence.
|
|
185
|
+
- Public release claims are limited to tracked source files and redacted
|
|
186
|
+
evidence summaries.
|
|
187
|
+
- External dialect imports and retrieved episodes are context aids only; they
|
|
188
|
+
do not replace reviewed ALK source-of-truth artifacts.
|
|
189
|
+
- Optional cross-check, Review Mesh and runner recovery receipts add evidence
|
|
190
|
+
only when a task or plan requests them; they are not default multi-model execution.
|
|
191
|
+
|
|
192
|
+
## Documentation
|
|
193
|
+
|
|
194
|
+
- Start: [English documentation](docs/README.md), [Русская документация](docs/ru/README.md), [Quickstart](docs/guides/quickstart.md), [Lifecycle cookbook](docs/guides/lifecycle-cookbook.md), and [Code review workflows](docs/guides/code-review-workflows.md).
|
|
195
|
+
- Planning and adapters: [Issue to specification drafts](docs/guides/issue-to-spec.md), [Adapter install](docs/adapters/install.md), and [Adapter support matrix](docs/adapters/support-matrix.md).
|
|
196
|
+
- Reference: [System architecture](docs/architecture/system-architecture.md), [CLI reference](docs/reference/cli.md), [Source of truth](docs/reference/source-of-truth.md), [Managed lifecycle runner](docs/reference/managed-lifecycle-runner.md), [Managed adapter sessions](docs/reference/managed-adapter-sessions.md), [Implementation audit](docs/reference/implementation-audit.md), [Plan completeness](docs/reference/plan-completeness.md), [Public contracts](docs/reference/public-contracts.md), and [Readiness diagnostics](docs/reference/readiness-diagnostics.md).
|
|
197
|
+
- Quality and resources: [Small-model packets](docs/reference/small-model-packets.md), [model routing](docs/reference/model-routing.md), [adaptive policy](docs/reference/adaptive-lifecycle-policy.md), [quality-cost learning](docs/reference/quality-cost-learning.md), [lifecycle cost accounting](docs/reference/lifecycle-cost.md), [Usage export](docs/reference/usage-export.md), and [Evidence integrity](docs/reference/evidence-integrity.md).
|
|
198
|
+
- Profiles and operations: [Read-only status views](docs/reference/read-only-status-view.md), [Adapter progress bridge](docs/reference/automatic-progress-bridge.md), [Sandbox boundaries](docs/reference/sandbox-boundaries.md), [Import mappers](docs/reference/import-mappers.md), [Episode retrieval](docs/reference/episode-retrieval.md), [Runner recovery](docs/reference/runner-recovery.md), [Cross-check profile](docs/reference/cross-check-profile.md), [Review Mesh](docs/reference/review-mesh.md), [Bug Forensics profile](docs/reference/bug-forensics.md), and [Bug Forensics context budget](docs/reference/bug-forensics-context-budget.md).
|
|
199
|
+
- Release assets: [Task templates](templates/tasks/README.md) and [Release security](docs/security/release-security.md).
|
|
200
|
+
|
|
201
|
+
Apache-2.0. See [LICENSE](LICENSE).
|
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
<p align="center">
|
|
2
|
+
<img src="docs/assets/agent-lifecycle-kit-banner.svg?v=2026-08-02-1" alt="Agent Lifecycle Kit - plan, execute, prove, finish agent work" width="100%">
|
|
3
|
+
</p>
|
|
4
|
+
|
|
5
|
+
# Agent Lifecycle Kit
|
|
6
|
+
|
|
7
|
+
[](LICENSE)
|
|
8
|
+
[](https://github.com/avksp/agent-lifecycle-kit/releases)
|
|
9
|
+

|
|
10
|
+
|
|
11
|
+
**Agent Lifecycle Kit (ALK)** gives coding agents one delivery workflow from
|
|
12
|
+
request to verified result. It turns a user task into a reviewed specification,
|
|
13
|
+
an approved plan, bounded implementation work, review, and final proof, so
|
|
14
|
+
agents finish the job instead of stopping at a patch.
|
|
15
|
+
|
|
16
|
+
The workflow is provider-neutral. Codex, Claude Code, Qwen Code, Goose,
|
|
17
|
+
OpenInterpreter, Pi, Grok Build, or another CLI can follow the same lifecycle,
|
|
18
|
+
while provider commands, model choice, and secret handling stay in adapters or
|
|
19
|
+
host-local profiles.
|
|
20
|
+
|
|
21
|
+
## Quick start
|
|
22
|
+
|
|
23
|
+
From a source checkout:
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
python -m pip install -e .
|
|
27
|
+
agent-lifecycle version
|
|
28
|
+
agent-lifecycle diagnose --no-install-plans
|
|
29
|
+
agent-lifecycle adapter validate --descriptor adapters/codex/adapter.descriptor.json
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
Package install, when available for the release:
|
|
33
|
+
`python -m pip install agent-lifecycle-kit==1.50.1`.
|
|
34
|
+
|
|
35
|
+
For a short walkthrough, use [Quickstart](docs/guides/quickstart.md) and the [Lifecycle cookbook](docs/guides/lifecycle-cookbook.md). For structure and positioning, see [System architecture](docs/architecture/system-architecture.md) and [Project comparison](docs/reference/project-comparison.md). Russian documentation starts at [Документация на русском](docs/ru/README.md).
|
|
36
|
+
|
|
37
|
+
## What it gives you
|
|
38
|
+
|
|
39
|
+
- A finish-oriented lifecycle: plan, execute, review, and prove the result.
|
|
40
|
+
- One process for different CLIs: adapter-specific commands stay outside the
|
|
41
|
+
core, and new adapters can be added without changing lifecycle schemas.
|
|
42
|
+
- Small-model friendly packets: compact context, clear next actions, and
|
|
43
|
+
deterministic checks for local or cheaper models.
|
|
44
|
+
- Quality without overengineering: optional profiles turn on only when risk or
|
|
45
|
+
task type requires them.
|
|
46
|
+
- Usage visibility: tokens, time, and resource counters are native; monetary
|
|
47
|
+
cost is optional and only used when a metered host reports it.
|
|
48
|
+
- Read-only progress and managed sessions: host UIs can show lifecycle state,
|
|
49
|
+
attested tokens and Git-style change counters; `adapter task start` accepts
|
|
50
|
+
task text, Markdown or frozen run requests while preserving review/freeze
|
|
51
|
+
boundaries.
|
|
52
|
+
|
|
53
|
+
## Feature areas
|
|
54
|
+
|
|
55
|
+
### Plan and execute
|
|
56
|
+
|
|
57
|
+
- Reviewed specification and plan flow before implementation starts.
|
|
58
|
+
- Deterministic task packets for splitting work across agents.
|
|
59
|
+
- Execution records capture completion checks, blockers, retries, and final
|
|
60
|
+
proof; missing required evidence fails the step.
|
|
61
|
+
- Ready-made task templates cover bug fixes, idea-to-PR flow, PR review,
|
|
62
|
+
merge-conflict repair, and release-readiness work.
|
|
63
|
+
|
|
64
|
+
### Quality and proof
|
|
65
|
+
|
|
66
|
+
- Implementation audits compare results with the frozen plan and acceptance
|
|
67
|
+
evidence.
|
|
68
|
+
- For explicit bug and regression repair, the optional Bug Forensics profile
|
|
69
|
+
records reproduction, fingerprint, failure class, hypotheses, minimal patch,
|
|
70
|
+
regression proof, and reusable recipes.
|
|
71
|
+
- Optional proof-integrity evidence for high-risk final proofs: stable findings,
|
|
72
|
+
root-cause digests, fix-impact receipts, and hash chains.
|
|
73
|
+
- Cross-checks and runtime-policy receipts are opt-in controls; plans can
|
|
74
|
+
require proof for an external system update before acceptance.
|
|
75
|
+
- Optional Review Mesh covers leader-draft review, parallel research synthesis
|
|
76
|
+
and audit panels. The advisor can suggest a mode; `review-mesh prepare`
|
|
77
|
+
creates local reviewer packets; opted-in plans can require
|
|
78
|
+
assignment/result/synthesis/quorum receipts, but ALK core does not start hosts.
|
|
79
|
+
|
|
80
|
+
### Routing and resource control
|
|
81
|
+
|
|
82
|
+
- Compact context profiles, small-model packets, objective snapshots, and
|
|
83
|
+
local quality-cost learning help choose the lightest safe mode.
|
|
84
|
+
- Phase resource measurements reuse the usage export envelope for tokens,
|
|
85
|
+
duration, and resource counters without mandatory monetary accounting.
|
|
86
|
+
- Usage/session exports include tokens, resources, receipt digests, and optional
|
|
87
|
+
host-reported `cost_usd`.
|
|
88
|
+
|
|
89
|
+
### Security and containment
|
|
90
|
+
|
|
91
|
+
- Neutrality filters use host-supplied deny rules to keep local paths, secrets, trust roots, and signing keys out of portable artifacts.
|
|
92
|
+
- Host env files require explicit `--host-env-allow`; receipts store redacted metadata, not secret values or private env-file paths.
|
|
93
|
+
- Imports, diagnostics, and usage exports redact local paths and common secret markers before validation.
|
|
94
|
+
- Sandbox receipts separate runtime filesystem, network, process, and environment containment from git write-scope.
|
|
95
|
+
- Release security gates reject leaked local paths, credentials, and unsupported adapter or production claims.
|
|
96
|
+
|
|
97
|
+
### Adapters and interop
|
|
98
|
+
|
|
99
|
+
- Adapter contracts keep host-specific projections separate from lifecycle
|
|
100
|
+
schemas.
|
|
101
|
+
- New CLI hosts start as adapters: descriptor, command projection, environment
|
|
102
|
+
boundary, and verification evidence live outside the lifecycle core.
|
|
103
|
+
- Adapter capability checks and progress bridge support compare live receipts
|
|
104
|
+
and display lifecycle state without automatic maturity changes.
|
|
105
|
+
- Import mappers and issue-to-spec intake treat external workflows, agent
|
|
106
|
+
dialects, and tickets as untrusted draft inputs.
|
|
107
|
+
- Lightweight episode retrieval over receipt/session summaries keeps digest
|
|
108
|
+
provenance and explicit `chainVerified` or `chainUnchecked` state.
|
|
109
|
+
|
|
110
|
+
### Operations
|
|
111
|
+
|
|
112
|
+
- Runner recovery receipts cover attempt snapshot, restore, abandon, selected
|
|
113
|
+
attempt, worker lease, and heartbeat state.
|
|
114
|
+
- Read-only diagnostics, event feeds, managed lifecycle steps, progress watch
|
|
115
|
+
receipts, and change summaries inspect checkout and workflow state without
|
|
116
|
+
model calls.
|
|
117
|
+
|
|
118
|
+
## Daily flow
|
|
119
|
+
|
|
120
|
+
Spec -> frozen plan -> bounded work -> implementation audit -> final proof.
|
|
121
|
+
Core commands cover specification, plan, workflow, audit, adapters, imports, metrics,
|
|
122
|
+
policy, diagnostics, runner state, and adapter task intake. See [CLI reference](docs/reference/cli.md) and [Source of truth](docs/reference/source-of-truth.md).
|
|
123
|
+
|
|
124
|
+
## Adapter maturity
|
|
125
|
+
|
|
126
|
+
`EXPERIMENTAL` means offline checks exist; bounded live host conformance and
|
|
127
|
+
usage/resource calibration are still required before `VERIFIED`. The verified
|
|
128
|
+
claim is host-specific and also requires accepted redacted evidence and
|
|
129
|
+
lifecycle final proof for the tested host range. New hosts can be added as
|
|
130
|
+
adapters first and promoted only for the exact CLI/version/provider binding that
|
|
131
|
+
has evidence. Monetary accounting is required only for metered modes.
|
|
132
|
+
|
|
133
|
+
| Host | Current claim |
|
|
134
|
+
| --- | --- |
|
|
135
|
+
| Codex | `VERIFIED` for Codex CLI 0.145.0. Public Plugins Directory approval is not claimed. |
|
|
136
|
+
| Claude Code | `VERIFIED` for Claude Code 2.1.220. Official directory approval is not claimed. |
|
|
137
|
+
| OpenCode | `VERIFIED` for OpenCode CLI 1.18.9. npm publication is not claimed. |
|
|
138
|
+
| Hermes | `VERIFIED` for Hermes Agent v0.19.0. Public directory approval is not claimed. |
|
|
139
|
+
| Qwen Code | `VERIFIED` for Qwen Code 0.21.0 on the tested host-local provider/model binding. Public package approval is not claimed. |
|
|
140
|
+
| Cursor | `EXPERIMENTAL`; local safe inspection passed, but accepted live receipts are incomplete. |
|
|
141
|
+
| Gemini CLI | `EXPERIMENTAL`; local live canary is blocked by the current Gemini Code Assist tier. |
|
|
142
|
+
| Goose | `VERIFIED` for Goose 1.45.0 on the tested host-local provider/model binding. Public directory approval is not claimed. |
|
|
143
|
+
| Kimi Code | `EXPERIMENTAL`; live proof requires a configured provider and model alias. |
|
|
144
|
+
| Grok Build | `VERIFIED` for Grok Build 0.2.117 on the tested host-local provider/model binding. Public directory approval is not claimed. |
|
|
145
|
+
| OpenInterpreter | `VERIFIED` for `interpreter` 0.0.34 on the tested host-local provider/model binding. Public directory approval is not claimed. |
|
|
146
|
+
| Pi | `VERIFIED` for Pi 0.83.0 on the tested host-local provider/model binding. Public directory approval is not claimed. |
|
|
147
|
+
|
|
148
|
+
Adapter installation and maturity details live in [Adapter install](docs/adapters/install.md) and [Adapter support matrix](docs/adapters/support-matrix.md).
|
|
149
|
+
|
|
150
|
+
## Contract map
|
|
151
|
+
|
|
152
|
+
The public lifecycle surface is schema-backed. Full stable schema ids, compatibility rules, runner recovery, cross-check, Review Mesh, Bug Forensics and usage export details are listed in [Public contracts](docs/reference/public-contracts.md).
|
|
153
|
+
|
|
154
|
+
## Design boundaries
|
|
155
|
+
|
|
156
|
+
- The core stays provider-neutral. Concrete host commands and model bindings
|
|
157
|
+
belong to adapters or host-local profiles.
|
|
158
|
+
- New CLIs are integrated through adapters: descriptor, command projection,
|
|
159
|
+
environment boundary, and verification evidence. The lifecycle schemas remain
|
|
160
|
+
stable while host support grows.
|
|
161
|
+
- Small models get compact packets, deterministic checks, and explicit
|
|
162
|
+
next-action lists instead of long narrative state.
|
|
163
|
+
- Larger models keep the same gates; better reasoning does not bypass evidence.
|
|
164
|
+
- Public release claims are limited to tracked source files and redacted
|
|
165
|
+
evidence summaries.
|
|
166
|
+
- External dialect imports and retrieved episodes are context aids only; they
|
|
167
|
+
do not replace reviewed ALK source-of-truth artifacts.
|
|
168
|
+
- Optional cross-check, Review Mesh and runner recovery receipts add evidence
|
|
169
|
+
only when a task or plan requests them; they are not default multi-model execution.
|
|
170
|
+
|
|
171
|
+
## Documentation
|
|
172
|
+
|
|
173
|
+
- Start: [English documentation](docs/README.md), [Русская документация](docs/ru/README.md), [Quickstart](docs/guides/quickstart.md), [Lifecycle cookbook](docs/guides/lifecycle-cookbook.md), and [Code review workflows](docs/guides/code-review-workflows.md).
|
|
174
|
+
- Planning and adapters: [Issue to specification drafts](docs/guides/issue-to-spec.md), [Adapter install](docs/adapters/install.md), and [Adapter support matrix](docs/adapters/support-matrix.md).
|
|
175
|
+
- Reference: [System architecture](docs/architecture/system-architecture.md), [CLI reference](docs/reference/cli.md), [Source of truth](docs/reference/source-of-truth.md), [Managed lifecycle runner](docs/reference/managed-lifecycle-runner.md), [Managed adapter sessions](docs/reference/managed-adapter-sessions.md), [Implementation audit](docs/reference/implementation-audit.md), [Plan completeness](docs/reference/plan-completeness.md), [Public contracts](docs/reference/public-contracts.md), and [Readiness diagnostics](docs/reference/readiness-diagnostics.md).
|
|
176
|
+
- Quality and resources: [Small-model packets](docs/reference/small-model-packets.md), [model routing](docs/reference/model-routing.md), [adaptive policy](docs/reference/adaptive-lifecycle-policy.md), [quality-cost learning](docs/reference/quality-cost-learning.md), [lifecycle cost accounting](docs/reference/lifecycle-cost.md), [Usage export](docs/reference/usage-export.md), and [Evidence integrity](docs/reference/evidence-integrity.md).
|
|
177
|
+
- Profiles and operations: [Read-only status views](docs/reference/read-only-status-view.md), [Adapter progress bridge](docs/reference/automatic-progress-bridge.md), [Sandbox boundaries](docs/reference/sandbox-boundaries.md), [Import mappers](docs/reference/import-mappers.md), [Episode retrieval](docs/reference/episode-retrieval.md), [Runner recovery](docs/reference/runner-recovery.md), [Cross-check profile](docs/reference/cross-check-profile.md), [Review Mesh](docs/reference/review-mesh.md), [Bug Forensics profile](docs/reference/bug-forensics.md), and [Bug Forensics context budget](docs/reference/bug-forensics-context-budget.md).
|
|
178
|
+
- Release assets: [Task templates](templates/tasks/README.md) and [Release security](docs/security/release-security.md).
|
|
179
|
+
|
|
180
|
+
Apache-2.0. See [LICENSE](LICENSE).
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=70,<81", "wheel>=0.42,<1"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "agent-lifecycle-kit"
|
|
7
|
+
version = "1.50.1"
|
|
8
|
+
description = "Provider-neutral lifecycle control layer that helps coding agents plan, execute, validate, and prove software tasks to completion."
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
requires-python = ">=3.11,<3.14"
|
|
11
|
+
license = { text = "Apache-2.0" }
|
|
12
|
+
authors = [{ name = "Agent Lifecycle Kit contributors" }]
|
|
13
|
+
keywords = [
|
|
14
|
+
"adapter-conformance",
|
|
15
|
+
"agent-lifecycle",
|
|
16
|
+
"agent-workflows",
|
|
17
|
+
"agents",
|
|
18
|
+
"ai-agents",
|
|
19
|
+
"audit",
|
|
20
|
+
"coding-agents",
|
|
21
|
+
"lifecycle",
|
|
22
|
+
"model-routing",
|
|
23
|
+
"planning",
|
|
24
|
+
"sdd",
|
|
25
|
+
"software-delivery",
|
|
26
|
+
"task-orchestration",
|
|
27
|
+
"workflow",
|
|
28
|
+
]
|
|
29
|
+
classifiers = [
|
|
30
|
+
"Development Status :: 5 - Production/Stable",
|
|
31
|
+
"Intended Audience :: Developers",
|
|
32
|
+
"License :: OSI Approved :: Apache Software License",
|
|
33
|
+
"Programming Language :: Python :: 3",
|
|
34
|
+
"Programming Language :: Python :: 3.11",
|
|
35
|
+
"Programming Language :: Python :: 3.12",
|
|
36
|
+
"Programming Language :: Python :: 3.13",
|
|
37
|
+
"Typing :: Typed",
|
|
38
|
+
]
|
|
39
|
+
dependencies = []
|
|
40
|
+
|
|
41
|
+
[project.scripts]
|
|
42
|
+
agent-lifecycle = "agent_lifecycle.cli:main"
|
|
43
|
+
agent-lifecycle-neutrality = "agent_lifecycle.neutrality.cli:main"
|
|
44
|
+
|
|
45
|
+
[tool.setuptools.packages.find]
|
|
46
|
+
where = ["src"]
|
|
47
|
+
|
|
48
|
+
[tool.setuptools.package-data]
|
|
49
|
+
agent_lifecycle = ["py.typed"]
|