*Continent · 3 territory* ## Summary A governance specification, its changelog and a provenance note describe plan checks on where a plan ends and on how many steps carry a chosen action or tool, and record the at-least check and a condition-scope clarification as additive additions pinned by cases. ## Explanation - The specification says a step ends in an allowed area only if the area after it resolves to an allowed area, and otherwise blocks at the step before. - ends_in is ALLOW iff after[n-1] ∈ resolve(areas), else BLOCK at n-1. - The specification says a step ends with an allowed action only if the last step's action resolves to an allowed action, and otherwise blocks at the step before. - ends_with is ALLOW iff steps[n-1].action ∈ resolve(actions), else BLOCK at n-1. - The specification describes the at-least check as joining the plan checks for both formats and as additive, and names its cases plan-rule-at-least and plan-rule-at-least-satisfied. - The cases for at_least are plan-rule-at-least and plan-rule-at-least-satisfied. - at_least (at least count steps whose action/tool is in the selector) joins the plan checks of § 3.5 for both formats; it is additive. - The specification says the at-least check is needed for a mission's requires, and the condition-scope clarification is needed so a rule can condition on a tool-specific fact without a default that would turn a missing fact into permission. - Two shared additions, both additive and pinned by `/3` cases (§ 11 errata 0.6), are the `at_least` plan check, needed for a mission's `requires`, and the condi… - The provenance note records the same two additions, pinned by additive cases in the specification's errata. - Two shared additions were pinned by additive `/3` cases (SPEC.md § 11 errata): the `at_least` plan check and the condition-scope clarification. - The records do not say how the at-least check behaves when a plan carries no steps at all. - The plan check at_least { actions, count } joins § 3.5: a plan with fewer than count steps whose action is in actions breaks it, cited at the last step. - The cases for at_least are plan-rule-at-least and plan-rule-at-least-satisfied. - at_least (at least count steps whose action/tool is in the selector) joins the plan checks of § 3.5 for both formats; it is additive. - The plan check `at_least { actions | tools, count }` is added, with cases `plan-rule-at-least` and `plan-rule-at-least-satisfied`. ## Threads - The at-least plan check on actions or tools with a count, joining the plan checks for both formats and additive. - The plan check at_least { actions, count } joins § 3.5: a plan with fewer than count steps whose action is in actions breaks it, cited at the last step. - The cases for at_least are plan-rule-at-least and plan-rule-at-least-satisfied. - at_least (at least count steps whose action/tool is in the selector) joins the plan checks of § 3.5 for both formats; it is additive. - The plan check `at_least { actions | tools, count }` is added, with cases `plan-rule-at-least` and `plan-rule-at-least-satisfied`. - Two additive additions pinned by cases in the specification's errata: the at-least check and the condition-scope clarification. - Two shared additions, both additive and pinned by `/3` cases (§ 11 errata 0.6), are the `at_least` plan check, needed for a mission's `requires`, and the condi… - Two shared additions were pinned by additive `/3` cases (SPEC.md § 11 errata): the `at_least` plan check and the condition-scope clarification. ## Consultant **Where it shows up** — The at-least plan check keeps coming up: the specification describes it joining the plan checks for both formats and as additive, the changelog records it with the cases plan-rule-at-least and plan-rule-at-least-satisfied, and the provenance note records it pinned by additive cases in the errata. **A question to sit with** — What should the at-least check do when a plan carries no steps at all — allow, or block, and at which step? **A way forward** — Keep the additive framing: write the empty-plan case for at-least next to plan-rule-at-least and plan-rule-at-least-satisfied, so the check's behavior with no steps is stated rather than left to a default. ## Ideas - An at-least check on how many steps carry a chosen action or tool belongs alongside the other plan checks, in both formats, and adds to them rather than replacing anything. - A mission's requires needs an at-least plan check. - A rule should be able to condition on a tool-specific fact without a default that would turn a missing fact into permission. ## Territories - [[Bevia/World/Territories/Two end-of-step rules in SPEC.md|Two end-of-step rules in SPEC.md]] - [[Bevia/World/Territories/Four plan checks and a newly added at-least check|Four plan checks and a newly added at-least check]] - [[Bevia/World/Territories/Two additive rulebook additions pinned by cases|Two additive rulebook additions pinned by cases]]