Skip to content

The simulator's world reads the description's anchor from the act's Run, and the Kernel's default goes (raised by #607) #608

Closed

Description

@don-petry

Raised by #607 (part of #195), on the Factory Builder's ruling of 2026-11-07. kernel/derive.py's description_anchor now dates a machine user's approval from the approving act's Run that read the description (approval_anchor). An approval with no Run is dated from its own time where a record of the item is as old as it, and holds any edit where none is.

The simulator's world still reads the old anchor. sim/world.py's edited_since_approval dates each machine approval by its submitted_at, and tests/test_simulator.py::test_the_worlds_reading_of_an_edit_after_the_approval_is_the_kernels checks it against description_anchor called with no records. description_anchor keeps a keyword-only default, runs=None, for that one call. It is the anchoring the ruling rules out, kept only because in the world the act's Run starts in its approval's own second, so the two readings agree there. derive always gives the records, and a test holds that no other caller leans on the default.

What

Part Change
sim/world.py (protected) edited_since_approval dates each machine approval as approval_anchor does, from the world's own run records: the act's Run start, else its own time where a record is as old, else before every time
tests/test_simulator.py (protected) The test passes the world's runs to description_anchor, with cases where the act's Run starts before its approval and where no record is as old as an approval
kernel/derive.py runs loses its default, so every caller gives the records

Done when

The world's model and the Kernel agree on the Run anchor with no default left in description_anchor. The Maintainer approves the protected edits. make verify and the mutants pass.

Activity

  1. added 2 commits that reference this issue on Nov 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions