*Continent · 5 territory* ## Summary The mission compiler keeps returning as a tightening overlay: a base rulebook is built from rules.json, and a plan is compiled onto it as a new rulebook whose rules sit at the lowest authority, plan. A mission can only tighten — everything it does not permit is denied, an order becomes a history rule, and a permanent rule is never loosened. The compiler refuses a rulebook that already carries a mission or declares a plan authority, and refuses a `/3` rulebook by name. What the compiler does after such a refusal is not stated. ## Explanation - On Oct 18, 2026, a README names `compileGovernance(rules.json)` as the base rulebook, and its run procedure calls `compileGovernance(rules.json)` and `compileMission(base, plan.json)` first. - `compileGovernance(rules.json)` is the base rulebook. - The run procedure first calls `compileGovernance(rules.json)` and `compileMission(base, plan.json)`. - On Oct 19, 2026, a doctrine document states that `compileMission` refuses a rulebook that already carries a mission or declares a `plan` authority, and a specification document states that `compileMission(rulebook, mission)` must refuse a rulebook that already carries a mission or declares an authority plan. - `compileMission` refuses a rulebook that already carries a mission or declares a `plan` authority. - compileMission(rulebook, mission) MUST refuse a rulebook that already carries a mission or declares an authority plan. - A mission is compiled onto a rulebook to produce a new rulebook, and the mission's rules sit at the lowest authority, plan; everything the mission does not permit is denied, an order becomes a history rule, and a permanent rule is never loosened. - `compileMission(base, plan.json)` is the rulebook the mission lines are judged by, and a mission can only tighten. - `compileMission(rulebook, mission)` returns a new rulebook with the authority `plan` last, `mission: { id, objective, planDigest }`, and deny/wait/history rule… - `compileMission` returns a NEW `/1` rulebook with the same vocabulary, rules and `otherwise`, the authority `plan` appended last, and `mission: { id, objective… - Missions (`neuroverse-governance-plan/1`, `compileMission`, `validateMission`) compile a plan onto a rulebook as deny, wait and history rules and `at_most`/`at… - `compileMission(rulebook, { format: 'neuroverse-governance-plan/1', id, objective, permits, approvals, order })` returns a new rulebook with the mission's rule… - In README.md, `compileMission(base, plan.json)` is the rulebook the mission lines are judged by, and a mission can only tighten. - `compileMission(base, plan.json)` is the rulebook the mission lines are judged by, and a mission can only tighten. - In Neuroverseos-governance:doctrine:AGENTS.md, `compileMission(rulebook, mission)` returns a new rulebook with the authority plan last, the mission's id, objective and plan digest, and deny, wait and history rules plus plan rules at the plan authority. - `compileMission(rulebook, mission)` returns a new rulebook with the authority `plan` last, `mission: { id, objective, planDigest }`, and deny/wait/history rule… - In Neuroverseos-governance:doc:SPEC.md, `compileMission` returns a new rulebook with the same vocabulary, rules and otherwise, the authority plan appended last, and the mission's id, objective and plan digest. - `compileMission` returns a NEW `/1` rulebook with the same vocabulary, rules and `otherwise`, the authority `plan` appended last, and `mission: { id, objective… - In Neuroverseos-governance:doc:CHANGELOG.md, missions compile a plan onto a rulebook as deny, wait and history rules and plan rules at a new lowest authority plan; a mission has no allow and cannot loosen anything, and the compiled fingerprint covers rulebook and mission. - Missions (`neuroverse-governance-plan/1`, `compileMission`, `validateMission`) compile a plan onto a rulebook as deny, wait and history rules and `at_most`/`at… - In Neuroverseos-governance:doc:README.md, `compileMission` returns a new rulebook with the mission's rules at a lowest plan authority: everything not permitted is denied, order becomes a history rule, and a permanent rule is never loosened. - `compileMission(rulebook, { format: 'neuroverse-governance-plan/1', id, objective, permits, approvals, order })` returns a new rulebook with the mission's rule… - `compileGovernance(input)` compiles the `/1` format and `governanceInputOf` inverts it. - `compileGovernance(input)` compiles the `/1` format and `governanceInputOf` inverts it. - AGENTS.md states that `compileMission` and the adapter refuse `/3`, and SPEC.md states that `compileMission` and the adapter refuse a `/3` rulebook by name. - `compileMission` and the adapter refuse `/3`. - `compileMission` and the adapter refuse a `/3` rulebook by name. - The records do not say what `compileMission` does when the rulebook it is handed already carries a mission or declares a plan authority. - `compileMission(base, plan.json)` is the rulebook the mission lines are judged by, and a mission can only tighten. - `compileMission(rulebook, mission)` returns a new rulebook with the authority `plan` last, `mission: { id, objective, planDigest }`, and deny/wait/history rule… - `compileMission` returns a NEW `/1` rulebook with the same vocabulary, rules and `otherwise`, the authority `plan` appended last, and `mission: { id, objective… - Missions (`neuroverse-governance-plan/1`, `compileMission`, `validateMission`) compile a plan onto a rulebook as deny, wait and history rules and `at_most`/`at… - `compileMission(rulebook, { format: 'neuroverse-governance-plan/1', id, objective, permits, approvals, order })` returns a new rulebook with the mission's rule… ## Threads - The base rulebook from rules.json and the run procedure that calls the base compile before the mission compile - `compileGovernance(rules.json)` is the base rulebook. - The run procedure first calls `compileGovernance(rules.json)` and `compileMission(base, plan.json)`. - The mission compiler refusing a rulebook that already carries a mission or declares a plan authority - `compileMission` refuses a rulebook that already carries a mission or declares a `plan` authority. - compileMission(rulebook, mission) MUST refuse a rulebook that already carries a mission or declares an authority plan. - A mission compiling onto a rulebook as a new rulebook with its rules at the lowest authority plan, tightening only - `compileMission(base, plan.json)` is the rulebook the mission lines are judged by, and a mission can only tighten. - `compileMission(rulebook, mission)` returns a new rulebook with the authority `plan` last, `mission: { id, objective, planDigest }`, and deny/wait/history rule… - `compileMission` returns a NEW `/1` rulebook with the same vocabulary, rules and `otherwise`, the authority `plan` appended last, and `mission: { id, objective… - Missions (`neuroverse-governance-plan/1`, `compileMission`, `validateMission`) compile a plan onto a rulebook as deny, wait and history rules and `at_most`/`at… - `compileMission(rulebook, { format: 'neuroverse-governance-plan/1', id, objective, permits, approvals, order })` returns a new rulebook with the mission's rule… - The `/1` format compiled and inverted by compileGovernance and governanceInputOf - `compileGovernance(input)` compiles the `/1` format and `governanceInputOf` inverts it. - The refusal of a `/3` rulebook by name at compileMission and the adapter - `compileMission` and the adapter refuse `/3`. - `compileMission` and the adapter refuse a `/3` rulebook by name. ## Two sides The compiler is specified to refuse a rulebook that already carries a mission or declares a plan authority, while the same documents describe it returning a new rulebook with the mission's rules at the plan authority; whether the refusal covers the compiler's own output is not said. - One side - `compileMission` refuses a rulebook that already carries a mission or declares a `plan` authority. - compileMission(rulebook, mission) MUST refuse a rulebook that already carries a mission or declares an authority plan. - The other side - `compileMission(rulebook, mission)` returns a new rulebook with the authority `plan` last, `mission: { id, objective, planDigest }`, and deny/wait/history rule… - `compileMission` returns a NEW `/1` rulebook with the same vocabulary, rules and `otherwise`, the authority `plan` appended last, and `mission: { id, objective… - Missions (`neuroverse-governance-plan/1`, `compileMission`, `validateMission`) compile a plan onto a rulebook as deny, wait and history rules and `at_most`/`at… - `compileMission(rulebook, { format: 'neuroverse-governance-plan/1', id, objective, permits, approvals, order })` returns a new rulebook with the mission's rule… ## Consultant **Where it shows up** — The mission compiler keeps coming up as a tightening overlay: a base rulebook from rules.json, a plan compiled onto it at the lowest authority plan, and a refusal of a rulebook that already carries a mission or declares a plan authority. **A question to sit with** — When a mission compiles onto a rulebook, what should the compiler do with a rulebook that already carries a mission — refuse it, or stack the new mission on top? **A way forward** — Keep the refusal rule and the tightening rule side by side in one place, and write down which one wins when a rulebook already carries a mission. ## Ideas - A mission should tighten the rulebook it compiles onto but never relax a never rule or a cap. - The mission compiler should refuse a rulebook that already carries a mission or declares a plan authority rather than compile onto it. - A door of one format should refuse an artifact of another format by name rather than reinterpret it. ## Territories - [[Bevia/World/Territories/Refusing a -3 rulebook by name|Refusing a /3 rulebook by name]] - [[Bevia/World/Territories/Base rulebook and the run procedure's two compiles|Base rulebook and the run procedure's two compiles]] - [[Bevia/World/Territories/Mission compiler refusing an already-missioned rulebook|Mission compiler refusing an already-missioned rulebook]] - [[Bevia/World/Territories/Missions compiled onto rulebooks at plan authority|Missions compiled onto rulebooks at plan authority]] - [[Bevia/World/Territories/compileGovernance and governanceInputOf in src-governance.ts|compileGovernance and governanceInputOf in src/governance.ts]]