monarchic-agent-protocol 0.1.15 → 0.1.17

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.
@@ -7,7 +7,7 @@ require 'google/protobuf'
7
7
  require 'google/protobuf/struct_pb'
8
8
 
9
9
 
10
- descriptor_data = "\n\x1emonarchic_agent_protocol.proto\x12\x1bmonarchic.agent_protocol.v1\x1a\x1cgoogle/protobuf/struct.proto\"\xf7\x01\n\nDatasetRef\x12\x12\n\ndataset_id\x18\x01 \x01(\t\x12\x10\n\x03uri\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x0e\n\x06sha256\x18\x03 \x01(\t\x12\x0e\n\x06\x66ormat\x18\x04 \x01(\t\x12\x12\n\x05split\x18\x05 \x01(\tH\x01\x88\x01\x01\x12\x17\n\nsize_bytes\x18\x06 \x01(\x04H\x02\x88\x01\x01\x12\x18\n\x0b\x64\x65scription\x18\x07 \x01(\tH\x03\x88\x01\x01\x12+\n\nextensions\x18\x08 \x01(\x0b\x32\x17.google.protobuf.StructB\x06\n\x04_uriB\x08\n\x06_splitB\r\n\x0b_size_bytesB\x0e\n\x0c_description\"\x89\x02\n\x12\x41\x63\x63\x65ptanceCriteria\x12\x0e\n\x06metric\x18\x01 \x01(\t\x12\x11\n\tdirection\x18\x02 \x01(\t\x12\x11\n\tthreshold\x18\x03 \x01(\x01\x12\x1c\n\x0fmin_effect_size\x18\x04 \x01(\x01H\x00\x88\x01\x01\x12\x19\n\x0cmax_variance\x18\x05 \x01(\x01H\x01\x88\x01\x01\x12\x1d\n\x10\x63onfidence_level\x18\x06 \x01(\x01H\x02\x88\x01\x01\x12+\n\nextensions\x18\x07 \x01(\x0b\x32\x17.google.protobuf.StructB\x12\n\x10_min_effect_sizeB\x0f\n\r_max_varianceB\x13\n\x11_confidence_level\"\xfc\x02\n\x0e\x45xperimentSpec\x12\x15\n\rexperiment_id\x18\x01 \x01(\t\x12\x11\n\tobjective\x18\x02 \x01(\t\x12\x17\n\nhypothesis\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x19\n\x0cmodel_family\x18\x04 \x01(\tH\x01\x88\x01\x01\x12\r\n\x05seeds\x18\x05 \x03(\x03\x12=\n\x0c\x64\x61taset_refs\x18\x06 \x03(\x0b\x32\'.monarchic.agent_protocol.v1.DatasetRef\x12\x43\n\nacceptance\x18\x07 \x01(\x0b\x32/.monarchic.agent_protocol.v1.AcceptanceCriteria\x12,\n\x0b\x63onstraints\x18\x08 \x01(\x0b\x32\x17.google.protobuf.Struct\x12+\n\nextensions\x18\t \x01(\x0b\x32\x17.google.protobuf.StructB\r\n\x0b_hypothesisB\x0f\n\r_model_family\"\xae\x03\n\x10\x44\x65liveryContract\x12\x11\n\tobjective\x18\x01 \x01(\t\x12\x1a\n\x12\x64\x65\x66inition_of_done\x18\x02 \x03(\t\x12\x17\n\x0frequired_checks\x18\x03 \x03(\t\x12\x11\n\trisk_tier\x18\x04 \x01(\t\x12\x1e\n\x11max_cycle_minutes\x18\x05 \x01(\rH\x00\x88\x01\x01\x12\x1c\n\x0fmax_agent_turns\x18\x06 \x01(\rH\x01\x88\x01\x01\x12\x18\n\x0bpr_strategy\x18\x07 \x01(\tH\x02\x88\x01\x01\x12\x1a\n\rreview_policy\x18\x08 \x01(\tH\x03\x88\x01\x01\x12\x1e\n\x11rollback_strategy\x18\t \x01(\tH\x04\x88\x01\x01\x12\x12\n\x05notes\x18\n \x01(\tH\x05\x88\x01\x01\x12+\n\nextensions\x18\x0b \x01(\x0b\x32\x17.google.protobuf.StructB\x14\n\x12_max_cycle_minutesB\x12\n\x10_max_agent_turnsB\x0e\n\x0c_pr_strategyB\x10\n\x0e_review_policyB\x14\n\x12_rollback_strategyB\x08\n\x06_notes\"\xf3\x02\n\rObjectiveSpec\x12\x12\n\nmetric_key\x18\x01 \x01(\t\x12\x11\n\tdirection\x18\x02 \x01(\t\x12\x13\n\x06target\x18\x03 \x01(\x01H\x00\x88\x01\x01\x12\x16\n\tmin_delta\x18\x04 \x01(\x01H\x01\x88\x01\x01\x12\x16\n\ttolerance\x18\x05 \x01(\x01H\x02\x88\x01\x01\x12\x18\n\x0breport_file\x18\x06 \x01(\tH\x03\x88\x01\x01\x12\x1b\n\x0ereport_task_id\x18\x07 \x01(\tH\x04\x88\x01\x01\x12\x13\n\x06weight\x18\x08 \x01(\x01H\x05\x88\x01\x01\x12\x18\n\x0b\x64\x65scription\x18\t \x01(\tH\x06\x88\x01\x01\x12+\n\nextensions\x18\n \x01(\x0b\x32\x17.google.protobuf.StructB\t\n\x07_targetB\x0c\n\n_min_deltaB\x0c\n\n_toleranceB\x0e\n\x0c_report_fileB\x11\n\x0f_report_task_idB\t\n\x07_weightB\x0e\n\x0c_description\"\x8e\x02\n\nEvalResult\x12\x0e\n\x06metric\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x01\x12\x15\n\x08lower_ci\x18\x03 \x01(\x01H\x00\x88\x01\x01\x12\x15\n\x08upper_ci\x18\x04 \x01(\x01H\x01\x88\x01\x01\x12\x15\n\x08variance\x18\x05 \x01(\x01H\x02\x88\x01\x01\x12\x11\n\x04seed\x18\x06 \x01(\x03H\x03\x88\x01\x01\x12\x0e\n\x06passed\x18\x07 \x01(\x08\x12\x12\n\x05notes\x18\x08 \x01(\tH\x04\x88\x01\x01\x12+\n\nextensions\x18\t \x01(\x0b\x32\x17.google.protobuf.StructB\x0b\n\t_lower_ciB\x0b\n\t_upper_ciB\x0b\n\t_varianceB\x07\n\x05_seedB\x08\n\x06_notes\"\xeb\x03\n\nProvenance\x12\x15\n\rprompt_sha256\x18\x01 \x01(\t\x12\x13\n\x0b\x63ode_sha256\x18\x02 \x01(\t\x12\x16\n\x0e\x64\x61taset_sha256\x18\x03 \x03(\t\x12\x0f\n\x07runtime\x18\x04 \x01(\t\x12\x12\n\x05model\x18\x05 \x01(\tH\x00\x88\x01\x01\x12\x0e\n\x06runner\x18\x06 \x01(\t\x12\x14\n\x0corchestrator\x18\x07 \x01(\t\x12\x1d\n\x10task_spec_sha256\x18\x08 \x01(\tH\x01\x88\x01\x01\x12\x1c\n\x0fpipeline_sha256\x18\t \x01(\tH\x02\x88\x01\x01\x12\x1b\n\x0e\x63ommand_sha256\x18\n \x01(\tH\x03\x88\x01\x01\x12\x12\n\ncreated_at\x18\x0b \x01(\t\x12\x1b\n\x0esource_task_id\x18\x0c \x01(\tH\x04\x88\x01\x01\x12=\n\x0c\x64\x61taset_refs\x18\r \x03(\x0b\x32\'.monarchic.agent_protocol.v1.DatasetRef\x12+\n\nextensions\x18\x0e \x01(\x0b\x32\x17.google.protobuf.StructB\x08\n\x06_modelB\x13\n\x11_task_spec_sha256B\x12\n\x10_pipeline_sha256B\x11\n\x0f_command_sha256B\x11\n\x0f_source_task_id\"\x9a\x04\n\x04Task\x12\x0f\n\x07version\x18\x01 \x01(\t\x12\x0f\n\x07task_id\x18\x02 \x01(\t\x12\x34\n\x04role\x18\x03 \x01(\x0e\x32&.monarchic.agent_protocol.v1.AgentRole\x12\x0c\n\x04goal\x18\x04 \x01(\t\x12\'\n\x06inputs\x18\x05 \x01(\x0b\x32\x17.google.protobuf.Struct\x12,\n\x0b\x63onstraints\x18\x06 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x16\n\x0egates_required\x18\x07 \x03(\t\x12<\n\x0brun_context\x18\x08 \x01(\x0b\x32\'.monarchic.agent_protocol.v1.RunContext\x12+\n\nextensions\x18\t \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x44\n\x0f\x65xperiment_spec\x18\n \x01(\x0b\x32+.monarchic.agent_protocol.v1.ExperimentSpec\x12H\n\x11\x64\x65livery_contract\x18\x0b \x01(\x0b\x32-.monarchic.agent_protocol.v1.DeliveryContract\x12\x42\n\x0eobjective_spec\x18\x0c \x01(\x0b\x32*.monarchic.agent_protocol.v1.ObjectiveSpec\"\x9c\x03\n\x08\x41rtifact\x12\x0f\n\x07version\x18\x01 \x01(\t\x12\x13\n\x0b\x61rtifact_id\x18\x02 \x01(\t\x12\x0c\n\x04type\x18\x03 \x01(\t\x12\x0f\n\x07summary\x18\x04 \x01(\t\x12\x0c\n\x04path\x18\x05 \x01(\t\x12\x0f\n\x07task_id\x18\x06 \x01(\t\x12+\n\nextensions\x18\x07 \x01(\x0b\x32\x17.google.protobuf.Struct\x12;\n\nprovenance\x18\x08 \x01(\x0b\x32\'.monarchic.agent_protocol.v1.Provenance\x12=\n\x0c\x64\x61taset_refs\x18\t \x03(\x0b\x32\'.monarchic.agent_protocol.v1.DatasetRef\x12=\n\x0c\x65val_results\x18\n \x03(\x0b\x32\'.monarchic.agent_protocol.v1.EvalResult\x12\x44\n\x0f\x65xperiment_spec\x18\x0b \x01(\x0b\x32+.monarchic.agent_protocol.v1.ExperimentSpec\"\xab\x02\n\x05\x45vent\x12\x0f\n\x07version\x18\x01 \x01(\t\x12\x12\n\nevent_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\t\x12\x0f\n\x07task_id\x18\x04 \x01(\t\x12\x0e\n\x06status\x18\x05 \x01(\t\x12\x14\n\x07message\x18\x06 \x01(\tH\x00\x88\x01\x01\x12+\n\nextensions\x18\x07 \x01(\x0b\x32\x17.google.protobuf.Struct\x12;\n\nprovenance\x18\x08 \x01(\x0b\x32\'.monarchic.agent_protocol.v1.Provenance\x12=\n\x0c\x65val_results\x18\t \x03(\x0b\x32\'.monarchic.agent_protocol.v1.EvalResultB\n\n\x08_message\"\xb3\x01\n\nGateResult\x12\x0f\n\x07version\x18\x01 \x01(\t\x12\x0c\n\x04gate\x18\x02 \x01(\t\x12\x0e\n\x06status\x18\x03 \x01(\t\x12\x13\n\x06reason\x18\x04 \x01(\tH\x00\x88\x01\x01\x12)\n\x08\x65vidence\x18\x05 \x01(\x0b\x32\x17.google.protobuf.Struct\x12+\n\nextensions\x18\x06 \x01(\x0b\x32\x17.google.protobuf.StructB\t\n\x07_reason\"\x88\x06\n\nRunOutcome\x12\x0f\n\x07version\x18\x01 \x01(\t\x12\x0f\n\x07task_id\x18\x02 \x01(\t\x12\x13\n\x06run_id\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x1d\n\x10objective_metric\x18\x04 \x01(\tH\x01\x88\x01\x01\x12\x1c\n\x0fobjective_score\x18\x05 \x01(\x01H\x02\x88\x01\x01\x12H\n\x12objective_decision\x18\x06 \x01(\x0e\x32,.monarchic.agent_protocol.v1.OutcomeDecision\x12\x1f\n\x12\x65stimated_cost_usd\x18\x07 \x01(\x01H\x03\x88\x01\x01\x12\x1d\n\x10\x62udget_limit_usd\x18\x08 \x01(\x01H\x04\x88\x01\x01\x12\x43\n\rcost_decision\x18\t \x01(\x0e\x32,.monarchic.agent_protocol.v1.OutcomeDecision\x12\x17\n\nrisk_level\x18\n \x01(\tH\x05\x88\x01\x01\x12\x19\n\x0crisk_summary\x18\x0b \x01(\tH\x06\x88\x01\x01\x12\x43\n\rrisk_decision\x18\x0c \x01(\x0e\x32,.monarchic.agent_protocol.v1.OutcomeDecision\x12\x44\n\x0e\x66inal_decision\x18\r \x01(\x0e\x32,.monarchic.agent_protocol.v1.OutcomeDecision\x12\x14\n\x07summary\x18\x0e \x01(\tH\x07\x88\x01\x01\x12)\n\x08\x65vidence\x18\x0f \x01(\x0b\x32\x17.google.protobuf.Struct\x12+\n\nextensions\x18\x10 \x01(\x0b\x32\x17.google.protobuf.StructB\t\n\x07_run_idB\x13\n\x11_objective_metricB\x12\n\x10_objective_scoreB\x15\n\x13_estimated_cost_usdB\x13\n\x11_budget_limit_usdB\r\n\x0b_risk_levelB\x0f\n\r_risk_summaryB\n\n\x08_summary\"\x99\x01\n\nRunContext\x12\x0f\n\x07version\x18\x01 \x01(\t\x12\x0c\n\x04repo\x18\x02 \x01(\t\x12\x10\n\x08worktree\x18\x03 \x01(\t\x12\r\n\x05image\x18\x04 \x01(\t\x12\x0e\n\x06runner\x18\x05 \x01(\t\x12\x0e\n\x06labels\x18\x06 \x03(\t\x12+\n\nextensions\x18\x07 \x01(\x0b\x32\x17.google.protobuf.Struct*\x85\x01\n\tAgentRole\x12\x1a\n\x16\x41GENT_ROLE_UNSPECIFIED\x10\x00\x12\x11\n\rPRODUCT_OWNER\x10\x01\x12\x13\n\x0fPROJECT_MANAGER\x10\x02\x12\x07\n\x03\x44\x45V\x10\x03\x12\x06\n\x02QA\x10\x04\x12\x0c\n\x08REVIEWER\x10\x05\x12\x0c\n\x08SECURITY\x10\x06\x12\x07\n\x03OPS\x10\x07*f\n\x0fOutcomeDecision\x12 \n\x1cOUTCOME_DECISION_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43\x43\x45PT\x10\x01\x12\x0b\n\x07ITERATE\x10\x02\x12\n\n\x06REJECT\x10\x03\x12\x0c\n\x08\x45SCALATE\x10\x04\x42\x88\x02\n\x1e\x61i.monarchic.agent_protocol.v1B\x18MonarchicAgentProtocolV1P\x01Zdgithub.com/monarchic-ai/monarchic-agent-protocol/src/go/monarchic/agent_protocol/v1;agent_protocolv1\xa2\x02\x03MAP\xaa\x02\x1aMonarchic.AgentProtocol.V1\xca\x02\x1aMonarchic\\AgentProtocol\\V1\xe2\x02#Monarchic\\AgentProtocol\\V1\\Metadatab\x06proto3"
10
+ descriptor_data = "\n\x1emonarchic_agent_protocol.proto\x12\x1bmonarchic.agent_protocol.v1\x1a\x1cgoogle/protobuf/struct.proto\"\xf7\x01\n\nDatasetRef\x12\x12\n\ndataset_id\x18\x01 \x01(\t\x12\x10\n\x03uri\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x0e\n\x06sha256\x18\x03 \x01(\t\x12\x0e\n\x06\x66ormat\x18\x04 \x01(\t\x12\x12\n\x05split\x18\x05 \x01(\tH\x01\x88\x01\x01\x12\x17\n\nsize_bytes\x18\x06 \x01(\x04H\x02\x88\x01\x01\x12\x18\n\x0b\x64\x65scription\x18\x07 \x01(\tH\x03\x88\x01\x01\x12+\n\nextensions\x18\x08 \x01(\x0b\x32\x17.google.protobuf.StructB\x06\n\x04_uriB\x08\n\x06_splitB\r\n\x0b_size_bytesB\x0e\n\x0c_description\"\x89\x02\n\x12\x41\x63\x63\x65ptanceCriteria\x12\x0e\n\x06metric\x18\x01 \x01(\t\x12\x11\n\tdirection\x18\x02 \x01(\t\x12\x11\n\tthreshold\x18\x03 \x01(\x01\x12\x1c\n\x0fmin_effect_size\x18\x04 \x01(\x01H\x00\x88\x01\x01\x12\x19\n\x0cmax_variance\x18\x05 \x01(\x01H\x01\x88\x01\x01\x12\x1d\n\x10\x63onfidence_level\x18\x06 \x01(\x01H\x02\x88\x01\x01\x12+\n\nextensions\x18\x07 \x01(\x0b\x32\x17.google.protobuf.StructB\x12\n\x10_min_effect_sizeB\x0f\n\r_max_varianceB\x13\n\x11_confidence_level\"\xfc\x02\n\x0e\x45xperimentSpec\x12\x15\n\rexperiment_id\x18\x01 \x01(\t\x12\x11\n\tobjective\x18\x02 \x01(\t\x12\x17\n\nhypothesis\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x19\n\x0cmodel_family\x18\x04 \x01(\tH\x01\x88\x01\x01\x12\r\n\x05seeds\x18\x05 \x03(\x03\x12=\n\x0c\x64\x61taset_refs\x18\x06 \x03(\x0b\x32\'.monarchic.agent_protocol.v1.DatasetRef\x12\x43\n\nacceptance\x18\x07 \x01(\x0b\x32/.monarchic.agent_protocol.v1.AcceptanceCriteria\x12,\n\x0b\x63onstraints\x18\x08 \x01(\x0b\x32\x17.google.protobuf.Struct\x12+\n\nextensions\x18\t \x01(\x0b\x32\x17.google.protobuf.StructB\r\n\x0b_hypothesisB\x0f\n\r_model_family\"\xf3\x02\n\rObjectiveSpec\x12\x12\n\nmetric_key\x18\x01 \x01(\t\x12\x11\n\tdirection\x18\x02 \x01(\t\x12\x13\n\x06target\x18\x03 \x01(\x01H\x00\x88\x01\x01\x12\x16\n\tmin_delta\x18\x04 \x01(\x01H\x01\x88\x01\x01\x12\x16\n\ttolerance\x18\x05 \x01(\x01H\x02\x88\x01\x01\x12\x18\n\x0breport_file\x18\x06 \x01(\tH\x03\x88\x01\x01\x12\x1b\n\x0ereport_task_id\x18\x07 \x01(\tH\x04\x88\x01\x01\x12\x13\n\x06weight\x18\x08 \x01(\x01H\x05\x88\x01\x01\x12\x18\n\x0b\x64\x65scription\x18\t \x01(\tH\x06\x88\x01\x01\x12+\n\nextensions\x18\n \x01(\x0b\x32\x17.google.protobuf.StructB\t\n\x07_targetB\x0c\n\n_min_deltaB\x0c\n\n_toleranceB\x0e\n\x0c_report_fileB\x11\n\x0f_report_task_idB\t\n\x07_weightB\x0e\n\x0c_description\"\x8e\x02\n\nEvalResult\x12\x0e\n\x06metric\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x01\x12\x15\n\x08lower_ci\x18\x03 \x01(\x01H\x00\x88\x01\x01\x12\x15\n\x08upper_ci\x18\x04 \x01(\x01H\x01\x88\x01\x01\x12\x15\n\x08variance\x18\x05 \x01(\x01H\x02\x88\x01\x01\x12\x11\n\x04seed\x18\x06 \x01(\x03H\x03\x88\x01\x01\x12\x0e\n\x06passed\x18\x07 \x01(\x08\x12\x12\n\x05notes\x18\x08 \x01(\tH\x04\x88\x01\x01\x12+\n\nextensions\x18\t \x01(\x0b\x32\x17.google.protobuf.StructB\x0b\n\t_lower_ciB\x0b\n\t_upper_ciB\x0b\n\t_varianceB\x07\n\x05_seedB\x08\n\x06_notes\"\xf6\x01\n\x0c\x46\x61ilureClass\x12\x10\n\x08\x63\x61tegory\x18\x01 \x01(\t\x12\x0c\n\x04\x63ode\x18\x02 \x01(\t\x12\x11\n\tretryable\x18\x03 \x01(\x08\x12\x13\n\x06\x64\x65tail\x18\x04 \x01(\tH\x00\x88\x01\x01\x12\x12\n\x05scope\x18\x05 \x01(\tH\x01\x88\x01\x01\x12\x13\n\x06source\x18\x06 \x01(\tH\x02\x88\x01\x01\x12\x18\n\x0bnext_action\x18\x07 \x01(\tH\x03\x88\x01\x01\x12+\n\nextensions\x18\x08 \x01(\x0b\x32\x17.google.protobuf.StructB\t\n\x07_detailB\x08\n\x06_scopeB\t\n\x07_sourceB\x0e\n\x0c_next_action\"\xeb\x03\n\nProvenance\x12\x15\n\rprompt_sha256\x18\x01 \x01(\t\x12\x13\n\x0b\x63ode_sha256\x18\x02 \x01(\t\x12\x16\n\x0e\x64\x61taset_sha256\x18\x03 \x03(\t\x12\x0f\n\x07runtime\x18\x04 \x01(\t\x12\x12\n\x05model\x18\x05 \x01(\tH\x00\x88\x01\x01\x12\x0e\n\x06runner\x18\x06 \x01(\t\x12\x14\n\x0corchestrator\x18\x07 \x01(\t\x12\x1d\n\x10task_spec_sha256\x18\x08 \x01(\tH\x01\x88\x01\x01\x12\x1c\n\x0fpipeline_sha256\x18\t \x01(\tH\x02\x88\x01\x01\x12\x1b\n\x0e\x63ommand_sha256\x18\n \x01(\tH\x03\x88\x01\x01\x12\x12\n\ncreated_at\x18\x0b \x01(\t\x12\x1b\n\x0esource_task_id\x18\x0c \x01(\tH\x04\x88\x01\x01\x12=\n\x0c\x64\x61taset_refs\x18\r \x03(\x0b\x32\'.monarchic.agent_protocol.v1.DatasetRef\x12+\n\nextensions\x18\x0e \x01(\x0b\x32\x17.google.protobuf.StructB\x08\n\x06_modelB\x13\n\x11_task_spec_sha256B\x12\n\x10_pipeline_sha256B\x11\n\x0f_command_sha256B\x11\n\x0f_source_task_id\"\x99\x02\n\x06Intent\x12\x11\n\tintent_id\x18\x01 \x01(\t\x12\x14\n\x0csubmitted_at\x18\x02 \x01(\x04\x12\x11\n\tsubmitter\x18\x03 \x01(\t\x12\x16\n\x0epolicy_version\x18\x04 \x01(\t\x12\x13\n\x0btarget_repo\x18\x05 \x01(\t\x12\x12\n\ntarget_ref\x18\x06 \x01(\t\x12\x0c\n\x04goal\x18\x07 \x01(\t\x12,\n\x0b\x63onstraints\x18\x08 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x16\n\x0e\x63ontext_digest\x18\t \x01(\t\x12>\n\x0cintent_class\x18\n \x01(\x0e\x32(.monarchic.agent_protocol.v1.IntentClass\"\x95\x02\n\x0f\x42ootstrapIntent\x12\x18\n\x10\x63ontract_version\x18\x01 \x01(\t\x12\x1b\n\x13\x62ootstrap_intent_id\x18\x02 \x01(\t\x12\x13\n\x0bproject_key\x18\x03 \x01(\t\x12\x14\n\x0ctarget_repos\x18\x04 \x03(\t\x12!\n\x14pipeline_template_id\x18\x05 \x01(\tH\x00\x88\x01\x01\x12\x15\n\rcampaign_goal\x18\x06 \x01(\t\x12\x12\n\x05notes\x18\x07 \x01(\tH\x01\x88\x01\x01\x12\x18\n\x10priority_profile\x18\x08 \x01(\t\x12\x15\n\rcreated_at_ms\x18\t \x01(\x04\x42\x17\n\x15_pipeline_template_idB\x08\n\x06_notes\"\xfc\x01\n\x15\x41gentRunnerPreference\x12\x11\n\trunner_id\x18\x01 \x01(\t\x12\x12\n\x05model\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x15\n\x08provider\x18\x03 \x01(\tH\x01\x88\x01\x01\x12\x1d\n\x10reasoning_effort\x18\x04 \x01(\tH\x02\x88\x01\x01\x12\x1d\n\x15required_capabilities\x18\x05 \x03(\t\x12\x0e\n\x06labels\x18\x06 \x03(\t\x12+\n\nextensions\x18\x07 \x01(\x0b\x32\x17.google.protobuf.StructB\x08\n\x06_modelB\x0b\n\t_providerB\x13\n\x11_reasoning_effort\"\xfc\x01\n\x11\x41gentRunnerPolicy\x12\x18\n\x10runner_policy_id\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x18\n\x0b\x64\x65scription\x18\x03 \x01(\tH\x00\x88\x01\x01\x12N\n\x12runner_preferences\x18\x04 \x03(\x0b\x32\x32.monarchic.agent_protocol.v1.AgentRunnerPreference\x12\x10\n\x08role_ids\x18\x05 \x03(\t\x12+\n\nextensions\x18\x06 \x01(\x0b\x32\x17.google.protobuf.StructB\x0e\n\x0c_description\"\x96\x03\n\x0c\x41gentProfile\x12\x10\n\x08\x61gent_id\x18\x01 \x01(\t\x12\x0f\n\x07role_id\x18\x02 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x03 \x01(\t\x12\x18\n\x0b\x64\x65scription\x18\x04 \x01(\tH\x00\x88\x01\x01\x12N\n\x12runner_preferences\x18\x05 \x03(\x0b\x32\x32.monarchic.agent_protocol.v1.AgentRunnerPreference\x12\x1d\n\x15\x61llowed_network_modes\x18\x06 \x03(\t\x12\x1d\n\x15requires_human_review\x18\x07 \x01(\x08\x12\x1a\n\x12required_skill_ids\x18\x08 \x03(\t\x12\x18\n\x10required_mcp_ids\x18\t \x03(\t\x12+\n\nextensions\x18\n \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x1d\n\x10runner_policy_id\x18\x0b \x01(\tH\x01\x88\x01\x01\x42\x0e\n\x0c_descriptionB\x13\n\x11_runner_policy_id\"\x99\x02\n\x13ResolvedAgentRunner\x12\x11\n\trunner_id\x18\x01 \x01(\t\x12\x12\n\x05model\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x15\n\x08provider\x18\x03 \x01(\tH\x01\x88\x01\x01\x12\x1d\n\x10reasoning_effort\x18\x04 \x01(\tH\x02\x88\x01\x01\x12\x18\n\x10preference_index\x18\x05 \x01(\r\x12\x1d\n\x10selection_reason\x18\x06 \x01(\tH\x03\x88\x01\x01\x12+\n\nextensions\x18\x07 \x01(\x0b\x32\x17.google.protobuf.StructB\x08\n\x06_modelB\x0b\n\t_providerB\x13\n\x11_reasoning_effortB\x13\n\x11_selection_reason\"\x8d\x06\n\x11\x42ootstrapPlanTask\x12\x0f\n\x07task_id\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x0f\n\x07role_id\x18\x03 \x01(\t\x12\x16\n\x0etask_milestone\x18\x04 \x01(\t\x12\x12\n\ndepends_on\x18\x05 \x03(\t\x12\x18\n\x0btarget_repo\x18\x06 \x01(\tH\x00\x88\x01\x01\x12\x1a\n\x12required_skill_ids\x18\x07 \x03(\t\x12\x18\n\x10required_mcp_ids\x18\x08 \x03(\t\x12\x1d\n\x10interaction_mode\x18\t \x01(\tH\x01\x88\x01\x01\x12\x19\n\x0cnetwork_mode\x18\n \x01(\tH\x02\x88\x01\x01\x12\"\n\x15requires_human_review\x18\x0b \x01(\x08H\x03\x88\x01\x01\x12\x32\n\x11\x66ilesystem_policy\x18\x0c \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x1d\n\x10template_slot_id\x18\r \x01(\tH\x04\x88\x01\x01\x12\x12\n\x05notes\x18\x0e \x01(\tH\x05\x88\x01\x01\x12\x15\n\x08\x61gent_id\x18\x0f \x01(\tH\x06\x88\x01\x01\x12 \n\x13injected_by_role_id\x18\x10 \x01(\tH\x07\x88\x01\x01\x12N\n\x12runner_preferences\x18\x11 \x03(\x0b\x32\x32.monarchic.agent_protocol.v1.AgentRunnerPreference\x12N\n\x0fresolved_runner\x18\x12 \x01(\x0b\x32\x30.monarchic.agent_protocol.v1.ResolvedAgentRunnerH\x08\x88\x01\x01\x42\x0e\n\x0c_target_repoB\x13\n\x11_interaction_modeB\x0f\n\r_network_modeB\x18\n\x16_requires_human_reviewB\x13\n\x11_template_slot_idB\x08\n\x06_notesB\x0b\n\t_agent_idB\x16\n\x14_injected_by_role_idB\x12\n\x10_resolved_runner\"\xea\x02\n\rBootstrapPlan\x12\x18\n\x10\x63ontract_version\x18\x01 \x01(\t\x12\x19\n\x11\x62ootstrap_plan_id\x18\x02 \x01(\t\x12\x1b\n\x13\x62ootstrap_intent_id\x18\x03 \x01(\t\x12\x13\n\x0bproject_key\x18\x04 \x01(\t\x12I\n\rplanning_mode\x18\x05 \x01(\x0e\x32\x32.monarchic.agent_protocol.v1.BootstrapPlanningMode\x12!\n\x14pipeline_template_id\x18\x06 \x01(\tH\x00\x88\x01\x01\x12\x15\n\rcampaign_goal\x18\x07 \x01(\t\x12\x15\n\rcreated_at_ms\x18\x08 \x01(\x04\x12=\n\x05tasks\x18\t \x03(\x0b\x32..monarchic.agent_protocol.v1.BootstrapPlanTaskB\x17\n\x15_pipeline_template_id\"I\n\x19\x42ootstrapFilesystemPolicy\x12\x0c\n\x04read\x18\x01 \x03(\t\x12\r\n\x05write\x18\x02 \x03(\t\x12\x0f\n\x07\x65xecute\x18\x03 \x03(\t\"F\n\x15\x42ootstrapSkillBinding\x12\n\n\x02id\x18\x01 \x01(\t\x12\x10\n\x08required\x18\x02 \x01(\x08\x12\x0f\n\x07purpose\x18\x03 \x01(\t\"\xd9\x02\n\x1c\x42ootstrapTemplateSlotContext\x12\x0f\n\x07slot_id\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x0c\n\x04role\x18\x03 \x01(\t\x12\x18\n\x10interaction_mode\x18\x04 \x01(\t\x12\x14\n\x0cnetwork_mode\x18\x05 \x01(\t\x12\x1d\n\x15requires_human_review\x18\x06 \x01(\x08\x12Q\n\x11\x66ilesystem_policy\x18\x07 \x01(\x0b\x32\x36.monarchic.agent_protocol.v1.BootstrapFilesystemPolicy\x12K\n\x0frequired_skills\x18\x08 \x03(\x0b\x32\x32.monarchic.agent_protocol.v1.BootstrapSkillBinding\x12\x15\n\rrequired_mcps\x18\t \x03(\t\"\x98\x01\n\"BootstrapTemplateConnectionContext\x12\x14\n\x0c\x66rom_slot_id\x18\x01 \x01(\t\x12\x12\n\nto_slot_id\x18\x02 \x01(\t\x12\x0c\n\x04kind\x18\x03 \x01(\t\x12\x10\n\x08required\x18\x04 \x01(\x08\x12\x18\n\x0b\x64\x65scription\x18\x05 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_description\"\xa0\x01\n\x1c\x42ootstrapTemplateLaneContext\x12\x0f\n\x07lane_id\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x14\n\x0c\x66rom_slot_id\x18\x03 \x01(\t\x12\x12\n\nto_slot_id\x18\x04 \x01(\t\x12\x10\n\x08slot_ids\x18\x05 \x03(\t\x12\x1d\n\x15repeat_per_task_group\x18\x06 \x01(\x08\"\xaf\x02\n\x18\x42ootstrapTemplateContext\x12\x13\n\x0btemplate_id\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12H\n\x05slots\x18\x03 \x03(\x0b\x32\x39.monarchic.agent_protocol.v1.BootstrapTemplateSlotContext\x12T\n\x0b\x63onnections\x18\x04 \x03(\x0b\x32?.monarchic.agent_protocol.v1.BootstrapTemplateConnectionContext\x12H\n\x05lanes\x18\x05 \x03(\x0b\x32\x39.monarchic.agent_protocol.v1.BootstrapTemplateLaneContext\"/\n\x0c\x41gentCommand\x12\x11\n\trunner_id\x18\x01 \x01(\t\x12\x0c\n\x04\x61rgv\x18\x02 \x03(\t\"\xfb\x05\n\x18\x42ootstrapPlanningContext\x12\x18\n\x10\x63ontract_version\x18\x01 \x01(\t\x12\x13\n\x0bproject_key\x18\x02 \x01(\t\x12\x13\n\x0btarget_repo\x18\x03 \x01(\t\x12\x14\n\x0ctarget_repos\x18\x04 \x03(\t\x12\x15\n\rcampaign_goal\x18\x05 \x01(\t\x12\x12\n\x05notes\x18\x06 \x01(\tH\x00\x88\x01\x01\x12\x18\n\x10priority_profile\x18\x07 \x01(\t\x12\x15\n\tcodex_cmd\x18\x08 \x03(\tB\x02\x18\x01\x12\x1b\n\x13\x61vailable_skill_ids\x18\t \x03(\t\x12U\n\x11selected_template\x18\n \x01(\x0b\x32\x35.monarchic.agent_protocol.v1.BootstrapTemplateContextH\x01\x88\x01\x01\x12I\n\rplanning_mode\x18\x0b \x01(\x0e\x32\x32.monarchic.agent_protocol.v1.BootstrapPlanningMode\x12\x18\n\x10\x65nabled_role_ids\x18\x0c \x03(\t\x12=\n\nagent_cmds\x18\r \x03(\x0b\x32).monarchic.agent_protocol.v1.AgentCommand\x12\x19\n\x11\x64\x65\x66\x61ult_agent_cmd\x18\x0e \x03(\t\x12\x41\n\x0e\x61gent_profiles\x18\x0f \x03(\x0b\x32).monarchic.agent_protocol.v1.AgentProfile\x12J\n\x11\x61vailable_runners\x18\x10 \x03(\x0b\x32/.monarchic.agent_protocol.v1.RunnerCapabilities\x12G\n\x0frunner_policies\x18\x11 \x03(\x0b\x32..monarchic.agent_protocol.v1.AgentRunnerPolicyB\x08\n\x06_notesB\x14\n\x12_selected_template\"\x9f\x04\n\x17\x43\x61mpaignPipelineTaskRef\x12\x0f\n\x07task_id\x18\x01 \x01(\t\x12\x15\n\rtask_artifact\x18\x02 \x01(\t\x12\x14\n\x07role_id\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x1b\n\x0etask_milestone\x18\x04 \x01(\tH\x01\x88\x01\x01\x12\x18\n\x0btask_format\x18\x05 \x01(\tH\x02\x88\x01\x01\x12\x12\n\ndepends_on\x18\x06 \x03(\t\x12\x13\n\x0brunner_args\x18\x07 \x03(\t\x12\x1d\n\x10interaction_mode\x18\x08 \x01(\tH\x03\x88\x01\x01\x12\x19\n\x0cnetwork_mode\x18\t \x01(\tH\x04\x88\x01\x01\x12\x1d\n\x15requires_human_review\x18\n \x01(\x08\x12Q\n\x11\x66ilesystem_policy\x18\x0b \x01(\x0b\x32\x36.monarchic.agent_protocol.v1.BootstrapFilesystemPolicy\x12K\n\x0frequired_skills\x18\x0c \x03(\x0b\x32\x32.monarchic.agent_protocol.v1.BootstrapSkillBinding\x12\x18\n\x10required_mcp_ids\x18\r \x03(\tB\n\n\x08_role_idB\x11\n\x0f_task_milestoneB\x0e\n\x0c_task_formatB\x13\n\x11_interaction_modeB\x0f\n\r_network_mode\"\xcd\x01\n\x1a\x43\x61mpaignPipelineConnection\x12\x14\n\x0c\x66rom_task_id\x18\x01 \x01(\t\x12\x12\n\nto_task_id\x18\x02 \x01(\t\x12I\n\x04kind\x18\x03 \x01(\x0e\x32;.monarchic.agent_protocol.v1.CampaignPipelineConnectionKind\x12\x10\n\x08required\x18\x04 \x01(\x08\x12\x18\n\x0b\x64\x65scription\x18\x05 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_description\"W\n\x14\x43\x61mpaignPipelineGate\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07\x63ommand\x18\x02 \x03(\t\x12\x14\n\x07workdir\x18\x03 \x01(\tH\x00\x88\x01\x01\x42\n\n\x08_workdir\"\x81\x01\n\x1a\x43\x61mpaignPipelineGatePolicy\x12\x18\n\x10require_standard\x18\x01 \x01(\x08\x12I\n\x0erequired_gates\x18\x02 \x03(\x0b\x32\x31.monarchic.agent_protocol.v1.CampaignPipelineGate\"\xe2\x03\n\x14\x43\x61mpaignPipelineSpec\x12\x18\n\x10\x63ontract_version\x18\x01 \x01(\t\x12\x13\n\x0bpipeline_id\x18\x02 \x01(\t\x12\x0f\n\x07version\x18\x03 \x01(\t\x12\x16\n\tobjective\x18\x04 \x01(\tH\x00\x88\x01\x01\x12\x18\n\x0bproject_key\x18\x05 \x01(\tH\x01\x88\x01\x01\x12\x19\n\x11\x63ontinue_on_error\x18\x06 \x01(\x08\x12Q\n\x0bgate_policy\x18\x07 \x01(\x0b\x32\x37.monarchic.agent_protocol.v1.CampaignPipelineGatePolicyH\x02\x88\x01\x01\x12)\n\x08metadata\x18\x08 \x01(\x0b\x32\x17.google.protobuf.Struct\x12L\n\x0b\x63onnections\x18\t \x03(\x0b\x32\x37.monarchic.agent_protocol.v1.CampaignPipelineConnection\x12\x43\n\x05tasks\x18\n \x03(\x0b\x32\x34.monarchic.agent_protocol.v1.CampaignPipelineTaskRefB\x0c\n\n_objectiveB\x0e\n\x0c_project_keyB\x0e\n\x0c_gate_policy\"O\n\x0eRoleProvenance\x12\x11\n\trole_name\x18\x01 \x01(\t\x12\x15\n\rtemplate_hash\x18\x02 \x01(\t\x12\x13\n\x0brender_hash\x18\x03 \x01(\t\"\xb8\x01\n\x0ePlanProvenance\x12\x14\n\x0cgenerated_by\x18\x01 \x01(\t\x12\x1b\n\x0epolicy_profile\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x17\n\x0fgenerated_at_ms\x18\x03 \x01(\x04\x12>\n\x04role\x18\x04 \x01(\x0b\x32+.monarchic.agent_protocol.v1.RoleProvenanceH\x01\x88\x01\x01\x42\x11\n\x0f_policy_profileB\x07\n\x05_role\"g\n\rFailureDetail\x12\r\n\x05\x63lass\x18\x01 \x01(\t\x12\x0c\n\x04\x63ode\x18\x02 \x01(\t\x12\x0f\n\x07message\x18\x03 \x01(\t\x12(\n\x07\x64\x65tails\x18\x04 \x01(\x0b\x32\x17.google.protobuf.Struct\"\xc8\x01\n\x12\x41rtifactDescriptor\x12\x13\n\x0b\x61rtifact_id\x18\x01 \x01(\t\x12\x37\n\x04kind\x18\x02 \x01(\x0e\x32).monarchic.agent_protocol.v1.ArtifactKind\x12\x0e\n\x06\x64igest\x18\x03 \x01(\t\x12\x12\n\nmedia_type\x18\x04 \x01(\t\x12\x14\n\x0clogical_name\x18\x05 \x01(\t\x12\x10\n\x08producer\x18\x06 \x01(\t\x12\x18\n\x10\x63ontract_version\x18\x07 \x01(\t\"\xf2\x01\n\x0e\x44igestManifest\x12\x18\n\x10\x63ontract_version\x18\x01 \x01(\t\x12\x13\n\x0bmanifest_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x0f\n\x07plan_id\x18\x04 \x01(\t\x12\x12\n\ncreated_at\x18\x05 \x01(\x04\x12\x17\n\x0f\x63ombined_digest\x18\x06 \x01(\t\x12\x14\n\x0c\x65vent_digest\x18\x07 \x01(\t\x12M\n\x14\x61rtifact_descriptors\x18\x08 \x03(\x0b\x32/.monarchic.agent_protocol.v1.ArtifactDescriptor\"b\n\x0cPrincipalRef\x12\x14\n\x0cprincipal_id\x18\x01 \x01(\t\x12\x10\n\x08provider\x18\x02 \x01(\t\x12\x19\n\x0c\x64isplay_name\x18\x03 \x01(\tH\x00\x88\x01\x01\x42\x0f\n\r_display_name\"J\n\tTenantRef\x12\x11\n\ttenant_id\x18\x01 \x01(\t\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x0f\n\r_display_name\"\xd7\x02\n\x0b\x41uthContext\x12\x18\n\x10\x63ontract_version\x18\x01 \x01(\t\x12\x17\n\x0f\x61uth_context_id\x18\x02 \x01(\t\x12<\n\tprincipal\x18\x03 \x01(\x0b\x32).monarchic.agent_protocol.v1.PrincipalRef\x12\x36\n\x06tenant\x18\x04 \x01(\x0b\x32&.monarchic.agent_protocol.v1.TenantRef\x12=\n\tmechanism\x18\x05 \x01(\x0e\x32*.monarchic.agent_protocol.v1.AuthMechanism\x12\x15\n\rcredential_id\x18\x06 \x01(\t\x12\x0e\n\x06scopes\x18\x07 \x03(\t\x12\x11\n\tissued_at\x18\x08 \x01(\x04\x12\x17\n\nexpires_at\x18\t \x01(\x04H\x00\x88\x01\x01\x42\r\n\x0b_expires_at\"\xa1\x03\n\x0bUsageRecord\x12\x18\n\x10\x63ontract_version\x18\x01 \x01(\t\x12\x10\n\x08usage_id\x18\x02 \x01(\t\x12<\n\tprincipal\x18\x03 \x01(\x0b\x32).monarchic.agent_protocol.v1.PrincipalRef\x12\x36\n\x06tenant\x18\x04 \x01(\x0b\x32&.monarchic.agent_protocol.v1.TenantRef\x12\x13\n\x06run_id\x18\x05 \x01(\tH\x00\x88\x01\x01\x12\x14\n\x07plan_id\x18\x06 \x01(\tH\x01\x88\x01\x01\x12<\n\x08\x63\x61tegory\x18\x07 \x01(\x0e\x32*.monarchic.agent_protocol.v1.UsageCategory\x12\x13\n\x0bmetric_name\x18\x08 \x01(\t\x12\x10\n\x08quantity\x18\t \x01(\x04\x12\x34\n\x04unit\x18\n \x01(\x0e\x32&.monarchic.agent_protocol.v1.UsageUnit\x12\x13\n\x0brecorded_at\x18\x0b \x01(\x04\x42\t\n\x07_run_idB\n\n\x08_plan_id\"\xd6\x02\n\x13\x41uditExportManifest\x12\x18\n\x10\x63ontract_version\x18\x01 \x01(\t\x12\x11\n\texport_id\x18\x02 \x01(\t\x12<\n\tprincipal\x18\x03 \x01(\x0b\x32).monarchic.agent_protocol.v1.PrincipalRef\x12\x36\n\x06tenant\x18\x04 \x01(\x0b\x32&.monarchic.agent_protocol.v1.TenantRef\x12\x0e\n\x06run_id\x18\x05 \x01(\t\x12\x0f\n\x07plan_id\x18\x06 \x01(\t\x12\x13\n\x0b\x65xported_at\x18\x07 \x01(\x04\x12\x17\n\x0f\x63ombined_digest\x18\x08 \x01(\t\x12M\n\x14\x61rtifact_descriptors\x18\t \x03(\x0b\x32/.monarchic.agent_protocol.v1.ArtifactDescriptor\"c\n\x0cReplanPolicy\x12=\n\x08strategy\x18\x01 \x01(\x0e\x32+.monarchic.agent_protocol.v1.ReplanStrategy\x12\x14\n\x0cmax_attempts\x18\x02 \x01(\r\"f\n\x15StepOutputExpectation\x12\x37\n\x04kind\x18\x01 \x01(\x0e\x32).monarchic.agent_protocol.v1.ArtifactKind\x12\x14\n\x0clogical_name\x18\x02 \x01(\t\"\xa9\x03\n\x08PlanStep\x12\x0f\n\x07step_id\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x12\n\ndepends_on\x18\x03 \x03(\t\x12.\n\rtask_template\x18\x04 \x01(\x0b\x32\x17.google.protobuf.Struct\x12@\n\x07\x66\x61ilure\x18\x05 \x01(\x0b\x32*.monarchic.agent_protocol.v1.FailureDetailH\x00\x88\x01\x01\x12\x14\n\x07task_id\x18\x06 \x01(\tH\x01\x88\x01\x01\x12\x37\n\x04kind\x18\x07 \x01(\x0e\x32).monarchic.agent_protocol.v1.PlanStepKind\x12\'\n\x06inputs\x18\x08 \x01(\x0b\x32\x17.google.protobuf.Struct\x12L\n\x10\x65xpected_outputs\x18\t \x03(\x0b\x32\x32.monarchic.agent_protocol.v1.StepOutputExpectation\x12\x13\n\x0bpolicy_tags\x18\n \x03(\tB\n\n\x08_failureB\n\n\x08_task_id\"\xb4\x04\n\x04Plan\x12\x18\n\x10\x63ontract_version\x18\x01 \x01(\t\x12\x0f\n\x07plan_id\x18\x02 \x01(\t\x12\x13\n\x06run_id\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x11\n\tobjective\x18\x04 \x01(\t\x12\x37\n\x06status\x18\x05 \x01(\x0e\x32\'.monarchic.agent_protocol.v1.PlanStatus\x12\x15\n\rcreated_at_ms\x18\x06 \x01(\x04\x12\x15\n\rupdated_at_ms\x18\x07 \x01(\x04\x12?\n\nprovenance\x18\x08 \x01(\x0b\x32+.monarchic.agent_protocol.v1.PlanProvenance\x12\x34\n\x05steps\x18\t \x03(\x0b\x32%.monarchic.agent_protocol.v1.PlanStep\x12\x16\n\tintent_id\x18\n \x01(\tH\x01\x88\x01\x01\x12\x19\n\x0cplan_version\x18\x0b \x01(\tH\x02\x88\x01\x01\x12\x1c\n\x0fplanner_version\x18\x0c \x01(\tH\x03\x88\x01\x01\x12@\n\rreplan_policy\x18\r \x01(\x0b\x32).monarchic.agent_protocol.v1.ReplanPolicy\x12\x19\n\x0cinput_digest\x18\x0e \x01(\tH\x04\x88\x01\x01\x42\t\n\x07_run_idB\x0c\n\n_intent_idB\x0f\n\r_plan_versionB\x12\n\x10_planner_versionB\x0f\n\r_input_digest\"\xa8\x03\n\x10\x45xecutionReceipt\x12\x18\n\x10\x63ontract_version\x18\x01 \x01(\t\x12\x0e\n\x06run_id\x18\x02 \x01(\t\x12\x0f\n\x07plan_id\x18\x03 \x01(\t\x12\x11\n\tplan_hash\x18\x04 \x01(\t\x12\x13\n\x0btask_hashes\x18\x05 \x03(\t\x12\x17\n\x0f\x61rtifact_hashes\x18\x06 \x03(\t\x12\x14\n\x0coutcome_hash\x18\x07 \x01(\t\x12\x37\n\x06status\x18\x08 \x01(\x0e\x32\'.monarchic.agent_protocol.v1.PlanStatus\x12@\n\x07\x66\x61ilure\x18\t \x01(\x0b\x32*.monarchic.agent_protocol.v1.FailureDetailH\x00\x88\x01\x01\x12\x17\n\x0fgenerated_at_ms\x18\n \x01(\x04\x12N\n\x0fresolved_runner\x18\x0b \x01(\x0b\x32\x30.monarchic.agent_protocol.v1.ResolvedAgentRunnerH\x01\x88\x01\x01\x42\n\n\x08_failureB\x12\n\x10_resolved_runner\"\xa0\x01\n\x11VerificationCheck\x12\x10\n\x08\x63heck_id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x44\n\x06status\x18\x03 \x01(\x0e\x32\x34.monarchic.agent_protocol.v1.VerificationCheckStatus\x12\x0f\n\x07message\x18\x04 \x01(\t\x12\x14\n\x0c\x61rtifact_ids\x18\x05 \x03(\t\"\xe7\x01\n\x0e\x42lockedOutcome\x12\x0c\n\x04\x63ode\x18\x01 \x01(\t\x12?\n\x05scope\x18\x02 \x01(\x0e\x32\x30.monarchic.agent_protocol.v1.BlockedOutcomeScope\x12\x0f\n\x07message\x18\x03 \x01(\t\x12(\n\x07\x64\x65tails\x18\x04 \x01(\x0b\x32\x17.google.protobuf.Struct\x12K\n\x12\x62locking_artifacts\x18\x05 \x03(\x0b\x32/.monarchic.agent_protocol.v1.ArtifactDescriptor\"\x9a\x03\n\x13VerificationReceipt\x12\x18\n\x10\x63ontract_version\x18\x01 \x01(\t\x12\x17\n\x0fverification_id\x18\x02 \x01(\t\x12\x0f\n\x07plan_id\x18\x03 \x01(\t\x12\x1d\n\x15\x65xecution_receipt_ids\x18\x04 \x03(\t\x12#\n\x1bverification_policy_version\x18\x05 \x01(\t\x12?\n\x06status\x18\x06 \x01(\x0e\x32/.monarchic.agent_protocol.v1.VerificationStatus\x12>\n\x06\x63hecks\x18\x07 \x03(\x0b\x32..monarchic.agent_protocol.v1.VerificationCheck\x12\x45\n\x10\x62locked_outcomes\x18\x08 \x03(\x0b\x32+.monarchic.agent_protocol.v1.BlockedOutcome\x12\x1b\n\x13\x61rtifact_digest_set\x18\t \x03(\t\x12\x16\n\x0everified_at_ms\x18\n \x01(\x04\"\xec\x01\n\x0eReviewDecision\x12\x13\n\x0b\x64\x65\x63ision_id\x18\x01 \x01(\t\x12\x0f\n\x07plan_id\x18\x02 \x01(\t\x12?\n\x05scope\x18\x03 \x01(\x0e\x32\x30.monarchic.agent_protocol.v1.ReviewDecisionScope\x12\r\n\x05\x61\x63tor\x18\x04 \x01(\t\x12@\n\x08\x64\x65\x63ision\x18\x05 \x01(\x0e\x32..monarchic.agent_protocol.v1.ReviewDisposition\x12\x0e\n\x06reason\x18\x06 \x01(\t\x12\x12\n\ncreated_at\x18\x07 \x01(\x04\"\xfa\x01\n\nRerunScope\x12\x10\n\x08scope_id\x18\x01 \x01(\t\x12\x0f\n\x07plan_id\x18\x02 \x01(\t\x12:\n\x07trigger\x18\x03 \x01(\x0e\x32).monarchic.agent_protocol.v1.RerunTrigger\x12\x0e\n\x06reason\x18\x04 \x01(\t\x12\x1f\n\x12source_decision_id\x18\x05 \x01(\tH\x00\x88\x01\x01\x12\x10\n\x08task_ids\x18\x06 \x03(\t\x12\x10\n\x08step_ids\x18\x07 \x03(\t\x12\r\n\x05paths\x18\x08 \x03(\t\x12\x12\n\ncreated_at\x18\t \x01(\x04\x42\x15\n\x13_source_decision_id\"\x99\x04\n\x14RerunExecutionResult\x12\x11\n\tresult_id\x18\x01 \x01(\t\x12\x0f\n\x07plan_id\x18\x02 \x01(\t\x12\x16\n\x0ererun_scope_id\x18\x03 \x01(\t\x12\x1f\n\x12source_decision_id\x18\x04 \x01(\tH\x00\x88\x01\x01\x12:\n\x07trigger\x18\x05 \x01(\x0e\x32).monarchic.agent_protocol.v1.RerunTrigger\x12M\n\x10matched_strategy\x18\x06 \x01(\x0e\x32\x33.monarchic.agent_protocol.v1.RerunSelectionStrategy\x12\x12\n\nroot_tasks\x18\x07 \x03(\t\x12\x16\n\x0eselected_tasks\x18\x08 \x03(\t\x12\x15\n\rmatched_paths\x18\t \x03(\t\x12\x0e\n\x06reason\x18\n \x01(\t\x12\x41\n\x06status\x18\x0b \x01(\x0e\x32\x31.monarchic.agent_protocol.v1.RerunExecutionStatus\x12\x17\n\x0f\x63ompleted_tasks\x18\x0c \x03(\t\x12\x14\n\x0c\x66\x61iled_tasks\x18\r \x03(\t\x12\x15\n\rskipped_tasks\x18\x0e \x03(\t\x12\x12\n\ncreated_at\x18\x0f \x01(\x04\x12\x12\n\nupdated_at\x18\x10 \x01(\x04\x42\x15\n\x13_source_decision_id\"\x81\x05\n\x10PrLifecycleState\x12\x10\n\x08state_id\x18\x01 \x01(\t\x12\x0f\n\x07plan_id\x18\x02 \x01(\t\x12\x16\n\tpr_number\x18\x03 \x01(\x04H\x00\x88\x01\x01\x12\x13\n\x06pr_url\x18\x04 \x01(\tH\x01\x88\x01\x01\x12I\n\x0freview_decision\x18\x05 \x01(\x0b\x32+.monarchic.agent_protocol.v1.ReviewDecisionH\x02\x88\x01\x01\x12\x41\n\x0brerun_scope\x18\x06 \x01(\x0b\x32\'.monarchic.agent_protocol.v1.RerunScopeH\x03\x88\x01\x01\x12L\n\x0crerun_result\x18\x07 \x01(\x0b\x32\x31.monarchic.agent_protocol.v1.RerunExecutionResultH\x04\x88\x01\x01\x12S\n\x14verification_receipt\x18\x08 \x01(\x0b\x32\x30.monarchic.agent_protocol.v1.VerificationReceiptH\x05\x88\x01\x01\x12\x13\n\x0bmerge_ready\x18\t \x01(\x08\x12\x15\n\rrelease_ready\x18\n \x01(\x08\x12\x45\n\x10\x62locked_outcomes\x18\x0b \x03(\x0b\x32+.monarchic.agent_protocol.v1.BlockedOutcome\x12\x12\n\nupdated_at\x18\x0c \x01(\x04\x42\x0c\n\n_pr_numberB\t\n\x07_pr_urlB\x12\n\x10_review_decisionB\x0e\n\x0c_rerun_scopeB\x0f\n\r_rerun_resultB\x17\n\x15_verification_receipt\"\xe1\x03\n\x04Task\x12\x0f\n\x07version\x18\x01 \x01(\t\x12\x0f\n\x07task_id\x18\x02 \x01(\t\x12\x34\n\x04role\x18\x03 \x01(\x0e\x32&.monarchic.agent_protocol.v1.AgentRole\x12\x0c\n\x04goal\x18\x04 \x01(\t\x12\'\n\x06inputs\x18\x05 \x01(\x0b\x32\x17.google.protobuf.Struct\x12,\n\x0b\x63onstraints\x18\x06 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x16\n\x0egates_required\x18\x07 \x03(\t\x12<\n\x0brun_context\x18\x08 \x01(\x0b\x32\'.monarchic.agent_protocol.v1.RunContext\x12+\n\nextensions\x18\t \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x44\n\x0f\x65xperiment_spec\x18\n \x01(\x0b\x32+.monarchic.agent_protocol.v1.ExperimentSpec\x12\x42\n\x0eobjective_spec\x18\x0b \x01(\x0b\x32*.monarchic.agent_protocol.v1.ObjectiveSpec\x12\x0f\n\x07role_id\x18\x0c \x01(\t\"\x9c\x03\n\x08\x41rtifact\x12\x0f\n\x07version\x18\x01 \x01(\t\x12\x13\n\x0b\x61rtifact_id\x18\x02 \x01(\t\x12\x0c\n\x04type\x18\x03 \x01(\t\x12\x0f\n\x07summary\x18\x04 \x01(\t\x12\x0c\n\x04path\x18\x05 \x01(\t\x12\x0f\n\x07task_id\x18\x06 \x01(\t\x12+\n\nextensions\x18\x07 \x01(\x0b\x32\x17.google.protobuf.Struct\x12;\n\nprovenance\x18\x08 \x01(\x0b\x32\'.monarchic.agent_protocol.v1.Provenance\x12=\n\x0c\x64\x61taset_refs\x18\t \x03(\x0b\x32\'.monarchic.agent_protocol.v1.DatasetRef\x12=\n\x0c\x65val_results\x18\n \x03(\x0b\x32\'.monarchic.agent_protocol.v1.EvalResult\x12\x44\n\x0f\x65xperiment_spec\x18\x0b \x01(\x0b\x32+.monarchic.agent_protocol.v1.ExperimentSpec\"\xed\x02\n\x05\x45vent\x12\x0f\n\x07version\x18\x01 \x01(\t\x12\x12\n\nevent_type\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\t\x12\x0f\n\x07task_id\x18\x04 \x01(\t\x12\x0e\n\x06status\x18\x05 \x01(\t\x12\x14\n\x07message\x18\x06 \x01(\tH\x00\x88\x01\x01\x12+\n\nextensions\x18\x07 \x01(\x0b\x32\x17.google.protobuf.Struct\x12;\n\nprovenance\x18\x08 \x01(\x0b\x32\'.monarchic.agent_protocol.v1.Provenance\x12=\n\x0c\x65val_results\x18\t \x03(\x0b\x32\'.monarchic.agent_protocol.v1.EvalResult\x12@\n\rfailure_class\x18\n \x01(\x0b\x32).monarchic.agent_protocol.v1.FailureClassB\n\n\x08_message\"\xe1\x02\n\x0eRunEventRecord\x12\x18\n\x10\x63ontract_version\x18\x01 \x01(\t\x12\x10\n\x08\x65vent_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x0f\n\x07plan_id\x18\x04 \x01(\t\x12\x10\n\x08sequence\x18\x05 \x01(\x04\x12;\n\x06stream\x18\x06 \x01(\x0e\x32+.monarchic.agent_protocol.v1.RunEventStream\x12\x13\n\x0brecorded_at\x18\x07 \x01(\x04\x12\x14\n\x07step_id\x18\x08 \x01(\tH\x00\x88\x01\x01\x12\x14\n\x07task_id\x18\t \x01(\tH\x01\x88\x01\x01\x12\x12\n\nevent_type\x18\n \x01(\t\x12\x0e\n\x06status\x18\x0b \x01(\t\x12\x14\n\x07message\x18\x0c \x01(\tH\x02\x88\x01\x01\x12\x14\n\x0c\x61rtifact_ids\x18\r \x03(\tB\n\n\x08_step_idB\n\n\x08_task_idB\n\n\x08_message\"\xb5\x03\n\x0bTaskMessage\x12\x0f\n\x07version\x18\x01 \x01(\t\x12\x12\n\nmessage_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x14\n\x0c\x66rom_task_id\x18\x04 \x01(\t\x12\x12\n\nto_task_id\x18\x05 \x01(\t\x12:\n\x04kind\x18\x06 \x01(\x0e\x32,.monarchic.agent_protocol.v1.TaskMessageKind\x12\x14\n\x07subject\x18\x07 \x01(\tH\x00\x88\x01\x01\x12\x11\n\x04\x62ody\x18\x08 \x01(\tH\x01\x88\x01\x01\x12\x15\n\rartifact_refs\x18\t \x03(\t\x12\x15\n\x08reply_to\x18\n \x01(\tH\x02\x88\x01\x01\x12\x12\n\ncreated_at\x18\x0b \x01(\t\x12\x14\n\x0crequires_ack\x18\x0c \x01(\x08\x12+\n\nextensions\x18\r \x01(\x0b\x32\x17.google.protobuf.Struct\x12;\n\nprovenance\x18\x0e \x01(\x0b\x32\'.monarchic.agent_protocol.v1.ProvenanceB\n\n\x08_subjectB\x07\n\x05_bodyB\x0b\n\t_reply_to\"\xc1\x01\n\x0eTaskMessageAck\x12\x0f\n\x07version\x18\x01 \x01(\t\x12\x12\n\nmessage_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x0f\n\x07task_id\x18\x04 \x01(\t\x12\x10\n\x08\x61\x63ked_at\x18\x05 \x01(\t\x12\x0e\n\x06status\x18\x06 \x01(\t\x12\x11\n\x04note\x18\x07 \x01(\tH\x00\x88\x01\x01\x12+\n\nextensions\x18\x08 \x01(\x0b\x32\x17.google.protobuf.StructB\x07\n\x05_note\"\xf5\x01\n\nGateResult\x12\x0f\n\x07version\x18\x01 \x01(\t\x12\x0c\n\x04gate\x18\x02 \x01(\t\x12\x0e\n\x06status\x18\x03 \x01(\t\x12\x13\n\x06reason\x18\x04 \x01(\tH\x00\x88\x01\x01\x12)\n\x08\x65vidence\x18\x05 \x01(\x0b\x32\x17.google.protobuf.Struct\x12+\n\nextensions\x18\x06 \x01(\x0b\x32\x17.google.protobuf.Struct\x12@\n\rfailure_class\x18\x07 \x01(\x0b\x32).monarchic.agent_protocol.v1.FailureClassB\t\n\x07_reason\"\x88\x06\n\nRunOutcome\x12\x0f\n\x07version\x18\x01 \x01(\t\x12\x0f\n\x07task_id\x18\x02 \x01(\t\x12\x13\n\x06run_id\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x1d\n\x10objective_metric\x18\x04 \x01(\tH\x01\x88\x01\x01\x12\x1c\n\x0fobjective_score\x18\x05 \x01(\x01H\x02\x88\x01\x01\x12H\n\x12objective_decision\x18\x06 \x01(\x0e\x32,.monarchic.agent_protocol.v1.OutcomeDecision\x12\x1f\n\x12\x65stimated_cost_usd\x18\x07 \x01(\x01H\x03\x88\x01\x01\x12\x1d\n\x10\x62udget_limit_usd\x18\x08 \x01(\x01H\x04\x88\x01\x01\x12\x43\n\rcost_decision\x18\t \x01(\x0e\x32,.monarchic.agent_protocol.v1.OutcomeDecision\x12\x17\n\nrisk_level\x18\n \x01(\tH\x05\x88\x01\x01\x12\x19\n\x0crisk_summary\x18\x0b \x01(\tH\x06\x88\x01\x01\x12\x43\n\rrisk_decision\x18\x0c \x01(\x0e\x32,.monarchic.agent_protocol.v1.OutcomeDecision\x12\x44\n\x0e\x66inal_decision\x18\r \x01(\x0e\x32,.monarchic.agent_protocol.v1.OutcomeDecision\x12\x14\n\x07summary\x18\x0e \x01(\tH\x07\x88\x01\x01\x12)\n\x08\x65vidence\x18\x0f \x01(\x0b\x32\x17.google.protobuf.Struct\x12+\n\nextensions\x18\x10 \x01(\x0b\x32\x17.google.protobuf.StructB\t\n\x07_run_idB\x13\n\x11_objective_metricB\x12\n\x10_objective_scoreB\x15\n\x13_estimated_cost_usdB\x13\n\x11_budget_limit_usdB\r\n\x0b_risk_levelB\x0f\n\r_risk_summaryB\n\n\x08_summary\"\x99\x01\n\nRunContext\x12\x0f\n\x07version\x18\x01 \x01(\t\x12\x0c\n\x04repo\x18\x02 \x01(\t\x12\x10\n\x08worktree\x18\x03 \x01(\t\x12\r\n\x05image\x18\x04 \x01(\t\x12\x0e\n\x06runner\x18\x05 \x01(\t\x12\x0e\n\x06labels\x18\x06 \x03(\t\x12+\n\nextensions\x18\x07 \x01(\x0b\x32\x17.google.protobuf.Struct\"\xb0\x03\n\x12RunnerCapabilities\x12\x10\n\x08platform\x18\x01 \x01(\t\x12\x0f\n\x07runtime\x18\x02 \x01(\t\x12?\n\x0fsupported_roles\x18\x03 \x03(\x0e\x32&.monarchic.agent_protocol.v1.AgentRole\x12\x1f\n\x17supported_task_versions\x18\x04 \x03(\t\x12\x0e\n\x06labels\x18\x05 \x03(\t\x12 \n\x18supports_interactive_pty\x18\x06 \x01(\x08\x12\x17\n\x0fsupports_resume\x18\x07 \x01(\x08\x12+\n\nextensions\x18\x08 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x1a\n\x12supported_role_ids\x18\t \x03(\t\x12\x18\n\x10supported_models\x18\n \x03(\t\x12#\n\x1bsupported_reasoning_efforts\x18\x0b \x03(\t\x12%\n\x1dsupported_runner_capabilities\x18\x0c \x03(\t\x12\x1b\n\x13supported_providers\x18\r \x03(\t\"v\n\x08LeaseRef\x12\x10\n\x08lease_id\x18\x01 \x01(\t\x12\x15\n\rfencing_token\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x0f\n\x07plan_id\x18\x04 \x01(\t\x12\x0f\n\x07step_id\x18\x05 \x01(\t\x12\x0f\n\x07task_id\x18\x06 \x01(\t\"\x7f\n\x0c\x46\x65ncingToken\x12\r\n\x05token\x18\x01 \x01(\t\x12\x14\n\x0cissued_at_ms\x18\x02 \x01(\x04\x12\x0e\n\x06issuer\x18\x03 \x01(\t\x12\r\n\x05scope\x18\x04 \x01(\t\x12+\n\nextensions\x18\x05 \x01(\x0b\x32\x17.google.protobuf.Struct\"\xe1\x02\n\x05Lease\x12\x10\n\x08lease_id\x18\x01 \x01(\t\x12\x0e\n\x06run_id\x18\x02 \x01(\t\x12\x0f\n\x07plan_id\x18\x03 \x01(\t\x12\x0f\n\x07step_id\x18\x04 \x01(\t\x12\x0f\n\x07task_id\x18\x05 \x01(\t\x12\x11\n\trunner_id\x18\x06 \x01(\t\x12\x12\n\nsession_id\x18\x07 \x01(\t\x12@\n\rfencing_token\x18\x08 \x01(\x0b\x32).monarchic.agent_protocol.v1.FencingToken\x12\x14\n\x0cissued_at_ms\x18\t \x01(\x04\x12\x15\n\rexpires_at_ms\x18\n \x01(\x04\x12@\n\x06status\x18\x0b \x01(\x0e\x32\x30.monarchic.agent_protocol.v1.LeaseLifecycleState\x12+\n\nextensions\x18\x0c \x01(\x0b\x32\x17.google.protobuf.Struct\"\xaf\x04\n\rRecoveryEvent\x12\x10\n\x08\x65vent_id\x18\x01 \x01(\t\x12\x0e\n\x06run_id\x18\x02 \x01(\t\x12\x0f\n\x07plan_id\x18\x03 \x01(\t\x12\x14\n\x07step_id\x18\x04 \x01(\tH\x00\x88\x01\x01\x12<\n\x04kind\x18\x05 \x01(\x0e\x32..monarchic.agent_protocol.v1.RecoveryEventKind\x12\x16\n\x0eoccurred_at_ms\x18\x06 \x01(\x04\x12\r\n\x05\x61\x63tor\x18\x07 \x01(\t\x12(\n\x07\x64\x65tails\x18\x08 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x18\n\x10\x63ontract_version\x18\t \x01(\t\x12\x46\n\trun_state\x18\n \x01(\x0e\x32..monarchic.agent_protocol.v1.RunLifecycleStateH\x01\x88\x01\x01\x12H\n\nstep_state\x18\x0b \x01(\x0e\x32/.monarchic.agent_protocol.v1.StepLifecycleStateH\x02\x88\x01\x01\x12V\n\x16lease_rejection_reason\x18\x0c \x01(\x0e\x32\x31.monarchic.agent_protocol.v1.LeaseRejectionReasonH\x03\x88\x01\x01\x42\n\n\x08_step_idB\x0c\n\n_run_stateB\r\n\x0b_step_stateB\x19\n\x17_lease_rejection_reason\"\xe4\x01\n\x0bLeaseStatus\x12\x34\n\x05lease\x18\x01 \x01(\x0b\x32%.monarchic.agent_protocol.v1.LeaseRef\x12\r\n\x05state\x18\x02 \x01(\t\x12\x15\n\rupdated_at_ms\x18\x03 \x01(\x04\x12@\n\x07\x66\x61ilure\x18\x04 \x01(\x0b\x32*.monarchic.agent_protocol.v1.FailureDetailH\x00\x88\x01\x01\x12+\n\nextensions\x18\x05 \x01(\x0b\x32\x17.google.protobuf.StructB\n\n\x08_failure\"\xaf\x01\n\x12\x43\x61ncellationIntent\x12\x34\n\x05lease\x18\x01 \x01(\x0b\x32%.monarchic.agent_protocol.v1.LeaseRef\x12\x0e\n\x06reason\x18\x02 \x01(\t\x12\x17\n\x0frequested_at_ms\x18\x03 \x01(\x04\x12\r\n\x05\x66orce\x18\x04 \x01(\x08\x12+\n\nextensions\x18\x05 \x01(\x0b\x32\x17.google.protobuf.Struct\"\xd1\x01\n\x0fLeaseAssignment\x12\x34\n\x05lease\x18\x01 \x01(\x0b\x32%.monarchic.agent_protocol.v1.LeaseRef\x12/\n\x04task\x18\x02 \x01(\x0b\x32!.monarchic.agent_protocol.v1.Task\x12\x14\n\x0cissued_at_ms\x18\x03 \x01(\x04\x12\x14\n\x0clease_ttl_ms\x18\x04 \x01(\x04\x12+\n\nextensions\x18\x05 \x01(\x0b\x32\x17.google.protobuf.Struct\"\xab\x02\n\x15RegisterRunnerRequest\x12\x18\n\x10\x63ontract_version\x18\x01 \x01(\t\x12\x11\n\trunner_id\x18\x02 \x01(\t\x12\x45\n\x0c\x63\x61pabilities\x18\x03 \x01(\x0b\x32/.monarchic.agent_protocol.v1.RunnerCapabilities\x12\x1b\n\x13max_parallel_leases\x18\x04 \x01(\r\x12+\n\nextensions\x18\x05 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x43\n\x0c\x61uth_context\x18\x06 \x01(\x0b\x32(.monarchic.agent_protocol.v1.AuthContextH\x00\x88\x01\x01\x42\x0f\n\r_auth_context\"\xcb\x01\n\x16RegisterRunnerResponse\x12\x18\n\x10\x63ontract_version\x18\x01 \x01(\t\x12\x17\n\x0forchestrator_id\x18\x02 \x01(\t\x12\x12\n\nsession_id\x18\x03 \x01(\t\x12\x1d\n\x15heartbeat_interval_ms\x18\x04 \x01(\x04\x12\x1e\n\x16lease_poll_interval_ms\x18\x05 \x01(\x04\x12+\n\nextensions\x18\x06 \x01(\x0b\x32\x17.google.protobuf.Struct\"\x97\x02\n\x10HeartbeatRequest\x12\x18\n\x10\x63ontract_version\x18\x01 \x01(\t\x12\x11\n\trunner_id\x18\x02 \x01(\t\x12\x12\n\nsession_id\x18\x03 \x01(\t\x12?\n\ractive_leases\x18\x04 \x03(\x0b\x32(.monarchic.agent_protocol.v1.LeaseStatus\x12+\n\nextensions\x18\x05 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x43\n\x0c\x61uth_context\x18\x06 \x01(\x0b\x32(.monarchic.agent_protocol.v1.AuthContextH\x00\x88\x01\x01\x42\x0f\n\r_auth_context\"\xd6\x01\n\x11HeartbeatResponse\x12\x18\n\x10\x63ontract_version\x18\x01 \x01(\t\x12\x17\n\x0forchestrator_id\x18\x02 \x01(\t\x12\x19\n\x11next_heartbeat_ms\x18\x03 \x01(\x04\x12\x46\n\rcancellations\x18\x04 \x03(\x0b\x32/.monarchic.agent_protocol.v1.CancellationIntent\x12+\n\nextensions\x18\x05 \x01(\x0b\x32\x17.google.protobuf.Struct\"\x8c\x02\n\x13\x41\x63quireLeaseRequest\x12\x18\n\x10\x63ontract_version\x18\x01 \x01(\t\x12\x11\n\trunner_id\x18\x02 \x01(\t\x12\x12\n\nsession_id\x18\x03 \x01(\t\x12\x17\n\x0f\x61vailable_slots\x18\x04 \x01(\r\x12\x18\n\x10\x61\x63tive_lease_ids\x18\x05 \x03(\t\x12+\n\nextensions\x18\x06 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x43\n\x0c\x61uth_context\x18\x07 \x01(\x0b\x32(.monarchic.agent_protocol.v1.AuthContextH\x00\x88\x01\x01\x42\x0f\n\r_auth_context\"\x98\x02\n\x14\x41\x63quireLeaseResponse\x12\x18\n\x10\x63ontract_version\x18\x01 \x01(\t\x12\x17\n\x0forchestrator_id\x18\x02 \x01(\t\x12@\n\nassignment\x18\x03 \x01(\x0b\x32,.monarchic.agent_protocol.v1.LeaseAssignment\x12\x16\n\x0eretry_after_ms\x18\x04 \x01(\x04\x12\x46\n\rcancellations\x18\x05 \x03(\x0b\x32/.monarchic.agent_protocol.v1.CancellationIntent\x12+\n\nextensions\x18\x06 \x01(\x0b\x32\x17.google.protobuf.Struct\"\x8d\x02\n\x11RenewLeaseRequest\x12\x18\n\x10\x63ontract_version\x18\x01 \x01(\t\x12\x11\n\trunner_id\x18\x02 \x01(\t\x12\x12\n\nsession_id\x18\x03 \x01(\t\x12\x34\n\x05lease\x18\x04 \x01(\x0b\x32%.monarchic.agent_protocol.v1.LeaseRef\x12+\n\nextensions\x18\x05 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x43\n\x0c\x61uth_context\x18\x06 \x01(\x0b\x32(.monarchic.agent_protocol.v1.AuthContextH\x00\x88\x01\x01\x42\x0f\n\r_auth_context\"\xb2\x02\n\x12RenewLeaseResponse\x12\x18\n\x10\x63ontract_version\x18\x01 \x01(\t\x12\x17\n\x0forchestrator_id\x18\x02 \x01(\t\x12\x10\n\x08\x61\x63\x63\x65pted\x18\x03 \x01(\x08\x12\x14\n\x0clease_ttl_ms\x18\x04 \x01(\x04\x12\x46\n\rcancellations\x18\x05 \x03(\x0b\x32/.monarchic.agent_protocol.v1.CancellationIntent\x12@\n\x07\x66\x61ilure\x18\x06 \x01(\x0b\x32*.monarchic.agent_protocol.v1.FailureDetailH\x00\x88\x01\x01\x12+\n\nextensions\x18\x07 \x01(\x0b\x32\x17.google.protobuf.StructB\n\n\x08_failure\"\x8e\x02\n\x12ResumeLeaseRequest\x12\x18\n\x10\x63ontract_version\x18\x01 \x01(\t\x12\x11\n\trunner_id\x18\x02 \x01(\t\x12\x12\n\nsession_id\x18\x03 \x01(\t\x12\x34\n\x05lease\x18\x04 \x01(\x0b\x32%.monarchic.agent_protocol.v1.LeaseRef\x12+\n\nextensions\x18\x05 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x43\n\x0c\x61uth_context\x18\x06 \x01(\x0b\x32(.monarchic.agent_protocol.v1.AuthContextH\x00\x88\x01\x01\x42\x0f\n\r_auth_context\"\xc4\x02\n\x13ResumeLeaseResponse\x12\x18\n\x10\x63ontract_version\x18\x01 \x01(\t\x12\x17\n\x0forchestrator_id\x18\x02 \x01(\t\x12\x10\n\x08\x61\x63\x63\x65pted\x18\x03 \x01(\x08\x12\x31\n\x05lease\x18\x04 \x01(\x0b\x32\".monarchic.agent_protocol.v1.Lease\x12\x15\n\rexpires_at_ms\x18\x05 \x01(\x04\x12\x1d\n\x15\x63urrent_fencing_token\x18\x06 \x01(\t\x12\x41\n\x06reason\x18\x07 \x01(\x0e\x32\x31.monarchic.agent_protocol.v1.LeaseRejectionReason\x12\x0f\n\x07message\x18\x08 \x01(\t\x12+\n\nextensions\x18\t \x01(\x0b\x32\x17.google.protobuf.Struct\"\xa8\x02\n\x18ReportStepStartedRequest\x12\x18\n\x10\x63ontract_version\x18\x01 \x01(\t\x12\x11\n\trunner_id\x18\x02 \x01(\t\x12\x12\n\nsession_id\x18\x03 \x01(\t\x12\x34\n\x05lease\x18\x04 \x01(\x0b\x32%.monarchic.agent_protocol.v1.LeaseRef\x12\x12\n\nstarted_at\x18\x05 \x01(\t\x12+\n\nextensions\x18\x06 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x43\n\x0c\x61uth_context\x18\x07 \x01(\x0b\x32(.monarchic.agent_protocol.v1.AuthContextH\x00\x88\x01\x01\x42\x0f\n\r_auth_context\"\xdb\x01\n\x19ReportStepStartedResponse\x12\x18\n\x10\x63ontract_version\x18\x01 \x01(\t\x12\x17\n\x0forchestrator_id\x18\x02 \x01(\t\x12\x10\n\x08\x61\x63\x63\x65pted\x18\x03 \x01(\x08\x12@\n\x07\x66\x61ilure\x18\x04 \x01(\x0b\x32*.monarchic.agent_protocol.v1.FailureDetailH\x00\x88\x01\x01\x12+\n\nextensions\x18\x05 \x01(\x0b\x32\x17.google.protobuf.StructB\n\n\x08_failure\"\x83\x03\n\x19ReportStepProgressRequest\x12\x18\n\x10\x63ontract_version\x18\x01 \x01(\t\x12\x11\n\trunner_id\x18\x02 \x01(\t\x12\x12\n\nsession_id\x18\x03 \x01(\t\x12\x34\n\x05lease\x18\x04 \x01(\x0b\x32%.monarchic.agent_protocol.v1.LeaseRef\x12\x32\n\x06\x65vents\x18\x05 \x03(\x0b\x32\".monarchic.agent_protocol.v1.Event\x12\x38\n\tartifacts\x18\x06 \x03(\x0b\x32%.monarchic.agent_protocol.v1.Artifact\x12+\n\nextensions\x18\x07 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x43\n\x0c\x61uth_context\x18\x08 \x01(\x0b\x32(.monarchic.agent_protocol.v1.AuthContextH\x00\x88\x01\x01\x42\x0f\n\r_auth_context\"\xa4\x02\n\x1aReportStepProgressResponse\x12\x18\n\x10\x63ontract_version\x18\x01 \x01(\t\x12\x17\n\x0forchestrator_id\x18\x02 \x01(\t\x12\x10\n\x08\x61\x63\x63\x65pted\x18\x03 \x01(\x08\x12\x46\n\rcancellations\x18\x04 \x03(\x0b\x32/.monarchic.agent_protocol.v1.CancellationIntent\x12@\n\x07\x66\x61ilure\x18\x05 \x01(\x0b\x32*.monarchic.agent_protocol.v1.FailureDetailH\x00\x88\x01\x01\x12+\n\nextensions\x18\x06 \x01(\x0b\x32\x17.google.protobuf.StructB\n\n\x08_failure\"\xf1\x04\n\x18ReportStepOutcomeRequest\x12\x18\n\x10\x63ontract_version\x18\x01 \x01(\t\x12\x11\n\trunner_id\x18\x02 \x01(\t\x12\x12\n\nsession_id\x18\x03 \x01(\t\x12\x34\n\x05lease\x18\x04 \x01(\x0b\x32%.monarchic.agent_protocol.v1.LeaseRef\x12\x37\n\x06status\x18\x05 \x01(\x0e\x32\'.monarchic.agent_protocol.v1.PlanStatus\x12\x32\n\x06\x65vents\x18\x06 \x03(\x0b\x32\".monarchic.agent_protocol.v1.Event\x12\x38\n\tartifacts\x18\x07 \x03(\x0b\x32%.monarchic.agent_protocol.v1.Artifact\x12\x41\n\x0brun_outcome\x18\x08 \x01(\x0b\x32\'.monarchic.agent_protocol.v1.RunOutcomeH\x00\x88\x01\x01\x12@\n\x07\x66\x61ilure\x18\t \x01(\x0b\x32*.monarchic.agent_protocol.v1.FailureDetailH\x01\x88\x01\x01\x12\x13\n\x0b\x66inished_at\x18\n \x01(\t\x12+\n\nextensions\x18\x0b \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x43\n\x0c\x61uth_context\x18\x0c \x01(\x0b\x32(.monarchic.agent_protocol.v1.AuthContextH\x02\x88\x01\x01\x42\x0e\n\x0c_run_outcomeB\n\n\x08_failureB\x0f\n\r_auth_context\"\xdb\x01\n\x19ReportStepOutcomeResponse\x12\x18\n\x10\x63ontract_version\x18\x01 \x01(\t\x12\x17\n\x0forchestrator_id\x18\x02 \x01(\t\x12\x10\n\x08\x61\x63\x63\x65pted\x18\x03 \x01(\x08\x12@\n\x07\x66\x61ilure\x18\x04 \x01(\x0b\x32*.monarchic.agent_protocol.v1.FailureDetailH\x00\x88\x01\x01\x12+\n\nextensions\x18\x05 \x01(\x0b\x32\x17.google.protobuf.StructB\n\n\x08_failure\"\xc4\x02\n\x16\x41\x63kCancellationRequest\x12\x18\n\x10\x63ontract_version\x18\x01 \x01(\t\x12\x11\n\trunner_id\x18\x02 \x01(\t\x12\x12\n\nsession_id\x18\x03 \x01(\t\x12\x34\n\x05lease\x18\x04 \x01(\x0b\x32%.monarchic.agent_protocol.v1.LeaseRef\x12\x0e\n\x06status\x18\x05 \x01(\t\x12\x14\n\x07message\x18\x06 \x01(\tH\x00\x88\x01\x01\x12+\n\nextensions\x18\x07 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x43\n\x0c\x61uth_context\x18\x08 \x01(\x0b\x32(.monarchic.agent_protocol.v1.AuthContextH\x01\x88\x01\x01\x42\n\n\x08_messageB\x0f\n\r_auth_context\"\xd9\x01\n\x17\x41\x63kCancellationResponse\x12\x18\n\x10\x63ontract_version\x18\x01 \x01(\t\x12\x17\n\x0forchestrator_id\x18\x02 \x01(\t\x12\x10\n\x08\x61\x63\x63\x65pted\x18\x03 \x01(\x08\x12@\n\x07\x66\x61ilure\x18\x04 \x01(\x0b\x32*.monarchic.agent_protocol.v1.FailureDetailH\x00\x88\x01\x01\x12+\n\nextensions\x18\x05 \x01(\x0b\x32\x17.google.protobuf.StructB\n\n\x08_failure\"\x8d\x01\n\x11\x43ontrolPlaneScope\x12\x19\n\x0corganization\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x11\n\x04user\x18\x02 \x01(\tH\x01\x88\x01\x01\x12\x1c\n\x0f\x64\x65\x66\x61ult_project\x18\x03 \x01(\tH\x02\x88\x01\x01\x42\x0f\n\r_organizationB\x07\n\x05_userB\x12\n\x10_default_project\"\xab\x01\n\x12RunOperatorSignals\x12\x15\n\rprompt_needed\x18\x01 \x01(\x08\x12\x1b\n\x0eprompt_summary\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x17\n\x0fpause_requested\x18\x03 \x01(\x08\x12\x1b\n\x13interrupt_requested\x18\x04 \x01(\x08\x12\x18\n\x10\x63\x61ncel_requested\x18\x05 \x01(\x08\x42\x11\n\x0f_prompt_summary\"\xaa\x06\n\x16\x43ontrolPlaneRunSummary\x12\x13\n\x0bproject_key\x18\x01 \x01(\t\x12\x0e\n\x06run_id\x18\x02 \x01(\t\x12\x14\n\x07run_dir\x18\x03 \x01(\tH\x00\x88\x01\x01\x12L\n\x0flifecycle_state\x18\x04 \x01(\x0e\x32..monarchic.agent_protocol.v1.RunLifecycleStateH\x01\x88\x01\x01\x12\x0e\n\x06status\x18\x05 \x01(\t\x12\x1a\n\rupdated_label\x18\x06 \x01(\tH\x02\x88\x01\x01\x12\x1a\n\rupdated_epoch\x18\x07 \x01(\x04H\x03\x88\x01\x01\x12\x1e\n\x11meaningful_status\x18\x08 \x01(\tH\x04\x88\x01\x01\x12\x1d\n\x10meaningful_score\x18\t \x01(\x01H\x05\x88\x01\x01\x12\x1a\n\x12meaningful_reasons\x18\n \x03(\t\x12\x17\n\ntotal_runs\x18\x0b \x01(\x04H\x06\x88\x01\x01\x12\x1a\n\rtotal_success\x18\x0c \x01(\x04H\x07\x88\x01\x01\x12\x19\n\x0ctotal_failed\x18\r \x01(\x04H\x08\x88\x01\x01\x12\x1a\n\rmessage_count\x18\x0e \x01(\x04H\t\x88\x01\x01\x12*\n\x1dunresolved_required_ack_count\x18\x0f \x01(\x04H\n\x88\x01\x01\x12\x13\n\x0b\x61lert_stale\x18\x10 \x01(\x08\x12\x17\n\x0f\x61lert_low_score\x18\x11 \x01(\x08\x12I\n\x10operator_signals\x18\x12 \x01(\x0b\x32/.monarchic.agent_protocol.v1.RunOperatorSignalsB\n\n\x08_run_dirB\x12\n\x10_lifecycle_stateB\x10\n\x0e_updated_labelB\x10\n\x0e_updated_epochB\x14\n\x12_meaningful_statusB\x13\n\x11_meaningful_scoreB\r\n\x0b_total_runsB\x10\n\x0e_total_successB\x0f\n\r_total_failedB\x10\n\x0e_message_countB \n\x1e_unresolved_required_ack_count\"{\n\x1d\x43ontrolPlaneRunActivityCursor\x12\x1b\n\x0e\x61\x66ter_sequence\x18\x01 \x01(\x04H\x00\x88\x01\x01\x12\x19\n\x0cresume_token\x18\x02 \x01(\tH\x01\x88\x01\x01\x42\x11\n\x0f_after_sequenceB\x0f\n\r_resume_token\"\xc1\x02\n\x1bListControlPlaneRunsRequest\x12\x18\n\x10\x63ontract_version\x18\x01 \x01(\t\x12=\n\x05scope\x18\x02 \x01(\x0b\x32..monarchic.agent_protocol.v1.ControlPlaneScope\x12\x18\n\x0bproject_key\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x12\n\x05limit\x18\x04 \x01(\rH\x01\x88\x01\x01\x12+\n\nextensions\x18\x05 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x43\n\x0c\x61uth_context\x18\x06 \x01(\x0b\x32(.monarchic.agent_protocol.v1.AuthContextH\x02\x88\x01\x01\x42\x0e\n\x0c_project_keyB\x08\n\x06_limitB\x0f\n\r_auth_context\"\xa8\x01\n\x1cListControlPlaneRunsResponse\x12\x18\n\x10\x63ontract_version\x18\x01 \x01(\t\x12\x41\n\x04runs\x18\x02 \x03(\x0b\x32\x33.monarchic.agent_protocol.v1.ControlPlaneRunSummary\x12+\n\nextensions\x18\x03 \x01(\x0b\x32\x17.google.protobuf.Struct\"\xb1\x02\n\x19GetControlPlaneRunRequest\x12\x18\n\x10\x63ontract_version\x18\x01 \x01(\t\x12=\n\x05scope\x18\x02 \x01(\x0b\x32..monarchic.agent_protocol.v1.ControlPlaneScope\x12\x18\n\x0bproject_key\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x0e\n\x06run_id\x18\x04 \x01(\t\x12+\n\nextensions\x18\x05 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x43\n\x0c\x61uth_context\x18\x06 \x01(\x0b\x32(.monarchic.agent_protocol.v1.AuthContextH\x01\x88\x01\x01\x42\x0e\n\x0c_project_keyB\x0f\n\r_auth_context\"\xa5\x01\n\x1aGetControlPlaneRunResponse\x12\x18\n\x10\x63ontract_version\x18\x01 \x01(\t\x12@\n\x03run\x18\x02 \x01(\x0b\x32\x33.monarchic.agent_protocol.v1.ControlPlaneRunSummary\x12+\n\nextensions\x18\x03 \x01(\x0b\x32\x17.google.protobuf.Struct\"\xa7\x03\n%GetControlPlaneRunActivityPageRequest\x12\x18\n\x10\x63ontract_version\x18\x01 \x01(\t\x12=\n\x05scope\x18\x02 \x01(\x0b\x32..monarchic.agent_protocol.v1.ControlPlaneScope\x12\x18\n\x0bproject_key\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x0e\n\x06run_id\x18\x04 \x01(\t\x12\x12\n\x05limit\x18\x05 \x01(\rH\x01\x88\x01\x01\x12J\n\x06\x63ursor\x18\x06 \x01(\x0b\x32:.monarchic.agent_protocol.v1.ControlPlaneRunActivityCursor\x12+\n\nextensions\x18\x07 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x43\n\x0c\x61uth_context\x18\x08 \x01(\x0b\x32(.monarchic.agent_protocol.v1.AuthContextH\x02\x88\x01\x01\x42\x0e\n\x0c_project_keyB\x08\n\x06_limitB\x0f\n\r_auth_context\"\xfe\x01\n&GetControlPlaneRunActivityPageResponse\x12\x18\n\x10\x63ontract_version\x18\x01 \x01(\t\x12<\n\x07records\x18\x02 \x03(\x0b\x32+.monarchic.agent_protocol.v1.RunEventRecord\x12O\n\x0bnext_cursor\x18\x03 \x01(\x0b\x32:.monarchic.agent_protocol.v1.ControlPlaneRunActivityCursor\x12+\n\nextensions\x18\x04 \x01(\x0b\x32\x17.google.protobuf.Struct\"\xf3\x02\n!ApplyControlPlaneRunActionRequest\x12\x18\n\x10\x63ontract_version\x18\x01 \x01(\t\x12=\n\x05scope\x18\x02 \x01(\x0b\x32..monarchic.agent_protocol.v1.ControlPlaneScope\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x42\n\x06\x61\x63tion\x18\x04 \x01(\x0e\x32\x32.monarchic.agent_protocol.v1.ControlPlaneRunAction\x12\x13\n\x06reason\x18\x05 \x01(\tH\x00\x88\x01\x01\x12+\n\nextensions\x18\x06 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x43\n\x0c\x61uth_context\x18\x07 \x01(\x0b\x32(.monarchic.agent_protocol.v1.AuthContextH\x01\x88\x01\x01\x42\t\n\x07_reasonB\x0f\n\r_auth_context\"\xd5\x02\n\"ApplyControlPlaneRunActionResponse\x12\x18\n\x10\x63ontract_version\x18\x01 \x01(\t\x12\x0e\n\x06run_id\x18\x02 \x01(\t\x12\x42\n\x06\x61\x63tion\x18\x03 \x01(\x0e\x32\x32.monarchic.agent_protocol.v1.ControlPlaneRunAction\x12\x10\n\x08\x61\x63\x63\x65pted\x18\x04 \x01(\x08\x12L\n\x0flifecycle_state\x18\x05 \x01(\x0e\x32..monarchic.agent_protocol.v1.RunLifecycleStateH\x00\x88\x01\x01\x12\x14\n\x07message\x18\x06 \x01(\tH\x01\x88\x01\x01\x12+\n\nextensions\x18\x07 \x01(\x0b\x32\x17.google.protobuf.StructB\x12\n\x10_lifecycle_stateB\n\n\x08_message\"\x9f\x03\n)ApplyControlPlaneReviewDispositionRequest\x12\x18\n\x10\x63ontract_version\x18\x01 \x01(\t\x12=\n\x05scope\x18\x02 \x01(\x0b\x32..monarchic.agent_protocol.v1.ControlPlaneScope\x12\x13\n\x0bproject_key\x18\x03 \x01(\t\x12\x14\n\x07plan_id\x18\x04 \x01(\tH\x00\x88\x01\x01\x12\r\n\x05\x61\x63tor\x18\x05 \x01(\t\x12@\n\x08\x64\x65\x63ision\x18\x06 \x01(\x0e\x32..monarchic.agent_protocol.v1.ReviewDisposition\x12\x0e\n\x06reason\x18\x07 \x01(\t\x12+\n\nextensions\x18\x08 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x43\n\x0c\x61uth_context\x18\t \x01(\x0b\x32(.monarchic.agent_protocol.v1.AuthContextH\x01\x88\x01\x01\x42\n\n\x08_plan_idB\x0f\n\r_auth_context\"\xa4\x03\n*ApplyControlPlaneReviewDispositionResponse\x12\x18\n\x10\x63ontract_version\x18\x01 \x01(\t\x12\x13\n\x0bproject_key\x18\x02 \x01(\t\x12\x14\n\x07plan_id\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x10\n\x08\x61\x63\x63\x65pted\x18\x04 \x01(\x08\x12I\n\x0freview_decision\x18\x05 \x01(\x0b\x32+.monarchic.agent_protocol.v1.ReviewDecisionH\x01\x88\x01\x01\x12N\n\x12pr_lifecycle_state\x18\x06 \x01(\x0b\x32-.monarchic.agent_protocol.v1.PrLifecycleStateH\x02\x88\x01\x01\x12\x14\n\x07message\x18\x07 \x01(\tH\x03\x88\x01\x01\x12+\n\nextensions\x18\x08 \x01(\x0b\x32\x17.google.protobuf.StructB\n\n\x08_plan_idB\x12\n\x10_review_decisionB\x15\n\x13_pr_lifecycle_stateB\n\n\x08_message\"\x92\x02\n\x1f\x45nsureControlPlaneWorkerRequest\x12\x18\n\x10\x63ontract_version\x18\x01 \x01(\t\x12=\n\x05scope\x18\x02 \x01(\x0b\x32..monarchic.agent_protocol.v1.ControlPlaneScope\x12\x13\n\x0bproject_key\x18\x03 \x01(\t\x12+\n\nextensions\x18\x04 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x43\n\x0c\x61uth_context\x18\x05 \x01(\x0b\x32(.monarchic.agent_protocol.v1.AuthContextH\x00\x88\x01\x01\x42\x0f\n\r_auth_context\"\xd8\x01\n EnsureControlPlaneWorkerResponse\x12\x18\n\x10\x63ontract_version\x18\x01 \x01(\t\x12\x13\n\x0bproject_key\x18\x02 \x01(\t\x12\x10\n\x08\x61\x63\x63\x65pted\x18\x03 \x01(\x08\x12\x16\n\tworker_id\x18\x04 \x01(\tH\x00\x88\x01\x01\x12\x14\n\x07message\x18\x05 \x01(\tH\x01\x88\x01\x01\x12+\n\nextensions\x18\x06 \x01(\x0b\x32\x17.google.protobuf.StructB\x0c\n\n_worker_idB\n\n\x08_message*\xb6\x01\n\tAgentRole\x12\x1a\n\x16\x41GENT_ROLE_UNSPECIFIED\x10\x00\x12\x11\n\rPRODUCT_OWNER\x10\x01\x12\x13\n\x0fPROJECT_MANAGER\x10\x02\x12\x07\n\x03\x44\x45V\x10\x03\x12\x06\n\x02QA\x10\x04\x12\x0c\n\x08REVIEWER\x10\x05\x12\x0c\n\x08SECURITY\x10\x06\x12\x07\n\x03OPS\x10\x07\x12\r\n\tPUBLISHER\x10\x08\x12\x0e\n\nRESEARCHER\x10\t\x12\x10\n\x0cVERIFICATION\x10\n*f\n\x0fOutcomeDecision\x12 \n\x1cOUTCOME_DECISION_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43\x43\x45PT\x10\x01\x12\x0b\n\x07ITERATE\x10\x02\x12\n\n\x06REJECT\x10\x03\x12\x0c\n\x08\x45SCALATE\x10\x04*\x93\x01\n\x0bIntentClass\x12\x1c\n\x18INTENT_CLASS_UNSPECIFIED\x10\x00\x12\x18\n\x14INTENT_CLASS_INSPECT\x10\x01\x12\x19\n\x15INTENT_CLASS_VALIDATE\x10\x02\x12\x18\n\x14INTENT_CLASS_EXECUTE\x10\x03\x12\x17\n\x13INTENT_CLASS_VERIFY\x10\x04*\xa7\x01\n\x15\x42ootstrapPlanningMode\x12\'\n#BOOTSTRAP_PLANNING_MODE_UNSPECIFIED\x10\x00\x12\x30\n,BOOTSTRAP_PLANNING_MODE_DIRECT_TEMPLATE_FILL\x10\x01\x12\x33\n/BOOTSTRAP_PLANNING_MODE_BOUNDED_RESEARCH_REPLAN\x10\x02*\xcc\x02\n\x1e\x43\x61mpaignPipelineConnectionKind\x12\x31\n-CAMPAIGN_PIPELINE_CONNECTION_KIND_UNSPECIFIED\x10\x00\x12\x30\n,CAMPAIGN_PIPELINE_CONNECTION_KIND_DEPENDS_ON\x10\x01\x12-\n)CAMPAIGN_PIPELINE_CONNECTION_KIND_HANDOFF\x10\x02\x12,\n(CAMPAIGN_PIPELINE_CONNECTION_KIND_REVIEW\x10\x03\x12\x33\n/CAMPAIGN_PIPELINE_CONNECTION_KIND_MESSAGE_ROUTE\x10\x04\x12\x33\n/CAMPAIGN_PIPELINE_CONNECTION_KIND_ARTIFACT_FLOW\x10\x05*\x93\x01\n\nPlanStatus\x12\x1b\n\x17PLAN_STATUS_UNSPECIFIED\x10\x00\x12\t\n\x05\x44RAFT\x10\x01\x12\x0b\n\x07PLANNED\x10\x02\x12\r\n\tEXECUTING\x10\x03\x12\x0c\n\x08\x43OMPLETE\x10\x04\x12\x0b\n\x07\x42OUNDED\x10\x05\x12\n\n\x06\x46\x41ILED\x10\x06\x12\r\n\tCANCELLED\x10\x07\x12\x0b\n\x07UNKNOWN\x10\x08*\xfd\x02\n\x0c\x41rtifactKind\x12\x1d\n\x19\x41RTIFACT_KIND_UNSPECIFIED\x10\x00\x12\x16\n\x12\x41RTIFACT_KIND_PLAN\x10\x01\x12#\n\x1f\x41RTIFACT_KIND_EXECUTION_RECEIPT\x10\x02\x12&\n\"ARTIFACT_KIND_VERIFICATION_RECEIPT\x10\x03\x12\x1b\n\x17\x41RTIFACT_KIND_EVENT_LOG\x10\x04\x12!\n\x1d\x41RTIFACT_KIND_DIGEST_MANIFEST\x10\x05\x12 \n\x1c\x41RTIFACT_KIND_PROOF_MANIFEST\x10\x06\x12\x17\n\x13\x41RTIFACT_KIND_PATCH\x10\x07\x12\x1d\n\x19\x41RTIFACT_KIND_TEST_REPORT\x10\x08\x12\x1b\n\x17\x41RTIFACT_KIND_BUILD_LOG\x10\t\x12\x18\n\x14\x41RTIFACT_KIND_BUNDLE\x10\n\x12\x18\n\x14\x41RTIFACT_KIND_CUSTOM\x10\x0b*\xcd\x01\n\rAuthMechanism\x12\x1e\n\x1a\x41UTH_MECHANISM_UNSPECIFIED\x10\x00\x12 \n\x1c\x41UTH_MECHANISM_SHARED_SECRET\x10\x01\x12\x1f\n\x1b\x41UTH_MECHANISM_BEARER_TOKEN\x10\x02\x12\x1f\n\x1b\x41UTH_MECHANISM_SIGNED_TOKEN\x10\x03\x12\x1d\n\x19\x41UTH_MECHANISM_MUTUAL_TLS\x10\x04\x12\x19\n\x15\x41UTH_MECHANISM_CUSTOM\x10\x05*\xcc\x01\n\rUsageCategory\x12\x1e\n\x1aUSAGE_CATEGORY_UNSPECIFIED\x10\x00\x12 \n\x1cUSAGE_CATEGORY_CONTROL_PLANE\x10\x01\x12\x1c\n\x18USAGE_CATEGORY_EXECUTION\x10\x02\x12\x1f\n\x1bUSAGE_CATEGORY_VERIFICATION\x10\x03\x12\x1f\n\x1bUSAGE_CATEGORY_AUDIT_EXPORT\x10\x04\x12\x19\n\x15USAGE_CATEGORY_CUSTOM\x10\x05*\xb6\x01\n\tUsageUnit\x12\x1a\n\x16USAGE_UNIT_UNSPECIFIED\x10\x00\x12\x17\n\x13USAGE_UNIT_REQUESTS\x10\x01\x12\x1b\n\x17USAGE_UNIT_MILLISECONDS\x10\x02\x12\x14\n\x10USAGE_UNIT_BYTES\x10\x03\x12\x15\n\x11USAGE_UNIT_TOKENS\x10\x04\x12\x13\n\x0fUSAGE_UNIT_RUNS\x10\x05\x12\x15\n\x11USAGE_UNIT_CUSTOM\x10\x06*\xf6\x01\n\x0cPlanStepKind\x12\x1e\n\x1aPLAN_STEP_KIND_UNSPECIFIED\x10\x00\x12\x1b\n\x17PLAN_STEP_KIND_ANALYSIS\x10\x01\x12\x1c\n\x18PLAN_STEP_KIND_EXECUTION\x10\x02\x12\x1f\n\x1bPLAN_STEP_KIND_VERIFICATION\x10\x03\x12\x19\n\x15PLAN_STEP_KIND_REVIEW\x10\x04\x12\x18\n\x14PLAN_STEP_KIND_MERGE\x10\x05\x12\x1a\n\x16PLAN_STEP_KIND_RELEASE\x10\x06\x12\x19\n\x15PLAN_STEP_KIND_CUSTOM\x10\x07*\xa1\x01\n\x0eReplanStrategy\x12\x1f\n\x1bREPLAN_STRATEGY_UNSPECIFIED\x10\x00\x12\x19\n\x15REPLAN_STRATEGY_RETRY\x10\x01\x12\x1a\n\x16REPLAN_STRATEGY_REPAIR\x10\x02\x12\x1c\n\x18REPLAN_STRATEGY_ESCALATE\x10\x03\x12\x19\n\x15REPLAN_STRATEGY_BLOCK\x10\x04*\xbb\x01\n\x12VerificationStatus\x12#\n\x1fVERIFICATION_STATUS_UNSPECIFIED\x10\x00\x12\x1f\n\x1bVERIFICATION_STATUS_PENDING\x10\x01\x12\x1e\n\x1aVERIFICATION_STATUS_PASSED\x10\x02\x12\x1e\n\x1aVERIFICATION_STATUS_FAILED\x10\x03\x12\x1f\n\x1bVERIFICATION_STATUS_BLOCKED\x10\x04*\xde\x01\n\x17VerificationCheckStatus\x12)\n%VERIFICATION_CHECK_STATUS_UNSPECIFIED\x10\x00\x12$\n VERIFICATION_CHECK_STATUS_PASSED\x10\x01\x12$\n VERIFICATION_CHECK_STATUS_FAILED\x10\x02\x12%\n!VERIFICATION_CHECK_STATUS_BLOCKED\x10\x03\x12%\n!VERIFICATION_CHECK_STATUS_SKIPPED\x10\x04*\xa9\x02\n\x13\x42lockedOutcomeScope\x12%\n!BLOCKED_OUTCOME_SCOPE_UNSPECIFIED\x10\x00\x12 \n\x1c\x42LOCKED_OUTCOME_SCOPE_INTENT\x10\x01\x12\x1e\n\x1a\x42LOCKED_OUTCOME_SCOPE_PLAN\x10\x02\x12\x1e\n\x1a\x42LOCKED_OUTCOME_SCOPE_STEP\x10\x03\x12\x1d\n\x19\x42LOCKED_OUTCOME_SCOPE_RUN\x10\x04\x12&\n\"BLOCKED_OUTCOME_SCOPE_VERIFICATION\x10\x05\x12\x1f\n\x1b\x42LOCKED_OUTCOME_SCOPE_MERGE\x10\x06\x12!\n\x1d\x42LOCKED_OUTCOME_SCOPE_RELEASE\x10\x07*\xef\x01\n\x13ReviewDecisionScope\x12%\n!REVIEW_DECISION_SCOPE_UNSPECIFIED\x10\x00\x12\x1e\n\x1aREVIEW_DECISION_SCOPE_PLAN\x10\x01\x12\x1e\n\x1aREVIEW_DECISION_SCOPE_STEP\x10\x02\x12&\n\"REVIEW_DECISION_SCOPE_PULL_REQUEST\x10\x03\x12&\n\"REVIEW_DECISION_SCOPE_VERIFICATION\x10\x04\x12!\n\x1dREVIEW_DECISION_SCOPE_RELEASE\x10\x05*\xbc\x01\n\x11ReviewDisposition\x12\"\n\x1eREVIEW_DISPOSITION_UNSPECIFIED\x10\x00\x12\x1e\n\x1aREVIEW_DISPOSITION_APPROVE\x10\x01\x12&\n\"REVIEW_DISPOSITION_REQUEST_CHANGES\x10\x02\x12\x1d\n\x19REVIEW_DISPOSITION_REJECT\x10\x03\x12\x1c\n\x18REVIEW_DISPOSITION_DEFER\x10\x04*j\n\x0cRerunTrigger\x12\x1d\n\x19RERUN_TRIGGER_UNSPECIFIED\x10\x00\x12!\n\x1dRERUN_TRIGGER_REVIEW_DECISION\x10\x01\x12\x18\n\x14RERUN_TRIGGER_MANUAL\x10\x02*\xb4\x01\n\x16RerunSelectionStrategy\x12(\n$RERUN_SELECTION_STRATEGY_UNSPECIFIED\x10\x00\x12%\n!RERUN_SELECTION_STRATEGY_TASK_IDS\x10\x01\x12%\n!RERUN_SELECTION_STRATEGY_STEP_IDS\x10\x02\x12\"\n\x1eRERUN_SELECTION_STRATEGY_PATHS\x10\x03*\xcf\x01\n\x14RerunExecutionStatus\x12&\n\"RERUN_EXECUTION_STATUS_UNSPECIFIED\x10\x00\x12\"\n\x1eRERUN_EXECUTION_STATUS_PENDING\x10\x01\x12$\n RERUN_EXECUTION_STATUS_SUCCEEDED\x10\x02\x12!\n\x1dRERUN_EXECUTION_STATUS_FAILED\x10\x03\x12\"\n\x1eRERUN_EXECUTION_STATUS_PARTIAL\x10\x04*\xee\x01\n\x0eRunEventStream\x12 \n\x1cRUN_EVENT_STREAM_UNSPECIFIED\x10\x00\x12\x1e\n\x1aRUN_EVENT_STREAM_EXECUTION\x10\x01\x12\x1d\n\x19RUN_EVENT_STREAM_RECOVERY\x10\x02\x12\x1b\n\x17RUN_EVENT_STREAM_REVIEW\x10\x03\x12!\n\x1dRUN_EVENT_STREAM_VERIFICATION\x10\x04\x12\x1e\n\x1aRUN_EVENT_STREAM_LIFECYCLE\x10\x05\x12\x1b\n\x17RUN_EVENT_STREAM_CUSTOM\x10\x06*\xb5\x01\n\x0fTaskMessageKind\x12!\n\x1dTASK_MESSAGE_KIND_UNSPECIFIED\x10\x00\x12$\n TASK_MESSAGE_KIND_ARTIFACT_READY\x10\x01\x12+\n\'TASK_MESSAGE_KIND_CLARIFICATION_REQUEST\x10\x02\x12,\n(TASK_MESSAGE_KIND_CLARIFICATION_RESPONSE\x10\x03*\xb0\x01\n\x13LeaseLifecycleState\x12%\n!LEASE_LIFECYCLE_STATE_UNSPECIFIED\x10\x00\x12\x10\n\x0cLEASE_ISSUED\x10\x01\x12\x10\n\x0cLEASE_ACTIVE\x10\x02\x12\x12\n\x0eLEASE_RELEASED\x10\x03\x12\x11\n\rLEASE_EXPIRED\x10\x04\x12\x13\n\x0fLEASE_CANCELLED\x10\x05\x12\x12\n\x0eLEASE_REJECTED\x10\x06*\xc6\x01\n\x11RunLifecycleState\x12#\n\x1fRUN_LIFECYCLE_STATE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bRUN_PENDING\x10\x01\x12\x11\n\rRUN_EXECUTING\x10\x02\x12\x0e\n\nRUN_PAUSED\x10\x03\x12\x12\n\x0eRUN_CANCELLING\x10\x04\x12\x11\n\rRUN_CANCELLED\x10\x05\x12\x0e\n\nRUN_FAILED\x10\x06\x12\x10\n\x0cRUN_COMPLETE\x10\x07\x12\x0f\n\x0bRUN_BLOCKED\x10\x08*\xc9\x01\n\x12StepLifecycleState\x12$\n STEP_LIFECYCLE_STATE_UNSPECIFIED\x10\x00\x12\x10\n\x0cSTEP_PENDING\x10\x01\x12\x0e\n\nSTEP_READY\x10\x02\x12\x0f\n\x0bSTEP_LEASED\x10\x03\x12\x10\n\x0cSTEP_RUNNING\x10\x04\x12\x11\n\rSTEP_COMPLETE\x10\x05\x12\x0f\n\x0bSTEP_FAILED\x10\x06\x12\x12\n\x0eSTEP_CANCELLED\x10\x07\x12\x10\n\x0cSTEP_BLOCKED\x10\x08*\xee\x02\n\x14LeaseRejectionReason\x12&\n\"LEASE_REJECTION_REASON_UNSPECIFIED\x10\x00\x12\'\n#LEASE_REJECTION_STALE_FENCING_TOKEN\x10\x01\x12\x1b\n\x17LEASE_REJECTION_EXPIRED\x10\x02\x12$\n LEASE_REJECTION_SESSION_MISMATCH\x10\x03\x12!\n\x1dLEASE_REJECTION_UNKNOWN_LEASE\x10\x04\x12)\n%LEASE_REJECTION_STEP_ALREADY_TERMINAL\x10\x05\x12&\n\"LEASE_REJECTION_RUN_NOT_EXECUTABLE\x10\x06\x12&\n\"LEASE_REJECTION_DEPENDENCY_BLOCKED\x10\x07\x12$\n LEASE_REJECTION_LEASE_SUPERSEDED\x10\x08*\x88\x03\n\x11RecoveryEventKind\x12#\n\x1fRECOVERY_EVENT_KIND_UNSPECIFIED\x10\x00\x12\'\n#RECOVERY_EVENT_ORCHESTRATOR_STARTED\x10\x01\x12!\n\x1dRECOVERY_EVENT_STATE_RELOADED\x10\x02\x12!\n\x1dRECOVERY_EVENT_LEASE_RESTORED\x10\x03\x12!\n\x1dRECOVERY_EVENT_LEASE_REJECTED\x10\x04\x12 \n\x1cRECOVERY_EVENT_STEP_REQUEUED\x10\x05\x12\x1f\n\x1bRECOVERY_EVENT_STEP_BLOCKED\x10\x06\x12 \n\x1cRECOVERY_EVENT_RUN_RECOVERED\x10\x07\x12)\n%RECOVERY_EVENT_CANCELLATION_REQUESTED\x10\x08\x12,\n(RECOVERY_EVENT_CANCELLATION_ACKNOWLEDGED\x10\t*\xd7\x01\n\x15\x43ontrolPlaneRunAction\x12(\n$CONTROL_PLANE_RUN_ACTION_UNSPECIFIED\x10\x00\x12\"\n\x1e\x43ONTROL_PLANE_RUN_ACTION_PAUSE\x10\x01\x12#\n\x1f\x43ONTROL_PLANE_RUN_ACTION_RESUME\x10\x02\x12&\n\"CONTROL_PLANE_RUN_ACTION_INTERRUPT\x10\x03\x12#\n\x1f\x43ONTROL_PLANE_RUN_ACTION_CANCEL\x10\x04\x32\xe3\x08\n\x14RunnerControlService\x12y\n\x0eRegisterRunner\x12\x32.monarchic.agent_protocol.v1.RegisterRunnerRequest\x1a\x33.monarchic.agent_protocol.v1.RegisterRunnerResponse\x12j\n\tHeartbeat\x12-.monarchic.agent_protocol.v1.HeartbeatRequest\x1a..monarchic.agent_protocol.v1.HeartbeatResponse\x12s\n\x0c\x41\x63quireLease\x12\x30.monarchic.agent_protocol.v1.AcquireLeaseRequest\x1a\x31.monarchic.agent_protocol.v1.AcquireLeaseResponse\x12m\n\nRenewLease\x12..monarchic.agent_protocol.v1.RenewLeaseRequest\x1a/.monarchic.agent_protocol.v1.RenewLeaseResponse\x12p\n\x0bResumeLease\x12/.monarchic.agent_protocol.v1.ResumeLeaseRequest\x1a\x30.monarchic.agent_protocol.v1.ResumeLeaseResponse\x12\x82\x01\n\x11ReportStepStarted\x12\x35.monarchic.agent_protocol.v1.ReportStepStartedRequest\x1a\x36.monarchic.agent_protocol.v1.ReportStepStartedResponse\x12\x85\x01\n\x12ReportStepProgress\x12\x36.monarchic.agent_protocol.v1.ReportStepProgressRequest\x1a\x37.monarchic.agent_protocol.v1.ReportStepProgressResponse\x12\x82\x01\n\x11ReportStepOutcome\x12\x35.monarchic.agent_protocol.v1.ReportStepOutcomeRequest\x1a\x36.monarchic.agent_protocol.v1.ReportStepOutcomeResponse\x12|\n\x0f\x41\x63kCancellation\x12\x33.monarchic.agent_protocol.v1.AckCancellationRequest\x1a\x34.monarchic.agent_protocol.v1.AckCancellationResponse2\x80\x07\n\x14\x43lientControlService\x12\x7f\n\x08ListRuns\x12\x38.monarchic.agent_protocol.v1.ListControlPlaneRunsRequest\x1a\x39.monarchic.agent_protocol.v1.ListControlPlaneRunsResponse\x12y\n\x06GetRun\x12\x36.monarchic.agent_protocol.v1.GetControlPlaneRunRequest\x1a\x37.monarchic.agent_protocol.v1.GetControlPlaneRunResponse\x12\x9d\x01\n\x12GetRunActivityPage\x12\x42.monarchic.agent_protocol.v1.GetControlPlaneRunActivityPageRequest\x1a\x43.monarchic.agent_protocol.v1.GetControlPlaneRunActivityPageResponse\x12\x91\x01\n\x0e\x41pplyRunAction\x12>.monarchic.agent_protocol.v1.ApplyControlPlaneRunActionRequest\x1a?.monarchic.agent_protocol.v1.ApplyControlPlaneRunActionResponse\x12\xa9\x01\n\x16\x41pplyReviewDisposition\x12\x46.monarchic.agent_protocol.v1.ApplyControlPlaneReviewDispositionRequest\x1aG.monarchic.agent_protocol.v1.ApplyControlPlaneReviewDispositionResponse\x12\x8b\x01\n\x0c\x45nsureWorker\x12<.monarchic.agent_protocol.v1.EnsureControlPlaneWorkerRequest\x1a=.monarchic.agent_protocol.v1.EnsureControlPlaneWorkerResponseB\x88\x02\n\x1e\x61i.monarchic.agent_protocol.v1B\x18MonarchicAgentProtocolV1P\x01Zdgithub.com/monarchic-ai/monarchic-agent-protocol/src/go/monarchic/agent_protocol/v1;agent_protocolv1\xa2\x02\x03MAP\xaa\x02\x1aMonarchic.AgentProtocol.V1\xca\x02\x1aMonarchic\\AgentProtocol\\V1\xe2\x02#Monarchic\\AgentProtocol\\V1\\Metadatab\x06proto3"
11
11
 
12
12
  pool = ::Google::Protobuf::DescriptorPool.generated_pool
13
13
  pool.add_serialized_file(descriptor_data)
@@ -18,18 +18,132 @@ module Monarchic
18
18
  DatasetRef = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.DatasetRef").msgclass
19
19
  AcceptanceCriteria = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.AcceptanceCriteria").msgclass
20
20
  ExperimentSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.ExperimentSpec").msgclass
21
- DeliveryContract = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.DeliveryContract").msgclass
22
21
  ObjectiveSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.ObjectiveSpec").msgclass
23
22
  EvalResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.EvalResult").msgclass
23
+ FailureClass = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.FailureClass").msgclass
24
24
  Provenance = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.Provenance").msgclass
25
+ Intent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.Intent").msgclass
26
+ BootstrapIntent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.BootstrapIntent").msgclass
27
+ AgentRunnerPreference = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.AgentRunnerPreference").msgclass
28
+ AgentRunnerPolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.AgentRunnerPolicy").msgclass
29
+ AgentProfile = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.AgentProfile").msgclass
30
+ ResolvedAgentRunner = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.ResolvedAgentRunner").msgclass
31
+ BootstrapPlanTask = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.BootstrapPlanTask").msgclass
32
+ BootstrapPlan = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.BootstrapPlan").msgclass
33
+ BootstrapFilesystemPolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.BootstrapFilesystemPolicy").msgclass
34
+ BootstrapSkillBinding = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.BootstrapSkillBinding").msgclass
35
+ BootstrapTemplateSlotContext = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.BootstrapTemplateSlotContext").msgclass
36
+ BootstrapTemplateConnectionContext = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.BootstrapTemplateConnectionContext").msgclass
37
+ BootstrapTemplateLaneContext = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.BootstrapTemplateLaneContext").msgclass
38
+ BootstrapTemplateContext = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.BootstrapTemplateContext").msgclass
39
+ AgentCommand = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.AgentCommand").msgclass
40
+ BootstrapPlanningContext = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.BootstrapPlanningContext").msgclass
41
+ CampaignPipelineTaskRef = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.CampaignPipelineTaskRef").msgclass
42
+ CampaignPipelineConnection = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.CampaignPipelineConnection").msgclass
43
+ CampaignPipelineGate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.CampaignPipelineGate").msgclass
44
+ CampaignPipelineGatePolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.CampaignPipelineGatePolicy").msgclass
45
+ CampaignPipelineSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.CampaignPipelineSpec").msgclass
46
+ RoleProvenance = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.RoleProvenance").msgclass
47
+ PlanProvenance = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.PlanProvenance").msgclass
48
+ FailureDetail = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.FailureDetail").msgclass
49
+ ArtifactDescriptor = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.ArtifactDescriptor").msgclass
50
+ DigestManifest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.DigestManifest").msgclass
51
+ PrincipalRef = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.PrincipalRef").msgclass
52
+ TenantRef = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.TenantRef").msgclass
53
+ AuthContext = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.AuthContext").msgclass
54
+ UsageRecord = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.UsageRecord").msgclass
55
+ AuditExportManifest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.AuditExportManifest").msgclass
56
+ ReplanPolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.ReplanPolicy").msgclass
57
+ StepOutputExpectation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.StepOutputExpectation").msgclass
58
+ PlanStep = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.PlanStep").msgclass
59
+ Plan = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.Plan").msgclass
60
+ ExecutionReceipt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.ExecutionReceipt").msgclass
61
+ VerificationCheck = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.VerificationCheck").msgclass
62
+ BlockedOutcome = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.BlockedOutcome").msgclass
63
+ VerificationReceipt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.VerificationReceipt").msgclass
64
+ ReviewDecision = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.ReviewDecision").msgclass
65
+ RerunScope = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.RerunScope").msgclass
66
+ RerunExecutionResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.RerunExecutionResult").msgclass
67
+ PrLifecycleState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.PrLifecycleState").msgclass
25
68
  Task = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.Task").msgclass
26
69
  Artifact = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.Artifact").msgclass
27
70
  Event = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.Event").msgclass
71
+ RunEventRecord = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.RunEventRecord").msgclass
72
+ TaskMessage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.TaskMessage").msgclass
73
+ TaskMessageAck = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.TaskMessageAck").msgclass
28
74
  GateResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.GateResult").msgclass
29
75
  RunOutcome = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.RunOutcome").msgclass
30
76
  RunContext = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.RunContext").msgclass
77
+ RunnerCapabilities = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.RunnerCapabilities").msgclass
78
+ LeaseRef = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.LeaseRef").msgclass
79
+ FencingToken = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.FencingToken").msgclass
80
+ Lease = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.Lease").msgclass
81
+ RecoveryEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.RecoveryEvent").msgclass
82
+ LeaseStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.LeaseStatus").msgclass
83
+ CancellationIntent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.CancellationIntent").msgclass
84
+ LeaseAssignment = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.LeaseAssignment").msgclass
85
+ RegisterRunnerRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.RegisterRunnerRequest").msgclass
86
+ RegisterRunnerResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.RegisterRunnerResponse").msgclass
87
+ HeartbeatRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.HeartbeatRequest").msgclass
88
+ HeartbeatResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.HeartbeatResponse").msgclass
89
+ AcquireLeaseRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.AcquireLeaseRequest").msgclass
90
+ AcquireLeaseResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.AcquireLeaseResponse").msgclass
91
+ RenewLeaseRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.RenewLeaseRequest").msgclass
92
+ RenewLeaseResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.RenewLeaseResponse").msgclass
93
+ ResumeLeaseRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.ResumeLeaseRequest").msgclass
94
+ ResumeLeaseResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.ResumeLeaseResponse").msgclass
95
+ ReportStepStartedRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.ReportStepStartedRequest").msgclass
96
+ ReportStepStartedResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.ReportStepStartedResponse").msgclass
97
+ ReportStepProgressRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.ReportStepProgressRequest").msgclass
98
+ ReportStepProgressResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.ReportStepProgressResponse").msgclass
99
+ ReportStepOutcomeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.ReportStepOutcomeRequest").msgclass
100
+ ReportStepOutcomeResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.ReportStepOutcomeResponse").msgclass
101
+ AckCancellationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.AckCancellationRequest").msgclass
102
+ AckCancellationResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.AckCancellationResponse").msgclass
103
+ ControlPlaneScope = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.ControlPlaneScope").msgclass
104
+ RunOperatorSignals = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.RunOperatorSignals").msgclass
105
+ ControlPlaneRunSummary = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.ControlPlaneRunSummary").msgclass
106
+ ControlPlaneRunActivityCursor = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.ControlPlaneRunActivityCursor").msgclass
107
+ ListControlPlaneRunsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.ListControlPlaneRunsRequest").msgclass
108
+ ListControlPlaneRunsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.ListControlPlaneRunsResponse").msgclass
109
+ GetControlPlaneRunRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.GetControlPlaneRunRequest").msgclass
110
+ GetControlPlaneRunResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.GetControlPlaneRunResponse").msgclass
111
+ GetControlPlaneRunActivityPageRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.GetControlPlaneRunActivityPageRequest").msgclass
112
+ GetControlPlaneRunActivityPageResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.GetControlPlaneRunActivityPageResponse").msgclass
113
+ ApplyControlPlaneRunActionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.ApplyControlPlaneRunActionRequest").msgclass
114
+ ApplyControlPlaneRunActionResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.ApplyControlPlaneRunActionResponse").msgclass
115
+ ApplyControlPlaneReviewDispositionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.ApplyControlPlaneReviewDispositionRequest").msgclass
116
+ ApplyControlPlaneReviewDispositionResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.ApplyControlPlaneReviewDispositionResponse").msgclass
117
+ EnsureControlPlaneWorkerRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.EnsureControlPlaneWorkerRequest").msgclass
118
+ EnsureControlPlaneWorkerResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.EnsureControlPlaneWorkerResponse").msgclass
31
119
  AgentRole = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.AgentRole").enummodule
32
120
  OutcomeDecision = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.OutcomeDecision").enummodule
121
+ IntentClass = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.IntentClass").enummodule
122
+ BootstrapPlanningMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.BootstrapPlanningMode").enummodule
123
+ CampaignPipelineConnectionKind = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.CampaignPipelineConnectionKind").enummodule
124
+ PlanStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.PlanStatus").enummodule
125
+ ArtifactKind = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.ArtifactKind").enummodule
126
+ AuthMechanism = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.AuthMechanism").enummodule
127
+ UsageCategory = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.UsageCategory").enummodule
128
+ UsageUnit = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.UsageUnit").enummodule
129
+ PlanStepKind = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.PlanStepKind").enummodule
130
+ ReplanStrategy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.ReplanStrategy").enummodule
131
+ VerificationStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.VerificationStatus").enummodule
132
+ VerificationCheckStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.VerificationCheckStatus").enummodule
133
+ BlockedOutcomeScope = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.BlockedOutcomeScope").enummodule
134
+ ReviewDecisionScope = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.ReviewDecisionScope").enummodule
135
+ ReviewDisposition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.ReviewDisposition").enummodule
136
+ RerunTrigger = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.RerunTrigger").enummodule
137
+ RerunSelectionStrategy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.RerunSelectionStrategy").enummodule
138
+ RerunExecutionStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.RerunExecutionStatus").enummodule
139
+ RunEventStream = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.RunEventStream").enummodule
140
+ TaskMessageKind = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.TaskMessageKind").enummodule
141
+ LeaseLifecycleState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.LeaseLifecycleState").enummodule
142
+ RunLifecycleState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.RunLifecycleState").enummodule
143
+ StepLifecycleState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.StepLifecycleState").enummodule
144
+ LeaseRejectionReason = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.LeaseRejectionReason").enummodule
145
+ RecoveryEventKind = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.RecoveryEventKind").enummodule
146
+ ControlPlaneRunAction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("monarchic.agent_protocol.v1.ControlPlaneRunAction").enummodule
33
147
  end
34
148
  end
35
149
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: monarchic-agent-protocol
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.15
4
+ version: 0.1.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Monarchic AI
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-02-26 00:00:00.000000000 Z
11
+ date: 2026-07-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-protobuf
@@ -41,14 +41,27 @@ files:
41
41
  - schemas/v1/agent_role.json
42
42
  - schemas/v1/artifact.json
43
43
  - schemas/v1/dataset_ref.json
44
- - schemas/v1/delivery_contract.json
45
44
  - schemas/v1/eval_result.json
46
45
  - schemas/v1/event.json
46
+ - schemas/v1/execution_receipt.json
47
47
  - schemas/v1/experiment_spec.json
48
+ - schemas/v1/failure_class.json
49
+ - schemas/v1/failure_detail.json
48
50
  - schemas/v1/gate_result.json
51
+ - schemas/v1/google.protobuf.Struct.schema.json
52
+ - schemas/v1/monarchic.agent_protocol.v1.DatasetRef.schema.json
53
+ - schemas/v1/monarchic.agent_protocol.v1.EvalResult.schema.json
54
+ - schemas/v1/monarchic.agent_protocol.v1.ExperimentSpec.schema.json
55
+ - schemas/v1/monarchic.agent_protocol.v1.ObjectiveSpec.schema.json
56
+ - schemas/v1/monarchic.agent_protocol.v1.RunContext.schema.json
49
57
  - schemas/v1/monarchic_agent_protocol.proto
50
58
  - schemas/v1/objective_spec.json
59
+ - schemas/v1/plan.json
60
+ - schemas/v1/plan_provenance.json
61
+ - schemas/v1/plan_status.json
62
+ - schemas/v1/plan_step.json
51
63
  - schemas/v1/provenance.json
64
+ - schemas/v1/role_provenance.json
52
65
  - schemas/v1/run_context.json
53
66
  - schemas/v1/run_outcome.json
54
67
  - schemas/v1/schema.json
@@ -1,78 +0,0 @@
1
- {
2
- "$id": "https://monarchic.ai/schema/v1/delivery_contract.json",
3
- "$schema": "https://json-schema.org/draft/2020-12/schema",
4
- "title": "DeliveryContract",
5
- "type": "object",
6
- "additionalProperties": true,
7
- "required": [
8
- "objective",
9
- "definition_of_done",
10
- "required_checks",
11
- "risk_tier"
12
- ],
13
- "properties": {
14
- "objective": {
15
- "type": "string",
16
- "minLength": 1
17
- },
18
- "definition_of_done": {
19
- "type": "array",
20
- "minItems": 1,
21
- "items": {
22
- "type": "string",
23
- "minLength": 1
24
- }
25
- },
26
- "required_checks": {
27
- "type": "array",
28
- "minItems": 1,
29
- "items": {
30
- "type": "string",
31
- "minLength": 1
32
- }
33
- },
34
- "risk_tier": {
35
- "type": "string",
36
- "enum": [
37
- "low",
38
- "medium",
39
- "high",
40
- "critical"
41
- ]
42
- },
43
- "max_cycle_minutes": {
44
- "type": "integer",
45
- "minimum": 1
46
- },
47
- "max_agent_turns": {
48
- "type": "integer",
49
- "minimum": 1
50
- },
51
- "pr_strategy": {
52
- "type": "string",
53
- "enum": [
54
- "single",
55
- "stacked",
56
- "incremental"
57
- ]
58
- },
59
- "review_policy": {
60
- "type": "string",
61
- "enum": [
62
- "auto",
63
- "human_required"
64
- ]
65
- },
66
- "rollback_strategy": {
67
- "type": "string",
68
- "enum": [
69
- "revert_commit",
70
- "revert_pr",
71
- "manual"
72
- ]
73
- },
74
- "notes": {
75
- "type": "string"
76
- }
77
- }
78
- }