Map the repository readiness authority gap

This commit is contained in:
Meta Vens 2026-07-15 21:10:39 +01:00
commit 677938d042
4 changed files with 40 additions and 0 deletions

View file

@ -792,5 +792,28 @@ SHA-256 root over workspace, scope policy, and those entries is authoritative
Body identity. Manifest, observation, and manifest-root head land in one CAS.
Gitlinks remain nonrecursive. Unsafe or unrepresentable paths fail closed.
## Mind readiness join boundary (2026-07-15)
A truthful whole-repository readiness join does not yet exist. Mind must own a
derived `RepositoryReadinessProjection`; Body observation, Modeling, retrieval,
semantic projection, schedulers, watchers, jobs, and UI are forbidden writers.
Its required inputs are the current validated Body chain, a continuity receipt
covering that exact Body head, the canonical RepoModel plus its exact Mind
admission receipt, a RepoModel grounding receipt bound to that Body manifest,
the authenticated Modeling semantic projection receipt for that admitted model,
and exact workspace-retrieval coverage bound to the same Body manifest and a
named inclusion policy. Derivation must retry if any participating head advances.
The joined projection may report Missing, Pending/Unknown, Stale, or Ready with
exact evidence identities and mismatch reasons. It may report Ready only when
every binding agrees and coverage is complete. Two equal Body scans prove one
stable observation interval, not gap-free continuity. The current observer's
`continuity_status=unproven` therefore makes Ready structurally unavailable.
Legacy retrieval `Ready`, empty dirty paths, timestamps, watcher silence, Git
tree or HEAD OIDs, Qdrant existence, counts, and unrelated generations are not
substitutes. The lossy JSON workspace manifest remains cache metadata, not
coverage authority. Semantic-projector Ready remains exact query eligibility for
the admitted RepoModel projection; it does not prove repository Body coverage.
This map must change when ownership changes. Historical scars belong in git,
evidence, or an explicitly archived note—not in the machine's Modeling state.

View file

@ -1653,6 +1653,22 @@ target bytes) feed an ordered manifest whose domain-separated SHA-256 root is
the authoritative Body identity. Manifest, observation, and manifest-root head
commit atomically. Gitlinks are nonrecursive; unrepresentable paths fail closed.
## Readiness join remains deliberately impossible (2026-07-15)
Modeling audited the next ownership seam after the Body observer landed. Mind is
the only coherent owner for a derived repository-readiness projection, but the
inputs required to emit Ready do not exist yet: a continuity receipt covering
the exact current Body head, RepoModel admission grounded to that manifest, and
exact workspace-retrieval coverage for that same manifest. The existing
semantic projector proves exact query eligibility for an admitted RepoModel
projection; the legacy workspace retrieval JSON manifest proves only path/size/
mtime/chunk cache agreement. Do not join its `Ready` label, empty dirty paths,
watcher silence, Git OIDs, timestamps, counts, or Qdrant presence into repository
readiness. A join evaluator built before those primitives may only return
Missing/Unknown/Stale with reasons. Build order is continuity receipt, exact
Body-grounded RepoModel admission, typed Body-bound retrieval coverage, the
Mind-owned join, then deletion of local consumer interpretations.
The deployment next action is unchanged and permission-bound. Do not reboot
without exact live operator approval. With that approval, run the real
reboot/logon recovery proof already specified above.

Binary file not shown.

View file

@ -1,6 +1,7 @@
experiment:
name: EpiphanyAgent
repository_body_observer: "Native Rust explicitly binds caller workspace ID to an existing validated runtime/swarm/source identity plus canonical Git root/object format/scope/policy. Two equal sanitized temporary-index scans enumerate ignore-aware UTF-8 paths, Git modes, and nonrecursive gitlinks with global excludes disabled; raw regular bytes/lengths and non-followed symlink-target bytes are SHA-256 hashed. The domain-separated ordered raw manifest root, not the clean-filtered auxiliary tree OID, is authoritative Body identity. Every Git subprocess strips ambient repository/worktree/object/ref/index/namespace/replacement/graft/shallow and config-injection authority. Observe cannot mint identity. CultCache MessagePack atomically commits immutable manifest+observation and a manifest-root head by exact CAS. Canonical store-path checks precede writes; corrupt HEAD, sparse checkout, unsafe/unrepresentable paths, racing reads, and repo/runtime substitution fail closed. Only accepted stable observations persist; errors advance no head. Unchanged raw manifest preserves generation; status is read-pure. Continuity remains unproven; no Ready field or downstream integration exists."
repository_readiness_join: "Mind must own one derived repository-readiness projection from exact authenticated authorities: the current validated Body head plus a continuity receipt covering it, canonical RepoModel plus exact Mind admission and Body-grounding receipt, authenticated semantic projection eligibility for that admitted model, and workspace retrieval coverage bound to the same Body manifest and named scope policy. Derivation must retry across head movement. Current Body continuity is unproven and no admission-grounding or exact retrieval-coverage receipt exists, so Ready is structurally unavailable. Legacy retrieval Ready/empty dirty paths, timestamps, watcher silence, Git OIDs, Qdrant existence, counts, and unrelated generations are forbidden substitutes."
status: active
phase: phase_6_reflection_boundary
premise: >