{"profile_id":"uaix.next-recursive-prompt.v1","title":"UAIX Next Recursive Prompt v1","summary":"Derived hot-memory resume artifact for code-bearing UAIX packages. Authoritative .uai records win on conflict. This record is not a second source of truth and does not authorize execution.","current_release":"UAI-1","schema":{"$schema":"https:\/\/json-schema.org\/draft\/2020-12\/schema","$id":"https:\/\/uaix.org\/schemas\/uaix.next-recursive-prompt.v1.schema.json","title":"UAIX Next Recursive Prompt v1","description":"Derived hot-memory resume artifact for code-bearing UAIX packages. Authoritative .uai records win on conflict. This record is not a second source of truth and does not authorize execution.","type":"object","additionalProperties":true,"required":["uai_version","profile","schema_version","scope","lifecycle","activation_policy","objective","authoritative_refs","resume_context","next_loop","checks","writeback_policy","security","cold_memory","integrity","provenance"],"properties":{"uai_version":{"const":"1.0"},"profile":{"const":"uaix.next-recursive-prompt.v1"},"schema_version":{"type":"integer","const":1},"scope":{"type":"object","additionalProperties":true,"required":["scope_id","scope_path","local_uai_root","code_scope","scope_basis","requirement_rule"],"properties":{"scope_id":{"type":"string"},"scope_path":{"type":"string"},"local_uai_root":{"const":".uai\/"},"code_scope":{"type":"boolean"},"scope_basis":{"type":"array","items":{"type":"string","enum":["code","automation","executable-workflow","code-like-artifact"]},"uniqueItems":true},"requirement_rule":{"type":"string","const":"Required for agents that deal with code, automation, executable workflows, or code-like artifacts: next-recursive-prompt.uai."},"out_of_scope_rule":{"type":"string","const":"Out of scope for agents with no code, automation, executable workflow, or code-like artifacts: next-recursive-prompt.uai."}}},"lifecycle":{"type":"object","additionalProperties":true,"required":["status","generation_status","validity_boundary","attempt","supersedes_checksum"],"properties":{"status":{"type":"string"},"generation_status":{"type":"string"},"validity_boundary":{"type":"string"},"attempt":{"type":"integer","minimum":1},"supersedes_checksum":{"type":"string"}}},"activation_policy":{"type":"object","additionalProperties":true,"required":["activation_rule","relevance_review_rule","intake_precedence_rule","current_instruction_rule","regeneration_rule","next_prompt_visibility_rule"],"properties":{"activation_rule":{"type":"string"},"relevance_review_rule":{"type":"string"},"intake_precedence_rule":{"type":"string"},"current_instruction_rule":{"type":"string"},"regeneration_rule":{"type":"string"},"non_activation_examples":{"type":"array","items":{"type":"string"}},"next_prompt_visibility_rule":{"type":"string","description":"Requires final reports to show a detailed suggested next prompt to the human for review, editing, or keep-going continuation."}}},"objective":{"type":"object","additionalProperties":true,"required":["task_id","summary","priority","done_criteria"],"properties":{"task_id":{"type":"string"},"summary":{"type":"string"},"priority":{"type":"string"},"done_criteria":{"type":"array","items":{"type":"string"}}}},"authoritative_refs":{"type":"object","additionalProperties":{"type":"string"}},"resume_context":{"type":"object","additionalProperties":true,"required":["current_truth_summary","recent_changes","active_blockers","why_now"],"properties":{"current_truth_summary":{"type":"array","items":{"type":"string"}},"recent_changes":{"type":"array","items":{"type":"string"}},"active_blockers":{"type":"array","items":{"type":"string"}},"why_now":{"type":"string"}}},"next_loop":{"type":"object","additionalProperties":true,"required":["mode","first_response_contract","ordered_steps","if_blocked","final_response_contract"],"properties":{"mode":{"type":"string"},"first_response_contract":{"type":"object","additionalProperties":true},"ordered_steps":{"type":"array","items":{"type":"string"}},"if_blocked":{"type":"object","additionalProperties":true},"final_response_contract":{"type":"object","additionalProperties":true,"required":["must_include"],"properties":{"must_include":{"type":"array","items":{"type":"string"}}}}}},"checks":{"type":"object","additionalProperties":true,"required":["required","out_of_scope_for_this_scope","last_known_results"]},"writeback_policy":{"type":"object","additionalProperties":true,"required":["must_update_before_success","update_decisions_if_changed","never_copy_into_hot_files"]},"security":{"type":"object","additionalProperties":true,"required":["approval_required_for","no_op_triggers","escalation_triggers","local_policy_wins"],"properties":{"local_policy_wins":{"const":true}}},"cold_memory":{"type":"object","additionalProperties":true,"required":["refs"]},"integrity":{"type":"object","additionalProperties":true,"required":["canonicalization","checksum","source_digests","signatures"],"properties":{"canonicalization":{"const":"canonical-json"},"checksum":{"type":"string"},"source_digests":{"type":"array"},"signatures":{"type":"array"},"yaml_mirror_allowed":{"const":false}}},"provenance":{"type":"object","additionalProperties":true,"required":["trigger","generated_by","runtime_id","issue_status"]}},"support_boundary":"Required for agents that deal with code, automation, executable workflows, or code-like artifacts: next-recursive-prompt.uai. Out of scope for agents with no code, automation, executable workflow, or code-like artifacts: next-recursive-prompt.uai.","authority_boundary":"This is a derived hot-memory resume artifact. Authoritative .uai records, AGENTS.md, repository policy, current human instructions, and related active intake win on conflict. The stored next_loop plan is used for continuation or directly related requests, reviewed for useful ideas when relevant, expanded or superseded by related File Handoff intake, superseded by specific unrelated user instructions, and surfaced back to the human as a detailed suggested next prompt before the next continuation.","failure_boundary":"When missing, stale, invalid, contradictory, or evidence-broken in a required code-bearing scope, regenerate from authoritative .uai records or enter blocked recovery instead of proceeding by inference."},"body_required":[],"route_url":"https:\/\/uaix.org\/wp-json\/uaix\/v1\/schemas\/uaix.next-recursive-prompt.v1","example_route_url":"https:\/\/uaix.org\/wp-json\/uaix\/v1\/examples\/uaix.next-recursive-prompt.v1","registry_route_url":"https:\/\/uaix.org\/wp-json\/uaix\/v1\/registry\/uaix.next-recursive-prompt.v1"}