agent-lifecycle-kit 1.50.1__py3-none-any.whl
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/__init__.py +5 -0
- agent_lifecycle/__main__.py +5 -0
- agent_lifecycle/_version.py +3 -0
- agent_lifecycle/adapter_sessions/__init__.py +41 -0
- agent_lifecycle/adapter_sessions/contracts.py +133 -0
- agent_lifecycle/adapter_sessions/env.py +44 -0
- agent_lifecycle/adapter_sessions/launcher.py +101 -0
- agent_lifecycle/adapter_sessions/process.py +39 -0
- agent_lifecycle/adapter_sessions/redaction.py +30 -0
- agent_lifecycle/adapter_sessions/session_store.py +64 -0
- agent_lifecycle/adapter_sessions/task_intake.py +450 -0
- agent_lifecycle/adapter_sessions/workflow_bridge.py +154 -0
- agent_lifecycle/audit/__init__.py +67 -0
- agent_lifecycle/audit/bug_forensics.py +94 -0
- agent_lifecycle/audit/implementation.py +516 -0
- agent_lifecycle/audit/ownership.py +119 -0
- agent_lifecycle/audit/proof_integrity.py +814 -0
- agent_lifecycle/audit/review_verdict.py +116 -0
- agent_lifecycle/changesets/__init__.py +5 -0
- agent_lifecycle/changesets/git.py +35 -0
- agent_lifecycle/cli/__init__.py +5 -0
- agent_lifecycle/cli/adapter.py +360 -0
- agent_lifecycle/cli/dispatch.py +1220 -0
- agent_lifecycle/cli/followup.py +89 -0
- agent_lifecycle/cli/main.py +41 -0
- agent_lifecycle/cli/metrics_parser.py +49 -0
- agent_lifecycle/cli/parsers.py +618 -0
- agent_lifecycle/cli/policy.py +101 -0
- agent_lifecycle/cli/progress_hooks.py +117 -0
- agent_lifecycle/cli/worktree.py +74 -0
- agent_lifecycle/compiler/__init__.py +17 -0
- agent_lifecycle/compiler/small_model_packets.py +322 -0
- agent_lifecycle/compiler/task_packets.py +229 -0
- agent_lifecycle/context/__init__.py +20 -0
- agent_lifecycle/context/episode_retrieval.py +30 -0
- agent_lifecycle/context/external_memory.py +71 -0
- agent_lifecycle/context/profiles.py +104 -0
- agent_lifecycle/context/rendering.py +226 -0
- agent_lifecycle/contracts/__init__.py +25 -0
- agent_lifecycle/contracts/adapter_contract_schemas.py +130 -0
- agent_lifecycle/contracts/adapter_event_schemas.py +118 -0
- agent_lifecycle/contracts/adapter_session_schemas.py +130 -0
- agent_lifecycle/contracts/adapter_task_schemas.py +90 -0
- agent_lifecycle/contracts/audit_schemas.py +133 -0
- agent_lifecycle/contracts/bug_forensics_schemas.py +400 -0
- agent_lifecycle/contracts/canonical.py +55 -0
- agent_lifecycle/contracts/compatibility.py +242 -0
- agent_lifecycle/contracts/context_model_schemas.py +265 -0
- agent_lifecycle/contracts/core_schemas.py +252 -0
- agent_lifecycle/contracts/cross_check_schemas.py +121 -0
- agent_lifecycle/contracts/errors.py +26 -0
- agent_lifecycle/contracts/evidence_import_schemas.py +152 -0
- agent_lifecycle/contracts/host_capability_schemas.py +64 -0
- agent_lifecycle/contracts/import_dialect_schemas.py +166 -0
- agent_lifecycle/contracts/metric_schemas.py +315 -0
- agent_lifecycle/contracts/paths.py +31 -0
- agent_lifecycle/contracts/plan_contract_schemas.py +148 -0
- agent_lifecycle/contracts/policy_schemas.py +350 -0
- agent_lifecycle/contracts/progress_bridge_schemas.py +114 -0
- agent_lifecycle/contracts/progress_hook_schemas.py +119 -0
- agent_lifecycle/contracts/proof_integrity_schemas.py +240 -0
- agent_lifecycle/contracts/release_contract_schemas.py +476 -0
- agent_lifecycle/contracts/review_mesh_recommendation_schemas.py +64 -0
- agent_lifecycle/contracts/review_mesh_schemas.py +222 -0
- agent_lifecycle/contracts/review_quality_schemas.py +109 -0
- agent_lifecycle/contracts/runner_schemas.py +91 -0
- agent_lifecycle/contracts/runner_worktree_schemas.py +389 -0
- agent_lifecycle/contracts/sandbox_schemas.py +159 -0
- agent_lifecycle/contracts/schema_builders.py +23 -0
- agent_lifecycle/contracts/schemas.py +93 -0
- agent_lifecycle/contracts/status_goal_schemas.py +469 -0
- agent_lifecycle/contracts/task_template_schemas.py +96 -0
- agent_lifecycle/contracts/usage_export_schemas.py +68 -0
- agent_lifecycle/diagnostics/__init__.py +17 -0
- agent_lifecycle/diagnostics/bundles.py +124 -0
- agent_lifecycle/diagnostics/readiness.py +733 -0
- agent_lifecycle/evidence_index/__init__.py +39 -0
- agent_lifecycle/evidence_index/core.py +272 -0
- agent_lifecycle/evidence_index/episode_index.py +329 -0
- agent_lifecycle/evidence_index/external_context.py +276 -0
- agent_lifecycle/followup/__init__.py +23 -0
- agent_lifecycle/followup/records.py +404 -0
- agent_lifecycle/freeze/__init__.py +5 -0
- agent_lifecycle/freeze/locks.py +23 -0
- agent_lifecycle/goal/__init__.py +15 -0
- agent_lifecycle/goal/records.py +244 -0
- agent_lifecycle/goal/view.py +109 -0
- agent_lifecycle/host_protocol/__init__.py +65 -0
- agent_lifecycle/host_protocol/acp_capability.py +195 -0
- agent_lifecycle/host_protocol/capabilities.py +268 -0
- agent_lifecycle/host_protocol/contracts.py +214 -0
- agent_lifecycle/host_protocol/event_capture.py +390 -0
- agent_lifecycle/host_protocol/events.py +196 -0
- agent_lifecycle/host_protocol/inspection.py +194 -0
- agent_lifecycle/host_protocol/inspection_common.py +310 -0
- agent_lifecycle/host_protocol/inspection_cursor.py +164 -0
- agent_lifecycle/host_protocol/inspection_gemini_cli.py +163 -0
- agent_lifecycle/host_protocol/inspection_hermes.py +161 -0
- agent_lifecycle/host_protocol/inspection_kimi_code.py +169 -0
- agent_lifecycle/host_protocol/inspection_opencode.py +147 -0
- agent_lifecycle/host_protocol/inspection_qwen_code.py +143 -0
- agent_lifecycle/host_protocol/receipts.py +58 -0
- agent_lifecycle/host_protocol/scaffold.py +329 -0
- agent_lifecycle/host_protocol/validation.py +229 -0
- agent_lifecycle/imports/__init__.py +76 -0
- agent_lifecycle/imports/agentskills_profile.py +54 -0
- agent_lifecycle/imports/bmad_profile.py +49 -0
- agent_lifecycle/imports/constitution_adr.py +91 -0
- agent_lifecycle/imports/dialect_profiles.py +121 -0
- agent_lifecycle/imports/external_agent.py +28 -0
- agent_lifecycle/imports/external_dialects.py +486 -0
- agent_lifecycle/imports/external_workflow.py +28 -0
- agent_lifecycle/imports/multi_markdown.py +111 -0
- agent_lifecycle/imports/openspec_profile.py +49 -0
- agent_lifecycle/imports/planning.py +536 -0
- agent_lifecycle/imports/spec_kit_profile.py +49 -0
- agent_lifecycle/imports/spec_kitty_profile.py +49 -0
- agent_lifecycle/metrics/__init__.py +60 -0
- agent_lifecycle/metrics/cost_collection.py +315 -0
- agent_lifecycle/metrics/costs.py +203 -0
- agent_lifecycle/metrics/outcome_index.py +330 -0
- agent_lifecycle/metrics/phase_resources.py +208 -0
- agent_lifecycle/metrics/recommendations.py +507 -0
- agent_lifecycle/metrics/regression_signals.py +64 -0
- agent_lifecycle/metrics/usage_export.py +390 -0
- agent_lifecycle/model_routing/__init__.py +19 -0
- agent_lifecycle/model_routing/profiles.py +323 -0
- agent_lifecycle/model_routing/receipts.py +140 -0
- agent_lifecycle/model_routing/resolver.py +566 -0
- agent_lifecycle/neutrality/__init__.py +12 -0
- agent_lifecycle/neutrality/__main__.py +6 -0
- agent_lifecycle/neutrality/authority.py +265 -0
- agent_lifecycle/neutrality/canonical.py +28 -0
- agent_lifecycle/neutrality/cli.py +294 -0
- agent_lifecycle/neutrality/ed25519.py +124 -0
- agent_lifecycle/neutrality/errors.py +89 -0
- agent_lifecycle/neutrality/gate.py +269 -0
- agent_lifecycle/neutrality/paths.py +92 -0
- agent_lifecycle/neutrality/policy.py +76 -0
- agent_lifecycle/neutrality/receipt.py +135 -0
- agent_lifecycle/neutrality/scanner.py +310 -0
- agent_lifecycle/neutrality/test_runner.py +116 -0
- agent_lifecycle/planning/__init__.py +47 -0
- agent_lifecycle/planning/acceptance_markdown.py +159 -0
- agent_lifecycle/planning/completeness.py +362 -0
- agent_lifecycle/planning/continuity.py +255 -0
- agent_lifecycle/planning/templates.py +294 -0
- agent_lifecycle/planning/tiering.py +87 -0
- agent_lifecycle/planning/validation.py +72 -0
- agent_lifecycle/policy/__init__.py +37 -0
- agent_lifecycle/policy/adaptive_lifecycle.py +416 -0
- agent_lifecycle/policy/apply.py +44 -0
- agent_lifecycle/policy/proposals.py +189 -0
- agent_lifecycle/policy/quality_floor.py +144 -0
- agent_lifecycle/policy/runtime_receipts.py +160 -0
- agent_lifecycle/py.typed +1 -0
- agent_lifecycle/quality/__init__.py +89 -0
- agent_lifecycle/quality/bug_forensics.py +727 -0
- agent_lifecycle/quality/bug_forensics_advisor.py +88 -0
- agent_lifecycle/quality/bug_forensics_recipes.py +239 -0
- agent_lifecycle/quality/cross_check.py +437 -0
- agent_lifecycle/quality/failure_classification.py +318 -0
- agent_lifecycle/quality/packs.py +265 -0
- agent_lifecycle/reporting/__init__.py +37 -0
- agent_lifecycle/reporting/change_summary.py +156 -0
- agent_lifecycle/reporting/event_feed.py +101 -0
- agent_lifecycle/reporting/progress_bridge.py +153 -0
- agent_lifecycle/reporting/progress_hooks.py +161 -0
- agent_lifecycle/reporting/progress_terminal.py +95 -0
- agent_lifecycle/reporting/progress_view.py +284 -0
- agent_lifecycle/reporting/status_view.py +125 -0
- agent_lifecycle/reporting/usage_export.py +59 -0
- agent_lifecycle/review/__init__.py +5 -0
- agent_lifecycle/review/validation.py +29 -0
- agent_lifecycle/review_mesh/__init__.py +83 -0
- agent_lifecycle/review_mesh/assignments.py +160 -0
- agent_lifecycle/review_mesh/contracts.py +685 -0
- agent_lifecycle/review_mesh/operator_templates.py +320 -0
- agent_lifecycle/review_mesh/quorum.py +38 -0
- agent_lifecycle/review_mesh/recommendation.py +487 -0
- agent_lifecycle/review_mesh/results.py +98 -0
- agent_lifecycle/review_mesh/synthesis.py +102 -0
- agent_lifecycle/runner/__init__.py +47 -0
- agent_lifecycle/runner/attempt_snapshots.py +244 -0
- agent_lifecycle/runner/core.py +653 -0
- agent_lifecycle/runner/sandbox_receipts.py +628 -0
- agent_lifecycle/specification/__init__.py +23 -0
- agent_lifecycle/specification/completion_check.py +135 -0
- agent_lifecycle/specification/completion_gate.py +501 -0
- agent_lifecycle/specification/completion_signal.py +75 -0
- agent_lifecycle/specification/validation.py +48 -0
- agent_lifecycle/workflow/__init__.py +79 -0
- agent_lifecycle/workflow/artifacts.py +74 -0
- agent_lifecycle/workflow/budget_decisions.py +370 -0
- agent_lifecycle/workflow/budget_policy.py +140 -0
- agent_lifecycle/workflow/budget_receipts.py +70 -0
- agent_lifecycle/workflow/bug_forensics_gates.py +284 -0
- agent_lifecycle/workflow/controller.py +45 -0
- agent_lifecycle/workflow/events.py +50 -0
- agent_lifecycle/workflow/final_proof_integrity.py +74 -0
- agent_lifecycle/workflow/finalization.py +422 -0
- agent_lifecycle/workflow/gates.py +185 -0
- agent_lifecycle/workflow/implementation_audit_gate.py +126 -0
- agent_lifecycle/workflow/leases.py +220 -0
- agent_lifecycle/workflow/lineage.py +108 -0
- agent_lifecycle/workflow/managed_runner.py +167 -0
- agent_lifecycle/workflow/model_usage.py +106 -0
- agent_lifecycle/workflow/next_action.py +86 -0
- agent_lifecycle/workflow/operation_kernel.py +98 -0
- agent_lifecycle/workflow/plan_adoption.py +439 -0
- agent_lifecycle/workflow/query.py +52 -0
- agent_lifecycle/workflow/review_mesh_gate.py +93 -0
- agent_lifecycle/workflow/reviews.py +168 -0
- agent_lifecycle/workflow/run_transitions.py +163 -0
- agent_lifecycle/workflow/sandbox_policy.py +214 -0
- agent_lifecycle/workflow/selectors.py +57 -0
- agent_lifecycle/workflow/state.py +130 -0
- agent_lifecycle/workflow/task_transitions.py +421 -0
- agent_lifecycle/worktree/__init__.py +17 -0
- agent_lifecycle/worktree/isolation.py +407 -0
- agent_lifecycle_kit-1.50.1.dist-info/METADATA +201 -0
- agent_lifecycle_kit-1.50.1.dist-info/RECORD +227 -0
- agent_lifecycle_kit-1.50.1.dist-info/WHEEL +5 -0
- agent_lifecycle_kit-1.50.1.dist-info/entry_points.txt +3 -0
- agent_lifecycle_kit-1.50.1.dist-info/licenses/LICENSE +201 -0
- agent_lifecycle_kit-1.50.1.dist-info/licenses/NOTICE +5 -0
- agent_lifecycle_kit-1.50.1.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
"""CLI wiring for follow-up register commands."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
import argparse
|
|
6
|
+
from pathlib import Path
|
|
7
|
+
from typing import Any
|
|
8
|
+
|
|
9
|
+
from agent_lifecycle.contracts import LifecycleError, read_json_object
|
|
10
|
+
from agent_lifecycle.followup import (
|
|
11
|
+
add_followup_item,
|
|
12
|
+
build_followup_summary,
|
|
13
|
+
close_followup_item,
|
|
14
|
+
load_followup_register,
|
|
15
|
+
validate_followup_register,
|
|
16
|
+
write_followup_register,
|
|
17
|
+
)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
def add_followup_parser(subparsers: argparse._SubParsersAction[argparse.ArgumentParser]) -> None:
|
|
21
|
+
followup = subparsers.add_parser("followup", help="follow-up register commands")
|
|
22
|
+
followup_sub = followup.add_subparsers(dest="followup_command", required=True)
|
|
23
|
+
check = followup_sub.add_parser("check")
|
|
24
|
+
check.add_argument("--register", required=True)
|
|
25
|
+
check.add_argument("--state")
|
|
26
|
+
check.add_argument("--root", default=".")
|
|
27
|
+
check.add_argument("--fail-on-finalization-blockers", action="store_true")
|
|
28
|
+
add = followup_sub.add_parser("add")
|
|
29
|
+
add.add_argument("--register", required=True)
|
|
30
|
+
add.add_argument("--item", required=True)
|
|
31
|
+
add.add_argument("--out")
|
|
32
|
+
close = followup_sub.add_parser("close")
|
|
33
|
+
close.add_argument("--register", required=True)
|
|
34
|
+
close.add_argument("--item-id", required=True)
|
|
35
|
+
close.add_argument("--evidence-id", action="append", default=[])
|
|
36
|
+
close.add_argument("--artifact", action="append", default=[])
|
|
37
|
+
close.add_argument("--verifier", required=True)
|
|
38
|
+
close.add_argument("--reason", required=True)
|
|
39
|
+
close.add_argument("--root", default=".")
|
|
40
|
+
close.add_argument("--out")
|
|
41
|
+
sweep = followup_sub.add_parser("sweep")
|
|
42
|
+
sweep.add_argument("--register", required=True)
|
|
43
|
+
sweep.add_argument("--state")
|
|
44
|
+
sweep.add_argument("--profile")
|
|
45
|
+
sweep.add_argument("--target-window")
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
def dispatch_followup(args: argparse.Namespace) -> dict[str, Any]:
|
|
49
|
+
register_path = Path(args.register)
|
|
50
|
+
register = load_followup_register(register_path)
|
|
51
|
+
if args.followup_command == "check":
|
|
52
|
+
state = read_json_object(Path(args.state), label="workflow state") if args.state else None
|
|
53
|
+
validation = validate_followup_register(register, state=state, root=Path(args.root))
|
|
54
|
+
if args.fail_on_finalization_blockers and validation["finalizationBlockers"]:
|
|
55
|
+
raise LifecycleError(
|
|
56
|
+
"follow-up-finalization-blocked",
|
|
57
|
+
"open follow-up items contradict current finalization",
|
|
58
|
+
{"items": validation["finalizationBlockers"]},
|
|
59
|
+
)
|
|
60
|
+
return validation
|
|
61
|
+
if args.followup_command == "add":
|
|
62
|
+
updated = add_followup_item(register, read_json_object(Path(args.item), label="follow-up item"))
|
|
63
|
+
out = Path(args.out) if args.out else register_path
|
|
64
|
+
write_followup_register(out, updated)
|
|
65
|
+
return validate_followup_register(updated)
|
|
66
|
+
if args.followup_command == "close":
|
|
67
|
+
updated = close_followup_item(
|
|
68
|
+
register,
|
|
69
|
+
item_id=args.item_id,
|
|
70
|
+
evidence_ids=args.evidence_id,
|
|
71
|
+
artifact_paths=args.artifact,
|
|
72
|
+
verifier=args.verifier,
|
|
73
|
+
reason=args.reason,
|
|
74
|
+
root=Path(args.root),
|
|
75
|
+
)
|
|
76
|
+
out = Path(args.out) if args.out else register_path
|
|
77
|
+
write_followup_register(out, updated)
|
|
78
|
+
validation = validate_followup_register(updated, root=Path(args.root))
|
|
79
|
+
return {
|
|
80
|
+
"schemaVersion": "agent-follow-up-close-result.v1",
|
|
81
|
+
"status": "PASS",
|
|
82
|
+
"itemId": args.item_id,
|
|
83
|
+
"registerDigest": validation["registerDigest"],
|
|
84
|
+
}
|
|
85
|
+
if args.followup_command == "sweep":
|
|
86
|
+
state = read_json_object(Path(args.state), label="workflow state") if args.state else None
|
|
87
|
+
profile = read_json_object(Path(args.profile), label="context profile") if args.profile else None
|
|
88
|
+
return build_followup_summary(register, state=state, profile=profile, window=args.target_window)
|
|
89
|
+
raise LifecycleError("command-not-implemented", "followup command is not implemented")
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"""Thin root CLI entrypoint for Agent Lifecycle Kit."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
import sys
|
|
6
|
+
|
|
7
|
+
from agent_lifecycle.cli.dispatch import dispatch
|
|
8
|
+
from agent_lifecycle.cli.parsers import build_parser
|
|
9
|
+
from agent_lifecycle.contracts import LifecycleError, canonical_bytes
|
|
10
|
+
from agent_lifecycle.neutrality.cli import main as neutrality_main
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
def main(argv: list[str] | None = None) -> int:
|
|
14
|
+
parser = build_parser()
|
|
15
|
+
args, remainder = parser.parse_known_args(argv)
|
|
16
|
+
if args.command == "neutrality":
|
|
17
|
+
return neutrality_main(remainder)
|
|
18
|
+
try:
|
|
19
|
+
payload = dispatch(args, remainder)
|
|
20
|
+
except LifecycleError as exc:
|
|
21
|
+
_write(exc.to_json())
|
|
22
|
+
return 2
|
|
23
|
+
if payload is None:
|
|
24
|
+
return 0
|
|
25
|
+
if isinstance(payload, str):
|
|
26
|
+
_write_text(payload)
|
|
27
|
+
return 0
|
|
28
|
+
_write(payload)
|
|
29
|
+
return 0
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
def _write(payload: dict[str, object]) -> None:
|
|
33
|
+
sys.stdout.write(canonical_bytes(payload).decode("utf-8") + "\n")
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
def _write_text(payload: str) -> None:
|
|
37
|
+
sys.stdout.write(payload.rstrip("\n") + "\n")
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
if __name__ == "__main__":
|
|
41
|
+
raise SystemExit(main())
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"""Argparse construction for lifecycle metrics commands."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
import argparse
|
|
6
|
+
|
|
7
|
+
MODES = ("light", "standard", "strict", "release")
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
def add_metrics_parser(subparsers: argparse._SubParsersAction[argparse.ArgumentParser]) -> None:
|
|
11
|
+
metrics = subparsers.add_parser("metrics", help="resource and lifecycle metrics commands")
|
|
12
|
+
metrics_sub = metrics.add_subparsers(dest="metrics_command", required=True)
|
|
13
|
+
cost_check = metrics_sub.add_parser("cost-check")
|
|
14
|
+
cost_check.add_argument("--receipt", required=True)
|
|
15
|
+
cost_report = metrics_sub.add_parser("cost-report")
|
|
16
|
+
cost_report.add_argument("--artifact", action="append", default=[])
|
|
17
|
+
cost_report.add_argument("--mode", choices=MODES, default="standard")
|
|
18
|
+
cost_report.add_argument("--project-root", default=".")
|
|
19
|
+
cost_report.add_argument("--out", required=True)
|
|
20
|
+
cost_report.add_argument("--summary-out")
|
|
21
|
+
usage_export = metrics_sub.add_parser("usage-export")
|
|
22
|
+
usage_export.add_argument("--artifact", action="append", default=[])
|
|
23
|
+
usage_export.add_argument("--project-root", default=".")
|
|
24
|
+
usage_export.add_argument("--format", choices=("json", "table"), default="json")
|
|
25
|
+
usage_export.add_argument("--out", required=True)
|
|
26
|
+
outcome_index = metrics_sub.add_parser("outcome-index")
|
|
27
|
+
outcome_index.add_argument("--artifact", action="append", default=[])
|
|
28
|
+
outcome_index.add_argument("--out")
|
|
29
|
+
quality_signals = metrics_sub.add_parser("quality-signals")
|
|
30
|
+
quality_signals.add_argument("--index", required=True)
|
|
31
|
+
quality_signals.add_argument("--out")
|
|
32
|
+
recommend = metrics_sub.add_parser("recommend")
|
|
33
|
+
recommend.add_argument("--report", action="append", default=[])
|
|
34
|
+
recommend.add_argument("--baseline-profile", default="profiles/lifecycle-baselines.v1.json")
|
|
35
|
+
recommend.add_argument("--task-shape", default="feature")
|
|
36
|
+
recommend.add_argument("--current-mode", choices=MODES)
|
|
37
|
+
recommend.add_argument("--sdd-tier")
|
|
38
|
+
recommend.add_argument("--risk", action="append", default=[])
|
|
39
|
+
recommend.add_argument("--out")
|
|
40
|
+
recommend.add_argument("--summary-out")
|
|
41
|
+
learn_recommend = metrics_sub.add_parser("learn-recommend")
|
|
42
|
+
learn_recommend.add_argument("--signals", required=True)
|
|
43
|
+
learn_recommend.add_argument("--baseline-profile", default="profiles/lifecycle-baselines.v1.json")
|
|
44
|
+
learn_recommend.add_argument("--task-shape", default="feature")
|
|
45
|
+
learn_recommend.add_argument("--current-mode", choices=MODES)
|
|
46
|
+
learn_recommend.add_argument("--sdd-tier")
|
|
47
|
+
learn_recommend.add_argument("--risk", action="append", default=[])
|
|
48
|
+
learn_recommend.add_argument("--out")
|
|
49
|
+
learn_recommend.add_argument("--summary-out")
|