Commit graph Epiphany/schemas
Author SHA1 Message Date
Meta Vens
b4f88d2980 Close Soul's Cut 3a findings and land rulings 10-12
One store per clone, numeric attempt and pass, and identity enforced by the
profile that owns the commit. The three files change together because the
profile's validator signature, the documents that implement it and the store
that installs it are one interlocking contract; no smaller split builds.

Ruling 10, one store per clone. `main_work_tree` resolves the clone's main
working tree from any worktree through the git common dir, and both
`PipelineStore::open` and `PipelineWriter::attach` go through it, so a caller
in a worktree reads and admits into the main tree's store. A bare clone or any
layout without one main tree refuses `NoMainWorkTree`; there is no
worktree-only mode. `require_branch` binds to the main tree, so a campaign
whose branch is checked out only in a linked worktree is refused rather than
quietly given a second store.

Ruling 11, numeric labels. `attempt` and `pass` are `u32`, keyed
`cut-<cut>.h<N>` and `cut-<cut>.s<N>`.

Ruling 12, identity on first write. `TypedCommitStore` now validates a whole
batch against the image it will be applied to (`validate_writes`), replacing
the per-envelope hook rather than adding a second one. The pipeline profile
refuses a first write that does not carry the identity, so the single owner can
never admit a store its own opener refuses (F1).

F2: a finding label carries no dot and parent locals parse strictly, so two
documents cannot compose one key. Soul's collision pairs are tested.
F3: parent ids are parsed with an exact segment count, a campaign match, a kind
match, a validated local, and a marker followed by digits.
F4: a resolution's subject id is validated as a full id of its declared kind,
by `PipelineRef` itself, so kind and id cannot disagree anywhere.
F5: the ten document wrappers, the identity, provenance and holder wrappers and
their value fields are crate-private, and the crate's only commit path to a
pipeline store is a `cfg(test)` helper taking `&PipelineWriter`. Binding the
owner to the lease is Cut 3b.
F6: covered by ruling 10, with the previous claim corrected: a worktree does
not keep its own store, and a second attach from any tree is refused.
F7: the holder record is written only under the lock and removed on drop, and a
refusal names a holder only when it is plausibly current, matching host and
live process incarnation. A record left by a crash names nobody.
F8: the git checks read the committed blob at HEAD, so they answer the same on
every machine. Attribute and exclude files are nulled on every git child. The
working tree and `.git/info/exclude` deliberately do not count, because the rule
is about what the repository commits.

Low items: `value_types!` is the single field list, emitting each struct and its
`Bounded` impl from the same tokens, and format rules moved into the field types
(`Label`, `Slug`, `OrgRepo`, `FullSha`, `Sha256Hex`), so a field cannot be
declared without being validated and a list without a cap does not compile. That
applies the `Org/Repo` check to every repo field. `LandedNameKind` is deleted and
`LandedName` is a name and a path. The schemas carry `maxLength` and `maxItems`.

Builds clean with no warnings; `cargo test -p epiphany-core --lib` passes
179/179.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-15 22:55:00 +02:00
Meta Vens
ad18c385dc Add pipeline documents, store opener, writer lease and schemas
Cut 3a of the Eureka pipeline state campaign (cut map D1-D3).

- pipeline_documents.rs: the ten kinds as serde + JsonSchema values in
  one-slot DatabaseEntry wrappers (epiphany.pipeline.<kind>.v1), the
  identity, provenance and writer-holder documents, UTF-8 byte bounds,
  semantic key derivation, and the pipeline write validator (bounds, then
  key recomputation).
- pipeline_store.rs: PipelineStore::open (read-only, no lease),
  PipelineWriter::attach (fs2 lock in the git common dir, display-only
  holder file, binary/ignore checks), require_branch, PipelineRefusal,
  and PIPELINE_COMMIT_STORE on the one commit owner. The opener refuses
  foreign types, missing identity and foreign epochs before attaching.
- schemars 1 is an unconditional core dependency (Q5-A); the ten published
  schemas are derived and checked byte-for-byte, with index.json entries.

The profile and the prepare path carry expect(dead_code) naming Cut 3b as
their consumer, so the attribute fails the build once admission uses them.

Builds: yes. cargo test -p epiphany-core --lib: 171/171, 0 warnings.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-15 21:55:04 +02:00
Meta Vens
87ea81db2a Retire obsolete provider request publication 2026-08-24 23:52:00 +02:00
Meta Vens
8bb0719bc6 Collapse CultNet catalog to earned boundaries 2026-08-24 07:03:42 +02:00
Meta Vens
dbed11b3e9 Delete dead runtime CultNet contracts 2026-08-24 06:50:03 +02:00
Meta Vens
fe118e13c3 Delete duplicate provider stream persistence 2026-08-24 06:43:33 +02:00
Meta Vens
2a435eb5ab Delete duplicate Persona and tool receipt cargo 2026-08-24 06:03:28 +02:00
Meta Vens
0091e0e122 Delete unread model adapter status families 2026-08-24 05:03:45 +02:00
Meta Vens
196222d991 Minimize runtime lifecycle documents 2026-08-24 03:46:29 +02:00
Meta Vens
63d2991e63 Minimize coordinator terminal receipts 2026-08-24 03:15:12 +02:00
Meta Vens
bfeda461af Record runtime registry ownership cut 2026-08-23 16:29:33 +02:00
Meta Vens
03140a47db Delete false runtime catalog authority 2026-08-23 16:24:53 +02:00
Meta Vens
beb9fd32a9 Delete producerless tool capabilities 2026-08-23 12:40:11 +02:00
Meta Vens
ab3cacfbf7 Delete fictional contracts and dead prompt surfaces 2026-08-23 11:40:39 +02:00
Meta Vens
f10f7fb3bd Delete counterfeit surface schemas 2026-08-23 11:17:24 +02:00
Meta Vens
78836f3b45 Delete unconsumed status tableaux 2026-08-23 11:08:48 +02:00
Meta Vens
2ce9146131 Delete duplicate operator policy surfaces 2026-08-23 10:58:26 +02:00
Meta Vens
4d0db2c7b4 Delete the heartbeat scheduler authority 2026-08-23 06:21:38 +02:00
Meta Vens
ca05684412 Split Persona social authority from heartbeat 2026-08-23 05:34:57 +02:00
Meta Vens
2164bd0a21 Collapse heartbeat to owned physiology 2026-08-23 04:31:28 +02:00
Meta Vens
39dd9fdba9 Delete aggregate role-memory authority 2026-08-23 04:02:50 +02:00
Meta Vens
387afe4941 Remove parallel executable control planes 2026-08-23 01:51:24 +02:00
Meta Vens
1d5a1f1793 Delete unowned executable surfaces 2026-08-23 01:32:47 +02:00
Meta Vens
ab321b3434 Add decision-auditable OpenRouter transport 2026-08-22 07:39:46 +02:00
Meta Vens
c40aa286d4 Unify terminal tool receipt authority 2026-08-14 03:11:07 +02:00
Meta Vens
8fb61ac236 Bind public Eyes evidence to exact source authority 2026-08-11 22:07:02 +02:00
Meta Vens
c137e16ba5 Archive completed model generations 2026-08-10 01:51:52 +01:00
Meta Vens
f565ad6a73 Bind tool executions to runtime ownership 2026-08-10 01:18:23 +01:00
Meta Vens
2d817522ce Bind model executions to runtime sessions 2026-08-10 01:01:54 +01:00
Meta Vens
2f22dbbca7 Bind repo work adoption to Mind authority 2026-07-13 19:38:35 +01:00
Meta Vens
fcbab316e6 Bind Modeling memory to live source truth 2026-07-13 18:51:38 +01:00
Meta Vens
6544562389 Rebuild the typed Persona projection 2026-07-13 18:09:32 +01:00
Meta Vens
7e4564a34f Type the Persona chat artifact contract 2026-07-13 17:58:35 +01:00
Meta Vens
59fd800702 Align Persona artifacts with typed contracts 2026-07-13 17:51:17 +01:00
Meta Vens
4e1b80c98a Derive Persona bubble projection status 2026-07-13 17:22:59 +01:00
Meta Vens
e30f91167f Delete writerless operator status schema 2026-07-12 22:09:38 +01:00
Meta Vens
aade4f4980 Add Bifrost-backed Persona Reddit mouth 2026-06-22 14:45:49 +01:00
Meta Vens
b791f8b315 Route Persona Discord speech through Bifrost 2026-06-22 14:35:17 +01:00
Meta Vens
8c2b08b463 Rename Face to Persona and Proprioception to Modeling 2026-06-15 16:38:09 +01:00
Meta Vens
18751933e0 Project Face as Persona state 2026-05-29 02:19:53 +01:00
Meta Vens
91fb98e32d Type Persona candidate actions 2026-05-29 02:02:42 +01:00
Meta Vens
ebd5ee2a3b Canonize Persona state v0 2026-05-29 02:00:06 +01:00
Meta Vens
ac822e002a Tighten Persona state contract 2026-05-29 01:49:54 +01:00
Meta Vens
d04cde2c5e Split organ state from Persona state 2026-05-29 01:23:43 +01:00
Meta Vens
552cd11680 Document Epiphany anatomy and notes index 2026-05-29 00:16:05 +01:00
Meta Vens
795b231e61 Make continuity a protocol instead of Life 2026-05-29 00:09:40 +01:00
Meta Vens
47c010ba13 Split Body from Proprioception and Substrate Gate 2026-05-28 22:50:50 +01:00
Meta Vens
65a65c19e7 Add typed tool invocation contracts 2026-05-27 22:51:13 +01:00
Meta Vens
7e31584678 Add typed coordinator run receipts 2026-05-27 22:45:38 +01:00
Meta Vens
a9b21d7782 Add provider-neutral model documents 2026-05-27 22:37:53 +01:00