Valuable Labour¶
Economically Valuable Labour Workflows (spec: agentic_valuable_labour.md).
Cluster: Uncategorised | Type: component | MCP Tools: None
Overview¶
Public API¶
ValuableLabourContract¶
Read-only facade over the existing deterministic valuable-labour core.
Methods:
assess_readiness(mission: MissionContract | None, external_content: bool = False) -> DeploymentReadiness¶
grant_tier(mission: MissionContract | None, evidence: DeploymentEvidence, external_content: bool = False) -> AutonomyGrant¶
MissionContract¶
§13.1 LabourMission — the gate-relevant fields (Phase 2 + §8 preconditions).
| Field | Type | Default |
|---|---|---|
mission_id | str | '' |
economic_objective | str | '' |
claimed_autonomy_tier | str | '' |
hard_constraints | list | field(default_factory=list) |
approval_requirements | list | field(default_factory=list) |
stop_conditions | list | field(default_factory=list) |
rollback_plan | str | '' |
monitoring_requirements | list | field(default_factory=list) |
quality_rubric_present | bool | False |
least_privilege_permissions | bool | False |
risk_register_complete | bool | False |
injection_boundary | bool | False |
has_high_impact_actions | bool | False |
high_impact_actions_need_approval | bool | True |
DeploymentEvidence¶
What has actually been demonstrated (§8 Phase-8 modes + §17 metrics). The autonomy
| Field | Type | Default |
|---|---|---|
dry_run_passed | bool | False |
shadow_mode_passed | bool | False |
monitoring_configured | bool | False |
rollback_available | bool | False |
approval_gates_wired | bool | False |
injection_boundary_enforced | bool | False |
quality_rubric_validated | bool | False |
incident_count | int | 0 |
certified_for_a6 | bool | False |
DeploymentReadiness¶
§8 deployment-readiness verdict.
| Field | Type | Default |
|---|---|---|
ready | bool | required |
reliability_label | str | required |
blockers | list[str] | field(default_factory=list) |
reasons | list[str] | field(default_factory=list) |
Methods:
to_dict() -> dict¶
AutonomyGrant¶
The earned-by-evidence autonomy-tier verdict (the family's centerpiece, §10/§25).
| Field | Type | Default |
|---|---|---|
granted_tier | str | required |
claimed_tier | str | required |
max_earned_tier | str | required |
reliability_label | str | required |
requires_human | bool | required |
capped | bool | required |
demoted_for_incidents | bool | required |
blockers | list[str] | field(default_factory=list) |
reasons | list[str] | field(default_factory=list) |
Methods:
to_dict() -> dict¶
Functions¶
assess_deployment_readiness(mission: MissionContract | None, external_content: bool = False) -> DeploymentReadiness¶
§8 Phase-8 deployment-readiness: deployment is blocked if ANY precondition is missing.
grant_autonomy_tier(mission: MissionContract | None, evidence: DeploymentEvidence, external_content: bool = False) -> AutonomyGrant¶
Grant the autonomy tier EARNED by the evidence. DOWN-only: granted = min(claimed,