Jump to content

Principia Machina/Progress/Phase 3: Difference between revisions

From The Invariance Itself
PMA Progress (talk | contribs)
Progress pages rendered from the Principia Machina source
PMA Progress (talk | contribs)
Progress pages rendered from the Principia Machina source
Line 18: Line 18:
The second unit: Custos's page classes, each page title form with its content model, the batched page writer, and the permission check.
The second unit: Custos's page classes, each page title form with its content model, the batched page writer, and the permission check.


as of 2026-10-22
as of 2026-10-23

Revision as of 05:37, 23 October 2026

Principia Machina: map
Reading the program
The move to Lean
The prototype
Status
Nightly runs
Terminology: the words of both versions
Builder Contract: for outside builders
Development
The parts and how they fit
Work units: for outside builders
Acceptance: the checks and the ladder
Lean itself
Lean theorem prover
Principia Machina in Lean
Version 1
The Principia Machina
its specification

Phase 3: Custos

Goal: the wiki's thin gatekeeper, Custos, built against a rehearsal wiki running the host's software: its page classes, its API module, its jobs run outside the web request, its call into the Calculator with the binary's digest checked, the governor's meter, the derivation class written at landing and the kernel checker, and version 1's landing scenarios replayed with the Calculator as the only calculator.

Done

  • 2026-10-20: the wiki's gatekeeper now calls the Calculator through the wiki's own command framework and checks the binary's digest before every call; a binary that differs is refused and never started. Tested on a rehearsal copy of the wiki's software; the job that makes the call on the wiki follows.
  • 2026-10-21: the rehearsal wiki: made when a release needs one, on a fresh server, by the same provisioning script that built the wiki's server, running the same software. The standing rehearsal copy used before the move is retired.
  • 2026-10-21: the wiki's gatekeeper now also checks where the Calculator's binary resides before it checks the binary's digest: the binary and every folder above it must belong to the system's administrator and be writable by no one else, or the call is refused and the binary never started. Tested on a rehearsal copy of the wiki's software.
  • 2026-10-22: the wiki's gatekeeper now knows the title of every page it writes and reads each title back as its page class; a page in its keeping whose title fits no known form is refused. The machine text on its pages is written and read in one fixed form. Tested without the wiki.

Open

  • The Calculator's residence on the host and the step that places a released binary there.

Next

The second unit: Custos's page classes, each page title form with its content model, the batched page writer, and the permission check.

as of 2026-10-23