Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 21s
Two new DefineActivity-form genesis activity-types for host-type federation (plans/fed-sx-host-types.md step 1): - next/genesis/activity-types/define_type.sx — DefineType verb; schema accepts an :object with a string :name and optional list :fields. - next/genesis/activity-types/subtype_of.sx — SubtypeOf verb; schema accepts an :object carrying string :child-type-cid + :parent-type-cid. Schema bodies use nested `get` (not keyword-threading) so they are directly evaluatable — keywords are not callable getters in the kernel. Both registered in manifest.sx (activity-types now 7); the four bootstrap suites' bundle counts bumped (5->7, total 36->38). Tests: next/tests/define_type.sh (7), subtype_of.sh (6) — parse shape, schema accept/reject, term_codec envelope round-trip. Also load follower_graph + delivery in bootstrap_start.sh: its check-26 publish path exercises outbox:compute_delivery_set/3 (follower_graph:new + delivery:delivery_set), which an m2 substrate change had left unloaded in that suite — a pre-existing red unrelated to the count bump. Conformance 771/771; all touched next/tests green. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
54 lines
2.0 KiB
Plaintext
54 lines
2.0 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"
|
|
"activity-types/announce.sx"
|
|
"activity-types/endorse.sx"
|
|
"activity-types/define_type.sx"
|
|
"activity-types/subtype_of.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"))
|