Skip to content

An agent cannot widen its own authority #371

Closed

Description

@jhrozek

Spawn narrows, resume never widens.

mecatl. After #367, independent of #368.

Hazards

Facts that were expensive to find and that nobody re-derives on the way to implementing. Each is verified against code.
Authority is re-derived from the session store on resume, which makes the store the
root of trust — see #374. A project-tier definition taking an operator
definition's name is a privilege swap with no wire involved.

Acceptance criteria

  • Authority is a value carried on the run, not a lookup against a mutable source at point of use.
  • Every spawn seam intersects. None unions, and none accepts a request to widen.
  • Resume re-derives from persisted state and cannot come back wider than what was persisted.
  • Definition-name resolution has a fixed precedence in which the operator tier wins, and a
    lower-tier definition cannot occupy a higher-tier name.

Proof

The same properties, adversarially, with an actor and an ordering. A property-level criterion can go green while being false; these are what stop that.

  • An injected parent spawns a child asking for more than it holds; the child gets the intersection.
  • A resumed child cannot come back wider, including across a restart.
  • A project definition cannot claim an operator definition's name.

Slices

Decomposition is the implementer's job; these are the natural seams, not a mandate.

  • Authority as a runtime value.
  • Narrowing at the three spawn seams.
  • Re-derivation on resume.
  • The definition name collision.

Reasoning

The design this comes from, both on main:

Every hazard above is stated in full here rather than linked, so this issue stands on its own.

Activity

  1. added
    enhancement
    on Aug 4, 2026
  2. changed the title [-]EP5: an agent cannot widen its own authority[/-] [+]An agent cannot widen its own authority[/+] on Aug 4, 2026
  3. self-assigned this
    on Aug 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions