Repository navigation
Mission run authority: parse, render and store the authority block - #6260
Merged
schickling-assistant merged 7 commits intoNov 10, 2026
Merged
Conversation
This was referenced Nov 10, 2026
…-program-engine-authority # Conflicts: # docs/st3/large-value-sites.json
schickling-assistant
marked this pull request as ready for review
November 10, 2026 16:16
Contributor
Author
|
Review record for head
|
schickling-assistant
temporarily deployed
to
evidence-signing
November 10, 2026 16:17 — with
GitHub Actions
Inactive
schickling-assistant
temporarily deployed
to
evidence-signing
November 10, 2026 16:18 — with
GitHub Actions
Inactive
schickling-assistant
temporarily deployed
to
evidence-signing
November 10, 2026 16:18 — with
GitHub Actions
Inactive
schickling-assistant
had a problem deploying
to
evidence-signing
November 10, 2026 16:18 — with
GitHub Actions
Failure
schickling-assistant
temporarily deployed
to
evidence-signing
November 10, 2026 16:22 — with
GitHub Actions
Inactive
schickling-assistant
temporarily deployed
to
evidence-signing
November 10, 2026 16:37 — with
GitHub Actions
Inactive
schickling-assistant
temporarily deployed
to
evidence-signing
November 10, 2026 16:37 — with
GitHub Actions
Inactive
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Nov 10, 2026
schickling-assistant
temporarily deployed
to
evidence-signing
November 10, 2026 16:55 — with
GitHub Actions
Inactive
schickling
temporarily deployed
to
evidence-signing
November 10, 2026 17:26 — with
GitHub Actions
Inactive
schickling
temporarily deployed
to
evidence-signing
November 10, 2026 17:26 — with
GitHub Actions
Inactive
schickling
temporarily deployed
to
evidence-signing
November 10, 2026 17:26 — with
GitHub Actions
Inactive
schickling
temporarily deployed
to
evidence-signing
November 10, 2026 17:26 — with
GitHub Actions
Inactive
schickling
temporarily deployed
to
evidence-signing
November 10, 2026 17:31 — with
GitHub Actions
Inactive
Contributor
Author
|
Delta review record: independent reviewer GO, delta at |
schickling-assistant
enabled auto-merge
November 10, 2026 17:35
schickling
temporarily deployed
to
evidence-signing
November 10, 2026 17:47 — with
GitHub Actions
Inactive
schickling
temporarily deployed
to
evidence-signing
November 10, 2026 17:47 — with
GitHub Actions
Inactive
schickling
temporarily deployed
to
evidence-signing
November 10, 2026 18:05 — with
GitHub Actions
Inactive
schickling-assistant
deleted the
schickling/2026-11-10-program-engine-authority
branch
November 10, 2026 18:31
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The program engine design (docs/st3/program-engine.md §3, decision D2) has program steps act as
mission-run/RUNwith the authority the mission revision declares. There is no way to declare that authority today: a top-level mission has noauthoritychild.Goal
First of the M1.4 run-authority stack, split by risk: the declaration only. A top-level mission can declare
authority { VERB "PATTERN" }; it parses, renders, is stored in the mission spec (so it enters the revision), and is held behind the fleet field barrier. Nothing binds a run actor or enforces the block here; later PRs add the run credential and binding, then enforcement (audit, then enforce).Decisions
*-authorityblocks:publish,start,revise,canceltake mission IDs asmission-authoritydoes (nomission/prefix);writetakes a subject, or a registered family alone, before/*. A pattern is exact or ends in/*; any other*is refused, which keeps intersection of two rule sets exact later."none"form: a mission without the block grants its runs nothing, sononewould be a second spelling of absence.MissionSpec.authority: Vec<AuthorityGrant>, kept in canonical order (reordering is not a revision) and omitted when empty, so undeclared revisions hash as before (pinned by the existingtop_level_loop_retains_local_path_and_legacy_publication_hashes).nested-mission-authority), like resources.store/mission_capacity.rsalready gatedcapacityondaemon.started.features.mission_capacity; it is now a table of mission-field barriers with amission_authorityrow (mission-authority-unavailable), and the daemon advertisesmission_authority=1. Program steps (M1.1a) will add their own row.Verification
Focused tests, run on the Linux build host at this PR's code (via the stack head 5494372, which contains it; all pass):
fractal-missions-base:mission_authority_parses_in_canonical_order_and_enters_the_revision,mission_authority_refusals(every refusal code),canonical_mission_authority_round_trip(render → parse → render).fractal-store:a_revision_that_declares_run_authority_waits_until_every_member_reads_it, plus the existing capacity barrier test on the generalized table.Hosted CI at the exact head is the proof; pushed with
ST_EVIDENCE_LOCAL=off.Complexity
High risk by docs/review.md: a trust/permission declaration and a new stored field in mission revisions. Lowered by landing it additive and unenforced, with the barrier keeping older members from quarantining it.
Concerns
$.fields.featuresand checks the feature in Rust, so one inventory site indocs/st3/large-value-sites.jsonmoved id (proposal applied verbatim, guard passes).docs/st3/program-engine.md(docs: accepted program engine design and build plan #6253 merged; main merged in).Friction & bottlenecks
The shared build host is near its memory limit; builds are serialized across the program engine slices.
Follow-ups
mission-run/RUN, journal claims as the run (next PR).References
docs/st3/program-engine.md §3 (design #6253); docs/st3/seat-lanes.md "Mixed versions".