Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 35s
Three new DefineObject artefacts in next/genesis/object-types/ for the canonical actor object-types per design §9.1: - Person: human-controlled identity (display name + handle + bio) - Service: automated / programmatic actor (bot, feed, organisation) - Group: multi-controller actor (member-set managed via Add/Remove) Each is a small SX form with :name / :doc / :schema, identical shape to existing object-types (note.sx, sx-artifact.sx etc) so the existing bootstrap:populate_registry walk picks them up without code changes. Manifest extended (object-types: 10 -> 13, total entries: 31 -> 34). Tests: - genesis_parse.sh +7 cases (head form, :name, manifest membership); 57/57. - Hardcoded counts bumped in bootstrap_read.sh, bootstrap_load.sh, bootstrap_populate.sh, bootstrap_start.sh. - bootstrap_build.sh 12/12 (bundle CID computed dynamically). Conformance 761/761 preserved. 211/211 across 12 Step-2-adjacent suites.
50 lines
1.9 KiB
Plaintext
50 lines
1.9 KiB
Plaintext
;; next/genesis/manifest.sx
|
|
;;
|
|
;; Genesis bundle root per design §12.2. Lists every definition file
|
|
;; that gets packed into the bundle. The bundler (bootstrap.erl)
|
|
;; walks this manifest, reads each referenced file, parses its
|
|
;; top-level form, and inserts it into the bundle dict at the
|
|
;; appropriate section path.
|
|
;;
|
|
;; The bundle CID is the content-address of the resulting dag-cbor
|
|
;; (or v1 stand-in) blob over the assembled dict. That CID is
|
|
;; baked into the kernel at build time and re-verified on startup
|
|
;; per design §12.3.
|
|
;;
|
|
;; Section values are bare parenthesised paths (data lists, not
|
|
;; function calls) — the manifest is consumed by `parse`, not
|
|
;; `eval`. Empty sections are written as `()`.
|
|
|
|
(GenesisManifest
|
|
:version "0.0.1"
|
|
:kernel-version "1.0.0-m1"
|
|
:activity-types ("activity-types/create.sx"
|
|
"activity-types/update.sx"
|
|
"activity-types/delete.sx")
|
|
:object-types ("object-types/sx-artifact.sx"
|
|
"object-types/note.sx"
|
|
"object-types/tombstone.sx"
|
|
"object-types/person.sx"
|
|
"object-types/service.sx"
|
|
"object-types/group.sx"
|
|
"object-types/define-activity.sx"
|
|
"object-types/define-object.sx"
|
|
"object-types/define-projection.sx"
|
|
"object-types/define-validator.sx"
|
|
"object-types/define-codec.sx"
|
|
"object-types/define-sig-suite.sx"
|
|
"object-types/snapshot.sx")
|
|
:projections ("projections/activity-log.sx"
|
|
"projections/by-type.sx"
|
|
"projections/by-actor.sx"
|
|
"projections/by-object.sx"
|
|
"projections/actor-state.sx"
|
|
"projections/define-registry.sx"
|
|
"projections/audience-graph.sx")
|
|
:validators ("validators/envelope-shape.sx"
|
|
"validators/signature.sx"
|
|
"validators/type-schema.sx")
|
|
:codecs ("codecs/dag-cbor.sx" "codecs/raw.sx" "codecs/dag-json.sx")
|
|
:sig-suites ("sig-suites/rsa-sha256-2018.sx" "sig-suites/ed25519-2020.sx")
|
|
:audience ("audience/public.sx" "audience/followers.sx" "audience/direct.sx"))
|